Problem with setting timezone

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Problem with setting timezone

      Hi I have following error when I try to configure timezone, current time, NTP server, etc.

      Source Code

      1. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; timedatectl set-timezone 'Europe/Warsaw' 2>&1' with exit code '1': Failed to set time zone: Failed to activate service 'org.freedesktop.timedate1': timed out
      Have you got any ideas how to fix it?
    • More info is needed, please post a screen capture of the field do you use.

      be2.php.net/manual/en/timezones.europe.php

      I use TZ=Europe/Madrid and works fine
      OMV 4.1.11 x64 on a HP T510, 16GB CF as Boot Disk & 32GB SSD 2,5" disk for Data, 4 GB RAM, CPU VIA EDEN X2 U4200 is x64 at 1GHz

      Post: HPT510 SlimNAS ; HOWTO Install Pi-Hole ; HOWTO install MLDonkey ; HOHTO Install ZFS-Plugin ; OMV_OldGUI ; ShellinaBOX ;
      Dockers: MLDonkey ; PiHole ; weTTY
      Videos: @TechnoDadLife
    • Hi,
      Thanks for your reply. The target config looks like this:
      [IMG:https://image.ibb.co/kesOrT/1.png]Detailed error info:

      Source Code

      1. Błąd #0:
      2. OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; timedatectl set-timezone 'Europe/Warsaw' 2>&1' with exit code '1': Failed to set time zone: Failed to activate service 'org.freedesktop.timedate1': timed out in /usr/share/php/openmediavault/system/process.inc:175
      3. Stack trace:
      4. #0 /usr/share/openmediavault/engined/module/timezone.inc(51): OMV\System\Process->execute()
      5. #1 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleTimezone->startService()
      6. #2 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      7. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      8. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      9. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusTV...', '/tmp/bgoutput7f...')
      10. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      11. #7 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      12. #8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      13. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      14. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      15. #11 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      16. #12 {main}
      Display All
    • Can't reproduce this. How did you have installed OMV?
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit