-
Notifications
You must be signed in to change notification settings - Fork 4
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
docker-compose up fails #541
Comments
I put together a Linux Mint VM that recreates most of your environment, except it's running Mint 20.2 instead of 20.1. Just counting out the weird problems - could you verify that |
I checked appMR/urls.py and it was exactly same. Also, I don't think there has been weird accident in git. |
I didn't think there was anything weird with Git either honestly, I just wanted to count out anything we could think of. That's really interesting. If you do manage to figure out the difference, please do let me know so I can make sure it gets documented. It might be something as simple as an old version of a package somewhere. |
I found two commands from the official document.
It is possibly due to the docker from apt package version was old and stayed /bin even after running remove command. |
That very well might do it - is this confirmed as fixing the problem? |
Yes it is fixed. |
Describe the bug
Docker-compose up fails.
The error message says ModuleNotFoundError: No module named 'appMR.urls'
Even though submodule install was success, it still give same error message.
To Reproduce
Initially, I installed docker.io and docker-compose from apt package, but I received same error above when I run docker-compose up.
Then, I remove docker.io and docker-compose and installed docker/docker-compose following official guide.
The following process is to install docker/docker-compose up, sync with submodule and run the application.
Only change is that argument from $(lsb_release -cs) to focal in step 3, Set up the repository process.
git submodule init
git submodule set-url appMR https://github.com/Romulus10/AppMR.git
git submodule set-url clinic_messages https://github.com/Romulus10/DjangoMessage.git
git submodule update
docker-compose up
Expected behavior
It should install dependencies and build application.
Desktop (please complete the following information):
API version: 1.41
Go version: go1.16.9
Git commit: b485636
Built: Mon Oct 25 07:42:59 2021
OS/Arch: linux/amd64
Context: default
Experimental: true
The text was updated successfully, but these errors were encountered: