You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a fresh installation on Ubuntu 18.
After running sudo docker-compose up -d
when i open on browser, IPaddress:8080 I get following error.
" Fatal error: Uncaught Error: Class 'DATABASE_CONFIG' not found in /var/www/html/app/config/bootstrap.php:97 Stack trace: #0 /var/www/html/cake/libs/configure.php(442): include() #1 /var/www/html/cake/libs/configure.php(52): Configure->__loadBootstrap(true) #2 /var/www/html/cake/bootstrap.php(38): Configure::getInstance() #3 /var/www/html/app/webroot/index.php(83): include('/var/www/html/c...') #4 /var/www/html/index.php(55): require('/var/www/html/a...') #5 {main} thrown in /var/www/html/app/config/bootstrap.php on line 97 "
Could you please help me on this?
Best Regards.
Also I am getting below error unless I don't manually chmod 777 to tmp directory inside app.
Warning (512): /var/www/html/app/tmp/cache/persistent/ is not writable [CORE/cake/libs/cache/file.php, line 281]
Warning: mkdir() [function.mkdir]: Permission denied in /var/www/html/cake/libs/folder.php on line 498
Warning (512): /var/www/html/app/tmp/cache/models/ is not writable [CORE/cake/libs/cache/file.php, line 281]
Warning: mkdir() [function.mkdir]: Permission denied in /var/www/html/cake/libs/folder.php on line 498
Please help to fix this.
Regards.
The text was updated successfully, but these errors were encountered:
A few steps are missing. Will update the README with a quick start guide. Basically, you need to:
create the file app/config/database.php. A quick way is to copy the file app/config/database.php.default
when the docker containers are up, before launching browser, run composer inside the app container. This should fix the folder permission and install necessary php packages
# launch a shell into the app container
docker exec -it ipeer_app bash
# within the container, run composer install
composer install
# exit the container
exit
# on host, restart containers
docker-compose restart
You may then launch browser at http://127.0.0.1:8080/ to continue the installation setup
Hi,
Could you please help me on this:
This is a fresh installation on Ubuntu 18.
After running sudo docker-compose up -d
when i open on browser, IPaddress:8080 I get following error.
" Fatal error: Uncaught Error: Class 'DATABASE_CONFIG' not found in /var/www/html/app/config/bootstrap.php:97 Stack trace: #0 /var/www/html/cake/libs/configure.php(442): include() #1 /var/www/html/cake/libs/configure.php(52): Configure->__loadBootstrap(true) #2 /var/www/html/cake/bootstrap.php(38): Configure::getInstance() #3 /var/www/html/app/webroot/index.php(83): include('/var/www/html/c...') #4 /var/www/html/index.php(55): require('/var/www/html/a...') #5 {main} thrown in /var/www/html/app/config/bootstrap.php on line 97 "
Could you please help me on this?
Best Regards.
Also I am getting below error unless I don't manually chmod 777 to tmp directory inside app.
Warning (512): /var/www/html/app/tmp/cache/persistent/ is not writable [CORE/cake/libs/cache/file.php, line 281]
Warning: mkdir() [function.mkdir]: Permission denied in /var/www/html/cake/libs/folder.php on line 498
Warning (512): /var/www/html/app/tmp/cache/models/ is not writable [CORE/cake/libs/cache/file.php, line 281]
Warning: mkdir() [function.mkdir]: Permission denied in /var/www/html/cake/libs/folder.php on line 498
Please help to fix this.
Regards.
The text was updated successfully, but these errors were encountered: