Re: Time Zone issue

11 views
Skip to first unread message

Patrik Dufresne

unread,
Jun 18, 2025, 3:54:31 PMJun 18
to min...@googlegroups.com
Hello Lucas,

Sorry to hear you're experiencing this issue with Minarca-Server. Could you please confirm which version you're currently using?

The error you're encountering isn’t directly caused by Minarca-Server itself. It appears to be related to how the tzlocal library handles mismatches between the detected timezone and your system’s configured timezone. Unfortunately, its behavior in this case isn’t very graceful.

You can find more details on the issue here: https://github.com/regebro/tzlocal/issues/79


Le mer. 18 juin 2025, à 14 h 32, Lucas Burdick <x88fing...@gmail.com> a écrit :
FYI, this is the error below 

minarca-server.service - Minarca Web Server
     Loaded: loaded (/usr/lib/systemd/system/minarca-server.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Wed 2025-06-18 11:10:57 PDT; 20min ago
   Duration: 420ms
       Docs: https://minarca.org/
    Process: 67740 ExecStart=/opt/minarca-server/minarca-server (code=exited, status=1/FAILURE)
   Main PID: 67740 (code=exited, status=1/FAILURE)
        CPU: 404ms

Jun 18 11:10:57 backup minarca-server[67740]:   File "apscheduler/schedulers/base.py", line 141, in configure
Jun 18 11:10:57 backup minarca-server[67740]:   File "apscheduler/schedulers/background.py", line 29, in _configure
Jun 18 11:10:57 backup minarca-server[67740]:   File "apscheduler/schedulers/base.py", line 711, in _configure
Jun 18 11:10:57 backup minarca-server[67740]:   File "tzlocal/unix.py", line 165, in get_localzone
Jun 18 11:10:57 backup minarca-server[67740]:   File "tzlocal/unix.py", line 90, in _get_localzone
Jun 18 11:10:57 backup minarca-server[67740]:   File "tzlocal/utils.py", line 46, in assert_tz_offset
Jun 18 11:10:57 backup minarca-server[67740]: ValueError: Timezone offset does not match system offset: 0 != -25200. Please, check your config files.
Jun 18 11:10:57 backup minarca-server[67740]: [67740] Failed to execute script 'main' due to unhandled exception!
Jun 18 11:10:57 backup systemd[1]: minarca-server.service: Main process exited, code=exited, status=1/FAILURE
Jun 18 11:10:57 backup systemd[1]: minarca-server.service: Failed with result 'exit-code'.

On Wednesday, June 18, 2025 at 11:26:12 a.m. UTC-7 Lucas Burdick wrote:
Hi Patrik,

Longtime rdiff-web user (back to the Josh Nisly days!!) and I'm just getting Minarca setup.  It's giving me a timezone mismatch error when starting the server and I'm wondering if there is a config variable that sets the timezone if my server is not using UTC?

thanks,
Lucas

--
You received this message because you are subscribed to the Google Groups "Minarca Data Backup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minarca+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/minarca/3385ac3f-b955-46e5-b888-32cf9d1c4ce5n%40googlegroups.com.


--
** Par mesure d'efficacité, je consulte mes courriels une fois par jour.
IKUS Software

Patrik Dufresne

unread,
Jun 18, 2025, 4:14:31 PMJun 18
to min...@googlegroups.com
Could you try something for me? I upgraded tzlocal to the latest version in this development version:


Check if this fixed your issue.

Lucas Burdick

unread,
Jun 18, 2025, 5:05:53 PMJun 18
to Minarca Data Backup
Hi Patrik,

I'm sorry, I deleted this thread because I'm an idiot.  My /etc/localtime was not set properly. once I did that it worked.

Patrik Dufresne

unread,
Jun 19, 2025, 7:32:28 AMJun 19
to min...@googlegroups.com
Hello Lucas,

Thanks for your feedback !

Reply all
Reply to author
Forward
0 new messages