May 3, 20242 yr 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
May 4, 20242 yr 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
May 4, 20242 yr Author Super - das hat funktioniert. Danke sehr. Jetzt fehlt nur noch das htaccess problem - hast du da auch eventuell eine Idee?
May 5, 20242 yr 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
May 5, 20242 yr Author 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>
May 5, 20242 yr Hallo, der Inhalt passt soweit ich sehe, die Datei muss .htaccess heißen und auch in Deinem nextclouddata Ordner im root stehen.
May 5, 20242 yr Author die htaccess datei ist im gleichen ordner wie die config datei - und die haben alle root berechtigungen (alles im Ordner "www")
May 5, 20242 yr 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
May 6, 20242 yr Author ich habe in der config die beiden Zeilen gelöscht - leider keine änderung. Fehlermeldung ist nach wie vor.
May 8, 20242 yr 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?
May 9, 20242 yr Author ich hatte tatsächlich eine .htaccess datei im data folder - ich habe sie aus dem verzeichnis geschoben - leider keine änderung bei der Fehlermeldung.
May 17, 20242 yr Author eventuell jemand anderes eine Idee, was eventuell das Problem bei der htacess Fehlermeldung sein könnte?
May 18, 20242 yr 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:~#
May 18, 20242 yr Author 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!
May 18, 20242 yr 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 ?
May 18, 20242 yr Author 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?
June 4, 20242 yr Author Solution Hallo zusammen, nach weiterer Recherche konnte ich das Problem lösen. Htaccess Problem:Ich musste bei den Trusted Domains meine statische IP löschen und sieht jetzt so aus: 'trusted_domains' => array ( 0 => 'interne Server IP:zugewiesener Port', 1 => 'domain.nexcloud.com', ), Fehler der Trusted Proxies wurde schon vorher gelöst - hier nur für die Nachwelt: 'trusted_proxies' => array ( 0 => 'Interne Reversy Proxy IP/24', 1 => 'interne Server IP/24', ), Danke an alle für eure Hilfe und eine gute Zeit.
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.