Errors Declaration of Psr/

Summary of the issue you are facing:

After Updating the Unraid Docker of Nextcloud yesterday i face the following problem, when i try to connect an Iphone to the CalDAV Calendar of a user.

Steps to replicate it (hint: details matter!):

  1. Try to log in to a CalDAV account

Log entries

[PHP] Fehler: Declaration of Psr\Log\AbstractLogger::emergency($message, array $context = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = []): void at /config/www/nextcloud/apps/integration_onedrive/vendor/psr/log/Psr/Log/AbstractLogger.php#22
	PROPFIND /remote.php/dav/principals/users/calendar_user/
	von 2.209.225.15 von ? um 11.03.2025, 16:48:53

Also i get the errors in the syystem Overview:

Your web server is not yet properly set up to allow file synchronization, because the WebDAV interface seems to be broken. To allow this check to run you have to make sure that your Web server can connect to itself. Therefore it must be able to resolve and connect to at least one of its trusted_domains or the overwrite.cli.url. This failure may be the result of a server-side DNS mismatch or outbound firewall rule.

Your web server is not properly set up to resolve .well-known URLs, failed on: /.well-known/caldav

Some headers are not set correctly on your instance - The X-Robots-Tag HTTP header is not set to noindex,nofollow. This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly. - The Strict-Transport-Security HTTP header is not set (should be at least 15552000 seconds). For enhanced security, it is recommended to enable HSTS.

I´m using the ngix proxy manager app for nextcloud so i´m a bit lost with the documentation of nextcloud to that.

Detected some missing optional indices. Occasionally new indices are added (by Nextcloud or installed applications) to improve database performance. Adding indices can sometimes take awhile and temporarily hurt performance so this is not done automatically during upgrades. Once the indices are added, queries to those tables should be faster. Use the command occ db:add-missing-indices to add them. Missing indices: “systag_objecttype” in table “systemtag_object_mapping”.

The PHP OPcache module is not properly configured. The OPcache buffer is nearly full. To assure that all scripts can be hold in cache, it is recommended to apply “opcache.memory_consumption” to your PHP configuration with a value higher than “128”

Configuration

Nextcloud

{
    "system": {
        "default_phone_region": "DE",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.178.230:444",
            "bayernas.duckdns.org",
            "bayerdns.duckdns.org",
            "nas.bayer-musiker.de"
        ],
        "dbtype": "pgsql",
        "version": "31.0.0.18",
        "overwrite.cli.url": "https:\/\/192.168.178.230:444",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "filesystem_check_changes": 1,
        "app_install_overwrite": [
            "imageconverter"
        ],
        "maintenance": false,
        "loglevel": 0,
        "filelocking.enabled": "true",
        "memcache.locking": "\\OC\\Memcache\\APCu",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpauth": 1,
        "upgrade.disable-web": true,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
    }
}

The error appears to be coming from integration_onedrive app which appears to not be compatible with v31.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.