Hello, a few days ago I updated from 2.x -> 3.x via omv-release-upgrade. At some point this failed horribly, so that I coulnd't even access the webgui. With a lot of hours reading into the forums I was able to fix most of the problems, but a few things remain.
My educated guess is that the config.xml still has a bunch of old stuff that has not been properly converted.
For example, I get this error upon clicking the user tab in access rights management:
Bash
Error #0:
exception 'OMV\AssertException' with message 'The property 'sshpubkey.0' does not exist in the model 'conf.system.usermngmnt.user'.' in /usr/share/php/openmediavault/config/configobject.inc:71
Stack trace:
#0 /usr/share/php/openmediavault/config/configobject.inc(186): OMV\Config\ConfigObject->assertExists('sshpubkey.0')
#1 /usr/share/php/openmediavault/config/configobject.inc(271): OMV\Config\ConfigObject->set('sshpubkey.0', '', false)
#2 /usr/share/php/openmediavault/config/configobject.inc(233): OMV\Config\ConfigObject->setFlatAssoc(Array, false, false)
#3 /usr/share/php/openmediavault/config/database.inc(167): OMV\Config\ConfigObject->setAssoc(Array, false)
#4 /usr/share/openmediavault/engined/rpc/usermgmt.inc(351): OMV\Config\Database->getByFilter('conf.system.use...', Array)
#5 [internal function]: OMVRpcServiceUserMgmt->getUserList(Array, Array)
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#7 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getUserList', Array, Array)
#8 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('UserMgmt', 'getUserList', Array, Array, 1)
#9 {main}
Alles anzeigen
or this one when I click on notifications:
Bash
Error #0:
exception 'OMV\Config\DatabaseException' with message 'The XPath query '//system/notification/notifications/notification[id='cronapt']' does not return the requested number of 1 object(s).' in /usr/share/php/openmediavault/config/database.inc:172
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/notification.inc(66): OMV\Config\Database->getByFilter('conf.system.not...', Array, 1)
#1 [internal function]: OMVRpcServiceNotification->get(Array, Array)
#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('get', Array, Array)
#4 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Notification', 'get', Array, Array, 1)
#5 {main}
or this one when I click on SMART:
Bash
Error
The property 'monitor.device.0.type' does not exist in the model 'conf.service.smartmontools'.
Error #0:
exception 'OMV\AssertException' with message 'The property 'monitor.device.0.type' does not exist in the model 'conf.service.smartmontools'.' in /usr/share/php/openmediavault/config/configobject.inc:71
Stack trace:
#0 /usr/share/php/openmediavault/config/configobject.inc(186): OMV\Config\ConfigObject->assertExists('monitor.device....')
#1 /usr/share/php/openmediavault/config/configobject.inc(271): OMV\Config\ConfigObject->set('monitor.device....', '', false)
#2 /usr/share/php/openmediavault/config/configobject.inc(233): OMV\Config\ConfigObject->setFlatAssoc(Array, false, false)
#3 /usr/share/php/openmediavault/config/database.inc(90): OMV\Config\ConfigObject->setAssoc(Array, false)
#4 /usr/share/openmediavault/engined/rpc/smart.inc(208): OMV\Config\Database->get('conf.service.sm...')
#5 [internal function]: OMVRpcServiceSmart->getSettings(NULL, Array)
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#7 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getSettings', NULL, Array)
#8 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Smart', 'getSettings', NULL, Array, 1)
#9 {main}
Alles anzeigen
here are my installed plugins:
Code
ii openmediavault 3.0.87 all Open network attached storage solution
pc openmediavault-docker-gui 0.2.21 amd64 OpenMediaVault plugin for Docker
ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
rc openmediavault-netatalk 3.2.10 all OpenMediaVault netatalk (AppleTalk Protocol Suite) plugin
ii openmediavault-omvextrasorg 3.4.26 all OMV-Extras.org Package Repositories for OpenMediaVault
rc openmediavault-openvpnas 1.0.10 all OpenVPN Acess Server plugin for OpenMediaVault.
ii openmediavault-plexmediaserver 3.8.1 all OpenMediaVault Plex Media Server plugin
ii openmediavault-virtualbox 3.0.8 all VirtualBox plugin for OpenMediaVault.
I have a backup of my config.xml from before the upgrade. Is there a way to convert it so it's readable by 3.x?
Thanks for anyone finding the time to help me.