Skip to content

[Bug]: After upgrade to server 33.0.4, two-factor authentication by Nextcloud app notification failed, web logon shows "Internal server error", server works normally #60923

@gregzha

Description

@gregzha

⚠️ This issue respects the following points: ⚠️

Bug description

Web logon shows:
Internal server error
The server could not complete your request.
If this happens again, please send the following technical details to the server administrator.
More details can be found in the server logs.

Technical Details
Remote Address: 127.0.0.1
Request ID: 658vKDIn5Xsqbqc9DsD7

logs:
{
"reqId": "DR0OYFdhA4bE6gsPLkqh",
"level": 2,
"time": "2026-06-02T07:14:40+00:00",
"remoteAddr": "127.0.0.1",
"user": "greg",
"app": "core",
"method": "POST",
"url": "/nextcloud/index.php/login/challenge/backup_codes?redirect_url=/nextcloud/index.php/login",
"scriptName": "/nextcloud/index.php",
"message": "Two-factor challenge failed: greg (Remote IP: 127.0.0.1)",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0",
"version": "33.0.4.1",
"data": {
"app": "core"
},
"id": "6a1e85ea6ddfd"
}

{
"reqId": "HydIEDs55g14oV3ztqkt",
"level": 2,
"time": "2026-06-02T07:17:23+00:00",
"remoteAddr": "180.168.123.245",
"user": "greg",
"app": "PHP",
"method": "GET",
"url": "/nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications?format=json",
"scriptName": "/nextcloud/ocs/v2.php",
"message": "Undefined property: OCA\Notifications\Push::$appConfig at /Users/greg/Sites/nextcloud/apps/notifications/lib/Push.php#698",
"userAgent": "Mozilla/5.0 (Windows) mirall/33.0.5 (build 20260519) (Nextcloud, windows-10.0.26200 ClientArchitecture: x86_64 OsArchitecture: x86_64)",
"version": "33.0.4.1",
"clientReqId": "03f4ca57-5a7b-45fc-b1bb-bd2be3c49c9c",
"data": {
"app": "PHP"
},
"id": "6a1e85ea6ddf6"
}

Exception
Call to a member function getAppValueString() on null in file '/Users/greg/Sites/nextcloud/apps/notifications/lib/Push.php' line 698
/Users/greg/Sites/nextcloud/lib/private/AppFramework/App.php
行153
OC\AppFramework\Http\Dispatcher->dispatch(
{
"class": "OCA\Notifications\Controller\EndpointController"
},
"listNotifications"
)
/Users/greg/Sites/nextcloud/lib/private/Route/Router.php
行321
OC\AppFramework\App::main(
"OCA\Notifications\Controller\EndpointController",
"listNotifications",
{
"class": "OC\AppFramework\DependencyInjection\DIContainer"
},
{
"_route": "ocs.notifications.endpoint.listnotifications",
"apiVersion": "v2"
}
)
/Users/greg/Sites/nextcloud/ocs/v1.php
行61
OC\Route\Router->match(
"/ocsapp/apps/notifications/api/v2/notifications"
)
/Users/greg/Sites/nextcloud/ocs/v2.php
行8
undefinedundefinedrequire_once(
"/Users/greg/Sites/nextcloud/ocs/v1.php"
)
由 Error 导致
Call to a member function getAppValueString() on null

Steps to reproduce

  1. web logon, input account name and passeord

Expected behavior

Bofore, I can receive notification from Nextcloud app on my iPhone or desktop, and confirm the authentication.

Nextcloud Server version

33

Operating system

Other

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database engine version

MySQL

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

Updated from a MINOR version (ex. 32.0.1 to 32.0.2)

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

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmap33-feedbackbug

    Type

    No fields configured for Bug.

    Projects

    Status
    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions