Errors when upgrade to 2.x

  • Hi,i try to upgrade OMV to 2.x but ended with errors:


    Now i try to logon to web interface but no GUI is visible I try again:

    Code
    @NAS:~# omv-release-upgrade
    -bash: /usr/sbin/omv-release-upgrade: No such file or directory
  • I tried to update via "apt-get update" and "apt-get upgrade" but with no success. Still same errors.


    Can someone help me with this?
    Thank you for any help.

    • Offizieller Beitrag

    Try:


    omv-mkconf omvextrasorg
    Make sure there is a omv-extras-org-stoneburner.list file in /etc/apt/sources.list.d/
    apt-get update
    apt-get -f install

    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!

  • omv-mkconf omvextrasorg - result OK
    apt-get update - result OK
    apt-get -f install - ERROR

    • Offizieller Beitrag

    Try:
    wget http://omv-extras.org/debian/pool/main/o/openmediavault-nginx/openmediavault-nginx_2.0-2_all.deb
    dpkg -i openmediavault-nginx_2.0-2_all.deb


    If that doesn't work, I guess you will have to uninstall openmediavault-nginx and reinstall after everything is fixed.

    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 uninstall nginx can i leave my config files untouched? Or must configure nginx from start? (I have hosted website on my NAS)

    • Offizieller Beitrag

    I would backup your /etc/openmediavault/config.xml just to be sure. If you don't purge the plugin, the config will remain. So, just apt-get remove openmediavault-nginx. Just make sure you don't run a command to purge it.

    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

    I hope omv-update didn't purge openmediavault-nginx...


    You already have omv 2.1.5.1 started to be installed. No need for omv-release-upgrade anymore. Probably just need apt-get -f install.

    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!

  • OK. I installed nginx, copied config files (omv-update purge openmediavault-nginx :( )
    But when try to start nginx:

    Code
    root@NAS:~# service nginx restart
    Restarting nginx: nginx: [emerg] SSL_CTX_use_certificate_chain_file("/certs/23da7f80-d3aa-4f0d-93fe-47c78bba9321.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory error:20074002:BIO routines:FILE_CTRL:system lib error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib)
    nginx: configuration file /etc/nginx/nginx.conf test failed


    EDIT: not yet restarted NAS

    • Offizieller Beitrag

    If you backed up the config.xml like I said, you can get your nginx config back.


    What is the output of: ls -al /etc/ssl/certs/

    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:


    cp /etc/ssl/certs/openmediavault-23da7f80-d3aa-4f0d-93fe-47c78bba9321.crt /etc/ssl/certs/23da7f80-d3aa-4f0d-93fe-47c78bba9321.crt


    Then restart nginx

    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!

  • Did not resolve problem :(


    Code
    root@NAS:~# service nginx start
    Starting nginx: nginx: [emerg] SSL_CTX_use_certificate_chain_file("/certs/23da7f80-d3aa-4f0d-93fe-47c78bba9321.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory error:20074002:BIO routines:FILE_CTRL:system lib error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib)
    nginx: configuration file /etc/nginx/nginx.conf test failed
    • Offizieller Beitrag

    I guess try omv-firstaid and use option 2. If that doesn't work, you may need to disable ssl by manually editing /etc/openmediavault/config.xml (webadmin element).

    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!

  • Tried omv-firstaid and option 2. Web interface is now working, but not my website hosted on my nas (502 Bad Gateway). My web interface is on port 1111 without SSL. My website is secured on port 443 (when access on unsecured port 80 - automatic transfer to 443).

    • Offizieller Beitrag

    You may have to reconfigure each of those so that new settings are applied.

    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!

Jetzt mitmachen!

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