Web UI Fails To Load

    • OMV 4.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Web UI Fails To Load

      I have OMV 4 installed on a NAS at my parent's house. I haven't touched it in about 4 months, so while I'm here this weekend I decided to update everything, but it seems that something is broken with the web UI. When I go to the IP address of the server I get 503 Service Temporarily Unavailable. Nginx is running and there aren't any errors in any of the logs in /var/log/nginx even after lowering the log level to Info. There aren't any errors in /var/log/php7.0-fpm.log either, even though I enabled debug logging in both /etc/default/openmediavault and /etc/openmediavault/php.ini so I'm not sure what's broken.

      Executing php /var/www/openmediavault/index.php gives the following:


      HTML Source Code

      1. root@nas:/etc/default# php /var/www/openmediavault/index.php
      2. DEBUG [Sun, 21 Apr 19 17:01:42 -0400 File=process.inc Line=179 Method=OMV\System\Process::execute()]: Executing command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/
      3. sbin; export LANG=C.UTF-8; hostname --fqdn 2>&1'
      4. <!DOCTYPE html>
      5. <html>
      6. <head>
      7. <title>openmediavault control panel - nas.golway</title>
      8. <meta charset="UTF-8">
      9. <meta http-equiv="X-UA-Compatible" content="IE=edge">
      10. <meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
      11. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
      12. <link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
      13. <link rel="apple-touch-icon" href="favicon_180x180.png">
      14. <link rel="icon" href="favicon.svg" sizes="any" type="image/svg+xml">
      15. <link rel='stylesheet' type='text/css' media='all' href='extjs6/classic/theme-triton/resources/theme-triton-all.css'/>
      16. <link rel='stylesheet' type='text/css' media='all' href='css/theme-all.min.css'/>
      17. <link rel='stylesheet' type='text/css' media='all' href='css/theme-triton.min.css'/>
      18. <link rel='stylesheet' type='text/css' media='all' href='css/materialdesignicons.min.css'/>
      19. <script type='application/javascript' src='extjs6/ext-all-debug.js'></script>
      20. <script type='application/javascript' src='extjs6/classic/theme-triton/theme-triton-debug.js'></script>
      21. <script type='application/javascript' src='js/omv/util/i18n.js'></script>
      22. <script type='application/javascript' src='js/omv/util/i18nDict.js'></script>
      23. <script type='application/javascript' src='js/ext-overrides.js'></script>
      24. <script type='application/javascript' src='js/js-overrides.js'></script>
      25. <script type='application/javascript' src='js/md5.min.js'></script>
      26. <script type='application/javascript' src='js/omv/globals.js'></script>
      27. PHP Warning: fopen(js/omv/window/Login.js): failed to open stream: No such file or directory in /usr/share/php/openmediavault/controlpanel/controlpanelabstract.inc on line 40
      28. Warning: fopen(js/omv/window/Login.js): failed to open stream: No such file or directory in /usr/share/php/openmediavault/controlpanel/controlpanelabstract.inc on line 40
      29. Failed to open include file 'js/omv/window/Login.js'.
      30. PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/share/php/openmediavault/controlpanel/controlpanelabstract.inc:105) in /var/www/openmediavau
      31. lt/index.php on line 52
      32. Warning: Cannot modify header information - headers already sent by (output started at /usr/share/php/openmediavault/controlpanel/controlpanelabstract.inc:105) in /var/www/openmediavault/in
      33. dex.php on line 52
      34. Error #0:<br/>OMV\Exception: Failed to open include file 'js/omv/window/Login.js'. in /usr/share/php/openmediavault/controlpanel/controlpanelabstract.inc:42<br/>Stack trace:<br/>#0 /usr/sha
      35. re/php/openmediavault/controlpanel/login.inc(27): OMV\ControlPanel\ControlPanelAbstract->scanFiles('js/omv/window/L...', Array)<br/>#1 /usr/share/php/openmediavault/controlpanel/controlpane
      36. labstract.inc(181): OMV\ControlPanel\Login->getJavascriptIncludes()<br/>#2 /var/www/openmediavault/index.php(46): OMV\ControlPanel\ControlPanelAbstract->render()<br/>#3 {main}
      Display All
      Edit: While looking around I saw someone mention running omv-aptclean and then open it in an incognito window and that actually gave me the login window. I just tried it again in a normal chrome window and it worked. Odd...

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