-
-
Notifications
You must be signed in to change notification settings - Fork 665
Description
ISSUE TYPE
- Bug Report
Checklist
-
[ x ]
.envfile is attached
csm.env.zip -
docker-compose.override.ymlis attached (if it exists) N/A -
Custom configs from
cfg/dir are attached (if customized) N/A -
[ x ]
docker-compose logsandlog/output is added
docker-compose-logs.txt -
[ x ] I've looked through the docs: https://devilbox.readthedocs.io/en/latest/
-
[x ] I've looked through existing issues: https://github.com/cytopia/devilbox/issues
OS / ENVIRONMENT
- Host operating system and version: Windows 10
- (Windows) Native Docker or Docker Toolbox: Native Docker
- Docker version: 2.0.0.2 (30215)
- Docker Compose version: 1.23.2
- (Linux) Is SELinux enabled?: N/A
- What git commit hash are you on?: master
SUMMARY
This afternoon docker-compose up failed to start my containers. This has happened in the past and I would pull the latest update from git, update my environment file, reboot my computer and everything would start working again after it pulled some new PHP or MySQL images.
Today, though, it seems like everything is coming up except MySQL. WordPress complains about not reaching the database, and the MySQL circle in the devilbox dashboard is grayed out.
Additionally the dashboard loads, prints three warnings, and then prints the second and third warnings in a loop until, a few minutes later it loads a 502 Gateway error.
Warning: fopen(/tmp/devilbox-intranet/error.log): failed to open stream: No such file or directory in /var/www/default/include/lib/Logger.php on line 197
Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/default/include/lib/Logger.php on line 198
Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/default/include/lib/Logger.php on line 199
STEPS TO REPRODUCE
Run docker-compose up -d bind httpd php mysql and try to lad a website or open the Devilbox dashboard.
EXPECTED BEHAVIOUR
the docker containers start up and I start working on the websites in it.
ACTUAL BEHAVIOUR
it seems like everything is coming up except MySQL. WordPress complains about not reaching the database, and the MySQL circle in the devilbox dashboard is grayed out.
Additionally the dashboard loads, prints three warnings, and then prints the second and third warnings in a loop until, a few minutes later it loads a 502 Gateway error.
Warning: fopen(/tmp/devilbox-intranet/error.log): failed to open stream: No such file or directory in /var/www/default/include/lib/Logger.php on line 197
Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/default/include/lib/Logger.php on line 198
Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/default/include/lib/Logger.php on line 199
### OTHER INFORMATION
#### Start command
<!-- Add the command you have used to start the devilbox -->
docker-compose up -d bind httpd php mysql
#### File and user permissions (Linux & MacOS)
<!-- User and group information -->
N/A
<!-- File permissions of the Devilbox directory -->
λ ls -la
total 318
drwxr-xr-x 1 DM 197609 0 Jan 30 21:20 ./
drwxr-xr-x 1 DM 197609 0 Jan 30 20:55 ../
drwxr-xr-x 1 DM 197609 0 Jun 28 2018 .devilbox/
-rw-r--r-- 1 DM 197609 2445 Jan 30 16:59 .editorconfig
-rw-r--r-- 1 DM 197609 18132 Jan 30 20:55 .env
drwxr-xr-x 1 DM 197609 0 Jan 30 16:59 .git/
drwxr-xr-x 1 DM 197609 0 Aug 19 01:50 .github/
-rw-r--r-- 1 DM 197609 3656 Jan 30 16:59 .gitignore
drwxr-xr-x 1 DM 197609 0 Jan 30 16:59 .tests/
-rw-r--r-- 1 DM 197609 9510 Jan 30 16:59 .travis.yml
-rw-r--r-- 1 DM 197609 894 Aug 19 01:50 CONTRIBUTING.md
-rw-r--r-- 1 DM 197609 1064 Jun 28 2018 LICENSE.md
-rw-r--r-- 1 DM 197609 55056 Jan 30 16:59 README.md
drwxr-xr-x 1 DM 197609 0 Jan 30 16:59 autostart/
drwxr-xr-x 1 DM 197609 0 Jul 18 2018 backups/
drwxr-xr-x 1 DM 197609 0 Jun 28 2018 bash/
drwxr-xr-x 1 DM 197609 0 Jul 20 2018 ca/
drwxr-xr-x 1 DM 197609 0 Jan 30 16:59 cfg/
drwxr-xr-x 1 DM 197609 0 Jan 30 16:59 compose/
drwxr-xr-x 1 DM 197609 0 Dec 13 10:24 data/
-rw-r--r-- 1 DM 197609 91181 Jan 30 21:19 docker-compose-logs.txt
-rw-r--r-- 1 DM 197609 743 Jun 28 2018 docker-compose.override.yml-example
-rw-r--r-- 1 DM 197609 12815 Jan 30 16:59 docker-compose.yml
drwxr-xr-x 1 DM 197609 0 Jan 30 16:59 docs/
-rw-r--r-- 1 DM 197609 18081 Jan 30 16:59 env-example
drwxr-xr-x 1 DM 197609 0 Jan 30 21:00 log/
drwxr-xr-x 1 DM 197609 0 Jan 22 03:42 mail/
drwxr-xr-x 1 DM 197609 0 Jun 28 2018 mod/
-rw-r--r-- 1 DM 197609 86 Jan 30 16:59 shell.bat
-rwxr-xr-x 1 DM 197609 59 Jun 28 2018 shell.sh*
-rwxr-xr-x 1 DM 197609 2375 Aug 19 01:50 update-docker.sh*
<!-- File permissions of your projects -->
λ ls -la ../projects/csm
total 49
drwxr-xr-x 1 DM 197609 0 Jan 30 21:12 ./
drwxr-xr-x 1 DM 197609 0 Aug 15 10:06 ../
drwxr-xr-x 1 DM 197609 0 Jan 23 09:55 .assets/
drwxr-xr-x 1 DM 197609 0 Aug 8 07:15 .documents/
drwxr-xr-x 1 DM 197609 0 Jul 7 2018 caninejournal/
drwxr-xr-x 1 DM 197609 0 Aug 9 00:37 csm-plugins/
-rw-r--r-- 1 DM 197609 18132 Jan 30 17:04 csm.env
-rw-r--r-- 1 DM 197609 5195 Jan 30 21:11 csm.env.zip
drwxr-xr-x 1 DM 197609 0 Jul 7 2018 earthsfriends/
drwxr-xr-x 1 DM 197609 0 Jul 7 2018 exploringlifesmysteries/
drwxr-xr-x 1 DM 197609 0 Jan 30 21:00 mongo/
drwxr-xr-x 1 DM 197609 0 Jul 22 2018 mysql/
drwxr-xr-x 1 DM 197609 0 Jul 7 2018 mywinston-salem/
drwxr-xr-x 1 DM 197609 0 Jan 30 21:00 pgsql/
drwxr-xr-x 1 DM 197609 0 Oct 28 15:14 safesmartliving/
drwxr-xr-x 1 DM 197609 0 Nov 29 16:20 test/
-rw-r--r-- 1 DM 197609 114 Jul 22 2018 up.sh
drwxr-xr-x 1 DM 197609 0 Dec 15 14:38 werockyourweb/