Join us on Discord! We now have an official Discord server for OpenFLIXR: https://discord.gg/PcCErTQ , these forums will continue to operate as normal.

[SOLVED] Grav is broken

 Grav Problems claims that /usr/share/nginx/html/assets exists but is not writeable
I tried sudo chown openflixr:openflixr /usr/share/nginx/html/assets 
But, that did not fix it.

This causes /qBittorrent and /admin to be inaccessible.

Comments

  • I thought the grav directories are supposed to be owned by www-data but checking my own system, no:
    openflixr@openflixr:~$ sudo ls -l /usr/share/nginx/html/
    [sudo] password for openflixr:
    total 344
    drwxr-xr-x  2 root     root       4096 Dec 16 00:18 assets
    drwxr-xr-x  2 www-data www-data   4096 Sep 29  2017 backup
    drwxr-xr-x  2 root     root       4096 Dec 16 00:18 bin
    drwxrwxrwx  5 www-data www-data   4096 Dec 16 00:18 cache
    -rw-r--r--  1 root     root     112358 Dec 16 00:18 CHANGELOG.md
    -rw-r--r--  1 root     root       3216 Dec 16 00:18 CODE_OF_CONDUCT.md
    -rw-r--r--  1 root     root       2316 Dec 16 00:18 composer.json
    -rw-r--r--  1 root     root     130933 Dec 16 00:18 composer.lock
    -rw-r--r--  1 root     root       7081 Dec 16 00:18 CONTRIBUTING.md
    drwxr-xr-x  9 www-data www-data   4096 Sep 23  2017 error
    -rwxr-xr-x  1 www-data www-data   1150 Aug 30  2016 favicon.ico
    drwxr-xr-x  2 www-data www-data   4096 Jul 28 11:58 images
    -rw-r--r--  1 root     root        612 Nov  7 02:32 index.html
    -rw-r--r--  1 root     root       1543 Dec 16 00:18 index.php
    drwxr-xr-x  3 www-data www-data   4096 Oct 12  2017 latest
    -rw-r--r--  1 root     root       1071 Dec 16 00:18 LICENSE.txt
    drwxr-xr-x  3 www-data www-data   4096 Oct  4  2017 logs
    drwxr-xr-x  4 www-data www-data   4096 Dec 23 02:50 openflixr
    lrwxrwxrwx  1 www-data www-data     22 Mar 11  2016 phpmyadmin -> /usr/share/php                               myadmin/
    lrwxrwxrwx  1 www-data www-data     19 Sep 27  2017 pihole -> /var/www/html/admi                               n
    -rw-r--r--  1 root     root       6504 Dec 16 00:18 README.md
    -rwxr-xr-x  1 www-data www-data    197 Sep 29  2017 robots.txt
    drwxr-xr-x  7 www-data www-data   4096 Jul 30 21:20 setup
    lrwxrwxrwx  1 www-data www-data     17 Mar 11  2016 spotweb -> /var/www/spotweb/
    drwxr-xr-x 10 root     root       4096 Dec 16 00:18 system
    drwxr-xr-x  2 www-data www-data   4096 Dec 23 02:46 tmp
    drwxr-xr-x  8 www-data www-data   4096 Sep 29  2017 user
    drwxr-xr-x 22 root     root       4096 Dec 16 00:18 vendor
    drwxr-xr-x  2 root     root       4096 Dec 16 00:18 webserver-configs
    openflixr@openflixr:~$
    openflixr@openflixr:~$ sudo ls -l /usr/share/nginx/html/assets/
    total 0
    

  • edited December 2018
    I tried:
    sudo chown root:root /usr/share/nginx/html/assets
    the sudo ls -l /usr/share/nginx/html command output is now identical to yours.
    I can now access qbittorrent through port 9999 but not through /qbittorrent.
    Grav shows the same issue.
  • In conclusion the grav problems page is an invalid location. 
    Grav /admin is disabled.
    for valid locations use:
    grep location /etc/nginx/sites-enabled/reverse
    
  • Please let me know if this is still an issue with OpenFLIXR 2.8
Sign In or Register to comment.