dleidert / openmediavault-upgrade

Script to upgrade openmediavault from one major release into the next
GNU General Public License v3.0
48 stars 1 forks source link

Error while updating OMV4 to OMV5 #39

Open tormitedo opened 3 years ago

tormitedo commented 3 years ago

Hi, I have used the method described here: https://github.com/dleidert/openmediavault-upgrade/tree/4 With an error, I copy the .log file:

Processing triggers for libglib2.0-0:amd64 (2.58.3-2+deb10u2) ... Processing triggers for libc-bin (2.28-10) ... Processing triggers for rsyslog (8.1901.0-1) ... Processing triggers for systemd (241-7~deb10u7) ... Processing triggers for man-db (2.8.5-2) ... Errors were encountered while processing: openmediavault E: Sub-process /usr/bin/dpkg returned an error code (1) Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: dh-python gnupg-agent ifenslave libbind9-140 libdbus-glib-1-2 libdns-export162 libdns162 libdrm-common libdrm2 libegl-mesa0 libegl1 libegl1-mesa libevent-2.0-5 libfile-copy-recursive-perl libgbm1 libglapi-mesa libglvnd0 libicu57 libisc-export160 libisc160 libisccc140 libisccfg140 libltdl7 liblvm2app2.2 liblvm2cmd2.02 liblwres141 libntfs-3g871 libonig4 libopts25 libperl5.24 libprocps6 libpython3.5-minimal libpython3.5-stdlib libssl1.0.2 libunistring0 libwayland-egl1-mesa libwayland-server0 libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-present0 libxcb-sync1 libxcb-xfixes0 libxshmfence1 linux-image-4.19.0-0.bpo.8-amd64 pm-utils python3-distutils python3-lib2to3 python3.5 python3.5-minimal update-inetd Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up openmediavault (5.6.8-1) ... Creating configuration database ... Migrating configuration database ... Running migration conf_5.0.0 INFO: The node 'timemachine' already exists at XPath '/config/services/smb/shares/share'. Running migration conf_5.0.3 Running migration conf_5.2.0 Running migration conf_5.5.0 Running migration conf_5.5.3 INFO: The node 'clients' already exists at XPath '/config/system/time/ntp'. Running migration conf_5.6.0 Setting up Salt environment ... Processing system modifications ... groupadd: group 'openmediavault-admin' already exists dpkg: error processing package openmediavault (--configure): installed openmediavault package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: openmediavault E: Sub-process /usr/bin/dpkg returned an error code (1) run-parts: /root/openmediavault-upgrade-4.7/run.d/80-apt-dist-upgrade exited with return code 100 -parts: /root/openmediavault-upgrade-4.7/run.d/80-apt-dist-upgrade exited with return code 100

mi-hol commented 3 years ago

is this issue still open or did the forum posts in https://forum.openmediavault.org/index.php?thread/37269-upgrade-scripts-for-non-interactive-major-release-upgrades-2-3-3-4-4-5/&pageNo=1 help to resolve it?