Can't access GUI, OpenMediaVault-engine status: "Unknown or deprecated time zone"

  • I did a fresh install of OpenMediaVault from a USB flash drive. When the install was completed, I attempted to access the Web GUI. I kept getting a "Connection time out" error on my browser.

    To check what was wrong, on the machine running OpenMediaVault, I ran:

    service openmediavault-engined status


    Which returns:

    Unknown or deprecated time zone [tz=], Please reconfigure your time zone setti


    When running "timedatectl", it returns:

    Local time: Sun 2020-08-23 13:19:26 PDT

    Universal time: Sun 2020-08-23 20:19:26 UTC

    RTC time: Sun 2020-08-23 20:19:26

    Time zone: US/Pacific (PDT, -0700)

    System clock synchronized: no

    NTP service: inactive

    RTC in local TZ: no



    Any idea on where to go from here? I did some Googling but wasn't able to find anything. It looks like this error is preventing me from accessing the Web GUI.

  • Hello,


    i'm not sure if this error is from omv-gui timezone or form the debian


    for debian setup maybe this is useful

    Zitat

    for omv did you check ?

    Code
     more /etc/timezone

    should print out something like

    Zitat


    Europe/Berlin

    and

    Code
    omv-confdbadm read conf.system.time

    should print out something like

    Zitat


    {"timezone": "", "ntp": {"enable": false, "timeservers": "pool.ntp.org", "client s": ""}}

    Maybe you find here something thats looks strange ;)

  • Maybe you find here something thats looks strange

    The problem is in GUI. It does not accept ot saves specified Time Zone. System has correct TZ, logs show

    "php: Unknown or deprecated time zone [tz=]"

    "omv-engined: Unknown or deprecated time zone [tz=]"

    Setting timezone in GUI does not work for some reason. Latest OMV, installed yesterday.

  • man timedatectl

    In my case, as I said, system has correct TZ. I don't recall what fixed it, but error was real, GUI seemed to forget whatever I selected and press Save.

    Code
    $ timedatectl | grep 'Time zone'
    Time zone: Australia/Sydney (AEDT, +1100)


    what "man timedatectl" has to do with php and omv-engined errors?

  • timedatectl can be used to set the timezone in the shell. If you don't know how to use the program read the man pages.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • Code
    root@OMV-Dell:~# timedatectl | grep 'Time zone'
                    Time zone: America/Los_Angeles (PST, -0800)
    root@OMV-Dell:~# timedatectl
                   Local time: Wed 2020-12-23 08:36:34 PST
               Universal time: Wed 2020-12-23 16:36:34 UTC
                     RTC time: Wed 2020-12-23 16:36:34
                    Time zone: America/Los_Angeles (PST, -0800)
    System clock synchronized: no
                  NTP service: inactive
              RTC in local TZ: no

    When I input TZ in the GUI it goes away as soon as I click update now.

    using NTP server and save button look like it is sticking.

    Code
    root@OMV-Dell:~# timedatectl
                   Local time: Wed 2020-12-23 08:45:42 PST
               Universal time: Wed 2020-12-23 16:45:42 UTC
                     RTC time: Wed 2020-12-23 16:45:42
                    Time zone: America/Los_Angeles (PST, -0800)
    System clock synchronized: yes
                  NTP service: inactive
              RTC in local TZ: no
  • just installed OMV on my old desktop and the same problem happens.

    On the web interface, System > Date & Time has time zone dropdown blank and red. I've already tried to configure it to America/Sao_Paulo and enable NTP server. After applying the settings, when the page refreshes, the configuration is gone and the log still shows ophp & omv-engined errors for "unknown or deprecated time zone [tz=]"




    (edit) ok, I see now what I did wrong... I didn't notice the "save" button up top. Seems to be all ok now. 🤦‍♂️

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!