Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Hi,
I have the following problem. Could someone please help fix this please?
Nextcloud version (eg, 20.0.5): 29.0.0
Operating system and version (eg, Ubuntu 20.04): Truenas scale Dragonfish-24.04.0
Apache or nginx version (eg, Apache 2.4.25): I don’t know
PHP version (eg, 7.4): I don’t know
The issue you are facing: After a fresh installation of truenas scale Iinstalled nextcloud. It seems that it is deployed and it is running but upon accessing it with web browser with IP address and the correct port, instead of nextcloud the truenas ui loads.
When I try to access it with android app, it seems that it connects but I cannot login. It tells logging in indefinitely.
Is this the first time you’ve seen this error? (Y/N): Y, but this is also the first time I try nexctcloud
Steps to replicate it:
- Fresh install truenas
- Install nextcloud from truenas apps based on this article.
The output of your Nextcloud log in Admin > Logging:
The log for: nextcloud-cbdb994b-2bzcn is full with lines like these (and in every 10s more is generated):
2024-05-05 12:02:26.003878-07:00172.16.0.1 - - [05/May/2024:19:02:25 +0000] "GET /status.php HTTP/1.1" 200 1811 "-" "kube-probe/1.26"
2024-05-05 12:02:35.799889-07:00[Sun May 05 19:02:35.796606 2024] [php:notice] [pid 330] [client 172.16.0.8:53660] Nextcloud trustedProxies has malformed entries
2024-05-05 12:02:35.800549-07:00[Sun May 05 19:02:35.796613 2024] [php:notice] [pid 328] [client 172.16.0.8:53670] Nextcloud trustedProxies has malformed entries
2024-05-05 12:02:35.805228-07:00[Sun May 05 19:02:35.796734 2024] [php:notice] [pid 328] [client 172.16.0.8:53670] Nextcloud trustedProxies has malformed entries
2024-05-05 12:02:35.805371-07:00[Sun May 05 19:02:35.796908 2024] [php:notice] [pid 330] [client 172.16.0.8:53660] Nextcloud trustedProxies has malformed entries
2024-05-05 12:02:35.832683-07:00[Sun May 05 19:02:35.832409 2024] [php:notice] [pid 330] [client 172.16.0.8:53660] Nextcloud trustedProxies has malformed entries
2024-05-05 12:02:35.832841-07:00[Sun May 05 19:02:35.832507 2024] [php:notice] [pid 330] [client 172.16.0.8:53660] Nextcloud trustedProxies has malformed entries
2024-05-05 12:02:35.842056-07:00[Sun May 05 19:02:35.836287 2024] [php:notice] [pid 328] [client 172.16.0.8:53670] Nextcloud trustedProxies has malformed entries
2024-05-05 12:02:35.842253-07:00[Sun May 05 19:02:35.838805 2024] [php:notice] [pid 328] [client 172.16.0.8:53670] Nextcloud trustedProxies has malformed entries
2024-05-05 12:02:35.842232-07:00172.16.0.8 - - [05/May/2024:19:02:35 +0000] "GET /status.php HTTP/1.1" 200 1790 "-" "kube-probe/1.26"
2024-05-05 12:02:35.857885-07:00172.16.0.8 - - [05/May/2024:19:02:35 +0000] "GET /status.php HTTP/1.1" 200 1792 "-" "kube-probe/1.26"
2024-05-05 12:02:35.994041-07:00[Sun May 05 19:02:35.992013 2024] [php:notice] [pid 331] [client 172.16.0.1:33558] Nextcloud trustedProxies has malformed entries
2024-05-05 12:02:35.994176-07:00[Sun May 05 19:02:35.992137 2024] [php:notice] [pid 331] [client 172.16.0.1:33558] Nextcloud trustedProxies has malformed entries
2024-05-05 12:02:36.014646-07:00[Sun May 05 19:02:36.011503 2024] [php:notice] [pid 326] [client 172.16.0.1:33566] Nextcloud trustedProxies has malformed entries
2024-05-05 12:02:36.015048-07:00[Sun May 05 19:02:36.011614 2024] [php:notice] [pid 326] [client 172.16.0.1:33566] Nextcloud trustedProxies has malformed entries
2024-05-05 12:02:36.019103-07:00[Sun May 05 19:02:36.018496 2024] [php:notice] [pid 331] [client 172.16.0.1:33558] Nextcloud trustedProxies has malformed entries
2024-05-05 12:02:36.019265-07:00[Sun May 05 19:02:36.018597 2024] [php:notice] [pid 331] [client 172.16.0.1:33558] Nextcloud trustedProxies has malformed entries
2024-05-05 12:02:36.030021-07:00172.16.0.1 - - [05/May/2024:19:02:35 +0000] "GET /status.php HTTP/1.1" 200 1815 "-" "kube-probe/1.26"
2024-05-05 12:02:36.048667-07:00[Sun May 05 19:02:36.044576 2024] [php:notice] [pid 326] [client 172.16.0.1:33566] Nextcloud trustedProxies has malformed entries
2024-05-05 12:02:36.049219-07:00[Sun May 05 19:02:36.044678 2024] [php:notice] [pid 326] [client 172.16.0.1:33566] Nextcloud trustedProxies has malformed entries
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'nextcloud-redis',
'password' => 'somethingsomething',
'port' => 6379,
),
'overwritehost' => '192.168.0.13',
'overwriteprotocol' => 'https',
'trusted_proxies' =>
array (
0 => '172.17.0.0/16,172.16.0.0/16,127.0.0.1',
),
'upgrade.disable-web' => true,
'passwordsalt' => 'somethingsomething',
'secret' => 'somethingsomething',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '192.168.0.13',
2 => '127.0.0.1',
3 => 'localhost',
4 => 'nextcloud',
5 => 'nextcloud-init-sync.lock',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'pgsql',
'version' => '29.0.0.19',
'overwrite.cli.url' => 'https://localhost',
'dbname' => 'nextcloud',
'dbhost' => 'nextcloud-postgres:5432',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_admin',
'dbpassword' => 'somethingsomething',
'installed' => true,
'instanceid' => 'ocwepdy77ba1',
);
The output of your Apache/nginx/system log in /var/log/____
:
In every 10 seconds there are two lines like these below:
2024-05-05 11:42:45.873026-07:00172.16.0.1 - - [05/May/2024:18:42:45 +0000] "GET /status.php HTTP/2.0" 200 171 "-" "kube-probe/1.26"
2024-05-05 11:42:45.920434-07:00172.16.0.1 - - [05/May/2024:18:42:45 +0000] "GET /status.php HTTP/2.0" 200 171 "-" "kube-probe/1.26"
When trying to access with webbrowser:
2024-05-05 11:46:29.282631-07:00192.168.0.50 - - [05/May/2024:18:46:29 +0000] "GET / HTTP/1.1" 400 255 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0"
2024-05-05 11:47:13.620576-07:00192.168.0.50 - - [05/May/2024:18:47:13 +0000] "GET / HTTP/2.0" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0"
PASTE HERE
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
PASTE HERE