Error occurs when exporting account #969
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#969
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?
Hi,
during the export process of my account I get an error in the logs:
ERROR ▶ [EVENTS] 123 Error occurred, retrying: mkdir /app/vikunja//files/user-export-tmp/: permission denied, elapsed_time=59.995041ms, retry_no=1, max_retries=5, wait_time=58.368929ms
And the whole process is aborted after 5 attemps.
My idea is, that the error occurs cause of the double slash after "vikunja" ?!
Have you checked the user running Vikunja has write access to the folder at
/app/vikunja/files/
? To see if it's a problem with the slash, try removing it from the rootpath in the config.Hi,
I'm running vikunja on docker and deployed it with the docker-compose files from your documentation. So I don't changed any configs.
After running the api-container as root , the export was generated, but left in the folder without file extension and without any notice in the frontend or in my mailfile.
So after adding a .zip, I could access the files inside and reimport them without an error.
And you properly configured the mail connection?
Anything else in the logs?
The mail connection is set up with following environment variables in the api-container-section of the docker-compose-file but I don-t get any mails despite that the credentials are correct:
VIKUNJA_MAILER_ENABLED: 1
VIKUNJA_MAILER_HOST: [HOST]
VIKUNJA_MAILER_PORT: [PORT]
VIKUNJA_MAILER_USERNAME: [USER]
VIKUNJA_MAILER_PASSWORD: [PASS]
VIKUNJA_MAILER_FORCESSL: 1
But there is nothing else in the logs, just a lot of lines like this:
2021-09-06T19:59:42.652036864Z: WEB ▶ [IP of my router] GET 200 /api/v1/notifications?page=1 14.283743ms - Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
I've noticed a potential cause of the issue:
Put up a patch which should prevent this and adds more logging for those cases in
cc1bb3083f
. Could you enable debug logging and try again with the next unstable version? It should be ready and released in ~30 min.Yes, of course.
In the meantime I set the loglevel to debug and get the confirm, the the export is created:
2021-09-06T20:21:47.534433748Z: DEBUG ▶ models/Handle 135 Starting to export user data for user 1...,
2021-09-06T20:21:47.627553862Z: DEBUG ▶ models/Handle 200 Done exporting user data for user 1...
The short time between start and finish is okay, because I don't have a lot of data in there.
I'm finaly getting an email from my vikunja instance, but the link is not working.
If I copy the url to my browser, it works.
What is the link? Have you configured the frontend URL in the api?
Okay, now I've got it...
Thanks for the support!