I just upgraded from the latest version of omv5 to the latest version of omv6, and everything seemed to have went smooth, I followed the comment from Zoki in this thread: https://forum.openmediavault.o…&postID=305564#post305564.
Except I can't login to the webui, I get:
"500 - Internel Server Error Failed to connect to socket: Connection refused"
thinking that maybe my password got changed for some reason, attempting to reset through omv-firstaid gives a similar error. I cleaned apt through omv-firstaid. I tried incognito, same result.
running dpkg -l | grep -E "openmed|omv" gives me:
rc omvextras-unionbackend 5.0.2 all union filesystems backend plugin for openmediavault
ii openmediavault 6.2.0-2 all openmediavault - The open network attached storage solution
ii openmediavault-autoshutdown 6.0.9 all OpenMediaVault AutoShutdown Plugin
ii openmediavault-backup 6.1 all backup plugin for OpenMediaVault.
ii openmediavault-diskstats 6.0.2-1 all openmediavault disk monitoring plugin
ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
ii openmediavault-locate 6.0 all locate plugin for OpenMediaVault.
ii openmediavault-mergerfs 6.3.5 all mergerfs plugin for openmediavault.
ii openmediavault-omvextrasorg 6.1.1 all OMV-Extras.org Package Repositories for OpenMediaVault
ii openmediavault-resetperms 6.0.2 all Reset Permissions
ii openmediavault-sharerootfs 6.0.2-1 all openmediavault share root filesystem plugin
After a bunch of googling, I came across this post Login issue , so I tired the suggested command of "omv-engined -d -f" and I get this:
Registered data models:
conf.service
conf.service.autoshutdown
conf.service.mergerfs
conf.service.mergerfs.pool
conf.service.nfs
conf.service.nfs.share
conf.service.resetperms
conf.service.rsync.job
conf.service.rsyncd
conf.service.rsyncd.module
conf.service.smartmontools
conf.service.smartmontools.device
conf.service.smartmontools.job
conf.service.smb
conf.service.smb.share
conf.service.ssh
conf.system.apt.distribution
conf.system.backup
conf.system.certificate.ssh
conf.system.certificate.ssl
conf.system.cron.job
conf.system.filesystem.mountpoint
conf.system.filesystem.quota
conf.system.hdparm
conf.system.mdadm.device
conf.system.monitoring.perfstats
conf.system.network.dns
conf.system.network.interface
conf.system.network.iptables.rule
conf.system.network.proxy
conf.system.notification.email
conf.system.notification.notification
conf.system.omvextras
conf.system.powermngmnt
conf.system.sharedfolder
conf.system.sharedfolder.privilege
conf.system.syslog.remote
conf.system.time
conf.system.usermngmnt.group
conf.system.usermngmnt.homedir
conf.system.usermngmnt.user
conf.webadmin
rpc.apt.getchangelog
rpc.apt.install
rpc.apt.setsettings
rpc.apt.upload
rpc.autoshutdown.setsettings
rpc.backup.set
rpc.certificatemgmt.copysshid
rpc.certificatemgmt.create
rpc.certificatemgmt.createssh
rpc.certificatemgmt.set
rpc.certificatemgmt.setssh
rpc.common.devicefile
rpc.common.getlist
rpc.common.objectuuid
rpc.config.applychanges
rpc.config.delete
rpc.config.get
rpc.config.revertchanges
rpc.config.set
rpc.cron.getlist
rpc.cron.set
rpc.diskmgmt.sethdparm
rpc.diskmgmt.wipe
rpc.emailnotification.set
rpc.exec.attach
rpc.exec.getoutput
rpc.exec.isrunning
rpc.exec.stop
rpc.filesystemmgmt.create
rpc.filesystemmgmt.enumeratemountedfilesystems
rpc.filesystemmgmt.hasfilesystem
rpc.filesystemmgmt.resize
rpc.filesystemmgmt.setmountpoint
rpc.filesystemmgmt.umount
rpc.folderbrowser.get
rpc.fstab.getbydir
rpc.fstab.getbyfsname
rpc.fstab.set
rpc.iptables.setrule
rpc.iptables.setrules
rpc.iptables.setrules6
rpc.logfile.clear
rpc.logfile.getcontent
rpc.logfile.getlist
rpc.mergerfs.set
rpc.network.enumeratebondslaves
rpc.network.enumeratebridgeslaves
rpc.network.getinformation
rpc.network.identify
rpc.network.setbondiface
rpc.network.setbridgeiface
rpc.network.setethernetiface
rpc.network.setgeneralsettings
rpc.network.setproxy
rpc.network.setvlaniface
rpc.network.setwirelessiface
rpc.nfs.setsettings
rpc.nfs.setshare
rpc.notification.isenabled
rpc.notification.set
rpc.notification.setlist
rpc.omvextras.dobackports
rpc.omvextras.docommand
rpc.omvextras.set
rpc.omvextras.setdocker
rpc.omvextras.setportainer
rpc.omvextras.setyacht
rpc.perfstats.set
rpc.plugin.install
rpc.plugin.remove
rpc.plugin.upload
rpc.powermgmt.set
rpc.powermgmt.setscheduledjob
rpc.quota.getbytypename
rpc.quota.set
rpc.quota.setbytypename
rpc.raidmgmt.add
rpc.raidmgmt.create
rpc.raidmgmt.grow
rpc.raidmgmt.remove
rpc.resetperms.setsettings
rpc.rsync.set
rpc.rsyncd.setmodule
rpc.rsyncd.setsettings
rpc.session.login
rpc.sharemgmt.copyprivileges
rpc.sharemgmt.delete
rpc.sharemgmt.getfileacl
rpc.sharemgmt.getprivilegesbyrole
rpc.sharemgmt.set
rpc.sharemgmt.setfileacl
rpc.sharemgmt.setprivileges
rpc.sharemgmt.setprivilegesbyrole
rpc.smart.setdevicesettings
rpc.smart.setscheduledtest
rpc.smart.setsettings
rpc.smb.setsettings
rpc.smb.setshare
rpc.ssh.set
rpc.syslog.setsettings
rpc.system.reboot
rpc.system.setdate
rpc.system.settimesettings
rpc.system.shutdown
rpc.system.standby
rpc.usermgmt.authuser
rpc.usermgmt.deletegroup
rpc.usermgmt.deleteuser
rpc.usermgmt.getgroup
rpc.usermgmt.getuser
rpc.usermgmt.importgroup
rpc.usermgmt.importuser
rpc.usermgmt.setgroup
rpc.usermgmt.setpasswordbycontext
rpc.usermgmt.setsettings
rpc.usermgmt.setuser
rpc.usermgmt.setuserbycontext
rpc.webgui.clearlocalstorageitems
rpc.webgui.getlocalstorageitems
rpc.webgui.setlocalstorageitem
rpc.webgui.setsettings
PHP Fatal error: Uncaught OMV\Config\DatabaseException: Fatal error 4: Document is empty (line=1, column=1) in /usr/share/php/openmediavault/config/databasebackend.inc:123
Stack trace:
#0 /usr/share/php/openmediavault/config/database.inc(34): OMV\Config\DatabaseBackend->load()
#1 /usr/share/php/openmediavault/config/database.inc(44): OMV\Config\Database->__construct()
#2 /usr/share/openmediavault/engined/inc/59mergerfs.inc(24): OMV\Config\Database::getInstance()
#3 /usr/sbin/omv-engined(360): require_once('/usr/share/open...')
#4 {main}
thrown in /usr/share/php/openmediavault/config/databasebackend.inc on line 123
omv-engined[846300]: PHP Fatal error: Uncaught OMV\Config\DatabaseException: Fatal error 4: Document is empty (line=1, column=1) in /usr/share/php/openmediavault/config/databasebackend.inc:123
omv-engined[846300]: Stack trace:
omv-engined[846300]: #0 /usr/share/php/openmediavault/config/database.inc(34): OMV\Config\DatabaseBackend->load()
omv-engined[846300]: #1 /usr/share/php/openmediavault/config/database.inc(44): OMV\Config\Database->__construct()
omv-engined[846300]: #2 /usr/share/openmediavault/engined/inc/59mergerfs.inc(24): OMV\Config\Database::getInstance()
omv-engined[846300]: #3 /usr/sbin/omv-engined(360): require_once('/usr/share/open...')
omv-engined[846300]: #4 {main}
omv-engined[846300]: thrown in /usr/share/php/openmediavault/config/databasebackend.inc on line 123
PHP Fatal error: Uncaught OMV\Config\DatabaseException: Fatal error 4: Document is empty (line=1, column=1) in /usr/share/php/openmediavault/config/databasebackend.inc:123
Stack trace:
#0 /usr/share/php/openmediavault/config/database.inc(34): OMV\Config\DatabaseBackend->load()
#1 /usr/share/php/openmediavault/config/database.inc(44): OMV\Config\Database->__construct()
#2 /usr/share/openmediavault/engined/inc/59mergerfs.inc(24): OMV\Config\Database::getInstance()
#3 /usr/sbin/omv-engined(360): require_once('/usr/share/open...')
#4 {main}
thrown in /usr/share/php/openmediavault/config/databasebackend.inc on line 123
Upon further digging, I noticed that /etc/openmediavault/config.xml is empty, I do have a config.xml.5x.bak alongside it, with all my settings that appears to have been from the day that I upgraded. And that's as far as I've made it diagnosing the issue so far.
My next step was looking into whether or not my omv5 config could be used in place of the empty config.xml, my initial assumption was that surely the layout will have changed in some way, so I doubt it? My other route was to see if I could use the old omv5 config with omv-firstaid's "Restore configuration backup" option and perhaps give it my old config, and hope it parses the relevant settings into a new config?
I've attached my fstab, I use union filesystems, and don't know if perhaps that caused the issue? I figured extra information couldn't hurt by any means. I'm not very familiar with the inner-workings of omv, so any help is highly appreciated!