-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
When deploying uMap using Docker Compose encounter a RuntimeError Version :2.5.1 #2015
Comments
Looks related to #1947, thanks for narrowing it down to Synology with your additional tests 👍 |
Sadly I encounter the same problems but not on Synology but on Ubuntu 24.04 LTS.. |
Hi, @Pfaff15 what is the output of this command :
|
Hi @rouja I ran your commant once for the working 2.3.1:
And once for the 2.5.1 with following output:
|
Hi @Pfaff15 It's weird. What is the output of this command :
And this command :
Juste to be sure you have the same image. Because I'm on ubuntu 24.04 too and I do not have that issue. And could you provide your docker version :
|
Hi @rouja The first command gives this output (for better readability in a seperate file): The second command gives:
Docker version delivers:
My docker-compose.yaml for the working 2.3.1 looks like this, if it is relevant. The only difference would be the Tag 2.5.1 instead of 2.3.1:
|
Hi @Pfaff15 I do not understand :( I was not using the same version of docker so I installed your version but I can't reproduce your issue :( The only thing that I do not have is your "data". Do you have the same issue if you use empty volumes ? Yesterday a fix on the Dockerfile was published on master because the build was broken. It concerns static folder. I built an image with this fix to test it : lasuite/umap:2.5.1-5a0b75fd3322cf Do you still have the issue with that image ? |
Hi @rouja In this case we are already two that do not understand :D When changing the version number I usually stopped the containers with I now took the some docker-compose.yaml and just adjusted the image of the app. Interestingly, the containers seem to run. But now I get an error message when connecting with the browser: When starting the container in the shell with
Before, the app-container just was in a reboot-loop and naturally not reachable via browser As a test I also started with empty volumes and the new image. However, the result is the same: containers running, django errors and the Ooops in the browser |
Ok, Now I can reproduce your issue. With your last docker-compose.yml, if you add :
It should work and the "Oops page" disappears. I'm not a django expert but I think It's not normal to have to enable the DEBUG to make things work. @davidbgk do you have an idee why with DEBUG=1 everything is fine but with DEBUG=0 it's not working ? |
I can confirm that it now also works in my configuration. Thank you for your support :-) However, I still do not understand, what the underlying problem in the first place was. But if the fix of the static folder fixes all, then I am more than happy. |
Ok cool ! When we will publish another docker image, please do no forget to switch the docker image in your docker-compose.yml to the new one because I will delete the temporary image "lasuite/umap:2.5.1-5a0b75fd3322cf". Have a nice day |
Max post-process passes exceeded during the static file collection process. This error suggests a configuration or environment issue specific to Windows, as the same Docker configuration works flawlessly on a Windows machine.
To Reproduce
Steps to reproduce the behavior:
Deploy uMap using the provided Docker Compose file on Windows.
Access the application via http://myexample:9081/.
Observe the error during the startup, specifically during the Django static file collection process.
Expected behavior
The application should start without errors, similar to the behavior observed on a Windows environment, allowing the uMap service to be accessible and functional.
Additional context
This issue appears to be specific to the windows environment.
The text was updated successfully, but these errors were encountered: