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

      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
      (size=0). in /usr/share/php/openmediavault/json/
      Stack trace:
      #0 /usr/share/php/openmediavault/json/ OMV\Json\File->getContents()
      #1 /usr/share/php/openmediavault/controlpanel/ 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?

      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 ().

    • Using 'Clear web control panel cache' in omv-firstaid should solve the issue, too.
      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