I opened an thread for seemingly the same issue, not able to complete the upgrade. However following the advice on the following thread did work for me:
Posts by TXJD64
-
-
Thanks!!! that's worked for me as well, though I share your concern about that omv_module_set_dirty nginx line.
-
I seem to be able to complete the upgrade following this advice, though with the same reservations as the author:
RE: 5.6.4-1 post-installation script error -
Creating own thread as I had hijacked another... I'm running through normal maintenance of OVM 5. Doing either apt-get upgrade or ovm-upgrade or the equivalent on the UI is producing an issue where software is installed but OVM cannot complete it's configuration. However, it did according to UI update to latest minor release. Seems like the salt configuration (post installation script) is failing but gives no further indication what it's unhappy about.
The main error is as follows:
Codedpkg: error processing package openmediavault (--configure): installed openmediavault package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: openmediavaultHere's the complete output from a ovm-upgrade:
Code
Display Moreroot@mercury:/srv/salt# omv-upgrade Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-en_US Ign:5 file:/var/cache/openmediavault/archives Translation-en_US Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-en_US Ign:5 file:/var/cache/openmediavault/archives Translation-en_US Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-en_US Ign:5 file:/var/cache/openmediavault/archives Translation-en_US Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-en_US Ign:5 file:/var/cache/openmediavault/archives Translation-en_US Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-en_US Ign:5 file:/var/cache/openmediavault/archives Translation-en_US Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-en_US Ign:5 file:/var/cache/openmediavault/archives Translation-en_US Get:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Translation-en_US Ign:5 file:/var/cache/openmediavault/archives Translation-en_US Hit:6 https://download.docker.com/linux/debian buster InRelease Hit:7 http://ftp.us.debian.org/debian buster InRelease Hit:8 http://linux.teamviewer.com/deb stable InRelease Hit:9 https://openmediavault-plugin-developers.github.io/packages/debian usul InRelease Hit:10 https://openmediavault.github.io/packages usul InRelease Hit:11 http://ftp.us.debian.org/debian buster-updates InRelease Hit:12 https://openmediavault-plugin-developers.github.io/packages/debian usul-extras InRelease Hit:13 http://packages.openmediavault.org/public usul InRelease Hit:14 http://httpredir.debian.org/debian buster-backports InRelease Hit:15 http://download.proxmox.com/debian buster InRelease Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 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.4-1) ... Creating configuration database ... Migrating configuration database ... Setting up Salt environment ... Processing system modifications ... 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) root@mercury:/srv/salt#I need help understanding if there's a log for salt that is relevant to "post-installation script".
-
TXJD64 - try apt install openmediavault. If it fails, apt install openmediavault-sftp. If that succeeds, try the first apt command again. What happens?
Thanks, I've already tried both. Removing openmediavault-sftp then leaves openmediavault to exit with a (1) just the same. Doing an install (reinstall) of openmediavault fails with the same error. It seems to be happening at the SALT command when it tries to configure *something* but I'm not able to ascertain what. I'm removed openmediavault-sftp to better isolate the problem... what log can I check to see what exactly is failing in the post installation configuration?
Re-running omv-upgrade gives:
Code
Display More... Fetched 12.7 kB in 3s (4,880 B/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 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.4-1) ... Creating configuration database ... Migrating configuration database ... Setting up Salt environment ... Processing system modifications ... 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) -
Sorry, no solutions but lending credence to the issue. I'm on same boat.
Code
Display Moreroot@mercury:~# apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Setting up openmediavault (5.6.4-1) ... Creating configuration database ... Migrating configuration database ... Setting up Salt environment ... Processing system modifications ... dpkg: error processing package openmediavault (--configure): installed openmediavault package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of openmediavault-sftp: openmediavault-sftp depends on openmediavault (>= 5.1); however: Package openmediavault is not configured yet. dpkg: error processing package openmediavault-sftp (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: openmediavault openmediavault-sftp E: Sub-process /usr/bin/dpkg returned an error code (1) -
Pretty neat device. I run (2) HP NL40 MicroServers. Yes, quite old.... are these ARM boards on par or faster?