Internal server error - unknown time zone on fresh install on Debian

Hello,

I am (or would like to be) a new user.

I installed the vikunja 0.24.5 .deb package on Debian 12.8 (no docker) and kept getting “internal server error” while it logs “ERROR :arrow_forward: 18b unknown time zone ”

This first occurs when creating a user. The user is created though.
Creating a project works fine, also adding a task seems to go well. But when I reload or change to a different view which should show open tasks or tasks due, I get the error and no task is displayed.
A look into the database reveals that the tasks have been created, though.
But Field “timezone” in table “users” In the database contains “”.
So it does not seem to be correctly populated at start (or config.yml is not parsed correctly?)

Everythings seems to work fine after manually entering my timezone into the database field.

Another thing that does not seem to be read from config.yml is logging:
Even though the logfile path is set to /opt/vikunja/logs it does log to syslog. I had to add

StandardOutput=append:/opt/vikunja/logs/vikunja.log
StandardError=append:/opt/vikunja/logs/vikunja.log

to /usr/lib/systemd/system/vikunja.service (or to an override file).

Kind regards

Oliver

Welcome! :wave:

That should show an error during startup.

Can you share your config?

Hmmm, still not quite familiar with this forum software… it appears not to allow text attachments.
Here is a diff of my config and the one I extracted from the .deb archive (config.yml-orig):

type or paste code here/opt/vikunja# diff -u1 config*
--- config.yml	2024-12-10 20:46:33.264396037 +0100
+++ config.yml-orig	2024-11-21 16:21:00.000000000 +0100
@@ -4,3 +4,3 @@
   # (This means all already issued tokens will be invalid once you restart Vikunja)
-  JWTSecret: "k9EWA6vmbSgRT3aCVQNt00rAIXMN3KmG"
+  JWTSecret: "<jwt-secret>"
   # The duration of the issued JWT tokens in seconds.
@@ -23,3 +23,3 @@
   # with a config file which will then be used.
-  rootpath: /opt/vikunja/
+  rootpath: <rootpath>
   # The max number of items which can be returned per page
@@ -37,3 +37,3 @@
   # The time zone all timestamps are in. Please note that time zones have to use [the official tz database names](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). UTC or GMT offsets won't work.
-  timezone: Europe/Berlin
+  timezone: GMT
   # Whether task comments should be enabled or not
@@ -137,3 +137,3 @@
   #       Otherwise the frontend won't be able to make requests to the api through the browser.
-  enable: true
+  enable: false
   # A list of origins which may access the api. These need to include the protocol (`http://` or `https://`) and port, if any.
@@ -171,3 +171,3 @@
   # A folder where all the logfiles should go.
-  path: /opt/vikunja/logs
+  path: <rootpath>logs
   # Whether to show any logging at all or none