mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-05-08 12:57:52 -05:00
permission denied when moving tasks #2562
Closed
opened 2026-03-22 14:12:20 -05:00 by GiteaMirror
·
16 comments
No Branch/Tag Specified
main
renovate/dev-dependencies
claude/analyze-beans-project-9VxoS
feat-huma-api-v2-migration
feat-v2-foundation
spike-huma-openapi3
claude/investigate-swagger3-support-nyyUa
feat-list-view-buckets
ci-mysql-8-test
codex/analyze-codebase-for-email-task-feature
feat-project-templates
csv-import-feature
claude/email-reply-comments-wpdcQ
fix-oidc-pkce-support
fix/overview-subtasks-expand
feat/bucket-select-task-detail
feat-soft-delete-projects
claude/review-bot-design-plan-cf5C3
claude/project-scoped-api-tokens-KTqR3
claude/explore-openclaw-integration-KQEzg
claude/project-scoped-api-tokens-yv5KS
fix-duplicate-close-button
feat-list-view-sorting
feat/official-vite-sentry-plugin
feat/highlight-overdue-tasks
feat/add-enter-key-form-submission-handling
feat/TipTap-nits
feat/update-caldavtimetotimestamp-parsing
feat-phosphor-icons
wip-plans
claude/investigate-issue-2173-llKme
fix-description-text-drag
feat-custom-keyboard-shortcuts
pr-1845-ci
codex/fix-drag-and-drop-behavior-inconsistency
copilot/add-clickable-labels-for-filtering
copilot/fix-issue-1786
playwright-migration
fix-kanban-repeating-wip
copilot/fix-1498
feature/replace-axios
codex/upgrade-to-tailwind-4.1.8-using-pnpm
codex/add-cypress-test-for-avatar-types
feature/biome
feature/oxc
codex/update-flexsearch-to-0.8.205
4r6ni9-codex/fix-deprecated-sass-@import-usage
codex/fix-deprecated-sass-@import-usage
codex/add-cypress-test-for-task-list-refresh-fix
codex/fix-quick-add-magic-not-adding-tasks
codex/fix-all-type-errors
codex/fix-mimetype-for-docs.json
feature/caldav-from-scratch
feature/gh-actions-hetzner
fix-ci
feat/new-logger
jyte-better-dev-config
feat/add-team-member-with-enter
fix/button-and-icon-types
fix/notifications-component-name-collision
feature/null-time
renovate/tailwindcss-4.x
feature/unplugin-vue-router
fix/deprecated-import
feature/zod-schema
renovate/golangci-golangci-lint-1.x
fix/tiptap-editor-reactive-destructuring
release/0.24
feat/improve-add-task
fix/saved-filter-search
feat/webp-and-avif-attachment-previews
feature/migrate-back-to-bulma
fix/sass-add-missing-list-import
feature/sticky-demo-bar
fix/gantt-view-switch
feature/typesense-position-join
feature/focus-visible
dependencies/golangci-lint
feature/better-filter-syntax
fix/tiptap-task-list
renovate/github.com-golang-jwt-jwt-v4-5.x
feature/hide-forbidden-related-tasks
renovate/golang-1.x
release/0.20
release/0.17
release/0.16
release/0.15
release/0.14
v2.3.0
v2.2.2
v2.2.1
v2.2.0
v2.1.0
v2.0.0
v1.1.0
v1.0.0
v1.0.0-rc4
v1.0.0-rc3
v1.0.0-rc2
v1.0.0-rc1
v1.0.0-rc0
v0.24.6
v0.24.5
v0.24.4
v0.24.3
v0.24.2
v0.24.1
v0.24.0
v0.23.0
v0.22.1
v0.22.0
0.21.0
v0.21.0
v0.20.4
v0.20.5
v0.20.3
v0.20.2
v0.20.1
v0.20.0
v0.19.2
v0.19.1
v0.19.0
vue3
v0.18.1
v0.18.0
v0.17.1
v0.17.0
v0.16.1
v0.16.0
v0.15.1
v0.15.0
v0.14.1
v0.14.0
v0.13.1
v0.13
v0.12
v0.11
v0.10
v0.9
v0.8
v0.7
v0.6
v0.5
v0.4
v0.3
v0.2
v0.1
Labels
Clear labels
area/api
area/attachments
area/auth
area/avatars
area/backup-restore
area/caldav
area/calendar-view
area/comments
area/config
area/database
area/desktop
area/docker
area/email
area/favorites
area/filters
area/frontend
area/gantt
area/i18n
area/import-export
area/internal-code
area/kanban
area/labels
area/list-view
area/mobile
area/notifications
area/permissions
area/projects
area/pwa
area/recurring-tasks
area/reminders
area/search
area/shortcuts
area/subtasks
area/sync
area/table-view
area/task-editor
area/task-metadata
area/task-relations
area/teams
area/theming
area/time-tracking
area/typesense
area/views
area/webhooks
bug
changes requested
concern/accessibility
concern/performance
concern/regression
concern/ux
confirmed
db/mysql
dependencies
enhancement
good first issue
help wanted
integration/inbound
integration/outbound
kind/bug
kind/feature
needs reproduction
pull-request
question
security
support
upstream issue
waiting for reply
wontfix
Mirrored from GitHub Pull Request
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/vikunja#2562
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking 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 @cheetah747 on GitHub (Feb 28, 2026).
Pre-submission checklist
Description
When I drag a task to the top first position, an error popup "Internal Server Error" appears in the bottom left corner of the browser. When I drag another task to the top first position, another error "Position repair requires full view recalculation" pops up.
The "Internal Server Error" is always reproducible.
I press F12 and it shows error :Failed to load resource: the server responded with a status of 500(Internal Server Error)
v2.0.0~v2.1.0 both have this problem
Vikunja Version
v2.0.0 and v2.1.0
Browser and version
Windows 11 Chrome 141.0.7390.108,Android Kiwi Browser 124.0.6327.4
Can you reproduce the bug on the Vikunja demo site?
No
Screenshots
@kolaente commented on GitHub (Mar 2, 2026):
What do you see in the server logs?
Error 500 always means something on the server went wrong.
@cheetah747 commented on GitHub (Mar 2, 2026):
this is my log:
I have set this:
This problem did not exist in previous versions
@kolaente commented on GitHub (Mar 2, 2026):
Can you post the output of
vikunja doctor?@cheetah747 commented on GitHub (Mar 2, 2026):
@kolaente commented on GitHub (Mar 2, 2026):
And this only happens when moving tasks? everyhting else works fine?=
@cheetah747 commented on GitHub (Mar 2, 2026):
Yes, this 500 error currently seems to only occur when dragging a task.
There is also a 401 error.After I drag a task (regardless of whether an error occurs or not) and then log out, the following 401 error is reported. However, if I log out without dragging any tasks after logging in, this does not happen. Everything else is currently working fine.
@cernst72 commented on GitHub (Mar 2, 2026):
I have the same issue when dragging tasks in the list view (500 +
disk I/O error: permission deniedin the logs).Additionally, I have a similar issue when creating a New Saved Filter. The web app says: "Internal Server Error" and the logs say:
level=ERROR component=http method=PUT uri=/api/v1/filters status=500 latency=50.03006ms err="disk I/O error: permission denied.Other write operations are possible, so it doesn't seem to be a general problem with the environment config.
I am using vikunja:2.1.0 with sqlite backend. I can't reproduce it on try.
@fritzbauer commented on GitHub (Mar 4, 2026):
I have the same issue when creating tasks from the startpage (and via the API if I do not pass the position parameter or set its value to 0). Creating tasks from the projects view is working fine. I traced the network logs and saw that on the startpage it sends "position: 0" and on the projects pages it sends the positions parameter with an actual value.
Notably this issue only started yesterday for me although I ran the nightlies the days before and this issue has been created already 4 days ago.
I had the same ownership error in vikunja doctor and was able to fix it by setting "user: "1000:1000" in the docker-compose.yml. Now vikunja doctor shows green checkmarks for every entry, but the problem continues.
time=2026-03-04T12:57:02.517Z level=ERROR component=http method=PUT uri=/api/v1/projects/1/tasks status=500 latency=8.607536ms err="disk I/O error: permission denied"Can't reproduce on try.
@cernst72 commented on GitHub (Mar 4, 2026):
And are you able to create a new Saved Filter?
My instance always fails, since yesterday.
The log (with activated Database Logging) indicates a large transaction starting with
INSERT INTO saved_filterand ending withINSERT INTO task_positionswhich then fails without further reason:Further infos:
@kolaente commented on GitHub (Mar 4, 2026):
Are you all using sqlite?
@cheetah747 commented on GitHub (Mar 4, 2026):
Yes,I‘m using default sqlite.
@fritzbauer commented on GitHub (Mar 5, 2026):
Yes, also using sqlite.
Just tested. No I am not able to create a new Saved Filter.
Also observed that it is not possible to create tasks for all projects, only for some. The workaround to create a task in a "working" project and moving it to a "broken" project also does not work.
@fritzbauer commented on GitHub (Mar 8, 2026):
I suspect this commit:
84d563c51bIt seems sqlite tries to access a tmpdir which is not writable.
Setting tmpdir to a writable path in my docker-compose.yml fixes it for me :)
TMPDIR: /db/tmp
@eikaramba commented on GitHub (Mar 8, 2026):
same problem. the fix was indeed to add the TMPDIR env variable and also to create the folder on the host and make it writable:
env variables:
TMPDIR=/db/tmp
i didn't need to add a volume because /db already was set. but i needed to create the tmp folder and edit permissions
chown 1000:1000 ~/vikunja/db/tmp
@cernst72 commented on GitHub (Mar 8, 2026):
Same here: Setting environment variable in docker-compose
solved my problems. Thanks @fritzbauer!
Could this workaround be included to the DOCKERFILE, @kolaente?
@vikunja-bot-app[bot] commented on GitHub (Mar 10, 2026):
This issue has been fixed in #2384, please check with the next unstable build (should be ready for deployment in ~30min, also on the demo).