LuxVita Posted May 3 Share Posted May 3 Hallo zusammen, ich habe in der Suche nichts dahingehend gefunden, deshalb hier das Topic. Ich habe seit dem Upgrade auf nextcloud 29 folgende Fehlermeldungen. Bei den Trusted Proxies habe ich folgende Einträge: 'trusted_proxies' => array ( 0 => 'Adresse der internen reverseproxy IP des SWAG Ordners', 1 => 'meine Server IP mit NextcloudPort', 2 => 'meine.domain.des.servers', 3 => '::1', (ich weiß nicht mehr, warum ich das reichmachen musste...) ), Werdenn och mehr Infos benötigt? Welche Info wird gebraucht, um die erste Fehlermeldung (htaccess) nachvollziehen zu können? Dank euch und lg Quote Link to comment
tc233 Posted May 4 Share Posted May 4 Hallo, das Problem hatte ich auch. Servernamen werden wohl nicht mehr unterstützt und bei mir hat auch die Server-Ip nicht geholfen. Geklappt hat letztendlich die CIDR notation, e.g. 192.168.2.0/24 und die IPV6 Adresse. 'trusted_proxies' => ['192.168.200.0/24','2axx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx']. Zum Serevrnamen kann ich nur hierauf verweisen, habe ich selbst nicht probiert https://help.nextcloud.com/t/after-upgrade-to-29-getting-trusted-proxies-error/189016/7 Quote Link to comment
LuxVita Posted May 4 Author Share Posted May 4 Super - das hat funktioniert. Danke sehr. Jetzt fehlt nur noch das htaccess problem - hast du da auch eventuell eine Idee? Quote Link to comment
alturismo Posted May 5 Share Posted May 5 On 5/3/2024 at 12:04 PM, LuxVita said: Welche Info wird gebraucht, um die erste Fehlermeldung (htaccess) nachvollziehen zu können? wenn ich das jetzt google ... du nutzt sicher den official (knex) docker aus dem NC Forum, hier Ansätze https://help.nextcloud.com/t/htaccess-datei-funktioniert-nicht/115994/25 Quote Link to comment
LuxVita Posted May 5 Author Share Posted May 5 Hallo, stimmt, das hab ich vergessen anzugeben - ich nutze den docker von linuxserver.io und einen reverse proxy mit swag. Meine trusted domains sehen so aus (Hat bisher keine Fehlermeldungen produziert, aber jetzt seit Upgrade auf nextcloud 29) - muss ich da etwas verändern? 'trusted_domains' => array ( 0 => 'server.ip.im.netzwerk', 1 => 'meine.domain', 2 => 'meine.statische.IP.vom.internetanbieter', 'dbtype' => 'mysql', 'version' => '29.0.0.19', 'overwrite.cli.url' => 'https://meine.domain', 'overwritehost' => 'meine.domain', 'overwriteprotocol' => 'https', Oder muss ich direkt in der htaccess datei etwas verändern? Die sieht so aus: # Section for Apache 2.4 to 2.6 <IfModule mod_authz_core.c> Require all denied </IfModule> <IfModule mod_access_compat.c> Order Allow,Deny Deny from all Satisfy All </IfModule> # Section for Apache 2.2 <IfModule !mod_authz_core.c> <IfModule !mod_access_compat.c> <IfModule mod_authz_host.c> Order Allow,Deny Deny from all </IfModule> Satisfy All </IfModule> </IfModule> # Section for Apache 2.2 to 2.6 <IfModule mod_autoindex.c> IndexIgnore * </IfModule> Quote Link to comment
tc233 Posted May 5 Share Posted May 5 Hallo, der Inhalt passt soweit ich sehe, die Datei muss .htaccess heißen und auch in Deinem nextclouddata Ordner im root stehen. Quote Link to comment
LuxVita Posted May 5 Author Share Posted May 5 die htaccess datei ist im gleichen ordner wie die config datei - und die haben alle root berechtigungen (alles im Ordner "www") Quote Link to comment
alturismo Posted May 5 Share Posted May 5 3 hours ago, LuxVita said: Hallo, stimmt, das hab ich vergessen anzugeben - ich nutze den docker von linuxserver.io und einen reverse proxy mit swag. hier auch meine config.php 'trusted_domains' => array ( 0 => '192.168.1.84', 1 => 'nextcloud', 2 => 'cloud.meine_domain.de', ), 'trusted_proxies' => array ( 0 => '192.168.1.0/24', 1 => '172.18.0.0/24', 2 => '172.17.0.0/24', ), 'dbtype' => 'mysql', 'version' => '29.0.0.19', 'overwrite.cli.url' => 'https://cloud.meine_domain.de', 'dbname' => 'nextcloud', 'dbhost' => 'mariadb', trusted proxies und keine overwritehost und overwriteprotocol Einträge, bin auch auf 29 Quote Link to comment
LuxVita Posted May 6 Author Share Posted May 6 ich habe in der config die beiden Zeilen gelöscht - leider keine änderung. Fehlermeldung ist nach wie vor. Quote Link to comment
tc233 Posted May 8 Share Posted May 8 Hallo,die Du hattest geschrieben, dass Du die .htaccess im config Ordner hast. Hast Du sie auch zusätzlich in dem Ordner, der bei data angegeben ist? Quote Link to comment
LuxVita Posted May 9 Author Share Posted May 9 ich hatte tatsächlich eine .htaccess datei im data folder - ich habe sie aus dem verzeichnis geschoben - leider keine änderung bei der Fehlermeldung. Quote Link to comment
LuxVita Posted Friday at 06:27 PM Author Share Posted Friday at 06:27 PM eventuell jemand anderes eine Idee, was eventuell das Problem bei der htacess Fehlermeldung sein könnte? Quote Link to comment
alturismo Posted Saturday at 04:54 AM Share Posted Saturday at 04:54 AM 10 hours ago, LuxVita said: eventuell jemand anderes eine Idee, was eventuell das Problem bei der htacess Fehlermeldung sein könnte? NC ist einfach eine bi.... aber zum Thema, ich nutze auch den lsio ich hab die .htaccess auch 2x hier # Section for Apache 2.4 to 2.6 <IfModule mod_authz_core.c> Require all denied </IfModule> <IfModule mod_access_compat.c> Order Allow,Deny Deny from all Satisfy All </IfModule> # Section for Apache 2.2 <IfModule !mod_authz_core.c> <IfModule !mod_access_compat.c> <IfModule mod_authz_host.c> Order Allow,Deny Deny from all </IfModule> Satisfy All </IfModule> </IfModule> # Section for Apache 2.2 to 2.6 <IfModule mod_autoindex.c> IndexIgnore * </IfModule> dann nochmals hier (Data Verzeichnis) # Generated by Nextcloud on 2024-04-25 01:13:13 # Section for Apache 2.4 to 2.6 <IfModule mod_authz_core.c> Require all denied </IfModule> <IfModule mod_access_compat.c> Order Allow,Deny Deny from all Satisfy All </IfModule> # Section for Apache 2.2 <IfModule !mod_authz_core.c> <IfModule !mod_access_compat.c> <IfModule mod_authz_host.c> Order Allow,Deny Deny from all </IfModule> Satisfy All </IfModule> </IfModule> # Section for Apache 2.2 to 2.6 <IfModule mod_autoindex.c> IndexIgnore * </IfModule> Rechte root@AlsServerII:~# ls -la /mnt/user/appdata/nextcloud/www/nextcloud/config/.ht* -rw-r--r-- 1 nobody users 495 Apr 25 03:13 /mnt/user/appdata/nextcloud/www/nextcloud/config/.htaccess root@AlsServerII:~# ls -la /mnt/user/Nextcloud/.ht* -rw-r--r-- 1 nobody users 542 Apr 25 03:13 /mnt/user/Nextcloud/.htaccess root@AlsServerII:~# Quote Link to comment
LuxVita Posted Saturday at 07:57 AM Author Share Posted Saturday at 07:57 AM hey - vielen lieben Dank für deine ausführliche antwort. die beiden htaccess dateien schauen bei mir genau gleich aus, allerdings gibt mir die console bei den rechten unterschiedliche ergebnisse aus. ich bin mit der console leider nicht so fit - siehst du bei meinem ergebnis eventuell das problem bzw. kannst du mir sagen ob/was und wie ich es ändern kann? vielen lieben Dank für deine Hilfe! Quote Link to comment
alturismo Posted Saturday at 09:59 AM Share Posted Saturday at 09:59 AM 1 hour ago, LuxVita said: du mir sagen ob/was und wie ich es ändern kann? chmod 644 /mnt/......htaccess setzt dann die Rechte wie bei mir, ob das hilft ? gute Frage in swag hast du keine .htaccess zusätzlich hinterlegt ? Quote Link to comment
LuxVita Posted Saturday at 01:52 PM Author Share Posted Saturday at 01:52 PM im ordner swag habe ich keine htaccess datei. ich habe die Rechte an deine angeglichen, leider keine Änderung im ergebnis. Im Protokoll habe ich auch noch folgenden Fehler: Hängt das eventuell zusammen? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.