Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devilbox not booting / Error message included in report #133

Closed
8 tasks done
fly-man- opened this issue Oct 7, 2017 · 8 comments
Closed
8 tasks done

Devilbox not booting / Error message included in report #133

fly-man- opened this issue Oct 7, 2017 · 8 comments

Comments

@fly-man-
Copy link

fly-man- commented Oct 7, 2017

  • Pull latest dockers (e.g.: docker pull cytopia/<used_docker>) before running docker-compose up
  • Specify used docker versions (php, web and database)
  • Attach logs for php, mysql and webserver (found in log/ directory)
    No logs created
  • Start with debug mode and attach docker-compose output (.env setting DEBUG_COMPOSE_ENTRYPOINT=1)
  • Never use different mysql|mariadb versions on the same HOST_PATH_TO_MYSQL_DATADIR on existing database files. Different mysql|mariadb versions might upgrade/corrupt existing database files. If you have done that already, start with a different path of HOST_PATH_TO_MYSQL_DATADIR (to an empty directory) and try again.

Please also specify the following info:

  • Which operating system are you at (Linux, OSX or Windows)

Linux ubuntu 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

  • docker version

Client:
Version: 17.09.0-ce
API version: 1.32
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:42:18 2017
OS/Arch: linux/amd64

Server:
Version: 17.09.0-ce
API version: 1.32 (minimum version 1.12)
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:40:56 2017
OS/Arch: linux/amd64
Experimental: false

  • docker-compose version

docker-compose version 1.8.0, build unknown
docker-py version: 1.9.0
CPython version: 2.7.12
OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016


When trying to start the devilbox for the first time the following message appears in the console:

ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the services key, or omit the version key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/

@cytopia
Copy link
Owner

cytopia commented Oct 7, 2017

@fly-man-
Can you try this again with a different docker-compose version set in docker-compose.yml

Please change version: '2.1' to version: '2.0' and give it a shot.

@fly-man-
Copy link
Author

fly-man- commented Oct 7, 2017

Changed it to 2.0, next error came up after running docker-compose up

ERROR: Invalid interpolation format for "image" option in service "httpd": "cytopia/${HTTPD_SERVER:-nginx-stable}:latest"

@cytopia
Copy link
Owner

cytopia commented Oct 7, 2017

Try to change "cytopia/${HTTPD_SERVER:-nginx-stable}:latest" to "cytopia/${HTTPD_SERVER}:latest" Looks like variable interpolation is supported from v2.1 onwards.

@cytopia
Copy link
Owner

cytopia commented Oct 7, 2017

Btw just saw it now, your docker-compose version is simply outdated. You have docker-compose version 1.8.0, build unknown

When you update it to Compose 1.9.0+. everything should work fine without any changes

@fly-man-
Copy link
Author

fly-man- commented Oct 7, 2017

That's the version that the installation script for Docker installed, will have a look how to get it to update to 1.9+

@cytopia
Copy link
Owner

cytopia commented Oct 7, 2017

Good, let me know how it works out for you. Also while you're at it try out git branch REL-0.12 this has all the latest changes and is going to be merged within the next few days.

@fly-man-
Copy link
Author

fly-man- commented Oct 7, 2017

I just issued these 2 commands from this page to get docker-compose to update:

And currently it's downloading and updating the images so it's doing something more now.

@fly-man-
Copy link
Author

fly-man- commented Oct 7, 2017

Devilbox is running now, it was indeed the "older" version of docker-compose that made the issue.

@fly-man- fly-man- closed this as completed Oct 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants