What app is this about, and its version: Gancio, v 1.28.2 What YunoHost version are you running: 12.1.39 What type of hardware are you using: VPS bought online
Describe your issue
I am using Gancio, a shared calendar for communities, but I think that my problem has to do with the interaction between Yunohost and Gancio, specifically with permissions.
The problem appeared when I tried to update Gancio and the update stopped before being complete, due to an error with mt VPS. From that moment on, even if I updated Gancio, It seems that the application cannot access images uploaded on yunohost via the application itself.
I will explain better: on Gancio I can create events that are added to the shared calendar. If I create an event without any image attached, everything is ok. But when I try to attach an image, I get a permission error, that you can find below, and the event becomes no more accessible.
I am new to this and I really do not know where to look. Does someone have some ideas or hints from where I can start?
Share relevant logs or error messages
/home/yunohost.app/gancio/uploads/thumb/[gancio_generated_image_code].jpg: unable to open for write unix error: Permission denied
The permissions of the files in that folder are:
-rw-r–r–
But the file .jpg that appears in the error message is not there. I suppose that the error arise because the application doesnt have the permission to create the image there, maybe?
The files that appear in that directory are the files of some past events, which where published before having this error.
And it is owned by 986 as user and 986 as group. I really dont know where does this user or group come from.
While if I go to /home/yunohost.app/gancio/ I see that uploads and other two folders in that directory are owned by gancio user and gancio group.
Also the thumbnails generated at /home/yunohost.app/gancio/uploads/thumb/ are owned by 986, but the images uploaded, which are at /home/yunohost.app/gancio/uploads/, are owned by gancio.