-
Notifications
You must be signed in to change notification settings - Fork 49
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
Images not displaying #64
Comments
I have the same problem with the same docker image, have you been able to solve it? Thanks |
Same here, no images. |
Hey, got the same problem. I started the development version of wger with the exact same env and nginx files that are provided and can't see the exercise pictures :( edit: the pictures have definitely been copied into the volume. |
Can you open the developer tools and take a look at the network when you load the page? (More Tools > Developer Tools) If the images are not being served correctly you should see a lot of red entries with a status code of 404 or something similar. Also, are you accessing the docker instance directly over its IP or via some hostname etc? Also, is there anything happening in the logs while you open the page? Ideally you should see something like this
What happens when you try to re-sync the exercises and images? Does the script say that the image is not found in the local db and is creating it or that it is already present and is skipping it?
Finally, it might be some caching issues (which I don't think, this should have cleared after some time), but just to be sure, |
Images can be accessed directly from the web browser (e.g. "http://[ip]/media/exercise-images....b4013ce084e4.png") but are not loaded onto pages automatically. After a day or two it is working now. Maybe cache problem like you said. |
|
Hi there, sorry maybe my comment doesn't help much, as i never used docker-compose or the wger/apache image. But when i look at the In general django serves the output of the python code with gunicorn and requires a webserver to serve the static and media files directly and serves the application as a reverse proxy to gunicorn. Maybe this docker-compose.yml here works better for you. It uses nginx to serve the media files (images) with this following configuration. |
Images will now be displayed. I have now created it with the correct Docker image :) (Previously I have used the apache image, and now I am using wger_server image from docker hub) |
I just wanted to say: I did the following and images were not displaying:
But clearing cache: Worked perfectly. Using the suggested docker-compose. |
Hey there, I have a similar issue.
Many exercises are missing, like Running |
I had the same issue. I traced it to the docker-compose.yml not having the
|
When I try to download my workout plan, I can't download it with images because of the following error message:
Environment:
How can I fix the error? I also don't see any pictures when selecting the exercices. I use the latest docker-compose version of wger. The docker-compose file is the following:
Also with inspect element I get the error that the images hadn't been found.
The text was updated successfully, but these errors were encountered: