Unable to login after backup restore

  • Hi,


    I'm running the latest OMV on a RaspberryPi 4B.

    I have updated from 7.4.x (I don't exactly know, it was the latest one) to 7.5 this morning but afterwards I was completely unable to gain access to the system.

    Turns out, it does not even have an IP anymore.
    I connected it to a screen to verify; "ip a" didn't even list the physical LAN interface anymore.

    The system was running perfectly fine before that update.


    Even now "the NAS" works fine. I can access the shares.


    After some time, I decided to restore my latest backup from last week which seemed to work fine until I tried to login via WebGUI.

    See the image below.

    Unfortunately I couldn't find any helpful information about the in the internet.



    I tried different users, none of them works (of course not surprising, but at least I tried...).


    I connected via SSH to read error logs but none of the files I assumed to be helpful even has any content, e.g.:

    - /var/log/messages

    - /var/log/syslog


    I'm very curious how a fulldd backup can have this kind of a problem; can you help me with that?


    Kind regards and thank you very much in advance!

    rmbob



    EDIT:


    I see that I'm now the only one who opened a thread here after losing network connectivity with the 7.5.0 update...

    If you want to merge topics, please feel free.


    Running omv-firstaid crashes with the following error:

    • New
    • Official Post

    I'm very curious how a fulldd backup can have this kind of a problem; can you help me with that?

    Did you clear your browser cache or ctrl-shift-R? The browser cache has the 7.5 changes which likely break when the server is on 7.4.

    omv 7.5.0-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.3.2 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • New
    • Official Post

    You see the error when trying to login as the admin user?

    omv 7.5.0-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.3.2 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • New
    • Official Post

    Any helpful errors in /var/log/nginx/openmediavault-webgui_error.log?

    omv 7.5.0-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.3.2 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • No, the last error logs are from 27th of november last year and are already moved to /var/log/openmediavault-webgui_error.log.1.


    I assumed that the whole logging may be broken currently but the /var/log/openmediavault-webgui_access.log contains logs from today.

    • New
    • Official Post

    Does this help?

    sudo omv-salt deploy run nginx phpfpm

    sudo systemctl restart nginx

    sudo systemctl restart php8.2-fpm

    omv 7.5.0-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.3.2 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • The first command fails with a extremely long output, I attached it as a .txt file because it overuses the 10k characters of the forum by far.


    The lines 1 to 161 are printed in red completely, this obviously got lost in the .txt file but might help you.

    From line 162 on the font is white, only with the green GNU License hints inbetween.


    I restarted the two services anyway but obviously it didn't change anything.

    • New
    • Official Post

    salt seems to be in a bad state on your system. What about:

    sudo /usr/bin/salt-call --local saltutil.clear_cache

    sudo omv-salt stage run prepare

    omv 7.5.0-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.3.2 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • The first command seemed to work fine and returned a true.


    The second one fails like this:



    Oh, and I'm receiving this mail every hour:


    To be honst, I'm starting to ask myself if I should not set the system up from scratch.

    What is your honest opinion about this?


    Shouldn't this be done with

    1. install the image

    2. installing the additional addons I use

    3. copying the config file

    ?

    • New
    • Official Post

    The second one fails like this:

    Your python install is in a bad state. I can't explain why. What is the output of: dpkg -l | grep python

    Installing fresh should always work. Copying the config will not work. You could try using omv-regen but I don't know if the omv-regen backup will complete with python in the current state.

    omv 7.5.0-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.3.2 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Alright, so I'll prefer to fix my current installation.


    The output of dpkg -l | grep python (Part 1):

  • Part 2:


    • New
    • Official Post

    Did you install things with python pip?

    omv 7.5.0-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.3.2 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I just used the install script from here on Raspberry Pi OS Lite.


    What just comes to my head is that the OS or parts of it could be very old since I did not do any updates except the ones coming with omv and are available over the GUI because I tried that in the past and crashed an old installation years ago.

    • New
    • Official Post

    The GUI installs all updates for OMV and the OS. It is possible that the system was changing during the backup and the backup is inconsistent.

    omv 7.5.0-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.3.2 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Hmm, I always update manually and the backup runs in the middle of the night.


    Anyway, I always save a couple of backups and I will restore the one from a week earlier later and give a feedback how it worked.

  • Older backuprestored, system behaves exactly the same...


    Well. What does that mean in consequence? I don't have any other option than installing a new system?

    • New
    • Official Post

    What does that mean in consequence? I don't have any other option than installing a new system?

    It is very hard to say without the system in front of me.


    Maybe try running:
    sudo salt-call '*' saltutil.sync_all

    sudo /usr/bin/salt-call --local saltutil.clear_cache

    sudo omv-salt stage run prepare


    And you could still try omv-regen.

    omv 7.5.0-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.3.2 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!