Troubleshooting Nextcloud
Troubleshooting
- trusted domain
- go to: nextcloud/config and edit the config.php
- find: "trusted_domains" and add the domain you want to trust
'trusted_domains' =>
array (
0 => 'box.danicus.net',
1 => '192.168.1.1', (put in yourown ip address)
- **Note:** it's the domain you GO TO to access NextCloud...not where you're trying to access FROM.
Mobel app
Error message
"no HTTP connection allowed"
Go to nextcloud config file, config.php and add
`'overwriteprotocol' => 'https', `
"Upload failed request entity too large"
If you have a proxy, go into the config file and change the "client_max_body_size" line. If that line isn't there, add it under the http section.
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 768;
# multi_accept on;
}
http {
##
# Basic Settings
##
client_max_body_size 1000M; #(right here)
sendfile on;
tcp_nopush on;
types_hash_max_size 2048;
# server_tokens off;
# server_names_hash_bucket_size 64;
# server_name_in_redirect off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
I didn't have a line at all so I just put it in there.