SHARE
TWEET

LSIO-NC-Issues

a guest Feb 14th, 2020 66 in 3 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. So, I'm using the LSIO containers for both LetsEncrypt and Nextcloud.
  2.  
  3. Steps:
  4.  
  5. - Create a new volume for NC
  6.  
  7. - Run this Compose:
  8.  
  9.    nextcloudtest:
  10.        # https://hub.docker.com/r/linuxserver/nextcloud
  11.        image: linuxserver/nextcloud:latest
  12.        container_name: nextcloudtest
  13.        environment:
  14.          - 'TZ=America/Chicago'
  15.        volumes:
  16.          - 'scotts_nextcloudtest_data:/config' # Nextcloud Configs
  17.          - '/i/Nextcloud:/data'            # Storage area
  18.        restart: unless-stopped
  19.        networks:
  20.          - ocs
  21.          - odb
  22.  
  23. - Go to mydomain/nextcloudtest
  24.  
  25. - First Issue: I get no CSS for the page. No biggy. I just fill the the DB and new admin credentials and click the Next button.
  26. - Second Issue: After about 1 minute, I get a standard Nginx error page: 504 Gateway Time-out
  27.  Checking the MySQL DB, it appears all tables and users are created, so it seems the connection to MySQL is ok.
  28.  
  29. - I SSH into the NC container, vi /config/www/nextcloud/config/config.php
  30.  
  31. Add to it (I name my LetsEncrypt container "Nginx"):
  32.  
  33. 'trusted_proxies' => ['nginx'],
  34. 'overwritewebroot' => '/nextcloudtest',
  35. 'overwrite.cli.url' => 'https://my.domain.rocks:3112',
  36. 'check_data_directory_permissions' => false, # Needed to get past the data directory permission c-block.
  37.  
  38. # trusted domains array:
  39. array (
  40.   0 => 'my.domain.rocks',
  41. ),
  42.  
  43. - Restart the container, and reload the NC URL
  44.  
  45. - Third Issue: I now get stuck at the following error page:
  46.  
  47. Internal Server Error
  48. The server was unable to complete your request.
  49.  
  50. If this happens again, please send the technical details below to the server administrator.
  51.  
  52. More details can be found in the server log.
  53.  
  54. Technical details
  55. Remote Address: 172.30.0.1
  56. Request ID: o345gdfgiEAhE
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top