mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-05-07 12:37:14 -05:00
[GH-ISSUE #420] Critical error: invalid character 'd' looking for beginning of value #6157
Closed
opened 2026-04-20 16:45:53 -05:00 by GiteaMirror
·
11 comments
No Branch/Tag Specified
main
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#6157
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 @KhaaL on GitHub (Mar 13, 2025).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/420
I have a user that was created over OICD through a Keycloak instance, which causes an error when I try to delete it.
Attempts at deletion
I've tried deleting the user from the Vikunja web-interface, but after passing the 3-day deadline, the warning banner will change is warning to a date in the past:
`We will delete your Vikunja account at ... (yesterday). To cancel the deletion of your account, click here.
I've tried deleting the user from the CLI, but i get the following error:
Errors on exporting tasks
Exporting a task causes an error when looking through the logs:
Each file subsequently created in
/files/user-export-tmpis 4 kb small.Exporting data with other, local auth users, works as intended.
Error on login
When the user logs in through keycloak, an error is shown in vikunja logs and on the client respectively, however the user is able to complete the login flow.
Vikunja log:
For what its worth, here's the JSON of the user: from the
/api/v1/userendpoint:I'm running Vikunja Version: v0.24.1-873-ff53084e93 as a docker image, on SQLite
@kolaente commented on GitHub (Mar 19, 2025):
I'm unable to reproduce this. Is that user specific?
@kolaente commented on GitHub (Mar 19, 2025):
Does it work if you disable the user first?
(Note to self: This might be related to json parsing, which will only happen when async sending a notification)
@KhaaL commented on GitHub (Mar 22, 2025):
No, disabling the user dosen't work and this only happens on this user that was created with OICD.
If possible, I'd love a remidiation suggestion and, if you have any theories on what this might be caused about so I can try to reproduce it. I don't remember all the steps that took me here 😅
@kolaente commented on GitHub (Mar 22, 2025):
Does it yield the same error message when you try to disable the user?
The problem is I'm unable to reproduce it, that makes it hard to find a remediation.
@KhaaL commented on GitHub (Mar 23, 2025):
Disabling the affected user works without any error message, but that affected user cannot be deleted. I put some time to do some testing and did some direct changed to the sqlite database.
Deleting the rows in the Projects table where
owner_id= affected userID resulted in the affected user could be deleted with the -n flag.However, when I copied over the database file before I made all these changes to my local machine while running the 0.24.6 binary, I could delete the user with the -n flag without any modifications to the database file.
So this seems to be a bug with the unstable build (v0.24.1-873-ff53084e93) rather than an issue with the data in the database.
@kolaente If you want any more details from me or a dump of the database, let me know 🙂
@kolaente commented on GitHub (Mar 23, 2025):
Just to clarify, if you disable the user and then try to delete it, you still get the mentioned error?
A database dump would actually be amazing to reproduce this! You can also send it to me privately at konrad@vikunja.io
@KhaaL commented on GitHub (Mar 23, 2025):
Yes
You got mail 🙂
@kolaente commented on GitHub (Mar 23, 2025):
The dump really helped! It seems like a previous migration from the old filter format in project views didn't go as planned. I've added another migration to make it work again.
This should be fixed now in
62b2c6771a, please check with the next unstable build (should be ready for deployment in ~45min.@chrismilson commented on GitHub (Aug 31, 2025):
Is there a way to trigger the migration specificed in 62b2c67?
@kolaente commented on GitHub (Aug 31, 2025):
It should've run automatically on startup. If it put the entry for the migration (the filename) in the
migrationstable, you can remove the entry from the table and restart Vikunja. That should trigger it again.@chrismilson commented on GitHub (Aug 31, 2025):
Yep, the migration id was already in the
migrationtable. Removing it (withDELETE FROM migration WHERE id = '20250323212553') and restarting vikunja successfully updated theproject_viewstable.