Updating from 3.0 to 4.0

  • Hi,


    I have finally made the decision to try to update from 3.0 to 4.0, I will take an exact copy of the OMV disk to be sure that I can go back.
    These are the plugins I have installed (the rest I have migrated to Docker):

    • openmediavault-backup 3.11
    • openmediavault-rsnapshot 3.12
    • openmediavault-transmissionbt 3.0.9
    • openmediavault-unionfilesystems 3.1.17
    • openmediavault-mysql 3.0.4
    • openmediavault-fail2ban 1.3.1
    • openmediavault-nginx 3.0.11
    • openmediavault-letsencrypt 3.4.5
    • openmediavault-resetperms 3.3
    • openmediavault-locate 3.4
    • openmediavault-cups 3.1.2
    • openmediavault-omvextrasorg 3.4.32
    • openmediavault-docker-gui 3.1.10


    I have found all these plugins in the OMV 4.0 Plugin list. Is there anything else I need to do to ensure it goes smooth?
    Or can I just update without the risk of breaking everything?


    Thank you!

  • I went in to the Update Management section, and selected everything and pressed Update to prepare for the big upgrade to 4.0.


    It did update some of the stuff, but ended with 502 error, and now I cannot access the Web GUI of OMV. It seems to work in the background, but the GUI is unreachable.
    Checked omv-firstaid and the webgui-ports are correct.


    I get this error when trying to restart nginx:


    Code
    Restarting nginx (via systemctl): nginx.serviceJob for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details. failed!

    EDIT: Fixed this!

  • Will it be safe to update without loosing anything from these plugins?

    The cups plugin on OMV 4.x is problematic. I would move cups, transmissionbt, and mysql to docker. Probably even nginx. The rest should be ok.

    omv 5.5.2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Does Transmission, mysql and nginx have issues too?

    Not sure about transmission
    some people have issues with mysql because Debian 9/OMV 4.x uses mariadb not mysql. The root user behavior also changes.
    nginx doesn't really have any issue but it won't be ported to OMV 5.x in favor of using docker.


    https://forum.openmediavault.o…?postID=186122#post186122



    Moving these to Docker, is there any easy way to backup and restore from settings?

    No idea about transmission.
    mysql is easy in my opinion (use mysqldump) but not everyone would think that.
    nginx will be a bit of work.

    omv 5.5.2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Just performed the upgrade.
    Got this error in the end:

    Code
    Restarting engine daemon ...
    Cannot create socket to [localhost]:2812 -- Connection refused
    Updating locale files ...
    Updating file permissions ...
    Purging internal cache ...
    Errors were encountered while processing:
    fail2ban
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    But no worries, did a reboot, and was able to login to OMV.
    Then I got this error (right after logging in):

    Code
    Error #0:
    OMV\Rpc\Exception: Invalid RPC response. Please check the syslog for more information. in /usr/share/php/openmediavault/rpc/rpc.inc:186
    Stack trace:
    #0 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call('UnionFilesystem...', 'getList', Array, Array, 3)
    #1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()
    #2 {main}


    Pressed OK, and was able to disable fail2ban, if it was causing issues. Did not help.
    Then went to Update management, seemed to install most of it, but ended with an Error (no specific error, just text in the log).


    Went into OMV-Extras, to remove the Mono repo (as I don't use Sonarr/Radarr as a plugin any more). After deleting, and pressing Apply, I get this error:


    So right now there are errors left and right, and I have no idea why?


    EDIT: This is my repos:

Participate now!

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