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

Installation fails #29

Closed
ghost opened this issue Apr 21, 2020 · 1 comment
Closed

Installation fails #29

ghost opened this issue Apr 21, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 21, 2020

Greetings.

I'm having issues trying to get any of these debian images to run and wondered if you could offer some insight as to what I may be doing wrong please?

Here is the output after running

$docker-compose up -d

Creating network "debian_default" with the default driver
Creating erpnext_redis_queue    ... done
Creating erpnext_redis_socketio ... done
Creating erpnext_db             ... done
Creating erpnext_redis_cache    ... done
Creating erpnext_app            ... error

ERROR: for erpnext_app  Cannot start service erpnext_app: b'OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \\"rootfs_linux.go:58: mounting \\\\\\"/etc/timezone\\\\\\" to rootfs \\\\\\"/var/lib/docker/overlay2/9e66de137b0fab610167aeb53b08361d87a5807229ae2fc0aea700e46492de2d/merged\\\\\\" at \\\\\\"/var/lib/docker/overlay2/9e66de137b0fab610167aeb53b08361d87a5807229ae2fc0aea700e46492de2d/merged/etc/timezone\\\\\\" caused \\\\\\"not a directory\\\\\\"\\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type'

ERROR: for erpnext_app  Cannot start service erpnext_app: b'OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \\"rootfs_linux.go:58: mounting \\\\\\"/etc/timezone\\\\\\" to rootfs \\\\\\"/var/lib/docker/overlay2/9e66de137b0fab610167aeb53b08361d87a5807229ae2fc0aea700e46492de2d/merged\\\\\\" at \\\\\\"/var/lib/docker/overlay2/9e66de137b0fab610167aeb53b08361d87a5807229ae2fc0aea700e46492de2d/merged/etc/timezone\\\\\\" caused \\\\\\"not a directory\\\\\\"\\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type'
ERROR: Encountered errors while bringing up the project.
@madmath03
Copy link
Member

Hello @Techquila

Based on the error message, it seems this is a OS specific issue since your /etc/timezone does not seem to exist.

Just comment out those lines and it should be ok.

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

1 participant