New (previously unseen) errors in the Nextcloud log after upgrading to 29.0.3

Not sure where these are coming from, and I haven’t seen them until upgrading an instance from 29.0.2 to 29.0.3 (today). This is on Ubuntu 22.04.LTS with PHP FPM 8.1.29 and Nginx 1.27.0.

Error: session_start(): Session cannot be started after headers have already been sent at /var/www/n/lib/private/Session/Internal.php#213 (several of these)

Warning: GenericEncryptionException Bad Signature Error while generating metadata for fileid 2340

Error: Cannot modify header information - headers already sent by (output started at /var/www/n/lib/private/legacy/OC_EventSource.php:120) at /var/www/n/lib/private/User/Session.php#1083

(the above error is repeated, but with different #nnnn, like 1081, 1082, 1078, 1077, 1076)

Error: TypeError: OCA\UserStatus\Controller\UserStatusController::__construct(): Argument #3 ($userId) must be of type string, null given at /var/www/n/apps/user_status/lib/Controller/UserStatusController.php#55

-joho

Before troubleshooting too much, have you restarted FPM since upgrading?

I didn’t, now that I think of it. I usually do. I have re-started PHP now and will watch the log.

This morning, this was in the log, but no other errors since the ones above:

Error: Call to a member function getPath() on null Error while running background job OCA\Files_Sharing\ExpireSharesJob (id: 3, arguments: null)

Here’s another odd one:

is_file(): open_basedir restriction in effect. File(/var/www/n/public_htmlapps//core/l10n/en.js) is not within the allowed path(s): (/var/www/n/public_html:/var/www/n/logs:/var/www/n/_tmp:/dev/urandom:/tmp:/proc/meminfo) at /var/www/n/public_html/lib/private/Template/ResourceLocator.php#100

Document root is /var/www/n/public_html

Can you please post your config via occ config:list system?

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.3.4",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "default_language": "sv",
        "session_lifetime": 28800,
        "session_keepalive": true,
        "session_relaxed_expiry": true,
        "auto_logout": true,
        "remember_login_cookie_lifetime": 28800,
        "logtimezone": "UTC",
        "default_phone_region": "SE",
        "default_locale": "sv_SE",
        "skeletondirectory": "",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "mail_smtptimeout": 10,
        "mail_smtpsecure": "",
        "mail_smtpauth": false,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpstreamoptions": {
            "ssl": {
                "allow_self_signed": true,
                "verify_peer": false,
                "verify_peer_name": false
            }
        },
        "enable_previews": true,
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\Movie",
            "OC\\Preview\\PDF",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown"
        ],
        "preview_max_x": 1024,
        "preview_max_y": 768,
        "preview_max_scale_factor": 1,
        "activity_expire_days": 14,
        "auth.bruteforce.protection.enabled": true,
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0,
            "read_timeout": 0,
            "user": "",
            "password": "***REMOVED SENSITIVE VALUE***",
            "dbindex": 0
        },
        "memcached_servers": [
            [
                "localhost",
                11211
            ]
        ],
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "trashbin_retention_obligation": "auto, 30",
        "maintenance": false,
        "maintenance_window_start": 1,
        "log_type": "file",
        "logfile": "\/var\/www\/n\/logs\/nextcloud.log",
        "loglevel": 1,
        "theme": "",
        "simpleSignUpLink.shown": false
    }
}