Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: WipeTokenException Error while running background job #43323

Open
5 of 8 tasks
SeriousPat opened this issue Feb 3, 2024 · 3 comments
Open
5 of 8 tasks

[Bug]: WipeTokenException Error while running background job #43323

SeriousPat opened this issue Feb 3, 2024 · 3 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 28-feedback bug feature: caldav Related to CalDAV internals

Comments

@SeriousPat
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

in Log

Steps to reproduce

Don't Know

Expected behavior

Don't Know

Installation method

Community Docker image

Nextcloud Server version

28

Operating system

Other

PHP engine version

PHP 8.3

Web server

Nginx

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 22 to 23)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "filelocking.enabled": true,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.25.15:8666",
            "cloud.kostiuk.de"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "28.0.2.5",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/cloud.kostiuk.de\/",
        "overwritehost": "cloud.kostiuk.de",
        "overwriteprotocol": "https",
        "default_phone_region": "DE",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "loglevel": 2,
        "theme": ""
    }
}

List of activated Apps

Enabled:
  - activity: 2.20.0
  - calendar: 4.6.4
  - cloud_federation_api: 1.11.0
  - contacts: 5.5.1
  - contactsinteraction: 1.9.0
  - dav: 1.29.1
  - federatedfilesharing: 1.18.0
  - federation: 1.18.0
  - files: 2.0.0
  - files_pdfviewer: 2.9.0
  - files_reminders: 1.1.0
  - files_sharing: 1.20.0
  - files_trashbin: 1.18.0
  - files_versions: 1.21.0
  - logreader: 2.13.0
  - lookup_server_connector: 1.16.0
  - notes: 4.9.2
  - notifications: 2.16.0
  - oauth2: 1.16.3
  - password_policy: 1.18.0
  - polls: 6.0.1
  - privacy: 1.12.0
  - provisioning_api: 1.18.0
  - recommendations: 2.0.0
  - related_resources: 1.3.0
  - richdocuments: 8.3.1
  - settings: 1.10.1
  - sharebymail: 1.18.0
  - tasks: 0.15.0
  - text: 3.9.1
  - theming: 2.3.0
  - twofactor_backupcodes: 1.17.0
  - updatenotification: 1.18.0
  - viewer: 2.2.0
  - workflowengine: 2.10.0
Disabled:
  - admin_audit: 1.18.0
  - bruteforcesettings: 2.8.0
  - circles: 28.0.0-dev (installed 25.0.0)
  - comments: 1.18.0 (installed 1.15.0)
  - dashboard: 7.8.0 (installed 7.5.0)
  - encryption: 2.16.0
  - files_external: 1.20.0 (installed 1.20.0)
  - firstrunwizard: 2.17.0 (installed 2.14.0)
  - mail: 3.5.5 (installed 3.5.5)
  - nextcloud_announcements: 1.17.0 (installed 1.14.0)
  - photos: 2.4.0 (installed 2.0.1)
  - serverinfo: 1.18.0 (installed 1.15.0)
  - support: 1.11.0 (installed 1.8.0)
  - survey_client: 1.16.0 (installed 1.13.0)
  - suspicious_login: 6.0.0
  - systemtags: 1.18.0 (installed 1.15.0)
  - twofactor_totp: 10.0.0-beta.2
  - user_ldap: 1.19.0
  - user_status: 1.8.1 (installed 1.5.0)
  - weather_status: 1.8.0 (installed 1.5.0)

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

Fehler	PHP	
Trying to access array offset on value of type bool at /var/www/html/apps/settings/lib/Settings/Admin/Server.php#76

03.02.2024, 21:10:23	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 21:55:04	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 21:45:04	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 21:35:04	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 21:25:03	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 21:15:03	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 21:05:04	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 20:55:03	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 20:45:03	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 20:35:04	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 20:30:03	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 20:20:04	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 20:10:03	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 20:00:04	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 19:50:03	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 19:40:04	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 19:30:04	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 19:20:03	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 19:10:04	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 19:00:03	

Fehler	core	
WipeTokenException
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )
Error while running background job (class: OCA\DAV\BackgroundJob\EventReminderJob, arguments: )

31.01.2024, 18:50:04	

Warnung	no app in context	
Invalid cliBasedCronUser data provided to provideInitialState by settings

Additional info

Using cron via: docker exec -u 99 Nextcloud php -f /var/www/html/cron.php

@SeriousPat SeriousPat added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Feb 3, 2024
@joshtrichards
Copy link
Member

Can you provide the actual entry with the stack trace from your Nextcloud Server log?

@SeriousPat
Copy link
Author

I made Backups from the content und use now a fresh docker. You can close this ticket. I make a new one when the error occours again.

@Frangipanibluete
Copy link

I have the very same errors in my installation.

Installation Method: Community Manual installation
OS: Ubuntu
PHP version: 8.1
Web Server: Apache
Database: MariaDB
User-Backend: database
Nextcloud Signing status: No errors have been found.

I can provide more info if necessary (just don't know what's needed).
Here's a log entry:

{
    "reqId": "wsy5gJsqfTQWsz2L41De",
    "level": 3,
    "time": "2024-02-05T14:20:05+00:00",
    "remoteAddr": "",
    "user": "--",
    "app": "core",
    "method": "",
    "url": "--",
    "message": "Error while running background job (class: OCA\\DAV\\BackgroundJob\\EventReminderJob, arguments: )",
    "userAgent": "--",
    "version": "28.0.2.5",
    "exception": {
        "Exception": "OC\\Authentication\\Exceptions\\WipeTokenException",
        "Message": "",
        "Code": 0,
        "Trace": [
            {
                "file": "/var/www/nextcloud/lib/private/Authentication/Token/Manager.php",
                "line": 154,
                "function": "getTokenById",
                "class": "OC\\Authentication\\Token\\PublicKeyTokenProvider",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/nextcloud/apps/notifications/lib/Push.php",
                "line": 580,
                "function": "getTokenById",
                "class": "OC\\Authentication\\Token\\Manager",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/nextcloud/apps/notifications/lib/Push.php",
                "line": 337,
                "function": "validateToken",
                "class": "OCA\\Notifications\\Push",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/nextcloud/apps/notifications/lib/App.php",
                "line": 58,
                "function": "pushToDevice",
                "class": "OCA\\Notifications\\Push",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/nextcloud/lib/private/Notification/Manager.php",
                "line": 329,
                "function": "notify",
                "class": "OCA\\Notifications\\App",
                "type": "->"
            },
            {
                "file": "/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/NotificationProvider/PushProvider.php",
                "line": 111,
                "function": "notify",
                "class": "OC\\Notification\\Manager",
                "type": "->"
            },
            {
                "file": "/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/ReminderService.php",
                "line": 204,
                "function": "send",
                "class": "OCA\\DAV\\CalDAV\\Reminder\\NotificationProvider\\PushProvider",
                "type": "->"
            },
            {
                "file": "/var/www/nextcloud/apps/dav/lib/BackgroundJob/EventReminderJob.php",
                "line": 68,
                "function": "processReminders",
                "class": "OCA\\DAV\\CalDAV\\Reminder\\ReminderService",
                "type": "->"
            },
            {
                "file": "/var/www/nextcloud/lib/public/BackgroundJob/Job.php",
                "line": 81,
                "function": "run",
                "class": "OCA\\DAV\\BackgroundJob\\EventReminderJob",
                "type": "->"
            },
            {
                "file": "/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php",
                "line": 102,
                "function": "start",
                "class": "OCP\\BackgroundJob\\Job",
                "type": "->"
            },
            {
                "file": "/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php",
                "line": 92,
                "function": "start",
                "class": "OCP\\BackgroundJob\\TimedJob",
                "type": "->"
            },
            {
                "file": "/var/www/nextcloud/cron.php",
                "line": 152,
                "function": "execute",
                "class": "OCP\\BackgroundJob\\TimedJob",
                "type": "->"
            }
        ],
        "File": "/var/www/nextcloud/lib/private/Authentication/Token/PublicKeyTokenProvider.php",
        "Line": 211,
        "message": "Error while running background job (class: OCA\\DAV\\BackgroundJob\\EventReminderJob, arguments: )",
        "exception": {},
        "CustomMessage": "Error while running background job (class: OCA\\DAV\\BackgroundJob\\EventReminderJob, arguments: )"
    }
}

@joshtrichards joshtrichards reopened this Feb 5, 2024
@joshtrichards joshtrichards added the feature: caldav Related to CalDAV internals label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 28-feedback bug feature: caldav Related to CalDAV internals
Projects
None yet
Development

No branches or pull requests

4 participants