Openpoject Integration mit Nextcloud

Nextcloud version (eg, 20.0.5): 27.0.1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.52
PHP version (eg, 7.4): 8.2

Weiterhin hab ich über Portainer einen Nginx Proxymanager der meine Subdomain auf meine IP weiterleitet und das SSL Zertifikat für meine Nextcloud erstellt.

The issue you are facing:
Der folgende Fehler tritt auf sobald ich über Openproject Nextcloud als Dateispeicher hinzufügen möchte:
Dieses Speicher-Objekt konnte nicht gespeichert werden: 1 Fehler.

Bei den folgenden Feldern traten Fehler auf:

  • Host ist nicht vollständig eingerichtet. Die Nextcloud-Instanz erhält nicht den HTTP “Authorization” Header. Dieser ist jedoch für eine auf Bearer-Token basierende Autorisierung von API-Anfragen notwendig. Bitte überprüfen Sie die HTTP-Server-Konfiguration Ihres Nextcloud-Servers.

Die Openproject App ist in Nextcloud installiert und der Host ist eingetragen.

Weiterhin bekomme ich nach

“Error message “Host is not fully set up”” folgende Fehlermeldung:

"curl --location --request GET ‘https://sudbomain/index.php/apps/integration_openp
roject/check-config’ --header ‘Authorization: foo’
curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)

Is this the first time you’ve seen this error? (Y/N): y

Folgendes habe ich bereits probiert:

https://community.openproject.org/topics/17125?r=17125

→ Pretty URLs gesetzt
für den Teil aus dem Link:

"Hey Marie Schmidt and Herr Mann it should not matter if OpenProject sits behind a reverse proxy for the original poster’s specific problem. It concerns direct requests from the OpenProject back-end to Nextcloud, so a HTTPS request from OpenProject’s Ruby process to Nextcloud’s back-end.

However, if Nextcloud sits behind a reverse proxy that is very relevant. It needs to forward the HTTP Authorization header to Nextcloud’s PHP process. So please ensure that your proxy does not strip those off. For NGINX that might mean that you need to set the following.

proxy_set_header Authorization $http_authorization; proxy_pass_header Authorization;"

habe ich keine Ahnung wie ich das mache und komm an der Stelle gerade nicht weiter.
Sollten noch relevante Informationen fehlen teilt mir das bitte mit.

Anbei noch die config.php

<?php $CONFIG = array ( 'instanceid' => '...', 'passwordsalt' => '...', 'secret' => '...', 'trusted_domains' => array ( 0 => 'IP', 1 => 'Subdomain', ), 'datadirectory' => 'directory', 'dbtype' => 'mysql', 'version' => '27.0.1.2', 'overwrite.cli.url' => 'http://IP', 'dbname' => 'Name', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'Username', 'dbpassword' => 'PW', 'installed' => true, 'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory', 'trusted_proxies' => array ( 0 => 'IP Proxy', ), 'overwriteprotocol' => 'https', 'twofactor_enforced' => 'true', 'twofactor_enforced_groups' => array ( 0 => 'admin', ), 'twofactor_enforced_excluded_groups' => array ( 0 => 'Kochbuch', 1 => 'Kalender', ), 'maintenance' => false, 'theme' => '', 'loglevel' => 2, 'mail_smtpmode' => 'smtp', 'mail_sendmailmode' => 'smtp', 'mail_from_address' => 'Name', 'mail_domain' => 'domain', 'mail_smtpport' => 'port', 'mail_smtphost' => 'host', 'mail_smtpauth' => 1, 'mail_smtpname' => 'domain', 'mail_smtppassword' => 'PW -> 'mail_smtpsecure' => 'ssl', // setzt die Telefonregion 'default_phone_region' => 'DE', // Locking-Konfiguration (Verwendung von Redis für das Locking) 'filelocking.enabled' => true, 'memcache.locking' => '\OC\Memcache\Redis', 'redis' => array( 'host' => '/var/run/redis/redis.sock', 'port' => 0, 'timeout' => 0.0, ), //setzt den Autologout 'remember_login_cookie_lifetime' => 1296000, 'session_lifetime' => 1800, 'session_keepalive' => false, 'auto_logout' => true, //Memcache Konfiguration 'memcache.local' => '\OC\Memcache\Redis', 'memcache.distributed' => '\OC\Memcache\Redis', 'redis' => [ 'host' => 'localhost', // 'port' => 6379, ], //pretty URl 'overwrite.cli.url' => 'Subdomain', 'htaccess.RewriteBase' => '/', ); Ich hoffe jemand kann mir helfen oder einen neuen Impuls geben um das Problem zu lösen