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]: logging page is blank #35659

Closed
6 of 9 tasks
Bockeman opened this issue Dec 7, 2022 · 9 comments
Closed
6 of 9 tasks

[Bug]: logging page is blank #35659

Bockeman opened this issue Dec 7, 2022 · 9 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 25-feedback bug needs info

Comments

@Bockeman
Copy link

Bockeman commented Dec 7, 2022

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

The logging page .../index.php/settings/admin/logging appears to render correctly upon each forced refresh, but then immediately goes blank.

No confguration changes since NC 24.0.6 when the logging page rendered correctly
NC 25.0.0
logging page flashes and then goes blank
NC 25.0.2 RC3
logging page flashes and then goes blank

Steps to reproduce

  1. Upgrade to NC 25.0.0 or later
  2. View .../index.php/settings/admin/logging

Expected behavior

.../index.php/settings/admin/logging should be visible

Installation method

Other Community project

Operating system

Other

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

MariaDB

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

Updated to a major version (ex. 22.2.3 to 23.0.1)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

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

Configuration report

sudo -u apache php /var/www/html/verivault/console.php config:list system
{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "***REMOVED SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***",
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "25.0.2.2",
        "overwrite.cli.url": "http:\/\/www.veriserve.co.uk",
        "overwriteprotocol": "https",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "mail_smtpmode": "sendmail",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "htaccess.RewriteBase": "\/",
        "maintenance": false,
        "theme": "",
        "loglevel": 0,
        "filesystem_check_changes": 1,
        "sqlite.journal_mode": "DELETE",
        "trashbin_retention_obligation": "auto,5",
        "versions_retention_obligation": "auto,5",
        "default_phone_region": "GB",
        "updater.release.channel": "beta",
        "localstorage.allowsymlinks": true,
        "app_install_overwrite": [
            "cms_pico"
        ]
    }
}

List of activated Apps

sudo -u apache php /var/www/html/verivault/console.php app:list
Enabled:
  - activity: 2.17.0
  - bookmarks: 11.0.4
  - calendar: 4.1.0
  - cloud_federation_api: 1.8.0
  - cms_pico: 1.0.19
  - comments: 1.15.0
  - dashboard: 7.5.0
  - dav: 1.24.0
  - federatedfilesharing: 1.15.0
  - files: 1.20.1
  - files_pdfviewer: 2.6.0
  - files_rightclick: 1.4.0
  - files_sharing: 1.17.0
  - firstrunwizard: 2.14.0
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - nextcloud_announcements: 1.14.0
  - notifications: 2.13.1
  - oauth2: 1.13.0
  - password_policy: 1.15.0
  - passwords: 2022.12.20
  - photos: 2.0.1
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - related_resources: 1.0.3
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sharebymail: 1.15.0
  - support: 1.8.0
  - survey_client: 1.13.0
  - theming: 2.0.1
  - twofactor_backupcodes: 1.14.0
  - updatenotification: 1.15.0
  - user_status: 1.5.0
  - viewer: 1.9.0
  - workflowengine: 2.7.0
Disabled:
  - admin_audit
  - apporder: 0.15.0
  - bruteforcesettings
  - circles: 23.1.0
  - cms_pico_1.1.0-beta.1
  - contactsinteraction: 1.4.0
  - emlviewer: 1.0.2
  - encryption
  - end_to_end_encryption: 1.11.0-beta.1
  - external: 5.0.0
  - federation: 1.13.0
  - files_external
  - files_trashbin: 1.13.0
  - files_versions: 1.16.0
  - forms: 3.0.1
  - login_notes: 1.1.0
  - ocr: 6.0.58
  - recommendations: 1.2.0
  - suspicious_login
  - systemtags: 1.13.0
  - text: 3.4.1
  - twofactor_totp
  - user_ldap
  - weather_status: 1.3.0

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

CLI installation and upgrades
OS is Fedora 36

@Bockeman Bockeman added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Dec 7, 2022
@kesselb
Copy link
Contributor

kesselb commented Dec 7, 2022

Thank you for reporting this issue 👍

I will need your browser console log to investigate this issue. Open your console, reload your page and/or do the action leading to this issue and copy/paste the log in this thread.

How to access your browser console (Click to expand)

Chrome

  • Press either CTRL + SHIFT + J to open the “console” tab of the Developer Tools.
  • Alternative method:
    1. Press either CTRL + SHIFT + I or F12 to open the Developer Tools.
    2. Click the “console” tab.

Safari

  • Press CMD + ALT + I to open the Web Inspector.
  • See Chrome’s step 2. (Chrome and Safari have pretty much identical dev tools.)

Firefox

  • Press CTRL + SHIFT + K to open the Web console (COMMAND + SHIFT + K on Macs).
  • or, if Firebug is installed (recommended):
    1. Press F12 to open Firebug.
    2. Click on the “console” tab.

@XueSheng-GIT
Copy link

Maybe related: nextcloud/logreader#699

@criwe
Copy link

criwe commented Dec 8, 2022

Hi!
I´ve got the same problem after update an 23.0.11 to 23.0.12.
(Tested with php 7.4 and 8.0).
Browser Console says: POST domain.tld/index.php/login [HTTP/2 500 Internal Server Error 634ms]

Maybe the error has todo with the Two-Factor TOTP Provider. In my case login screen loads correct, after entering username and passwort -> the error occurs.
Is there a way to remove that app (I do not have an terminal for that installation...).
Thanks!

@kesselb
Copy link
Contributor

kesselb commented Dec 8, 2022

500 Internal Server Error

Please take a look at your logs and share the error message if possible.

@solracsf
Copy link
Member

solracsf commented Dec 9, 2022

Duplicate of nextcloud/logreader#815

@solracsf solracsf marked this as a duplicate of nextcloud/logreader#815 Dec 9, 2022
@criwe
Copy link

criwe commented Dec 9, 2022

@kesselb that installation runs on an shared hosting, so no real logfiles available...

But I´ve just deleted the nextcloud.log and tried to login (again white screen / Error 500).
A new nextcloud.log is created:

{"reqId":"Y5Lq4uFyqHBVmZ43RmSXwgAADCI","level":0,"time":"2022-12-09T07:59:30+00:00","remoteAddr":"123.456.789.123","user":"--","app":"encryption","method":"GET","url":"/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"23.0.12.2","data":{"app":"encryption"}}
{"reqId":"Y5Lq4-FyqHBVmZ43RmSXxAAADCI","level":0,"time":"2022-12-09T07:59:31+00:00","remoteAddr":"123.456.789.123","user":"--","app":"encryption","method":"GET","url":"/index.php/login","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"23.0.12.2","data":{"app":"encryption"}}
{"reqId":"Y5Lq4-FyqHBVmZ43RmSXywAADAY","level":0,"time":"2022-12-09T07:59:31+00:00","remoteAddr":"123.456.789.123","user":"--","app":"encryption","method":"GET","url":"/index.php/js/core/merged-template-prepend.js?v=4f41a6e2","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"23.0.12.2","data":{"app":"encryption"}}
{"reqId":"Y5Lq4-FyqHBVmZ43RmSdssdgAADBg","level":0,"time":"2022-12-09T07:59:31+00:00","remoteAddr":"123.456.789.123","user":"--","app":"encryption","method":"GET","url":"/index.php/apps/accessibility/css/user-a82fd95db10ff25dfad39f07372ebe37","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"23.0.12.2","data":{"app":"encryption"}}
{"reqId":"Y5Lq7eFyqHBsdj343RmSX4gAADQY","level":0,"time":"2022-12-09T07:59:41+00:00","remoteAddr":"123.456.789.123","user":"--","app":"encryption","method":"POST","url":"/index.php/login","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"23.0.12.2","data":{"app":"encryption"}}
{"reqId":"Y5Lq7eFyqHBsdj343RmSX4gAADQY","level":1,"time":"2022-12-09T07:59:41+00:00","remoteAddr":"123.456.789.123","user":"--","app":"no app in context","method":"POST","url":"/index.php/login","message":"IP address throttled because it reached the attempts limit in the last 30 minutes [action: login, delay: 200, ip: 123.456.789.123]","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"23.0.12.2","data":[]}
{"reqId":"Y5Lq7eFyqHBsdj343RmSX4gAADQY","level":1,"time":"2022-12-09T07:59:41+00:00","remoteAddr":"123.456.789.123","user":"theusername","app":"no app in context","method":"POST","url":"/index.php/login","message":"Unable to generate a URL for the named route \"contacts.contacts.directcircle\" as such route does not exist.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"23.0.12.2","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"contacts.contacts.directcircle\" as such route does not exist.","Code":0,"Trace":[{"file":"/www/htdocs/pathtonextcloud/lib/private/Route/Router.php","line":365,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->","args":["contacts.contacts.directcircle",["SbSC74Fdwcq9V8jzl56VVlo9k2yNmR4"],1]},{"file":"/www/htdocs/pathtonextcloud/lib/private/URLGenerator.php","line":91,"function":"generate","class":"OC\\Route\\Router","type":"->","args":["contacts.contacts.directcircle",["SbSC74Fdwcq9V8jzl56VVlo9k2yNmR4"]]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/Model/ModelManager.php","line":561,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->","args":["contacts.contacts.directcircle",["SbSC74Fdwcq9V8jzl56VVlo9k2yNmR4"]]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/Model/Circle.php","line":733,"function":"generateLinkToCircle","class":"OCA\\Circles\\Model\\ModelManager","type":"->","args":["SbSC74Fdwcq9V8jzl56VVlo9k2yNmR4"]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/Model/Circle.php","line":855,"function":"getUrl","class":"OCA\\Circles\\Model\\Circle","type":"->","args":[]},{"function":"jsonSerialize","class":"OCA\\Circles\\Model\\Circle","type":"->","args":[]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/Service/FederatedUserService.php","line":1293,"function":"json_encode","args":[{"__class__":"OCA\\Circles\\Model\\Circle"}]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/Service/FederatedUserService.php","line":1067,"function":"cacheSingleCircle","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->","args":[{"__class__":"OCA\\Circles\\Model\\FederatedUser"},{"__class__":"OCA\\Circles\\Model\\Circle"}]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/Service/FederatedUserService.php","line":979,"function":"getSingleCircle","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->","args":[{"__class__":"OCA\\Circles\\Model\\FederatedUser"},true]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/Service/FederatedUserService.php","line":533,"function":"fillSingleCircleId","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->","args":[{"__class__":"OCA\\Circles\\Model\\FederatedUser"},true]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/ShareByCircleProvider.php","line":563,"function":"getLocalFederatedUser","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Share20/Manager.php","line":1375,"function":"getSharedWith","class":"OCA\\Circles\\ShareByCircleProvider","type":"->","args":["*** sensitive parameters replaced ***",7,"*** sensitive parameters replaced ***",-1,0]},{"file":"/www/htdocs/pathtonextcloud/apps/files_sharing/lib/MountProvider.php","line":90,"function":"getSharedWith","class":"OC\\Share20\\Manager","type":"->","args":["*** sensitive parameters replaced ***",7,"*** sensitive parameters replaced ***",-1]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Files/Config/MountProviderCollection.php","line":118,"function":"getMountsForUser","class":"OCA\\Files_Sharing\\MountProvider","type":"->","args":["*** sensitive parameters replaced ***",{"__class__":"OC\\Files\\Storage\\StorageFactory"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Files/Filesystem.php","line":424,"function":"addMountForUser","class":"OC\\Files\\Config\\MountProviderCollection","type":"->","args":["*** sensitive parameters replaced ***",{"__class__":"OC\\Files\\Mount\\Manager"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Files/Filesystem.php","line":341,"function":"initMountPoints","class":"OC\\Files\\Filesystem","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/legacy/OC_Util.php","line":342,"function":"init","class":"OC\\Files\\Filesystem","type":"::","args":["*** sensitive parameters replaced ***","/theusername/files"]},{"file":"/www/htdocs/pathtonextcloud/apps/encryption/lib/Hooks/UserHooks.php","line":344,"function":"setupFS","class":"OC_Util","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/apps/encryption/lib/Hooks/UserHooks.php","line":176,"function":"setupFS","class":"OCA\\Encryption\\Hooks\\UserHooks","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/legacy/OC_Hook.php","line":106,"function":"login","class":"OCA\\Encryption\\Hooks\\UserHooks","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Server.php","line":590,"function":"emit","class":"OC_Hook","type":"::","args":["OC_User","post_login","*** sensitive parameters replaced ***"]},{"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Hooks/EmitterTrait.php","line":106,"function":"call_user_func_array","args":[{"__class__":"Closure"},["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Hooks/PublicEmitter.php","line":40,"function":"emit","class":"OC\\Hooks\\BasicEmitter","type":"->","args":["\\OC\\User","postLogin",["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/www/htdocs/pathtonextcloud/lib/private/User/Session.php","line":411,"function":"emit","class":"OC\\Hooks\\PublicEmitter","type":"->","args":["\\OC\\User","postLogin",["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/CompleteLoginCommand.php","line":44,"function":"completeLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\CompleteLoginCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/LoggedInCheckCommand.php","line":60,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\LoggedInCheckCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/EmailLoginCommand.php","line":70,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\EmailLoginCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/UidLoginCommand.php","line":54,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\UidLoginCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/UserDisabledCheckCommand.php","line":58,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\UserDisabledCheckCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/PreLoginHookCommand.php","line":53,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/Chain.php","line":108,"function":"process","class":"OC\\Authentication\\Login\\PreLoginHookCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/core/Controller/LoginController.php","line":329,"function":"process","class":"OC\\Authentication\\Login\\Chain","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"tryLogin","class":"OC\\Core\\Controller\\LoginController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\LoginController"},"tryLogin"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\LoginController"},"tryLogin"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Core\\Controller\\LoginController","tryLogin",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},["core.login.tryLogin"]]},{"file":"/www/htdocs/pathtonextcloud/lib/base.php","line":1015,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/login"]},{"file":"/www/htdocs/pathtonextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/www/htdocs/pathtonextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":143,"CustomMessage":"--"}}
{"reqId":"Y5Lq7eFyqHBsdj343RmSX4gAADQY","level":1,"time":"2022-12-09T07:59:41+00:00","remoteAddr":"123.456.789.123","user":"theusername","app":"no app in context","method":"POST","url":"/index.php/login","message":"Unable to generate a URL for the named route \"contacts.contacts.directcircle\" as such route does not exist.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"23.0.12.2","exception":{"Exception":"Symfony\\Component\\Routing\\Exception\\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"contacts.contacts.directcircle\" as such route does not exist.","Code":0,"Trace":[{"file":"/www/htdocs/pathtonextcloud/lib/private/Route/Router.php","line":365,"function":"generate","class":"Symfony\\Component\\Routing\\Generator\\UrlGenerator","type":"->","args":["contacts.contacts.directcircle",["SbSC74Fdwcq9V8jzl56VVlo9k2yNmR4"],1]},{"file":"/www/htdocs/pathtonextcloud/lib/private/URLGenerator.php","line":91,"function":"generate","class":"OC\\Route\\Router","type":"->","args":["contacts.contacts.directcircle",["SbSC74Fdwcq9V8jzl56VVlo9k2yNmR4"]]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/Model/ModelManager.php","line":561,"function":"linkToRoute","class":"OC\\URLGenerator","type":"->","args":["contacts.contacts.directcircle",["SbSC74Fdwcq9V8jzl56VVlo9k2yNmR4"]]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/Model/Circle.php","line":733,"function":"generateLinkToCircle","class":"OCA\\Circles\\Model\\ModelManager","type":"->","args":["SbSC74Fdwcq9V8jzl56VVlo9k2yNmR4"]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/Model/Circle.php","line":855,"function":"getUrl","class":"OCA\\Circles\\Model\\Circle","type":"->","args":[]},{"function":"jsonSerialize","class":"OCA\\Circles\\Model\\Circle","type":"->","args":[]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/Service/FederatedUserService.php","line":1293,"function":"json_encode","args":[{"__class__":"OCA\\Circles\\Model\\Circle"}]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/Service/FederatedUserService.php","line":1067,"function":"cacheSingleCircle","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->","args":[{"__class__":"OCA\\Circles\\Model\\FederatedUser"},{"__class__":"OCA\\Circles\\Model\\Circle"}]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/Service/FederatedUserService.php","line":979,"function":"getSingleCircle","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->","args":[{"__class__":"OCA\\Circles\\Model\\FederatedUser"},true]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/Service/FederatedUserService.php","line":533,"function":"fillSingleCircleId","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->","args":[{"__class__":"OCA\\Circles\\Model\\FederatedUser"},true]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/Service/FederatedUserService.php","line":727,"function":"getLocalFederatedUser","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/apps/circles/lib/CirclesManager.php","line":140,"function":"getFederatedUser","class":"OCA\\Circles\\Service\\FederatedUserService","type":"->","args":["*** sensitive parameters replaced ***",1]},{"file":"/www/htdocs/pathtonextcloud/apps/deck/lib/Service/CirclesService.php","line":111,"function":"getFederatedUser","class":"OCA\\Circles\\CirclesManager","type":"->","args":["*** sensitive parameters replaced ***",1]},{"file":"/www/htdocs/pathtonextcloud/apps/deck/lib/Db/BoardMapper.php","line":318,"function":"getUserCircles","class":"OCA\\Deck\\Service\\CirclesService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/apps/deck/lib/Db/BoardMapper.php","line":119,"function":"findAllByCircles","class":"OCA\\Deck\\Db\\BoardMapper","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***",true,"*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/apps/deck/lib/Sharing/DeckShareProvider.php","line":716,"function":"findAllForUser","class":"OCA\\Deck\\Db\\BoardMapper","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Share20/Manager.php","line":1375,"function":"getSharedWith","class":"OCA\\Deck\\Sharing\\DeckShareProvider","type":"->","args":["*** sensitive parameters replaced ***",12,"*** sensitive parameters replaced ***",-1,0]},{"file":"/www/htdocs/pathtonextcloud/apps/files_sharing/lib/MountProvider.php","line":92,"function":"getSharedWith","class":"OC\\Share20\\Manager","type":"->","args":["*** sensitive parameters replaced ***",12,"*** sensitive parameters replaced ***",-1]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Files/Config/MountProviderCollection.php","line":118,"function":"getMountsForUser","class":"OCA\\Files_Sharing\\MountProvider","type":"->","args":["*** sensitive parameters replaced ***",{"__class__":"OC\\Files\\Storage\\StorageFactory"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Files/Filesystem.php","line":424,"function":"addMountForUser","class":"OC\\Files\\Config\\MountProviderCollection","type":"->","args":["*** sensitive parameters replaced ***",{"__class__":"OC\\Files\\Mount\\Manager"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Files/Filesystem.php","line":341,"function":"initMountPoints","class":"OC\\Files\\Filesystem","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/legacy/OC_Util.php","line":342,"function":"init","class":"OC\\Files\\Filesystem","type":"::","args":["*** sensitive parameters replaced ***","/theusername/files"]},{"file":"/www/htdocs/pathtonextcloud/apps/encryption/lib/Hooks/UserHooks.php","line":344,"function":"setupFS","class":"OC_Util","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/apps/encryption/lib/Hooks/UserHooks.php","line":176,"function":"setupFS","class":"OCA\\Encryption\\Hooks\\UserHooks","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/legacy/OC_Hook.php","line":106,"function":"login","class":"OCA\\Encryption\\Hooks\\UserHooks","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Server.php","line":590,"function":"emit","class":"OC_Hook","type":"::","args":["OC_User","post_login","*** sensitive parameters replaced ***"]},{"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Hooks/EmitterTrait.php","line":106,"function":"call_user_func_array","args":[{"__class__":"Closure"},["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Hooks/PublicEmitter.php","line":40,"function":"emit","class":"OC\\Hooks\\BasicEmitter","type":"->","args":["\\OC\\User","postLogin",["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/www/htdocs/pathtonextcloud/lib/private/User/Session.php","line":411,"function":"emit","class":"OC\\Hooks\\PublicEmitter","type":"->","args":["\\OC\\User","postLogin",["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/CompleteLoginCommand.php","line":44,"function":"completeLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\CompleteLoginCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/LoggedInCheckCommand.php","line":60,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\LoggedInCheckCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/EmailLoginCommand.php","line":70,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\EmailLoginCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/UidLoginCommand.php","line":54,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\UidLoginCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/UserDisabledCheckCommand.php","line":58,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\UserDisabledCheckCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/PreLoginHookCommand.php","line":53,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Authentication/Login/Chain.php","line":108,"function":"process","class":"OC\\Authentication\\Login\\PreLoginHookCommand","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/core/Controller/LoginController.php","line":329,"function":"process","class":"OC\\Authentication\\Login\\Chain","type":"->","args":[{"__class__":"OC\\Authentication\\Login\\LoginData"}]},{"file":"/www/htdocs/pathtonextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"tryLogin","class":"OC\\Core\\Controller\\LoginController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\LoginController"},"tryLogin"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\LoginController"},"tryLogin"]},{"file":"/www/htdocs/pathtonextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Core\\Controller\\LoginController","tryLogin",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},["core.login.tryLogin"]]},{"file":"/www/htdocs/pathtonextcloud/lib/base.php","line":1015,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/login"]},{"file":"/www/htdocs/pathtonextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/www/htdocs/pathtonextcloud/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":143,"CustomMessage":"--"}}
{"reqId":"Y5Lq7eFyqHBsdj343RmSX4gAADQY","level":3,"time":"2022-12-09T07:59:41+00:00","remoteAddr":"123.456.789.123","user":"theusername","app":"PHP","method":"POST","url":"/index.php/login","message":"Nesting level too deep - recursive dependency? at /www/htdocs/pathtonextcloud/lib/private/Log/ExceptionSerializer.php#220","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"23.0.12.2","data":{"app":"PHP"}}
{"reqId":"Y5Lq7uFyqHBVmZ43RmSX5QAADQY","level":0,"time":"2022-12-09T07:59:42+00:00","remoteAddr":"123.456.789.123","user":"--","app":"encryption","method":"GET","url":"/favicon.ico","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"23.0.12.2","data":{"app":"encryption"}}
{"reqId":"Y5L8uhFyqHBVmZ43RmSX5gAADQY","level":0,"time":"2022-12-09T07:59:42+00:00","remoteAddr":"123.456.789.123","user":"--","app":"encryption","method":"GET","url":"/index.php/login","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"23.0.12.2","data":{"app":"encryption"}}

@Bockeman
Copy link
Author

Bockeman commented Dec 9, 2022

@kesselb I've responded on nextcloud/logreader#815 (comment)
and closed this specific issue as it appears to be a duplicate.

@kesselb
Copy link
Contributor

kesselb commented Dec 9, 2022

@criwe

{
  "reqId": "Y5Lq7eFyqHBsdj343RmSX4gAADQY",
  "level": 3,
  "time": "2022-12-09T07:59:41+00:00",
  "remoteAddr": "123.456.789.123",
  "user": "theusername",
  "app": "PHP",
  "method": "POST",
  "url": "/index.php/login",
  "message": "Nesting level too deep - recursive dependency? at /www/htdocs/pathtonextcloud/lib/private/Log/ExceptionSerializer.php#220",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0",
  "version": "23.0.12.2",
  "data": {
    "app": "PHP"
  }
}

Above error happens on login.
Indeed not really helpful.

@bernd-wechner
Copy link

I have the same problem. Just saying:

Nextcloud Hub 7 (28.0.1)

$ php --version
PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.2-1ubuntu2.14, Copyright (c), by Zend Technologies
    with Xdebug v3.1.2, Copyright (c) 2002-2021, by Derick Rethans

I can see the log file in the data director as nextcloud.log. It looks recently updated and is about 10MB in size.

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 25-feedback bug needs info
Projects
None yet
Development

No branches or pull requests

7 participants