Cannot access OMV Webgui anymore

    • Cannot access OMV Webgui anymore

      Hello, after having updated my OMV installation I cannot access the WebGui anymore. I already tried a lot of things to fix it based on forum threads but it didn't managed it. So could you please help to get the Gui back. SSH and all the other things seem to work fine as before, only the Webgui is not working anymore. When I use omv-firstaid and try to reconfigure the Web Control Panel I get the following error message:

      ERROR: Failed to connect /var/lib/openmediavault/engined.sock: [Errno 111] Connection refused

      Here's the output of omv-engined -d -f

      Source Code

      1. root@openmediavault:/etc/php# omv-engined -d -f
      2. Registered data models:
      3. conf.service
      4. conf.service.autoshutdown
      5. conf.service.ftp
      6. conf.service.ftp.modban.rule
      7. conf.service.ftp.modtls
      8. conf.service.ftp.share
      9. conf.service.nfs
      10. conf.service.nfs.share
      11. conf.service.nginx
      12. conf.service.nginx.server
      13. conf.service.phpfpm.pool
      14. conf.service.rsync.job
      15. conf.service.rsyncd
      16. conf.service.rsyncd.module
      17. conf.service.shellinabox
      18. conf.service.smartmontools
      19. conf.service.smartmontools.device
      20. conf.service.smartmontools.job
      21. conf.service.smb
      22. conf.service.smb.share
      23. conf.service.snapraid
      24. conf.service.snapraid.drive
      25. conf.service.snapraid.rule
      26. conf.service.snmp
      27. conf.service.ssh
      28. conf.service.unionfilesystems
      29. conf.service.unionfilesystems.filesystem
      30. conf.service.wol
      31. conf.service.wol.system
      32. conf.service.zeroconf.service
      33. conf.system.apt.distribution
      34. conf.system.certificate.ssh
      35. conf.system.certificate.ssl
      36. conf.system.cron.job
      37. conf.system.email
      38. conf.system.filesystem.mountpoint
      39. conf.system.filesystem.quota
      40. conf.system.hdparm
      41. conf.system.mdadm.device
      42. conf.system.monitoring.perfstats
      43. conf.system.network.dns
      44. conf.system.network.interface
      45. conf.system.network.iptables.rule
      46. conf.system.network.proxy
      47. conf.system.notification.email
      48. conf.system.notification.notification
      49. conf.system.omvextras
      50. conf.system.powermngmnt
      51. conf.system.sharedfolder
      52. conf.system.sharedfolder.privilege
      53. conf.system.syslog.remote
      54. conf.system.time
      55. conf.system.usermngmnt.group
      56. conf.system.usermngmnt.homedir
      57. conf.system.usermngmnt.user
      58. conf.webadmin
      59. rpc.apt.getchangelog
      60. rpc.apt.setsettings
      61. rpc.apt.upgrade
      62. rpc.apt.upload
      63. rpc.autoshutdown.setsettings
      64. rpc.certificatemgmt.copysshid
      65. rpc.certificatemgmt.create
      66. rpc.certificatemgmt.createssh
      67. rpc.certificatemgmt.set
      68. rpc.certificatemgmt.setssh
      69. rpc.common.devicefile
      70. rpc.common.getlist
      71. rpc.common.objectuuid
      72. rpc.config.applychanges
      73. rpc.config.revertchanges
      74. rpc.cron.getlist
      75. rpc.cron.set
      76. rpc.diskmgmt.sethdparm
      77. rpc.diskmgmt.wipe
      78. rpc.emailnotification.set
      79. rpc.exec.getoutput
      80. rpc.exec.isrunning
      81. rpc.exec.stop
      82. rpc.filesystemmgmt.create
      83. rpc.filesystemmgmt.delete
      84. rpc.filesystemmgmt.enumeratemountedfilesystems
      85. rpc.filesystemmgmt.hasfilesystem
      86. rpc.filesystemmgmt.mount
      87. rpc.filesystemmgmt.resize
      88. rpc.filesystemmgmt.umount
      89. rpc.folderbrowser.get
      90. rpc.fstab.getbydir
      91. rpc.fstab.getbyfsname
      92. rpc.fstab.set
      93. rpc.ftp.setmodbanrule
      94. rpc.ftp.setmodtlssettings
      95. rpc.ftp.setsettings
      96. rpc.ftp.setshare
      97. rpc.iptables.setrule
      98. rpc.iptables.setrules
      99. rpc.iptables.setrules6
      100. rpc.logfile.clear
      101. rpc.logfile.getcontent
      102. rpc.logfile.getlist
      103. rpc.network.enumeratebondslaves
      104. rpc.network.identify
      105. rpc.network.setbondiface
      106. rpc.network.setethernetiface
      107. rpc.network.setgeneralsettings
      108. rpc.network.setproxy
      109. rpc.network.setvlaniface
      110. rpc.network.setwirelessiface
      111. rpc.nfs.setsettings
      112. rpc.nfs.setshare
      113. rpc.nginx.getlog
      114. rpc.nginx.set
      115. rpc.nginx.setsettings
      116. rpc.notification.isenabled
      117. rpc.notification.set
      118. rpc.omvextras.dobackports
      119. rpc.omvextras.docommand
      120. rpc.omvextras.dohold
      121. rpc.omvextras.doproxmox
      122. rpc.omvextras.setrepo
      123. rpc.perfstats.set
      124. rpc.phpfpm.set
      125. rpc.plugin.install
      126. rpc.plugin.remove
      127. rpc.plugin.upload
      128. rpc.powermgmt.set
      129. rpc.powermgmt.setscheduledjob
      130. rpc.quota.set
      131. rpc.raidmgmt.add
      132. rpc.raidmgmt.create
      133. rpc.raidmgmt.delete
      134. rpc.raidmgmt.getdetail
      135. rpc.raidmgmt.getslaves
      136. rpc.raidmgmt.grow
      137. rpc.raidmgmt.remove
      138. rpc.rsync.set
      139. rpc.rsyncd.setmodule
      140. rpc.rsyncd.setsettings
      141. rpc.session.login
      142. rpc.sharemgmt.delete
      143. rpc.sharemgmt.getfileacl
      144. rpc.sharemgmt.getprivilegesbyrole
      145. rpc.sharemgmt.set
      146. rpc.sharemgmt.setfileacl
      147. rpc.sharemgmt.setprivileges
      148. rpc.sharemgmt.setprivilegesbyrole
      149. rpc.shellinabox.setsettings
      150. rpc.smart.setdevicesettings
      151. rpc.smart.setscheduledtest
      152. rpc.smart.setsettings
      153. rpc.smb.setsettings
      154. rpc.smb.setshare
      155. rpc.snapraid.executecommand
      156. rpc.snapraid.setdrive
      157. rpc.snapraid.setrule
      158. rpc.snapraid.setsettings
      159. rpc.snmp.set
      160. rpc.ssh.set
      161. rpc.syslog.setsettings
      162. rpc.system.reboot
      163. rpc.system.setdate
      164. rpc.system.settimesettings
      165. rpc.system.shutdown
      166. rpc.system.standby
      167. rpc.unionfilesystems.set
      168. rpc.usermngmt.authuser
      169. rpc.usermngmt.deletegroup
      170. rpc.usermngmt.deleteuser
      171. rpc.usermngmt.getgroup
      172. rpc.usermngmt.getuser
      173. rpc.usermngmt.importgroup
      174. rpc.usermngmt.importuser
      175. rpc.usermngmt.setgroup
      176. rpc.usermngmt.setsettings
      177. rpc.usermngmt.setuser
      178. rpc.usermngmt.setuserbycontext
      179. rpc.webgui.setpassword
      180. rpc.webgui.setsettings
      181. rpc.wol.send
      182. rpc.wol.setsystem
      183. rpc.wol.setwake
      184. rpc.zeroconf.set
      185. PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found in /usr/share/php/openmediavault/config/databasebackend.inc:110
      186. Stack trace:
      187. #0 /usr/share/php/openmediavault/config/database.inc(34): OMV\Config\DatabaseBackend->load()
      188. #1 /usr/share/php/openmediavault/config/database.inc(44): OMV\Config\Database->__construct()
      189. #2 /usr/share/openmediavault/engined/inc/59unionfilesystems.inc(24): OMV\Config\Database::getInstance()
      190. #3 /usr/sbin/omv-engined(359): require_once('/usr/share/open...')
      191. #4 {main}
      192. thrown in /usr/share/php/openmediavault/config/databasebackend.inc on line 110
      193. omv-engined[46171]: PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found in /usr/share/php/openmediavault/config/databasebackend.inc:110
      194. Stack trace:
      195. #0 /usr/share/php/openmediavault/config/database.inc(34): OMV\Config\DatabaseBackend->load()
      196. #1 /usr/share/php/openmediavault/config/database.inc(44): OMV\Config\Database->__construct()
      197. #2 /usr/share/openmediavault/engined/inc/59unionfilesystems.inc(24): OMV\Config\Database::getInstance()
      198. #3 /usr/sbin/omv-engined(359): require_once('/usr/share/open...')
      199. #4 {main}
      200. thrown in /usr/share/php/openmediavault/config/databasebackend.inc on line 110
      201. PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found in /usr/share/php/openmediavault/config/databasebackend.inc:110
      202. Stack trace:
      203. #0 /usr/share/php/openmediavault/config/database.inc(34): OMV\Config\DatabaseBackend->load()
      204. #1 /usr/share/php/openmediavault/config/database.inc(44): OMV\Config\Database->__construct()
      205. #2 /usr/share/openmediavault/engined/inc/59unionfilesystems.inc(24): OMV\Config\Database::getInstance()
      206. #3 /usr/sbin/omv-engined(359): require_once('/usr/share/open...')
      207. #4 {main}
      208. thrown in /usr/share/php/openmediavault/config/databasebackend.inc on line 110
      Display All

      Obviously it's something php-related?
      What else can I do? It's so frustrating...

      The post was edited 3 times, last by jensilein ().

    • It seems your PHP installation is broken.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Hello, thanks for your answer. Here's the output of sudo dpkg --verify

      Source Code

      1. root@openmediavault:/etc/nginx/sites-enabled# sudo dpkg --verify
      2. ??5?????? c /etc/default/smartmontools
      3. ??5?????? c /etc/smartd.conf
      4. ??5?????? c /etc/default/shellinabox
      5. ??5?????? c /etc/php/7.3/fpm/php-fpm.conf
      6. ??5?????? c /etc/php/7.3/fpm/pool.d/www.conf
      7. ??5?????? c /etc/default/monit
      8. ??5?????? c /etc/monit/monitrc
      9. ??5?????? c /etc/gkrellmd.conf
      10. ??5?????? c /etc/collectd/collectd.conf
      11. ??5?????? c /etc/snmp/snmp.conf
      12. ??5?????? c /etc/cron-apt/config
      13. ??5?????? c /etc/default/rrdcached
      14. ??5?????? c /etc/nginx/nginx.conf
      15. ??5?????? c /etc/nginx/sites-available/default
      16. ??5?????? c /etc/hdparm.conf
      17. ??5?????? c /etc/default/acpid
      18. ??5?????? c /etc/snmp/snmpd.conf
      19. ??5?????? c /etc/default/wsdd
      20. ??5?????? c /etc/telegraf/telegraf.conf
      21. ??5?????? c /etc/ntp.conf
      22. ??5?????? c /etc/watchdog.conf
      23. ??5?????? c /etc/avahi/avahi-daemon.conf
      24. ??5?????? c /etc/default/avahi-daemon
      25. ??5?????? c /etc/issue
      26. ??5?????? c /etc/cron.daily/mdadm
      Display All

      What can I do next?
    • Is the package called php-xml installed? It's a dependency of openmediavault and should therefor be installed, but who knows.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Please post the output of

      Shell-Script

      1. # dpkg -l | grep php
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Hello, here's the output of # dpkg -l | grep php


      Source Code

      1. root@openmediavault:~# dpkg -l | grep php
      2. ii php 2:7.3+69 all server-side, HTML-embedded scripting language (default)
      3. ii php-bcmath 2:7.3+69 all Bcmath module for PHP [default]
      4. ii php-cgi 2:7.3+69 all server-side, HTML-embedded scripting language (CGI binary) (default)
      5. ii php-common 2:69 all Common files for PHP packages
      6. ii php-fpm 2:7.3+69 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default)
      7. ii php-mbstring 2:7.3+69 all MBSTRING module for PHP [default]
      8. ii php-pam 1.0.3-1 amd64 pam module for PHP 7
      9. ii php-xml 2:7.3+69 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
      10. ii php7.0-bcmath 7.0.33-0+deb9u3 amd64 Bcmath module for PHP
      11. ii php7.0-cgi 7.0.33-0+deb9u3 amd64 server-side, HTML-embedded scripting language (CGI binary)
      12. ii php7.0-cli 7.0.33-0+deb9u3 amd64 command-line interpreter for the PHP scripting language
      13. ii php7.0-common 7.0.33-0+deb9u3 amd64 documentation, examples and common module for PHP
      14. ii php7.0-fpm 7.0.33-0+deb9u3 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary)
      15. ii php7.0-json 7.0.33-0+deb9u3 amd64 JSON module for PHP
      16. ii php7.0-mbstring 7.0.33-0+deb9u3 amd64 MBSTRING module for PHP
      17. ii php7.0-opcache 7.0.33-0+deb9u3 amd64 Zend OpCache module for PHP
      18. ii php7.0-readline 7.0.33-0+deb9u3 amd64 readline module for PHP
      19. rc php7.0-xml 7.0.33-0+deb9u3 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
      20. ii php7.3 7.3.4-2 all server-side, HTML-embedded scripting language (metapackage)
      21. ii php7.3-bcmath 7.3.4-2 amd64 Bcmath module for PHP
      22. ii php7.3-cgi 7.3.4-2 amd64 server-side, HTML-embedded scripting language (CGI binary)
      23. ii php7.3-cli 7.3.4-2 amd64 command-line interpreter for the PHP scripting language
      24. ii php7.3-common 7.3.4-2 amd64 documentation, examples and common module for PHP
      25. ii php7.3-fpm 7.3.4-2 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary)
      26. ii php7.3-json 7.3.4-2 amd64 JSON module for PHP
      27. ii php7.3-mbstring 7.3.4-2 amd64 MBSTRING module for PHP
      28. ii php7.3-opcache 7.3.4-2 amd64 Zend OpCache module for PHP
      29. ii php7.3-readline 7.3.4-2 amd64 readline module for PHP
      30. ii php7.3-xml 7.3.4-2 amd64 DOM, SimpleXML, WDDX, XML, and XSL module for PHP
      Display All
    • You mixed up different PHP versions including backports which finally broke your system. Don't install other PHP versions in OMV because there are PHP extensions that require the packages shipped with Debian 9 (for OMV4). If you want to run additional software that requires newer PHP versions, then use Docker to do not pollute your root system.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Two options I can think of:

      1 Restore an old working rootfs from a backup.

      2 Reinstall from scratch.

      It is a good idea to make a backup of the rootfs as soon as you have everything basic working and configured. Before you try anything non-basic or non-standard. Like installing anything from the command line or adding repositories.
      OMV 4, 7 x ODROID HC2, 1 x ODROID HC1, 5 x 12TB, 1 x 8TB, 1 x 2TB SSHD, 1 x 500GB SSD, GbE, WiFi mesh
    • OK, did a php reinstall to the original version and then a "apt-get install --reinstall openmediavault". Now the Webgui is back again, but I cannot login. The following message appears within the login window:

      Failed to connect to socket: No such file or directory
      Fehler #0:OMV\Rpc\Exception: Failed to connect to socket: No such file or directory in /usr/share/php/openmediavault/rpc/rpc.inc:140Stack trace:#0 /var/www/openmediavault/rpc/session.inc(56): OMV\Rpc\Rpc::call('UserMgmt', 'authUser', Array, Array, 2, true)#1 [internal function]: OMVRpcServiceSession->login(Array, Array)#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('login', Array, Array)#4 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call('Session', 'login', Array, Array, 3)#5 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()#6 {main}

      What can I do here? Thanks a lot for your help.