Issue with Account Creation and Task Fetching (Potential Missing Timezone) #2232

Closed
opened 2026-03-22 13:58:24 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @HexChap on GitHub (May 27, 2025).

Description

Hi there,

I've encountered a couple of issues while deploying my instance:

  1. Account Creation
    After clicking "Create Account", a toast message appears indicating an Internal Server Error. However, the account is still created successfully.

  2. Task Fetching
    Once logged in, the new user cannot fetch or create tasks. Based on the error and behavior, it seems this might be due to a missing or unset timezone.

    XHR GET
    http://46.175.151.33:3456/api/v1/tasks/all?sort_by[]=due_date&sort_by[]=id&order_by[]=asc&order_by[]=desc&filter=done+=+false&filter_include_nulls=false&s=&filter_timezone=<time+zone+set+at+service.timezone>&page=1
    [HTTP/1.1 500 Internal Server Error 45ms]
    
    No payload for this request
    

After manually setting the timezone in the user settings, everything starts working as expected.

Instance url: http://46.175.151.33:3456/

I'm new here, so apologies if this is somehow a feature, just wanted to share in case it's useful :)

Vikunja Version

0.24.6

Browser and version

Firefox 138.0.4 (64-bit) on arch

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

Originally created by @HexChap on GitHub (May 27, 2025). ### Description Hi there, I've encountered a couple of issues while deploying my instance: 1. **Account Creation** After clicking **"Create Account"**, a toast message appears indicating an *Internal Server Error*. However, the account is still created successfully. 2. **Task Fetching** Once logged in, the new user cannot fetch or create tasks. Based on the error and behavior, it seems this might be due to a missing or unset timezone. ``` XHR GET http://46.175.151.33:3456/api/v1/tasks/all?sort_by[]=due_date&sort_by[]=id&order_by[]=asc&order_by[]=desc&filter=done+=+false&filter_include_nulls=false&s=&filter_timezone=<time+zone+set+at+service.timezone>&page=1 [HTTP/1.1 500 Internal Server Error 45ms] No payload for this request ``` After manually setting the timezone in the user settings, everything starts working as expected. Instance url: http://46.175.151.33:3456/ I'm new here, so apologies if this is somehow a feature, just wanted to share in case it's useful :) ### Vikunja Version 0.24.6 ### Browser and version Firefox 138.0.4 (64-bit) on arch ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots _No response_
Author
Owner

@kolaente commented on GitHub (May 28, 2025):

This seems like you did not change the default value in your config file, which is the literal string <time zone set at service.timezone> (and not a valid time zone). Can you verify that?

If that's the culprit, you need to manually update the time zone to something valid or null in the database, then it should work again.

@kolaente commented on GitHub (May 28, 2025): This seems like you did not change the default value in your config file, which is the literal string `<time zone set at service.timezone>` (and not a valid time zone). Can you verify that? If that's the culprit, you need to manually update the time zone to something valid or `null` in the database, then it should work again.
Author
Owner

@HexChap commented on GitHub (Jun 5, 2025):

Yes, I can see it now on the Configuration page in the documentation, but I think that it should be more clear for the average user.

@HexChap commented on GitHub (Jun 5, 2025): Yes, I can see it now on the Configuration page in the documentation, but I think that it should be more clear for the average user.
Author
Owner

@kolaente commented on GitHub (Jun 13, 2025):

I've since added a check to validate that setting on startup with a better error message. I'd consider this issue solved with that.

@kolaente commented on GitHub (Jun 13, 2025): I've since added a check to validate that setting on startup with a better error message. I'd consider this issue solved with that.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#2232