Web interface files missing after botched updates

  • My OMV install hadn't updated for months due to the plex server changing, preventing all the other updates from working. I got around to removing the plex entry from the update list and proceeded to update packages. They failed left & right because of unmet dependencies (the first was gcc-4.9, but there were lots others). I manually went through and updated to the most recent of each one. Also involved command line apt to finish the installs as the web gui struggled with the conflicts. The system is running after a reboot and the services are all up, but the web files under /var/www/openmediavault/ are missing, resulting in "403 Forbidden nginx". There should be an index.php, but there's only a js directory. How can I fetch the web files that should be there? Or is there another step I should take to restore the web gui?

  • I followed the instructions at http://wiki.openmediavault.org….php?title=Updates_to_OMV to update from the command line. It recommended to autoremove unused packages, which dug it deeper in a hole -- no webserver, smb or anything, though the system is able to boot. I tried installing openmediavault with apt-get but it has "unmet dependencies".


    • Offizieller Beitrag

    You upgraded to Jessie. OMV doesn't work on Jessie. You must have still had stable in an apt file.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • Hi aaron. I believe I followed one of your helpful posts on how to fix the sources.list using the online generator tool. Here's what mine has:


    Code
    deb http://ftp.us.debian.org/debian stable main contrib non-free
    deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
    deb http://security.debian.org/ wheezy/updates main contrib non-free


    Should I change stable to wheezy? How do you recommend getting back to a working OMV install?


    Edit: Made the change to wheezy but neither apt-get dist-upgrade nor apt-get -f install installs anything.

    • Offizieller Beitrag

    The damage is already done.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • There is no downgrade from jessie to wheezy unless you run a snapshot rootfs sort of backup system. Check if you upgraded with
    cat /etc/debian_version


    Fortunately I do have a snapshot backup (one of the plugins, I don't recall the exact name). Is it simply a matter of copying over everything from the backup location to the OMV installed drive? Would doing that on a live filesystem be problematic?

    • Offizieller Beitrag

    If you used the system backup from openmediavault-backup, just boot systemrescuecd and rsync the files back. Don't do this live though.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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 installed SystemRescueCD on a USB, booted and rsync'd the backup files to the OMV boot drive. Upon reboot, grub complained that it couldn't find normal.mod. After some googling, I re-installed grub. Rebooting dumped me to the grub prompt. No errors, but it didn't have any settings to boot up. I entered these commands:
    kernel /vmlinuz
    initrd /initrd.img
    boot


    It starts the boot spew but hangs after detecting the drives. What's a good way to reinstall grub with the necessary settings to boot OMV?


    OMG................. Sorry to see this chefp.


    sh!t happens X/ live & learn :whistling:


    This all started from the OMV upgrade code erroring out because one of the update sources (plex) went down. My system got out of date and the dependency version requirements no longer lined up. The updater really should allow other updates to occur even when a server is down.

  • I understand how it happened. You are not the only one. It sux.... We see from this that whoever is putting the release in those files should be specific and not generic like stable. Effing ridiculous.

  • I ended up re-installing OMV, then rsync'ing the backup files over it to restore my setup. The OMV installation failed at the end during the grub step. Had to use a combination of steps from these pages:
    https://dcandy.wordpress.com/2…ls-to-install-bootloader/
    http://wiki.openmediavault.org/index.php?title=Installation


    For anyone else that ends up in this situation, the steps I used were:



    That was done in another shell (Alt-F2) at the end of the OMV installation process, before rebooting. My OMV boot partition is /dev/sdb1. Substitute in your boot drive in the appropriate places.

Jetzt mitmachen!

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