Jump to content

Fehlermeldung nach nextcloud upgrade auf 29


Recommended Posts

Hallo zusammen,

 

ich habe in der Suche nichts dahingehend gefunden, deshalb hier das Topic. Ich habe seit dem Upgrade auf nextcloud 29 folgende Fehlermeldungen.

Errormessages_nextcloud.thumb.png.b86d5bce9e6a44cb09ba228d7b1b16d7.png

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

 

Link to comment

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

 

Link to comment

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>

 

Link to comment
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

 

image.thumb.png.433a808622b32bd0163d4a6ee98dbd03.png

Link to comment
  • 2 weeks later...
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

 

image.thumb.png.f07bff70658cce04aa106ceaff2e21c1.png

 

ich hab die .htaccess auch 2x hier

 

image.png.cc6d4ed2532f3ade5ac3a8828b3ab18a.png

 

# 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)

 

image.png.802bb13a71783b62bb410b9b2dfe8055.png

 

# 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:~#

 

Link to comment

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?

 

Screenshot2024-05-18095530.thumb.png.4f18e7efb2ddd2a8842eecd907f99a73.png

 

vielen lieben Dank für deine Hilfe!

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...