No WebGui Login after upgrade OMV 2 --> OMV 3

    • OMV 3.x
    • Resolved
    • Upgrade 2.x -> 3.x
    • No WebGui Login after upgrade OMV 2 --> OMV 3

      Hi all,

      i know that this has been discussed several time and i tried to follow many of the mentioned solution but i can't get it working :(

      Webgui is working but i can't login:

      Get this error message:

      Source Code

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



      Login via SSH is OK and i guess i missed to remove some plugins before starting the upgrade.

      Source Code

      1. dpkg -l | grep openm
      2. ii libopenmpi-dev 1.6.5-9.1+deb8u1 amd64 high performance message passing library -- header files
      3. rc libopenmpi1.3 1.4.5-1 amd64 high performance message passing library -- shared library
      4. ii libopenmpi1.6 1.6.5-9.1+deb8u1 amd64 high performance message passing library -- shared library
      5. ii openmediavault 3.0.88 all Open network attached storage solution
      6. ii openmediavault-backup 1.0.11 all backup plugin for OpenMediaVault.
      7. ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
      8. ii openmediavault-mysql 2.1 all MySQL plugin for OpenMediaVault.
      9. ii openmediavault-nginx 2.4 all Nginx plugin for OpenMediaVault.
      10. rc openmediavault-omvextrasorg 2.13.9 all OMV-Extras.org Package Repositories for OpenMediaV ault
      11. pc openmediavault-owncloud 1.4 all OpenMediaVault ownCloud plugin
      12. ii openmediavault-plexmediaserver 1.0.15 all OpenMediaVault Plex Media Server plugin
      13. ii openmpi-bin 1.6.5-9.1+deb8u1 amd64 high performance message passing library -- binari es
      14. ii openmpi-common 1.6.5-9.1+deb8u1 all high performance message passing library -- common files
      Display All

      Display Spoiler

      Source Code

      1. omv-engined -d -f
      2. Registered data models:
      3. conf.service
      4. conf.service.ftp
      5. conf.service.ftp.modban.rule
      6. conf.service.ftp.modtls
      7. conf.service.ftp.share
      8. conf.service.nfs
      9. conf.service.nfs.share
      10. conf.service.rsync.job
      11. conf.service.rsyncd
      12. conf.service.rsyncd.module
      13. conf.service.smartmontools
      14. conf.service.smartmontools.device
      15. conf.service.smartmontools.job
      16. conf.service.smb
      17. conf.service.smb.share
      18. conf.service.snmp
      19. conf.service.ssh
      20. conf.service.zeroconf.service
      21. conf.system.apt.distribution
      22. conf.system.certificate.ssh
      23. conf.system.certificate.ssl
      24. conf.system.cron.job
      25. conf.system.email
      26. conf.system.filesystem.mountpoint
      27. conf.system.filesystem.quota
      28. conf.system.hdparm
      29. conf.system.mdadm.device
      30. conf.system.monitoring.perfstats
      31. conf.system.network.dns
      32. conf.system.network.interface
      33. conf.system.network.iptables.rule
      34. conf.system.network.proxy
      35. conf.system.notification.email
      36. conf.system.notification.notification
      37. conf.system.powermngmnt
      38. conf.system.sharedfolder
      39. conf.system.sharedfolder.privilege
      40. conf.system.syslog.remote
      41. conf.system.time
      42. conf.system.usermngmnt.group
      43. conf.system.usermngmnt.homedir
      44. conf.system.usermngmnt.user
      45. conf.webadmin
      46. rpc.apt.getchangelog
      47. rpc.apt.setsettings
      48. rpc.apt.upgrade
      49. rpc.apt.upload
      50. rpc.certificatemgmt.create
      51. rpc.certificatemgmt.createssh
      52. rpc.certificatemgmt.set
      53. rpc.certificatemgmt.setssh
      54. rpc.common.devicefile
      55. rpc.common.getlist
      56. rpc.common.objectuuid
      57. rpc.config.applychanges
      58. rpc.config.revertchanges
      59. rpc.cron.getlist
      60. rpc.cron.set
      61. rpc.diskmgmt.sethdparm
      62. rpc.diskmgmt.wipe
      63. rpc.emailnotification.set
      64. rpc.exec.getoutput
      65. rpc.exec.isrunning
      66. rpc.exec.stop
      67. rpc.filesystemmgmt.create
      68. rpc.filesystemmgmt.delete
      69. rpc.filesystemmgmt.enumeratemountedfilesystems
      70. rpc.filesystemmgmt.hasfilesystem
      71. rpc.filesystemmgmt.mount
      72. rpc.filesystemmgmt.resize
      73. rpc.filesystemmgmt.umount
      74. rpc.folderbrowser.get
      75. rpc.fstab.getbydir
      76. rpc.fstab.getbyfsname
      77. rpc.fstab.set
      78. rpc.ftp.setmodbanrule
      79. rpc.ftp.setmodtlssettings
      80. rpc.ftp.setsettings
      81. rpc.ftp.setshare
      82. rpc.iptables.setrule
      83. rpc.iptables.setrules
      84. rpc.iptables.setrules6
      85. rpc.logfile.clear
      86. rpc.logfile.getcontent
      87. rpc.logfile.getlist
      88. rpc.network.enumeratebondslaves
      89. rpc.network.identify
      90. rpc.network.setbondiface
      91. rpc.network.setethernetiface
      92. rpc.network.setgeneralsettings
      93. rpc.network.setproxy
      94. rpc.network.setvlaniface
      95. rpc.network.setwirelessiface
      96. rpc.nfs.setsettings
      97. rpc.nfs.setshare
      98. rpc.notification.isenabled
      99. rpc.notification.set
      100. rpc.perfstats.set
      101. rpc.plugin.install
      102. rpc.plugin.remove
      103. rpc.plugin.upload
      104. rpc.powermgmt.set
      105. rpc.powermgmt.setscheduledjob
      106. rpc.quota.set
      107. rpc.raidmgmt.add
      108. rpc.raidmgmt.create
      109. rpc.raidmgmt.delete
      110. rpc.raidmgmt.getdetail
      111. rpc.raidmgmt.getslaves
      112. rpc.raidmgmt.grow
      113. rpc.raidmgmt.remove
      114. rpc.rsync.set
      115. rpc.rsyncd.setmodule
      116. rpc.rsyncd.setsettings
      117. rpc.session.login
      118. rpc.sharemgmt.delete
      119. rpc.sharemgmt.getfileacl
      120. rpc.sharemgmt.getprivilegesbyrole
      121. rpc.sharemgmt.set
      122. rpc.sharemgmt.setfileacl
      123. rpc.sharemgmt.setprivileges
      124. rpc.sharemgmt.setprivilegesbyrole
      125. rpc.smart.setdevicesettings
      126. rpc.smart.setscheduledtest
      127. rpc.smart.setsettings
      128. rpc.smb.setsettings
      129. rpc.smb.setshare
      130. rpc.snmp.set
      131. rpc.ssh.set
      132. rpc.syslog.setsettings
      133. rpc.system.reboot
      134. rpc.system.setdate
      135. rpc.system.settimesettings
      136. rpc.system.shutdown
      137. rpc.system.standby
      138. rpc.usermngmt.authuser
      139. rpc.usermngmt.deletegroup
      140. rpc.usermngmt.deleteuser
      141. rpc.usermngmt.getgroup
      142. rpc.usermngmt.getuser
      143. rpc.usermngmt.importgroup
      144. rpc.usermngmt.importuser
      145. rpc.usermngmt.setgroup
      146. rpc.usermngmt.setsettings
      147. rpc.usermngmt.setuser
      148. rpc.usermngmt.setuserbycontext
      149. rpc.webgui.setpassword
      150. rpc.webgui.setsettings
      151. rpc.zeroconf.set
      152. Registered filesystem backends:
      153. btrfs
      154. exfat
      155. ext
      156. ext2
      157. ext3
      158. ext4
      159. fuseblk
      160. hfsplus
      161. iso9660
      162. jfs
      163. msdos
      164. none
      165. ntfs
      166. reiserfs
      167. udf
      168. ufs
      169. umsdos
      170. vfat
      171. xfs
      172. PHP Fatal error: Class 'OMVLogFile' not found in /usr/share/openmediavault/engined/inc/phpfpm-logfile.inc on line 23
      173. omv-engined[4171]: PHP Fatal error: Class 'OMVLogFile' not found in /usr/share/openmediavault/engined/inc/phpfpm-logfile.inc on line 23
      174. PHP Fatal error: Class 'OMVLogFile' not found in /usr/share/openmediavault/engined/inc/phpfpm-logfile.inc on line 23
      Display All



      As not only OMV is running at this machine clean installation is not an option and i like to fix it.

      Can somebody please help?

      Best regards

      Mirko
    • Don't know where the file comes from, but it does not belong to OMV core, so delete it to get it running again. Maybe some external plugins might not work then. So uninstall them, too.

      Shell-Script

      1. rm -f /usr/share/openmediavault/engined/inc/phpfpm-logfile.inc
      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
    • Hi,

      i did a fallback to OMV2.

      Can somebody please tell which plugins i need to remove before i try the upgrade once again?

      Source Code

      1. dpkg -l | grep openm
      2. ii libopenmpi-dev 1.4.5-1 amd64 high performance message passing library -- header files
      3. ii libopenmpi1.3 1.4.5-1 amd64 high performance message passing library -- shared library
      4. ii openmediavault 2.2.14 all Open network attached storage solution
      5. ii openmediavault-backup 1.0.11 all backup plugin for OpenMediaVault.
      6. ii openmediavault-keyring 0.4 all GnuPG archive keys of the OpenMediaVault archive
      7. ii openmediavault-mysql 2.1 all MySQL plugin for OpenMediaVault.
      8. ii openmediavault-nginx 2.4 all Nginx plugin for OpenMediaVault.
      9. ii openmediavault-nut 2.0 all OpenMediaVault Network UPS Tools (NUT) plugin
      10. ii openmediavault-omvextrasorg 2.13.9 all OMV-Extras.org Package Repositories for OpenMediaVault
      11. pc openmediavault-owncloud 1.4 all OpenMediaVault ownCloud plugin
      12. ii openmediavault-plexmediaserver 1.0.15 all OpenMediaVault Plex Media Server plugin
      13. ii openmediavault-remoteshare 1.1 all remote share plugin for OpenMediaVault.
      14. ii openmediavault-sensors 1.0.23 all Provides a cpu temperature monitor
      15. ii openmpi-common 1.4.5-1 all high performance message passing library -- common files
      Display All
      Thanks
    • You can check omv-extras.org which plugins are available for OMV3.
      For sure owncloud is not available. It has been abandoned quite some time ago.

      You have to keep openmediavualt-keyring. It is not a plugin.
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:
    • Hi,

      sorry for late reply but i was on a buisiness trip and just arrived at home.

      I try to remove all Plugins except nginx and mysql as they should be available for OMV3 as well if i understand correct.

      But i have a issue to remove owncloud "plugin".

      As you can see from screenshot owncloud is already removed:




      After i removed it via webgui i did a system restart but with:

      Source Code

      1. dpkg -l | grep openm


      it's still visible and i have no idea how to remove:


      Source Code

      1. dpkg -l | grep openm
      2. ii libopenmpi-dev 1.4.5-1 amd64 high performance message passing library -- header files
      3. ii libopenmpi1.3 1.4.5-1 amd64 high performance message passing library -- shared library
      4. ii openmediavault 2.2.14 all Open network attached storage solution
      5. ii openmediavault-keyring 0.4 all GnuPG archive keys of the OpenMediaVault archive
      6. ii openmediavault-mysql 2.1 all MySQL plugin for OpenMediaVault.
      7. ii openmediavault-nginx 2.4 all Nginx plugin for OpenMediaVault.
      8. pc openmediavault-owncloud 1.4 all OpenMediaVault ownCloud plugin
      9. ii openmpi-common 1.4.5-1 all high performance message passing library -- common files
      10. root@openmediavault ~ > apt-get remove open
      11. openmediavault openmediavault-mysql openmpi-common openssh-blacklist-extra openssh-server
      12. openmediavault-keyring openmediavault-nginx openssh-blacklist openssh-client openssl
      13. root@openmediavault ~ > apt-get remove openm
      Display All
      Can somebody please assist?

      Best regards
    • It's not working.

      Got this error message:

      Source Code

      1. root@openmediavault ~ > dpkg --purge openmediavault-owncloud
      2. (Lese Datenbank ... 78537 Dateien und Verzeichnisse sind derzeit installiert.)
      3. Entfernen von openmediavault-owncloud ...
      4. Löschen der Konfigurationsdateien von openmediavault-owncloud ...
      5. Site configuration file 'openmediavault-owncloud' not found.
      6. dpkg: Fehler beim Bearbeiten von openmediavault-owncloud (--purge):
      7. Unterprozess installiertes post-removal-Skript gab den Fehlerwert 1 zurück
      8. Fehler traten auf beim Bearbeiten von:
      9. openmediavault-owncloud
    • Still not OK

      Source Code

      1. root@openmediavault ~ > dpkg --configure -a
      2. root@openmediavault ~ > apt-get autoremove
      3. Paketlisten werden gelesen... Fertig
      4. Abhängigkeitsbaum wird aufgebaut.
      5. Statusinformationen werden eingelesen.... Fertig
      6. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 4 nicht aktualisiert.
      7. root@openmediavault ~ > dpkg -l | grep openm
      8. ii libopenmpi-dev 1.4.5-1 amd64 high performance message passing library -- header files
      9. ii libopenmpi1.3 1.4.5-1 amd64 high performance message passing library -- shared library
      10. ii openmediavault 2.2.14 all Open network attached storage solution
      11. ii openmediavault-keyring 0.4 all GnuPG archive keys of the OpenMediaVault archive
      12. ii openmediavault-mysql 2.1 all MySQL plugin for OpenMediaVault.
      13. ii openmediavault-nginx 2.4 all Nginx plugin for OpenMediaVault.
      14. pc openmediavault-owncloud 1.4 all OpenMediaVault ownCloud plugin
      15. ii openmpi-common 1.4.5-1 all high performance message passing library -- common files
      16. root@openmediavault ~ > dpkg --purge openmediavault-owncloud
      17. (Lese Datenbank ... 78537 Dateien und Verzeichnisse sind derzeit installiert.)
      18. Entfernen von openmediavault-owncloud ...
      19. Löschen der Konfigurationsdateien von openmediavault-owncloud ...
      20. Site configuration file 'openmediavault-owncloud' not found.
      21. dpkg: Fehler beim Bearbeiten von openmediavault-owncloud (--purge):
      22. Unterprozess installiertes post-removal-Skript gab den Fehlerwert 1 zurück
      23. Fehler traten auf beim Bearbeiten von:
      24. openmediavault-owncloud
      25. root@openmediavault ~ >
      Display All
    • Hello - I thought I removed owncloud via the gui before trying to upgrade, but its still there when I run dpkg -l | grep openm.

      I tried to remove and purge, but got this

      Source Code

      1. root@OpenMediaVault:~# dpkg --remove openmediavault-owncloud
      2. dpkg: warning: ignoring request to remove openmediavault-owncloud, only the config
      3. files of which are on the system; use --purge to remove them too
      4. root@OpenMediaVault:~# dpkg --purge openmediavault-owncloud
      5. (Reading database ... 78720 files and directories currently installed.)
      6. Removing openmediavault-owncloud (1.3) ...
      7. Purging configuration files for openmediavault-owncloud (1.3) ...
      8. Site configuration file 'openmediavault-owncloud' not found.
      9. dpkg: error processing package openmediavault-owncloud (--purge):
      10. subprocess installed post-removal script returned error exit status 1
      11. Errors were encountered while processing:
      12. openmediavault-owncloud
      Display All


      I noticed the original poster said that they went back to OMV 2. How do I do that?


      Thanks for the help.

      On a side note, I think I'm going to try Rsyncing my data from OMV to my WD Mycloud nas. Which will be new experience for me. And then just do a fresh install.
    • Zoki wrote:

      The reason for all this was that the program files could be removed, but the post-removal program was not able to clean up config files.

      I am curious. Can you please run dpkg -l | grep openm again.
      Sorry, on a Business trip. Maybe i can find some time next weekend to try once again.

      bartz118 wrote:

      Hello - I thought I removed owncloud via the gui before trying to upgrade, but its still there when I run dpkg -l | grep openm.

      I tried to remove and purge, but got this

      Source Code

      1. root@OpenMediaVault:~# dpkg --remove openmediavault-owncloud
      2. dpkg: warning: ignoring request to remove openmediavault-owncloud, only the config
      3. files of which are on the system; use --purge to remove them too
      4. root@OpenMediaVault:~# dpkg --purge openmediavault-owncloud
      5. (Reading database ... 78720 files and directories currently installed.)
      6. Removing openmediavault-owncloud (1.3) ...
      7. Purging configuration files for openmediavault-owncloud (1.3) ...
      8. Site configuration file 'openmediavault-owncloud' not found.
      9. dpkg: error processing package openmediavault-owncloud (--purge):
      10. subprocess installed post-removal script returned error exit status 1
      11. Errors were encountered while processing:
      12. openmediavault-owncloud
      Display All

      I noticed the original poster said that they went back to OMV 2. How do I do that?


      Thanks for the help.

      On a side note, I think I'm going to try Rsyncing my data from OMV to my WD Mycloud nas. Which will be new experience for me. And then just do a fresh install.
      Hi,

      Went back to OMV2 with using a backup.