Upgrade from 1.x to 2.x - WebGUI - missing/broken themes

    • Major Upgrade
    • Resolved
    • Upgrade 1.x -> 2.x
    • Upgrade from 1.x to 2.x - WebGUI - missing/broken themes

      i have upgrade my OMV 1.x installation to OMV 2.x from the command prompt with "omv-release-upgrade" The upgrade failed partly, I got two errors. The script could not find the configuation file "openmeviavault-nginx" and created automatically a new one containing a standard configuation. The standard conf contained references to SSL files which did not exist. Both path and filename was wrong.

      After recreating a new openmediavault-nginx and openmediavault-webgui i was able to start the login page, but I noticed the layout looked strange. I then tried to login. It worked except I ended up having a complete white window. (No text at all, no gateway error, no nothing.)

      I searched the log and found this error:

      Source Code

      1. 2015/09/14 16:33:08 [error] 31921#0: *1605 open() "/usr/share/javascript/extjs4/packages/ext-theme-gray/resources/ext-theme-gray-all.css" failed (2: No such file or directory), client: ::ffff:194.182.129.194, server: openmediavault-webgui, request: "GET /extjs/packages/ext-theme-gray/resources/ext-theme-gray-all.css HTTP/1.1", host: "www.lindegaard.tk:6443", referrer: "https://www.lindegaard.tk:6443/"
      2. 2015/09/14 16:33:08 [error] 31921#0: *1604 open() "/usr/share/javascript/extjs4/packages/ext-theme-gray/ext-theme-gray.js" failed (2: No such file or directory), client: ::ffff:194.182.129.194, server: openmediavault-webgui, request: "GET /extjs/packages/ext-theme-gray/ext-theme-gray.js HTTP/1.1", host: "www.lindegaard.tk:6443", referrer: "https://www.lindegaard.tk:6443/"


      So when I searced for the files I discovered that the theme files seems to be broken. I dont have a directory called "packages" and some the files are empty

      Source Code

      1. root@fractal:/usr/share/javascript/extjs4# ls * -ld
      2. -rwxr-xr-x 1 www-data www-data 2533 Sep 18 2013 bootstrap.js
      3. -rwxr-xr-x 1 www-data www-data 3699363 Sep 18 2013 ext-all-debug.js
      4. -rwxr-xr-x 1 www-data www-data 6480469 Sep 18 2013 ext-all-debug-w-comments.js
      5. -rwxr-xr-x 1 www-data www-data 6540185 Sep 18 2013 ext-all-dev.js
      6. -rwxr-xr-x 1 www-data www-data 1533823 Sep 18 2013 ext-all.js
      7. -rwxr-xr-x 1 www-data www-data 3753163 Sep 18 2013 ext-all-rtl-debug.js
      8. -rwxr-xr-x 1 www-data www-data 6548862 Sep 18 2013 ext-all-rtl-debug-w-comments.js
      9. -rwxr-xr-x 1 www-data www-data 6608578 Sep 18 2013 ext-all-rtl-dev.js
      10. -rwxr-xr-x 1 www-data www-data 1563143 Sep 18 2013 ext-all-rtl.js
      11. -rwxr-xr-x 1 www-data www-data 653329 Sep 18 2013 ext-debug.js
      12. -rwxr-xr-x 1 www-data www-data 1197046 Sep 18 2013 ext-debug-w-comments.js
      13. -rwxr-xr-x 1 www-data www-data 1232382 Sep 18 2013 ext-dev.js
      14. -rwxr-xr-x 1 www-data www-data 241966 Sep 18 2013 ext.js
      15. -rwxr-xr-x 1 www-data www-data 0 Sep 18 2013 ext-theme-access.js
      16. -rwxr-xr-x 1 www-data www-data 0 Sep 18 2013 ext-theme-classic.js
      17. -rwxr-xr-x 1 www-data www-data 0 Sep 18 2013 ext-theme-classic-sandbox.js
      18. -rwxr-xr-x 1 www-data www-data 0 Sep 18 2013 ext-theme-gray.js
      19. -rwxr-xr-x 1 www-data www-data 4200 Sep 18 2013 ext-theme-neptune.js
      20. -rwxr-xr-x 1 www-data www-data 718 Sep 18 2013 file-header.js
      21. drwxr-xr-x 2 www-data www-data 12288 Jan 18 2014 locale
      22. drwxr-xr-x 9 www-data www-data 4096 Jan 18 2014 resources
      Display All


      My home page and other sites is now working, it is only the webgui which is broken and the question is now how I can reinstall the themes or maybe use the neptune theme where file is not empty?
      ----------------------------------------------------------------------------------------------
      Software:
      Openmediavault 3.0.42 | omvextrasorg 3.3.16 | Nginx 1.10.1 | ownCloud (9.1)
      Multicraft 2.0 | Wordpress 4.6.1 | Couchdb 1.2.0 | Webmin 1.810

      Hardware:
      Chassis: Fractal Design Node 304
      Board: ASROCK Z87E-ITX
      CPU: Intel Core i5-4670T
      CPU Cooler Noctua NH-U12S
      System storage: 30GB - Kingston SMS200S3/30G
      Data storage: 3 x 4TB - WD Red WD40EFRX 4TB
      RAM: 16GB
      Ethernet Adapter TP-Link TG-3468 (PCIe)
    • My openmediavault-nginx configuration file was wrong. It pointed to extjs4 instead of extjs5
      ----------------------------------------------------------------------------------------------
      Software:
      Openmediavault 3.0.42 | omvextrasorg 3.3.16 | Nginx 1.10.1 | ownCloud (9.1)
      Multicraft 2.0 | Wordpress 4.6.1 | Couchdb 1.2.0 | Webmin 1.810

      Hardware:
      Chassis: Fractal Design Node 304
      Board: ASROCK Z87E-ITX
      CPU: Intel Core i5-4670T
      CPU Cooler Noctua NH-U12S
      System storage: 30GB - Kingston SMS200S3/30G
      Data storage: 3 x 4TB - WD Red WD40EFRX 4TB
      RAM: 16GB
      Ethernet Adapter TP-Link TG-3468 (PCIe)
    • I sorry I can't remember exactly but I think I used "omv-update" and then tried the omv-release-upgrade. After trying a number of times omv-release-upgrade suddenly worked.
      ----------------------------------------------------------------------------------------------
      Software:
      Openmediavault 3.0.42 | omvextrasorg 3.3.16 | Nginx 1.10.1 | ownCloud (9.1)
      Multicraft 2.0 | Wordpress 4.6.1 | Couchdb 1.2.0 | Webmin 1.810

      Hardware:
      Chassis: Fractal Design Node 304
      Board: ASROCK Z87E-ITX
      CPU: Intel Core i5-4670T
      CPU Cooler Noctua NH-U12S
      System storage: 30GB - Kingston SMS200S3/30G
      Data storage: 3 x 4TB - WD Red WD40EFRX 4TB
      RAM: 16GB
      Ethernet Adapter TP-Link TG-3468 (PCIe)
    • I also think I tried to do

      sudo apt-get --reinstall openmediavault
      ----------------------------------------------------------------------------------------------
      Software:
      Openmediavault 3.0.42 | omvextrasorg 3.3.16 | Nginx 1.10.1 | ownCloud (9.1)
      Multicraft 2.0 | Wordpress 4.6.1 | Couchdb 1.2.0 | Webmin 1.810

      Hardware:
      Chassis: Fractal Design Node 304
      Board: ASROCK Z87E-ITX
      CPU: Intel Core i5-4670T
      CPU Cooler Noctua NH-U12S
      System storage: 30GB - Kingston SMS200S3/30G
      Data storage: 3 x 4TB - WD Red WD40EFRX 4TB
      RAM: 16GB
      Ethernet Adapter TP-Link TG-3468 (PCIe)
    • This does not delete your current configuration.
      ----------------------------------------------------------------------------------------------
      Software:
      Openmediavault 3.0.42 | omvextrasorg 3.3.16 | Nginx 1.10.1 | ownCloud (9.1)
      Multicraft 2.0 | Wordpress 4.6.1 | Couchdb 1.2.0 | Webmin 1.810

      Hardware:
      Chassis: Fractal Design Node 304
      Board: ASROCK Z87E-ITX
      CPU: Intel Core i5-4670T
      CPU Cooler Noctua NH-U12S
      System storage: 30GB - Kingston SMS200S3/30G
      Data storage: 3 x 4TB - WD Red WD40EFRX 4TB
      RAM: 16GB
      Ethernet Adapter TP-Link TG-3468 (PCIe)