Skip to content

[Bug]: Error access settings/admin/logging nextcloud 28.0.0 RC1 #1064

Closed as not planned

Description

@sagitariozod

⚠️ This issue respects the following points: ⚠️

Bug description

After upgrade to nextcloud 28.0.0 RC1, I cannot access the logs screen.

Steps to reproduce

  1. Install server nextcloud 28.0.0 RC1
  2. Access to settings/admin/logging

Expected behavior

View logs.

Installation method

Community Web installer on a VPS or web space

Nextcloud Server version

28

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MySQL

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?

Encryption is Disabled

What user-backends are you using?

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

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "minube.**.com",
            "minube.**.tk",
            "www.**.com",
            "localhost"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/minube.**.com",
        "dbtype": "mysql",
        "version": "28.0.0.7",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "default_language": "es",
        "default_locale": "es_ES",
        "default_phone_region": "ES",
        "installed": true,
        "maintenance": false,
        "theme": "",
        "loglevel": 0,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "updater.release.channel": "beta",
        "log_rotate_size": 104857600,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Memcached",
        "memcache.locking": "\\OC\\Memcache\\Memcached",
        "memcached_servers": [
            [
                "localhost",
                11211
            ]
        ],
        "mail_sendmailmode": "smtp",
        "mysql.utf8mb4": true,
        "mail_smtpauthtype": "LOGIN",
        "app_install_overwrite": [
            "recommendation_assistant",
            "ownbackup",
            "nextbackup",
            "epubreader"
        ],
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

List of activated Apps

Enabled:
  - activity: 2.20.0
  - admin_audit: 1.18.0
  - bruteforcesettings: 2.8.0
  - cloud_federation_api: 1.11.0
  - dav: 1.29.1
  - federatedfilesharing: 1.18.0
  - files: 2.0.0
  - files_external: 1.20.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
  - firstrunwizard: 2.17.0
  - logreader: 2.13.0
  - lookup_server_connector: 1.16.0
  - nextcloud_announcements: 1.17.0
  - notifications: 2.16.0
  - oauth2: 1.16.3
  - password_policy: 1.18.0
  - privacy: 1.12.0
  - provisioning_api: 1.18.0
  - related_resources: 1.3.0
  - serverinfo: 1.18.0
  - settings: 1.10.0
  - sharebymail: 1.18.0
  - support: 1.11.0
  - survey_client: 1.16.0
  - suspicious_login: 6.0.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:
  - calendar: 4.6.0-beta.1 (installed 4.6.0-beta.1)
  - circles: 28.0.0-dev (installed 24.0.0)
  - comments: 1.18.0 (installed 1.3.0)
  - contacts: 5.5.0-beta.3 (installed 5.5.0-beta.3)
  - contactsinteraction: 1.9.0 (installed 1.8.0)
  - dashboard: 7.8.0 (installed 7.5.0)
  - encryption: 2.16.0
  - epubreader: 1.4.7 (installed 1.4.7)
  - federation: 1.18.0 (installed 1.17.0)
  - files_inotify: 0.1.15 (installed 0.1.15)
  - files_rightclick: 0.15.1 (installed 1.6.0)
  - metadata: 0.19.0 (installed 0.19.0)
  - nextbackup: 21.1.0 (installed 21.1.0)
  - notes: 4.9.0-beta.1 (installed 4.9.0-beta.1)
  - ownbackup: 19.9.0 (installed 19.9.0)
  - phonetrack: 0.7.6 (installed 0.7.6)
  - photos: 2.4.0 (installed 1.2.1)
  - qownnotesapi: 23.6.0 (installed 23.6.0)
  - quicknotes: 0.8.10 (installed 0.8.10)
  - recommendations: 2.0.0 (installed 0.6.0)
  - smb_test: 0.3.7 (installed 0.3.7)
  - systemtags: 1.18.0 (installed 1.10.0)
  - twofactor_totp: 10.0.0-beta.2
  - user_ldap: 1.19.0
  - user_status: 1.8.1 (installed 1.0.1)
  - weather_status: 1.8.0 (installed 1.0.0)

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

{"reqId":"xUY4PATa6UGIBr52Na47","level":3,"time":"2023-11-30T07:45:25+00:00","remoteAddr":"xx.xx.xx.xx","user":"****.com","app":"index","method":"GET","url":"/index.php/settings/admin/logging","message":"Syntax error","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36","version":"28.0.0.7","exception":{"Exception":"JsonException","Message":"Syntax error","Code":4,"Trace":[{"file":"????/nextcloud/apps/logreader/lib/Service/SettingsService.php","line":52,"function":"json_decode"},{"file":"????/nextcloud/apps/logreader/lib/Service/SettingsService.php","line":69,"function":"getRelativeDates","class":"OCA\\LogReader\\Service\\SettingsService","type":"->"},{"file":"????/nextcloud/apps/logreader/lib/Settings/Admin.php","line":46,"function":"getAppSettings","class":"OCA\\LogReader\\Service\\SettingsService","type":"->"},{"file":"????/nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php","line":129,"function":"getForm","class":"OCA\\LogReader\\Settings\\Admin","type":"->"},{"file":"????/nextcloud/apps/settings/lib/Controller/AdminSettingsController.php","line":86,"function":"formatSettings","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->"},{"file":"????/nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php","line":149,"function":"getSettings","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->"},{"file":"????/nextcloud/apps/settings/lib/Controller/AdminSettingsController.php","line":71,"function":"getIndexResponse","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->"},{"file":"????/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"index","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->"},{"file":"????/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"????/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"????/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"????/nextcloud/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"????/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"????/nextcloud/apps/logreader/lib/Service/SettingsService.php","Line":52,"message":"Syntax error","exception":{},"CustomMessage":"Syntax error"}}

Additional info

No response

Activity

  1. transferred this issue fromnextcloud/serveron Nov 30, 2023
  2. susnux commented on Dec 13, 2023

    @susnux
    Contributor

    Duplicate of #1073 (has more information)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions