Can't upload background images #633
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#633
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I went to try out the background image feature of the lists, but I got a 500 internal service error sent to the front end. The api logs are showing a "permission denied" when I try to upload the file. Perhaps some permissions got knocked out of whack inside the api container? What should the proper permissions on the
files
folder be?By default, the user
1000
and group1000
should have write access to thefiles
folder, you can change that with thePUID
andPGID
env variables. Do task attachments work? They use the same underlying files mechanism.When uploading attachments, I get "e is undefined", both in the frontend and api logs.
Works fine after
docker exec
ing into the container andchown
ing thefiles
folder withchown -R vikunja:vikunja files
, so somehow my permissions got out of whack in my api container. Most likely a side effect of some other kind of troubleshooting I did at some point earlier.Glad you could solve it!
The
e is undefined
issue is pretty weired, and since its a js issue it's especially weired it shows up in the api logs. Could you open a frontend issue if you see it again?Actually I think I mistyped about the e is undefined error, the api logs just said permission denied on that one. I can still open the issue on that one if it appears again, but I'm guessing it was probably caused by the permissions.