Unable to upgrade from from 1.19 to 2.x

  • Hi all,


    When trying to upgrade to 2.x it fails with the following:



    I had a look manually on e-tobi.net and noticed there appears to be no wheezy files anymore. Is that the problem?


    Any tips on how to progress through this?


    Thanks,


    Paul

    • Offizieller Beitrag

    This has been covered many times in this forum already. Either disable the repo and re-enable or add an 's' to http in /etc/apt/sources/omvextrasorg-stonburner.lsit

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • THanks for the quick reply. I did do a search but my unix understanding isnt the best, so was probably searching for the wrong thing. I have disabled the repo as /etc/apt/sources/omvextrasorg-stonburner.lsit did not exist, and seem to have completely broken my server now. omv-update completely removed everything including openmediavault....


    There was a lot more but I had to cut it down to fit in less than 10000 characters. I obviously now cannot ssh or use the webgui...so looks like its a complete rebuild for me. I take it there is no way to roll back the changes.


    Serves me right for trying to update, if it aint broke dont fix it....I knew I should have made a backup

    • Offizieller Beitrag

    You should've asked more questions before running so many bad commands. We could've saved it. You could try apt-get install openmediavault

  • Code
    apt-get install openmediavault

    fails due to incompatible something.


    Plugged in a monitor and it boots up into OMV as it used to, and is ping-able but cannot SSH/web gui.


    The only command I used was

    Code
    omv-update


    which deleted everything. Not sure what went wrong but I noticed it downloaded everything in stable not oldstable.

    • Offizieller Beitrag

    Common problem that needs to be check before upgrading to OMV 2.x

  • OK so I have corrected the sources from stable to wheezy. but apt-get install openmediavault still fails as The following packages have unmet dependencies - rrdtool, collectd and rrdcached.
    Trying to install them using aptget tells me unable to correct problems, you have held broken packages.


    Im guessing alot of my packages were updated over wheezy and now need to be rolled back?


    Edit - Have now installed openssh and have remote connectivity so copying and pasting any outputs required will be much easier.

    • Offizieller Beitrag

    What is the output of:
    cat /etc/debian_version
    dpkg -l | grep openm

  • Output is:


    8 = Jessie doesnt it, bummer.

    • Offizieller Beitrag

    omv-mkconf nginx
    omv-mkconf php5fpm
    service php5-fpm restart
    service nginx restart

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

    • Offizieller Beitrag

    Try rebooting.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • Thanks, that has got me mostly working. The reboot doesnt seem to get the WebGUI working, and neither does the option to fix it in omv-firstaid, the only way I can get it to work after reboot is:
    Killing current process on port 80
    sudo fuser -k 80/tcp
    Then follow the steps you laid out:

    omv-mkconf nginx
    omv-mkconf php5fpm
    service php5-fpm restart
    service nginx restart


    Any ideas on a more 'lasting' solution?


    Thanks so much for all your assistance also, the support here is amazing.

    • Offizieller Beitrag

    What is the output of (as root): netstat -tulpn | grep :80

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    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!

  • When working:
    root@openmediavault:~# netstat -tulpn | grep :80
    tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 2347/python
    tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 2270/python
    tcp6 0 0 :::80 :::* LISTEN 4549/nginx
    tcp6 0 0 ::1:8080 :::* LISTEN 2347/python


    Just after restart (not working):
    root@openmediavault:~# netstat -tulpn | grep :80
    tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 2363/python
    tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2400/apache2
    tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 2332/python
    tcp6 0 0 ::1:8080 :::* LISTEN 2363/python

Jetzt mitmachen!

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