vikunja
vikunja copied to clipboard
uploaded Avatar not found
Description
I updated from v0.23 to v0.24.0 without issues.
Only one minor thing was seen: My uploaded Avatar was gone:
When opening the image in a new tab I get "Internal Server Error" with following link:
https://todo.DOMAIN.COM/api/v1/avatar/readily-tender-sawfly?size=50&=1719944689649
It seems there is some "id" missig before "=1719944689649"
The log shows:
2024-07-02T18:21:49.281926192Z 2024-07-02T18:21:49.281787159Z: ERROR ▶ v1/GetAvatar 36a Error getting avatar for user 2: open files/1: no such file or directory 2024-07-02T18:21:49.281957395Z 2024-07-02T18:21:49.281818201Z: ERROR ▶ v1/GetAvatar 36b open files/1: no such file or directory
When trying to upload a new avatar, I get also an "Internal Server Error" with following error in the log:
2024-07-02T18:22:25.987756491Z 2024-07-02T18:22:25.987526032Z: ERROR ▶ files/Delete 378 Error deleting file 1: %!w(*fs.PathError=&{remove files/1 2}) 2024-07-02T18:22:26.330489749Z 2024-07-02T18:22:26.330339636Z: ERROR ▶ v1/UploadAvatar 37a mkdir files/: permission denied
I then changed the mounted folder premissions from 755 to 777. Still the same owner/group 1000:1000. When trying to upload again, I only get this log:
2024-07-02T18:29:40.071678732Z 2024-07-02T18:29:40.07156072Z: ERROR ▶ v1/UploadAvatar 1e0 mkdir files/: permission denied
I'm running Vikunja in Docker. In v0.23.0 it worked with the avatar. Did some premissions change? In the changelog are no informations regarding possible changes in premissions.
As written: just a minor inconvenience. Thanks for the great software :)
Sidenote: Vikunja is the only container of my 20 services, which has the timestamp two times in the log.
Vikunja Version
0.24
Browser and version
Firefox 126.0.1
Can you reproduce the bug on the Vikunja demo site?
No
Screenshots
No response