Do you get any error messages when you do the update?
How do I upgrade from 3.x to 4.x
-
- OMV 3.x
- Upgrade 3.x -> 4.x
- dikkepanda
-
-
If, during the update, I get these error messages:
Code
Alles anzeigenExtracting templates from packages: 11%E: Sub-process false returned an error code (1) E: Prior errors apply to /var/cache/apt/archives/openmediavault_4.1.14-1_all.deb E: Prior errors apply to /var/cache/apt/archives/libsnmp30_5.7.3+dfsg-1.7+deb9u1_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libtext-charwidth-perl_0.04-7+b5_amd64.deb E: Prior errors apply to /var/cache/apt/archives/perl-base_5.24.1-3+deb9u4_amd64.deb E: Prior errors apply to /var/cache/apt/archives/liblocale-gettext-perl_1.07-3+b1_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libtext-iconv-perl_1.7-5+b4_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libjavascript-minifier-xs-perl_0.11-1+b2_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libbz2-1.0_1.0.6-8.1_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libdb5.3_5.3.28-12+deb9u1_amd64.deb E: Prior errors apply to /var/cache/apt/archives/tar_1.29b-1.1_amd64.deb E: Prior errors apply to /var/cache/apt/archives/liblzma5_5.2.2-1.2+b1_amd64.deb E: Prior errors apply to /var/cache/apt/archives/beep_1.3-4+deb9u1_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libaudit-common_1%3a2.6.7-2_all.deb E: Prior errors apply to /var/cache/apt/archives/libcap-ng0_0.7.7-3+b1_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libaudit1_1%3a2.6.7-2_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libpam0g_1.1.8-3.6_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libpcre3_2%3a8.39-3_amd64.deb E: Prior errors apply to /var/cache/apt/archives/sensible-utils_0.0.9+deb9u1_all.deb E: Prior errors apply to /var/cache/apt/archives/debianutils_4.8.1.1_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libsepol1_2.6-2_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libsemanage-common_2.6-2_all.deb E: Prior errors apply to /var/cache/apt/archives/libsemanage1_2.6-2_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libustr-1.0-1_1.0.4-6_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libpam-modules-bin_1.1.8-3.6_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libpam-modules_1.1.8-3.6_amd64.deb E: Prior errors apply to /var/cache/apt/archives/passwd_1%3a4.4-4.1_amd64.deb E: Prior errors apply to /var/cache/apt/archives/adduser_3.115_all.deb E: Prior errors apply to /var/cache/apt/archives/libapparmor1_2.11.0-3+deb9u2_amd64.deb E: Prior errors apply to /var/cache/apt/archives/libgpg-error0_1.26-2_amd64.deb debconf: apt-extracttemplates failed: No such file or directory
should I worry? -
Try "apt clean" from omv-extras "upgrade" drop down menue
-
Thanks for the reply.
Afterwards, I retry "omv-release-upgrade"?
-
Before that I would do omv-update from the same dropdown menue.
Have you checked that all plugins you are using are available for OMV4?
-
Yes, did that. They are all on the list at omv-extras, 4.0 stable
-
uh-oh. now I get: "omv-release-upgrade: command not found"
I am logged in as root and before the update, I was at 3.0.99.
Maybe I should make clear that after these error messages, the update process kept working for a while, but then just stopped. No reboot, no "everything done" message.
Edit: in system information, it already gives me the version number 4.1.14, but there was no reboot. Should I try rebooting? (I'm scared...)
I also keep getting error messages by mail like "connection failed ngingx" or "PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/pam.so' - /usr/lib/php5/20131226/pam.so: cannot open shared object file: No such file or directory in Unknown on line 0"
-
Ah, I did not realize you were already in the release-upgrade process. Was under the impression it is the normal update.
Yes, I would reboot.
-
OK, it's mostly running now, but I'm still getting the error
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/pam.so' - /usr/lib/php5/20131226/pam.so: cannot open shared object file: No such file or directory in Unknown on line 0
It doesn't seem to affect the essential services, but what does it mean?
-
-
OK, thanks again to both of you!
-
There seems to be a new problem: When I log in to the web interface, I get the message:
Invalid RPC response. Please check the syslog for more information.
And when I click on "Details", it says:
Error #0:OMV\Rpc\Exception: Invalid RPC response. Please check the syslog for more information. in /usr/share/php/openmediavault/rpc/rpc.inc:186Stack 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}
Regarding "Union Filesystem", I'm using mergerfs. It's working (i.e. the merged folder is accessible), but it doesn't show up in the web interface.
I get a similar message when I try to access "antivirus":
Error #0:OMV\Rpc\Exception: Invalid RPC response. Please check the syslog for more information. in /usr/share/php/openmediavault/rpc/rpc.inc:186Stack trace:#0 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call('ShareMgmt', 'enumerateShared...', Array, Array, 3)#1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()#2 {main}
-
Hey, just because it's Sunday doesn't mean you don't need to help me...
-
-
Apparently, my plugins are not updated:
[code}
ii openmediavault 4.1.14-1 all openmediavault - The open network attached storage solution
ii openmediavault-flashmemory 3.5 all folder2ram plugin for OpenMediaVault
ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
ii openmediavault-letsencrypt 3.4.5 all Generate free and valid SSL certificates for OMV
ii openmediavault-locate 3.4 all locate plugin for OpenMediaVault.
ii openmediavault-omvextrasorg 3.4.32 all OMV-Extras.org Package Repositories for OpenMediaVault
ii openmediavault-shellinabox 3.4 all Web-based SSH client.
ii openmediavault-snapraid 3.7.3 all snapraid plugin for OpenMediaVault.
ii openmediavault-transmissionbt 3.0.9 all OpenMediaVault Transmission (BitTorrent client) plugin.
ii openmediavault-unionfilesystems 3.1.17 all Union filesystems plugin for OpenMediaVault.
ii openmediavault-usbbackup 4.0.7-1 all OpenMediaVault USB/eSATA backup plugin[/code]
But I updated everything through the web-ui, and even after clicking "check" in the plugins panel, I get 3.11 as current version for backup, 3.0.9 for transmission, and 3.1.17 for unionfilesystems, when according to to omv-extras.org the current versions should be 4.0.4, 4.0, and 4.0.2. Do I have to install them manually? Or is there something broken in the update system? -
Do I have to install them manually? Or is there something broken in the update system?
For some reason, omv-extras didn't update. So, you need to update it manually and then the other plugins should update. wget -O - http://omv-extras.org/install | bash
-
Yes, that did it! All plugins are at the proper version number, and those pesky RPC error messages are gone.
Thanks!
-
OK, after two weeks I found a new problem: I noticed my scanner can't connect to the OMV-Server anymore. (It uses SMB to upload the scanned documents.) I found that the account the scanner uses displays an incorrect password (the root password) in the user control panel. I can't change the password however, whenever I click "apply changes", it reverts back to the root password afterwards. Even if I delete and recreate the user.
Now the funny thing is: even if I use the "new" password, I can't connect to the server. Not via SMB, not via SSH or shellinabox. I can, however, upload scans using the root account, so there is no configuration or connection error with the scanner.
Does this make sense to anyone? Could the user database have been screwed up by the update?
-
OK, I did some more experimenting, and I observed the following:
- every new user I add, no matter which password I enter, shows the root password afterwards.
- If I login as root, then "su guest" to change the password for "guest", I get: "passwd: Authentication token manipulation error"
- I can't login via SSH or shellinabox as any user except root - no matter which password I use. -
- I can't login via SSH or shellinabox as any user except root - no matter which password I use.
Are the users members of the ssh group?
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!