How to set up a timezone

Just installed Vikunja self-hosted. Trying to upload an avatar, recieving a HTTP 500 error, on the API side log says:

v1/UploadAvatar 0d5 unknown time zone

but I have it designated in /etc/vikunja/config.yml in both:
service:
timezone: Asia/Tbilisi

AND

defaultsettings:
timezone: Asia/Tbilisi

And also in systemd unit override:

[Service]
Environment=“VIKUNJA_SERVICE_TIMEZONE=Asia/Tbilisi”

Vikunja systemd service were restarted after config modification, systemctl daemon-reload command also issued. The error on upload still the same. Where else can I specify timezone to become able to upload an avatar for my user?

Found out that it also should be specified for user who trying to upload an image. Issue resolved.

1 Like