mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
[Bug]: File upload to card nothing happens #557
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Originally created by @fraserw on GitHub (Aug 22, 2024).
Where is the problem occurring?
I encountered the problem while using the application (Frontend)
What browsers are you seeing the problem on?
Firefox
Current behaviour
From the card edit panel, click upload attachment, select a file from the file selection window. From there only a grey spinning wheel and no upload activity occurs. No new entry in private is created for the attachment. Nothing listed in the logs either (logs are empty)
Uploads worked fine a few days ago, but upon a service restart, no new uploads will succeed.
File type does not seem to matter.
Behavior is the same for multiple users in or outside the local network where the planka service is hosted.
Desired behaviour
The selected file should upload appropriately, and appear in /var/www/planka/private
Steps to reproduce
From a browser, select a card, select attachment, provide an attachment, click upload.
Other information
Planka run as either a service or from the command line, installed locally in /var/www/planka, on a Ubuntu box 22.04. No SSL at the moment.
@fraserw commented on GitHub (Aug 22, 2024):
Also tested and fails with chrome
@fraserw commented on GitHub (Aug 22, 2024):
Discovered this was an issue with the npm run as a service. When run manually as the planka user uploads work fine
@meltyshev commented on GitHub (Aug 22, 2024):
Hi! Are there any errors in the server logs when uploading attachments? It seems that the user under which this service is running doesn't have permission to write to the attachment folder.
@fraserw commented on GitHub (Aug 23, 2024):
It seems the issue is with running it as a service for some reason. When run by hand as the planka user, everything works fine. But when launched as a service, seemingly also as the planka user, things bork.
@wiiiteek commented on GitHub (Sep 14, 2024):
Check in logs if there is no problem with write permission for attachments folder. I had this case when was using docker image with external volumes.
@Alexsaphir commented on GitHub (Nov 13, 2024):
I also cannot upload, the browser log the following:

In http.js, the debugger, at line 18 http.js, report the following:
@meltyshev commented on GitHub (Nov 13, 2024):
Hi! Could you please check the error message in the response from the server? To do this, open DevTools, go to Network > All, and try uploading the attachment. Click on the red line
attachments?requestId=..., then select Preview. There you'll see the error message in the message field.@Alexsaphir commented on GitHub (Nov 14, 2024):
The log said that /app/.tmp failed to be created, which gave me the information needed to fix the issue. Sorry for not reading, and also for the hijack.
@amphyvi commented on GitHub (Sep 9, 2025):
Not sure if this is the right place, but it's basically the only result I get when I was trying to figure out why my Planka instance just wouldn't accept any attachments/images/etc on my server
I'm using the LinuxServer.io version which was hugely easy to set up and use but just had the limitation in question
https://github.com/linuxserver/docker-planka/pkgs/container/planka
After piecing things together, I was able to fix it by doing the following:
Now I've got the following folders. After restarting Planka, attachments/etc all work correctly.