Can not login - failed to read login_js.json

    • OMV 4.x

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

    • Can not login - failed to read login_js.json

      New

      I didn't do anything. Yesterday everything was fine. Today I can't login anymore.

      I can see the omv login screen and when logging in, I see

      Error #0:
      OMV\Exception: Failed to read file
      '/var/cache/openmediavault/cache.omv\controlpanel\login_js.json'
      (size=0). in /usr/share/php/openmediavault/json/file.inc:205
      Stack trace:
      #0 /usr/share/php/openmediavault/json/file.inc(221): OMV\Json\File->getContents()
      #1 /usr/share/php/openmediavault/controlpanel/controlpanelabstract.inc(172): OMV\Json\File->read()
      #2 /var/www/openmediavault/index.php(46): OMV\ControlPanel\ControlPanelAbstract->render()
      #3 {main}

      omv-aptclean doesn't help.

      What can I do, do get back into my web panel?


      Edit
      I got it working again. I don't know why it wasn't working but for everyone, here is what I did:

      - first follow the first instruction here (you can type in everything in one line in terminal)
      -- Install OMV4 on Debian 9 (Stretch)

      - then force reinstall openmediavault in terminal with. Use the instructions above but use this changed line instead:
      -- sudo apt-get --yes --auto-remove --show-upgraded --allow-downgrades --allow-change-held-packages --no-install-recommends --option Dpkg::Options::="--force-confdef" --option DPkg::Options::="--force-confold" --reinstall install postfix openmediavault

      The post was edited 2 times, last by NASNoob1 ().