My kitsu is working well except for file handling. I cannot upload pictures for my project.
From the web interface, nothing happens. I get the following error in gunicorn_error.log:
ERROR in resources: File was not found for: 114c12b2-ba88-4c1a-9280-4c674eab0d65
I’m not sure on what is creating this error. The configuration section of the documentation is not clear to me, I tried manually setting :
Environment=“PREVIEW_FOLDER=/opt/zou/previews”
In the file /etc/systemd/system/zou.service, but the behaviour is the same.
/opt/zou/previews$ ls -l
total 12
drwxr-xr-x 3 zou www-data 4096 Dec 7 16:15 ./
drwxr-xr-x 6 zou www-data 4096 Dec 6 15:33 …/
drwxr-xr-x 3 zou www-data 4096 Dec 7 16:15 pictures/
A user was able to upload a picture as avatar.
this is only one path to a thumbnail:
/opt/zou/previews/pictures/thumbnails/1cb/652$ ll
total 128
drwxr-xr-x 2 zou www-data 4096 Dec 7 16:15 ./
drwxr-xr-x 3 zou www-data 4096 Dec 7 16:15 …/
-rw-r–r-- 1 zou www-data 121763 Dec 7 16:15 1cb6522a-e508-43dd-89fab9f33ceae4c5
Is there a limitation on the weight or size of the input image ?