Beiträge von colbond

    Good suggestion, but it doesn't seem to help. Even with owncloud disabled and accessing via http, just a blank page. I still get the same results with the phpinfo pages, so I still think this is some kind of php issue (phpinfo page in the openmediavault-webgui directly does NOT load. same page in the owncloud directory displays fine).

    I've been doing some troubleshooting as far as the configs go:
    When owncloud and openmediavault are each configured to use their own php5 sock, neither page loads.
    When owncloud is configured to use openmediavault's php5 sock, it works fine, but obviously openmediavault does not.
    I have found no configuration where the openmediavault webgui loads.

    I put php5-fpm in debug. This is the only thing I've sen so far


    Code
    [04-Oct-2015 13:26:46.898971] DEBUG: pid 21995, fpm_got_signal(), line 76: received SIGCHLD
    [04-Oct-2015 13:26:46.899069] DEBUG: pid 21995, fpm_children_bury(), line 254: [pool openmediavault-webgui] child 22022 has been killed by the process management after 11.262087 seconds from start
    [04-Oct-2015 13:26:46.899119] DEBUG: pid 21995, fpm_event_loop(), line 419: event module triggered 1 events
    [04-Oct-2015 13:26:47.613907] DEBUG: pid 21995, fpm_children_make(), line 421: [pool openmediavault-webgui] child 22040 started
    [04-Oct-2015 13:26:47.614102] DEBUG: pid 21995, fpm_pctl_on_socket_accept(), line 536: [pool openmediavault-webgui] got accept without idle child available .... I forked
    [04-Oct-2015 13:26:47.614159] DEBUG: pid 21995, fpm_event_loop(), line 419: event module triggered 1 events


    That pattern seems to show up every 10-15 seconds. Can't tell if it's something normal or not.

    PHP packages in case there's a version conflict:

    Ok. Disabled the vhost for owncloud completely. Copied your configs and only modified enough that it should work on my host (basically the ssl cert info). The redirect happens properly, then on 6443 I get a blank page. This has to be a php issue at this point, right?

    just a security.conf


    Ah yes. The top one above is the nginx config. Here's php5/fpm/pool.d:



    webroot isn't publicly available at the moment so I can try that later. Cleared the logs and restarted services, then force refreshed the webui page:


    I think I mentioned it farther up but I still think it's relevant. I created a phpinfo page in the owncloud directory and copied it to the openmediavault directory. The one in owncloud loads normally. The one in openmediavault shows the same blank page that the index.php file does. If I 'su - www-data' and 'php index.php':


    Code
    $ php index.php
    PHP Warning:  DOMDocument::load(/etc/openmediavault/config.xml): failed to open stream: Permission denied in /usr/share/php/openmediavault/config.inc on line 113
    Failed to load configuration (Warning 1549: failed to load external entity "/etc/openmediavault/config.xml" (line=0, column=0))
    Error #3008:<br/>exception 'OMVException' with message 'Failed to load configuration (Warning 1549: failed to load external entity "/etc/openmediavault/config.xml" (line=0, column=0))' in /usr/share/php/openmediavault/config.inc:577<br/>Stack trace:<br/>#0 /usr/share/php/openmediavault/env.inc(22): require_once()<br/>#1 /var/www/openmediavault/index.php(23): require_once('/usr/share/php/...')<br/>#2 {main}


    I honestly don't know if that error is relevant (since many files are owned by openmediavault) but it's the first error I've seen that might be related.

    99% sure I didn't, since I generally rename file backups with .bak not .save.


    Moved that config, restarted services. I also stopped an owncloud client that was running so I can more clearly see what's happening in the logs.


    Nothing in any of the error logs. This is what I see in the webgui_access.log when loading the webui:

    Code
    ::ffff:192.168.1.150 - - [16/Sep/2015:07:51:53 -0600] "GET / HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36"
    ::ffff:192.168.1.150 - - [16/Sep/2015:07:51:53 -0600] "GET /favicon.ico HTTP/1.1" 200 1150 "https://omv.<domain>.com/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36"
    Code
    ls -la /etc/nginx/sites-available/
    total 24
    drwxr-xr-x 2 root root 4096 Sep 16 07:17 .
    drwxr-xr-x 7 root root 4096 Jul  4 11:05 ..
    -rw-r--r-- 1 root root 2163 May  4 13:02 default
    -rw-r--r-- 1 root root 1163 Aug 30 09:05 openmediavault-webgui
    -rw-r--r-- 1 root root 1865 Feb  3  2015 openmediavault-webgui.save
    -rw-r--r-- 1 root root 2748 Sep 15 14:55 owncloud


    Code
    ls -la /etc/nginx/sites-enabled/
    total 8
    drwxr-xr-x 2 root root 4096 Sep 16 07:18 .
    drwxr-xr-x 7 root root 4096 Jul  4 11:05 ..
    lrwxrwxrwx 1 root root   40 Jan 27  2015 openmediavault-webgui -> ../sites-available/openmediavault-webgui
    lrwxrwxrwx 1 root root   27 Sep 16 07:18 owncloud -> ../sites-available/owncloud


    Code
    ls -la /etc/nginx/openmediavault-webgui.d/
    total 12
    drwxr-xr-x 2 root root 4096 Jul  4 11:05 .
    drwxr-xr-x 7 root root 4096 Jul  4 11:05 ..
    -rw-r--r-- 1 root root 1414 Aug 30 09:05 security.conf