[GH-ISSUE #2589] [MySQL 8.0] Tasks not showing after upgrade to Vikunja 2.3.0 #6703

Closed
opened 2026-04-20 17:17:10 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @chandrashekharkavi-tech on GitHub (Apr 10, 2026).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2589

Pre-submission checklist

  • I have searched for existing open or closed issue reports with the same problem.

Description

After upgrading from Vikunja 2.2.2 → 2.3.0 using Docker Compose, tasks no longer appear in the web UI. The backend logs show SQL syntax errors when fetching tasks.

Error Trace (from logs):
time=2026-04-10T05:15:09.879Z level=ERROR component=http remote_ip=172.18.0.1 method=GET uri="/api/v1/tasks?..." status=500 latency=6.411034ms err="Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int)) AS is_archived, all_projects.background_file_id, all_projects.background_b' at line 5"

Steps to Reproduce:

Upgrade Vikunja from 2.2.2 to 2.3.0 in Docker Compose.

Access tasks via web UI.

Observe missing tasks.

Expected Behavior:
Tasks should display normally after upgrade.

Actual Behavior:
Tasks fail to load due to SQL syntax error in MySQL 8.0.

Vikunja Version

2.3.0

Browser and version

Microsoft Edge is up to date. Version 146.0.3856.109 (Official build) (64-bit)

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

Originally created by @chandrashekharkavi-tech on GitHub (Apr 10, 2026). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2589 ### Pre-submission checklist - [x] I have searched for existing open or closed issue reports with the same problem. ### Description After upgrading from Vikunja 2.2.2 → 2.3.0 using Docker Compose, tasks no longer appear in the web UI. The backend logs show SQL syntax errors when fetching tasks. Error Trace (from logs): time=2026-04-10T05:15:09.879Z level=ERROR component=http remote_ip=172.18.0.1 method=GET uri="/api/v1/tasks?..." status=500 latency=6.411034ms err="Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int)) AS is_archived, all_projects.background_file_id, all_projects.background_b' at line 5" Steps to Reproduce: Upgrade Vikunja from 2.2.2 to 2.3.0 in Docker Compose. Access tasks via web UI. Observe missing tasks. Expected Behavior: Tasks should display normally after upgrade. Actual Behavior: Tasks fail to load due to SQL syntax error in MySQL 8.0. ### Vikunja Version 2.3.0 ### Browser and version Microsoft Edge is up to date. Version 146.0.3856.109 (Official build) (64-bit) ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots _No response_
GiteaMirror added the area/databasedb/mysqlconcern/regression labels 2026-04-20 17:17:11 -05:00
Author
Owner

@sbraaa commented on GitHub (Apr 10, 2026):

Same configuration and same problem for me!

<!-- gh-comment-id:4222405359 --> @sbraaa commented on GitHub (Apr 10, 2026): Same configuration and same problem for me!
Author
Owner

@gabrielebellani commented on GitHub (Apr 10, 2026):

Same here. Every task and project GET requests return 500.
Here is the Docker logs:

vikunja-1  | time=2026-04-10T13:09:29.425Z level=ERROR component=http remote_ip=xxx.xxx.xxx.xxx method=GET uri="/api/v1/projects?is_archived=true&expand=permissions&page=1" status=500 latency=993.515µs err="Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int)) AS is_archived, all_projects.background_file_id, all_projects.background_b' at line 5"
vikunja-1  | time=2026-04-10T13:09:29.425Z level=ERROR component=http remote_ip=xxx.xxx.xxx.xxx method=GET uri="/api/v1/labels?page=1" status=500 latency=5.390936ms err="Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int)) AS is_archived, all_projects.background_file_id, all_projects.background_b' at line 5

<!-- gh-comment-id:4224053109 --> @gabrielebellani commented on GitHub (Apr 10, 2026): Same here. Every task and project GET requests return 500. Here is the Docker logs: ``` vikunja-1 | time=2026-04-10T13:09:29.425Z level=ERROR component=http remote_ip=xxx.xxx.xxx.xxx method=GET uri="/api/v1/projects?is_archived=true&expand=permissions&page=1" status=500 latency=993.515µs err="Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int)) AS is_archived, all_projects.background_file_id, all_projects.background_b' at line 5" vikunja-1 | time=2026-04-10T13:09:29.425Z level=ERROR component=http remote_ip=xxx.xxx.xxx.xxx method=GET uri="/api/v1/labels?page=1" status=500 latency=5.390936ms err="Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int)) AS is_archived, all_projects.background_file_id, all_projects.background_b' at line 5 ```
Author
Owner

@kolaente commented on GitHub (Apr 10, 2026):

Can you enable the databse and debug logs and share the output?

https://vikunja.io/docs/config-options/#1-log-database

Are you all using MySQL 8?

<!-- gh-comment-id:4227345528 --> @kolaente commented on GitHub (Apr 10, 2026): Can you enable the databse and debug logs and share the output? https://vikunja.io/docs/config-options/#1-log-database Are you all using MySQL 8?
Author
Owner

@vikunja-bot-app[bot] commented on GitHub (Apr 11, 2026):

This issue has been fixed in 5b2cbcb, please check with the next unstable build (should be ready for deployment in ~30min, also on the demo).

<!-- gh-comment-id:4229860392 --> @vikunja-bot-app[bot] commented on GitHub (Apr 11, 2026): This issue has been fixed in [`5b2cbcb`](), please check with the next unstable build (should be ready for deployment in ~30min, also on [the demo](https://try.vikunja.io)).
Author
Owner

@Anduin2017 commented on GitHub (Apr 13, 2026):

Can we release 2.3.1 ASAP? All our customers are running latest stable and are having this issue.

<!-- gh-comment-id:4234516065 --> @Anduin2017 commented on GitHub (Apr 13, 2026): Can we release 2.3.1 ASAP? All our customers are running latest stable and are having this issue.
Author
Owner

@kolaente commented on GitHub (Apr 17, 2026):

@Anduin2017 happy to talk about commercial support for things like this, send me an email if you're interested

<!-- gh-comment-id:4267581707 --> @kolaente commented on GitHub (Apr 17, 2026): @Anduin2017 happy to talk about commercial support for things like this, send me an email if you're interested
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6703