WebUI not working after sensor plugin removal

    • OMV 4.x
    • Resolved
    • Upgrade 3.x -> 4.x
    • WebUI not working after sensor plugin removal

      Hi All.

      I have successfully upgraded omv3 to omv4. After the upgrade everything worked besides the sensor plugin as I had issues to start collectd etc. I read the plugin has not been ported yet so I uninstalled it and now I'm not able to get the admin console working. I started uninstalling from CLI more plugins. After login I see only the openmediavault jpg.

      When I check the dev console in Chrome I'm getting this:

      Source Code

      1. 192.168.1.3/:1 Refused to execute script from 'http://192.168.1.3/js/omv/module/admin/storage/luks/Containers.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
      2. 192.168.1.3/:1 Refused to execute script from 'http://192.168.1.3/js/omv/module/admin/storage/luks/Luks.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
      3. 192.168.1.3/:1 Refused to execute script from 'http://192.168.1.3/js/omv/module/admin/system/wakealarm/Wakealarm.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
      4. 192.168.1.3/:1 Refused to execute script from 'http://192.168.1.3/js/omv/module/admin/system/backup/SystemBackup.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
      5. 192.168.1.3/:1 Refused to execute script from 'http://192.168.1.3/js/omv/module/admin/system/backup/Backup.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
      6. 192.168.1.3/:1 Refused to execute script from 'http://192.168.1.3/js/omv/module/admin/service/apttool/Search.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
      7. 192.168.1.3/:1 Refused to execute script from 'http://192.168.1.3/js/omv/module/admin/service/apttool/Apttool.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
      8. 192.168.1.3/:1 Refused to execute script from 'http://192.168.1.3/js/omv/module/admin/service/apttool/Packages.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
      9. 192.168.1.3/:1 Refused to execute script from 'http://192.168.1.3/js/omv/module/admin/service/usbbackup/UsbBackup.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
      10. 192.168.1.3/:1 Refused to execute script from 'http://192.168.1.3/js/omv/module/admin/service/usbbackup/Jobs.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.


      I have tried to uninstall some more plugins from command line but they have rc? status ?

      Source Code

      1. ii libopenmpt0:amd64 0.2.7386~beta20.3-3+deb9u2 amd64 module music library based on OpenMPT -- shared library
      2. ii openmediavault 4.0.11-1 all openmediavault - The open network attached storage solution
      3. rc openmediavault-apttool 3.4 all apt tool plugin for OpenMediaVault.
      4. rc openmediavault-backup 3.7 all backup plugin for OpenMediaVault.
      5. ii openmediavault-duplicati 4.0 all openmediavault duplicati plugin
      6. ii openmediavault-flashmemory 4.1 all folder2ram plugin for OpenMediaVault
      7. ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
      8. ii openmediavault-letsencrypt 3.4.4 all Generate free and valid SSL certificates for OMV
      9. rc openmediavault-luksencryption 3.0.2 all OpenMediaVault LUKS encryption plugin
      10. ii openmediavault-minidlna 3.3.11 all OpenMediaVault miniDLNA (DLNA server) plugin
      11. ii openmediavault-mumble 3.0.4 all Mumble server plugin for OpenMediaVault.
      12. ii openmediavault-omvextrasorg 4.1.0 all OMV-Extras.org Package Repositories for OpenMediaVault
      13. ii openmediavault-openvpn 3.0.6 all OpenVPN plugin for OpenMediaVault.
      14. ii openmediavault-transmissionbt 3.0.9 all OpenMediaVault Transmission (BitTorrent client) plugin.
      15. rc openmediavault-usbbackup 4.0.2-1 all OpenMediaVault USB/eSATA backup plugin
      16. rc openmediavault-wakealarm 3.3 all wakealarm plugin for OpenMediaVault.
      Display All
      All packages are updated:
      Any help would be appreciated.

      Source Code

      1. root@nas:/tmp# apt-get -f install
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      6. root@nas:/tmp#

      The post was edited 1 time, last by FreshMike ().

    • OK I thing I'm back in the game

      Source Code

      1. dpkg --list |grep "^rc" | cut -d " " -f 3 | xargs sudo dpkg --purge
      2. apt-get --reinstall install openmediavault-<plugins>
      But still can't open the Admin GUI correctly in Chorme 62, works though in Edge and IE. I have cleaned cache in Chrome but the problem still persists.


      Source Code

      1. Uncaught TypeError: Cannot read property 'createView' of undefined
      2. at g.createView (ext-all.js:22)
      3. at g.deserializeItems (ext-all.js:22)
      4. at g.initItems (ext-all.js:22)
      5. at g.initComponent (ext-all.js:22)
      6. at g.initComponent (ext-all.js:22)
      7. at g.initComponent (ext-all.js:22)
      8. at g.callParent (ext-all.js:22)
      9. at g.initComponent (Dashboard.js:61)
      10. at g.constructor (ext-all.js:22)
      11. at new g (ext-all.js:22)
      12. createView @ ext-all.js:22
      13. deserializeItems @ ext-all.js:22
      14. initItems @ ext-all.js:22
      15. initComponent @ ext-all.js:22
      16. initComponent @ ext-all.js:22
      17. initComponent @ ext-all.js:22
      18. callParent @ ext-all.js:22
      19. initComponent @ Dashboard.js:61
      20. constructor @ ext-all.js:22
      21. g @ ext-all.js:22
      22. (anonymous) @ VM174:3
      23. create @ ext-all.js:22
      24. onSelectNode @ Workspace.js:398
      25. (anonymous) @ Workspace.js:498
      26. each @ ext-all.js:22
      27. afterRender @ Workspace.js:495
      28. finishRender @ ext-all.js:22
      29. render @ ext-all.js:22
      30. constructor @ ext-all.js:22
      31. g @ ext-all.js:22
      32. (anonymous) @ VM417:3
      33. create @ ext-all.js:22
      34. (anonymous) @ (index):286
      35. invoke @ ext-all.js:22
      36. doInvokeAll @ ext-all.js:22
      37. invokeAll @ ext-all.js:22
      38. handleReady @ ext-all.js:22
      39. (anonymous) @ ext-all.js:22
      40. (anonymous) @ ext-all.js:22
      41. (anonymous) @ ext-all.js:22
      42. setTimeout (async)
      43. defer @ ext-all.js:22
      44. handleReadySoon @ ext-all.js:22
      45. fireReady @ ext-all.js:22
      46. doReadyEvent @ ext-all.js:22
      47. onReadyEvent @ ext-all.js:22
      Display All
      Gone use Edge for now.

      The post was edited 1 time, last by FreshMike ().