Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: File upload to card nothing happens #852

Open
fraserw opened this issue Aug 21, 2024 · 5 comments
Open

[Bug]: File upload to card nothing happens #852

fraserw opened this issue Aug 21, 2024 · 5 comments

Comments

@fraserw
Copy link

fraserw commented Aug 21, 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
Copy link
Author

fraserw commented Aug 21, 2024

Also tested and fails with chrome

@fraserw
Copy link
Author

fraserw commented Aug 21, 2024

Discovered this was an issue with the npm run as a service. When run manually as the planka user uploads work fine

@meltyshev
Copy link
Member

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
Copy link
Author

fraserw commented Aug 22, 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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants