-
-
Notifications
You must be signed in to change notification settings - Fork 665
Description
ISSUE TYPE
- Bug Report
Checklist
-
.envfile is attached - my-dot-env.txt - note that I did nothing except what is in the docs and selected MariaDB 5.5 since it matches the production server, otherwise it is same as default-env -
docker-compose.override.ymlis attached (if it exists) - DOES NOT EXIST - Custom configs from
cfg/dir are attached (if customized) - NONE -
docker-compose logsandlog/output is added
in the mariadb-5.5 folder are 3 files (error.log, query.log, slow.log), all of them are 0 bytes
- I've looked through the docs: https://devilbox.readthedocs.io/en/latest/
- I've looked through existing issues: https://github.com/cytopia/devilbox/issues
- I've read troubleshooting: https://devilbox.readthedocs.io/en/latest/support/troubleshooting.html
OS / ENVIRONMENT
- Host operating system and version: Mac OS X 10.14.3
- (Windows) Native Docker or Docker Toolbox: n/a
- Docker version: Docker version 18.09.2, build 6247962
- Docker Compose version: 1.23.2
also I am using Mac Docker Desktop, the latest version which is Version 2.0.0.3 (31259)
- (Linux) Is SELinux enabled?: n/a
- What git commit hash are you on?: commit 57b2a5c (HEAD -> release/v1.0.0, tag: v1.0.0-alpha1, origin/release/v1.0.0)
SUMMARY
Short summary - Everything works great on first startup, then I shut down as the docs describe, start the box again, and MySQL is dead. Possible same as issue #500 ?
Longer explanation - I installed devilbox following the docs exactly and it worked perfectly first try. Wow! Then I exported a 1.5 GB MySQL db from another server and imported it into the local MariaDB inside of devilbox. No errors and I could use my site locally with the db, everything was perfect.
I shut down (following the steps in the docs) and then started it up again... and now can't connect to the MySQL server. There are no errors on startup that I notice, but as you can see the server is unhappy:
STEPS TO REPRODUCE
- Install devilbox exactly like it says on the tin, be sure mysql is running fine
- Import large database (may not be necessary, if Cannot connect MySQL after restart docker #500 is same issue, that user did not)
- Shut down devilbox correctly
- Start devilbox again - now MySQL can't connect
- Optional: shutdown again, upgrade to 1.0.0 branch, startup again - did not fix the problem
EXPECTED BEHAVIOUR
MySQL can always connect
ACTUAL BEHAVIOUR
MySQL craps out after the 1st run
OTHER INFORMATION
Start command
$ docker-compose up php mysql httpd bind
File and user permissions (Linux & MacOS)
$ id
uid=501(ericmueller) gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),33(_appstore),100(_lpoperator),204(_developer),250(_analyticsusers),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh)
$ ls -la
$ ls -la data/www




