Reputation: 5786
Since I updated my production setup to Wagtail 1.11 I cannot load the admin page for images. Visiting /admin/images/
results in a 502 error. In my development setup I don't have the same problem
This is the result of a crash of the runner. The memory and CPU usage of the runners gets too high for the server to handle at which point they are killed. (Seen in top
and restarts are shown in the logs)
This seems to be the same as https://github.com/wagtail/wagtail/issues/3575, but Wand
is not used and no GIF images are uploaded to the system so this is not the cause. The following seemingly relevant python packages are used:
Django==1.11.3
gunicorn==19.7.1
Pillow==4.2.1
wagtail==1.11.1
Willow==0.4
The project is running on a fully updated Ubuntu 16.04 machine.
Does anyone have a suggestion of what can fix this bug?
Upvotes: 5
Views: 1112
Reputation: 686
Try removing some of the more recent or larger images and reloading the page. The problem could be the result of a corrupt or malicious image.
The easiest way to diagnose if this is the problem is to:
media/original_images
folder to a backup folder./admin/images
page. If this was the problem the page should now load again.media/original_images
folder.Except for the picture crashing your system, everything should now work similar to what it did before.
Upvotes: 4