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]: share by link broken - internal server error #46301

Closed
5 of 8 tasks
proserver1 opened this issue Jul 4, 2024 · 4 comments
Closed
5 of 8 tasks

[Bug]: share by link broken - internal server error #46301

proserver1 opened this issue Jul 4, 2024 · 4 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@proserver1
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

on all our instances (29.2, 29.3, 28.7) share by link is not woking anymore

Steps to reproduce

  1. make a new share by link
  2. call the link in anonymous / not authenticated browser
  3. webpage shows "internal server error"
  4. logs show error see further down

Expected behavior

open/show shared file/folder

Installation method

Community Manual installation with Archive

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

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. 28.0.1 to 28.0.2)

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***",
        "trusted_domains": [
            "cloud.example.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.3.4",
        "installed": true,
        "theme": "",
        "maintenance": false,
        "overwritehost": "cloud.example.com",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "loglevel": 0,
        "appstore.experimental.enabled": false,
        "updater.release.channel": "stable",
        "overwrite.cli.url": "https:\/\/cloud.example.com",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "updatechecker": false,
        "trashbin_retention_obligation": "auto, 30",
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "apps_paths": [
            {
                "url": "\/apps",
                "path": "\/srv\/cloud9\/nextcloud-29.0.3\/apps",
                "writable": false
            },
            {
                "url": "\/apps_custom",
                "path": "\/srv\/cloud9\/nextcloud-29.0.3\/apps_custom",
                "writable": true
            }
        ],
        "simpleSignUpLink.shown": false,
        "has_rebuilt_cache": true,
        "mysql.utf8mb4": true,
        "skeletondirectory": "",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "dbindex": 6,
            "timeout": 1.5
        },
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "app_install_overwrite": [
            "files_pdfviewer",
            "whiteboard",
            "impersonate",
            "news",
            "files_retention",
            "timetracker"
        ],
        "default_phone_region": "AT",
        "activity_expire_days": 3,
        "default_language": "de",
        "default_locale": "de_AT",
        "allow_local_remote_servers": true,
        "files_external_allow_create_new_local": false,
        "bulkupload.enabled": false,
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance_window_start": 1
    }
}

List of activated Apps

Enabled:
  - activity: 2.21.1
  - admin_audit: 1.19.0
  - bookmarks: 14.2.2
  - bruteforcesettings: 2.9.0
  - calendar: 4.7.9
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0
  - contacts: 6.0.0
  - contactsinteraction: 1.10.0
  - dashboard: 7.9.0
  - dav: 1.30.1
  - deck: 1.13.1
  - drawio: 3.0.2
  - federatedfilesharing: 1.19.0
  - federation: 1.19.0
  - files: 2.1.0
  - files_accesscontrol: 1.19.1
  - files_automatedtagging: 1.19.0
  - files_downloadlimit: 2.0.0
  - files_external: 1.21.0
  - files_lock: 29.0.1
  - files_pdfviewer: 2.10.0
  - files_reminders: 1.2.0
  - files_retention: 1.18.0
  - files_sharing: 1.21.0
  - files_trashbin: 1.19.0
  - files_versions: 1.22.0
  - flow_notifications: 1.9.0
  - groupfolders: 17.0.1
  - impersonate: 1.16.0
  - lookup_server_connector: 1.17.0
  - news: 24.0.0
  - notes: 4.10.0
  - notifications: 2.17.0
  - oauth2: 1.17.0
  - password_policy: 1.19.0
  - photos: 2.5.0
  - polls: 7.1.3
  - privacy: 1.13.0
  - provisioning_api: 1.19.0
  - recognize: 7.0.0
  - related_resources: 1.4.0
  - richdocuments: 8.4.3
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - spreed: 19.0.4
  - suspicious_login: 7.0.0
  - systemtags: 1.19.0
  - tables: 0.7.3
  - text: 3.10.1
  - theming: 2.4.0
  - twofactor_backupcodes: 1.18.0
  - twofactor_totp: 11.0.0-dev
  - user_retention: 1.12.1
  - viewer: 2.3.0
  - workflow_script: 1.14.1
  - workflowengine: 2.11.0
Disabled:
  - circles: 29.0.0-dev (installed 26.0.0)
  - encryption: 2.17.0
  - firstrunwizard: 2.18.0 (installed 2.4.0)
  - logreader: 2.14.0 (installed 2.0.0)
  - nextcloud_announcements: 1.18.0 (installed 1.4.0)
  - recommendations: 2.1.0 (installed 0.7.0)
  - serverinfo: 1.19.0 (installed 1.5.0)
  - support: 1.12.0 (installed 1.0.0)
  - survey_client: 1.17.0 (installed 1.0.0)
  - updatenotification: 1.19.1 (installed 1.10.0)
  - user_ldap: 1.20.0
  - user_status: 1.9.0 (installed 1.0.1)
  - weather_status: 1.9.0 (installed 1.0.0)

Nextcloud Signing status

Results
=======
- core
	- INVALID_HASH
		- core/js/mimetypelist.js
	- EXTRA_FILE
		- core/img/filetypes/drawio.svg
		- core/img/filetypes/dwb.svg

Raw output
==========
Array
(
    [core] => Array
        (
            [INVALID_HASH] => Array
                (
                    [core/js/mimetypelist.js] => Array
                        (
                            [expected] => 5b121122c0bec0580402c04605700056ee06eb553a4692bfc085ad3fc17aa49af43ca7795e98cbd22383020bfa9809bf3cc824b1673595f461479afb602bcec4
                            [current] => 3780abf2631567308dea2792113a813b71ed713c53769f4197a5e6205a4c2f1f6f6d84c8d58037e0a49b5148caf3be55276bf23f5e215e0e4d27cc8102c45b09
                        )

                )

            [EXTRA_FILE] => Array
                (
                    [core/img/filetypes/drawio.svg] => Array
                        (
                            [expected] => 
                            [current] => 92e0974cf869bf8ab969c3442dc2b80d55fde36441d22924db74916a06b407520aa2a9dc39336f9157195ebede697ffac0e639360879255ab91932d406e1897d
                        )

                    [core/img/filetypes/dwb.svg] => Array
                        (
                            [expected] => 
                            [current] => 43731dd5f17a048112ea5109b40b02ec019b3ee2324385a0f448e3bd2264cb13dc160ab018d893f92f8e2f168fd09009b51578c8c6b97a02a1617c67ac087701
                        )

                )

        )

)

Nextcloud Logs

"reqId":"t0g6EML3AIZ6kARSfuH4","level":0,"time":"2024-07-04T10:09:00+00:00","remoteAddr":"a.b.c.d","user":"--","app":"no app in context","method":"GET","url":"/index.php/s/S4exnXXsawRKKBE","message":"The loading of lazy AppConfig values have been requested","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36","version":"29.0.3.4","exception":{"Exception":"RuntimeException","Message":"ignorable exception","Code":0,"Trace":[{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/AppConfig.php","line":1208,"function":"loadConfig","class":"OC\\AppConfig","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/AppConfig.php","line":127,"function":"loadConfigAll","class":"OC\\AppConfig","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/AllConfig.php","line":196,"function":"getKeys","class":"OC\\AppConfig","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/Security/Bruteforce/Throttler.php","line":120,"function":"getAppKeys","class":"OC\\AllConfig","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/Security/Bruteforce/Throttler.php","line":200,"function":"isBypassListed","class":"OC\\Security\\Bruteforce\\Throttler","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/Security/Bruteforce/Throttler.php","line":217,"function":"getAttempts","class":"OC\\Security\\Bruteforce\\Throttler","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/Security/Bruteforce/Throttler.php","line":290,"function":"getDelay","class":"OC\\Security\\Bruteforce\\Throttler","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/AppFramework/Middleware/PublicShare/PublicShareMiddleware.php","line":65,"function":"sleepDelayOrThrowOnMax","class":"OC\\Security\\Bruteforce\\Throttler","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":96,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\PublicShare\\PublicShareMiddleware","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/AppFramework/Http/Dispatcher.php","line":130,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/Route/Router.php","line":338,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/base.php","line":1050,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/srv/hidden/nextcloud-29.0.3/lib/private/AppConfig.php","Line":1222,"message":"The loading of lazy AppConfig values have been requested","exception":{},"CustomMessage":"The loading of lazy AppConfig values have been requested"}}
{"reqId":"t0g6EML3AIZ6kARSfuH4","level":3,"time":"2024-07-04T10:09:00+00:00","remoteAddr":"a.b.c.d","user":"--","app":"index","method":"GET","url":"/index.php/s/S4exnXXsawRKKBE","message":"OCA\\Calendar\\Service\\Appointments\\AppointmentConfigService::getAllAppointmentConfigurations(): Argument #1 ($userId) must be of type string, null given, called in /srv/hidden/nextcloud-29.0.3/apps_custom/calendar/lib/Service/CalendarInitialStateService.php on line 96 in file '/srv/hidden/nextcloud-29.0.3/apps_custom/calendar/lib/Service/Appointments/AppointmentConfigService.php' line 62","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36","version":"29.0.3.4","exception":{"Exception":"Exception","Message":"OCA\\Calendar\\Service\\Appointments\\AppointmentConfigService::getAllAppointmentConfigurations(): Argument #1 ($userId) must be of type string, null given, called in /srv/hidden/nextcloud-29.0.3/apps_custom/calendar/lib/Service/CalendarInitialStateService.php on line 96 in file '/srv/hidden/nextcloud-29.0.3/apps_custom/calendar/lib/Service/Appointments/AppointmentConfigService.php' line 62","Code":0,"Trace":[{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/Route/Router.php","line":338,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/base.php","line":1050,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/srv/hidden/nextcloud-29.0.3/lib/private/AppFramework/Http/Dispatcher.php","Line":170,"Previous":{"Exception":"TypeError","Message":"OCA\\Calendar\\Service\\Appointments\\AppointmentConfigService::getAllAppointmentConfigurations(): Argument #1 ($userId) must be of type string, null given, called in /srv/hidden/nextcloud-29.0.3/apps_custom/calendar/lib/Service/CalendarInitialStateService.php on line 96","Code":0,"Trace":[{"file":"/srv/hidden/nextcloud-29.0.3/apps_custom/calendar/lib/Service/CalendarInitialStateService.php","line":96,"function":"getAllAppointmentConfigurations","class":"OCA\\Calendar\\Service\\Appointments\\AppointmentConfigService","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/apps_custom/calendar/lib/Listener/CalendarReferenceListener.php","line":48,"function":"run","class":"OCA\\Calendar\\Service\\CalendarInitialStateService","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Calendar\\Listener\\CalendarReferenceListener","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/EventDispatcher/EventDispatcher.php","line":86,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/EventDispatcher/EventDispatcher.php","line":98,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/apps/text/lib/Listeners/LoadEditorListener.php","line":50,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Text\\Listeners\\LoadEditorListener","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/EventDispatcher/EventDispatcher.php","line":86,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/EventDispatcher/EventDispatcher.php","line":98,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/apps_custom/deck/lib/AppInfo/Application.php","line":104,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"OCA\\Deck\\AppInfo\\{closure}","class":"OCA\\Deck\\AppInfo\\Application","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/srv/hidden/nextcloud-29.0.3/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/EventDispatcher/EventDispatcher.php","line":86,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/EventDispatcher/EventDispatcher.php","line":98,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/apps/text/lib/Listeners/LoadViewerListener.php","line":52,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Text\\Listeners\\LoadViewerListener","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/EventDispatcher/EventDispatcher.php","line":86,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/EventDispatcher/EventDispatcher.php","line":98,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/apps/files_sharing/lib/DefaultPublicShareTemplateProvider.php","line":237,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/apps/files_sharing/lib/Controller/ShareController.php","line":346,"function":"renderPage","class":"OCA\\Files_Sharing\\DefaultPublicShareTemplateProvider","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"showShare","class":"OCA\\Files_Sharing\\Controller\\ShareController","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/private/Route/Router.php","line":338,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/srv/hidden/nextcloud-29.0.3/lib/base.php","line":1050,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/srv/hidden/nextcloud-29.0.3/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/srv/hidden/nextcloud-29.0.3/apps_custom/calendar/lib/Service/Appointments/AppointmentConfigService.php","Line":62},"message":"OCA\\Calendar\\Service\\Appointments\\AppointmentConfigService::getAllAppointmentConfigurations(): Argument #1 ($userId) must be of type string, null given, called in /srv/hidden/nextcloud-29.0.3/apps_custom/calendar/lib/Service/CalendarInitialStateService.php on line 96 in file '/srv/hidden/nextcloud-29.0.3/apps_custom/calendar/lib/Service/Appointments/AppointmentConfigService.php' line 62","exception":{},"CustomMessage":"OCA\\Calendar\\Service\\Appointments\\AppointmentConfigService::getAllAppointmentConfigurations(): Argument #1 ($userId) must be of type string, null given, called in /srv/hidden/nextcloud-29.0.3/apps_custom/calendar/lib/Service/CalendarInitialStateService.php on line 96 in file '/srv/hidden/nextcloud-29.0.3/apps_custom/calendar/lib/Service/Appointments/AppointmentConfigService.php' line 62"}}

Additional info

No response

@proserver1 proserver1 added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jul 4, 2024
@michel-thomas
Copy link

michel-thomas commented Jul 4, 2024

The same for me, 29.0.3, on any browser.
Nothing in logs (level 2).

@oskarkender
Copy link

Same for me.
{"reqId":"ZoZ-siEt@YwQ5N8Dy7vlBAAAAQ8","level":3,"time":"July 04, 2024 12:55:48","remoteAddr":"x.x.x.x","user":"--","app":"index","method":"GET","url":"/s/H7S9E4QNTX7cWKF","message":"OCA\Calendar\Service\Appointments\AppointmentConfigService::getAllAppointmentConfigurations(): Argument #1 ($userId) must be of type string, null given, called in /var/www/html/nextcloud/apps/calendar/lib/Service/CalendarInitialStateService.php on line 96 in file '/var/www/html/nextcloud/apps/calendar/lib/Service/Appointments/AppointmentConfigService.php' line 62","userAgent":"Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 10.0; WOW64; Trident/7.0; ms-office)","version":"29.0.3.4","exception":{"Exception":"Exception","Message":"OCA\Calendar\Service\Appointments\AppointmentConfigService::getAllAppointmentConfigurations(): Argument #1 ($userId) must be of type string, null given, called in /var/www/html/nextcloud/apps/calendar/lib/Service/CalendarInitialStateService.php on line 96 in file '/var/www/html/nextcloud/apps/calendar/lib/Service/Appointments/AppointmentConfigService.php' line 62","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Files_Sharing\Controller\ShareController"],"showShare"]},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":338,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\Files_Sharing\Controller\ShareController","showShare",["OC\AppFramework\DependencyInjection\DIContainer"],["H7S9E4QNTX7cWKF","files_sharing.share.showshare"]]},{"file":"/var/www/html/nextcloud/lib/base.php","line":1050,"function":"match","class":"OC\Route\Router","type":"->","args":["/s/H7S9E4QNTX7cWKF"]},{"file":"/var/www/html/nextcloud/index.php","line":49,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":170,"Previous":{"Exception":"TypeError","Message":"OCA\Calendar\Service\Appointments\AppointmentConfigService::getAllAppointmentConfigurations(): Argument #1 ($userId) must be of type string, null given, called in /var/www/html/nextcloud/apps/calendar/lib/Service/CalendarInitialStateService.php on line 96","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/calendar/lib/Service/CalendarInitialStateService.php","line":96,"function":"getAllAppointmentConfigurations","class":"OCA\Calendar\Service\Appointments\AppointmentConfigService","type":"->","args":[null]},{"file":"/var/www/html/nextcloud/apps/calendar/lib/Listener/CalendarReferenceListener.php","line":48,"function":"run","class":"OCA\Calendar\Service\CalendarInitialStateService","type":"->","args":[]},{"file":"/var/www/html/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\Calendar\Listener\CalendarReferenceListener","type":"->","args":["*** sensitive parameters replaced "]},{"file":"/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\EventDispatcher\ServiceEventListener","type":"->","args":[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced "]},{"file":"/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"->","args":[[["Closure"],["Closure"],["Closure"],["Closure"],["Closure"]]," sensitive parameters replaced "," sensitive parameters replaced "]},{"file":"/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":86,"function":"dispatch","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"->","args":[" sensitive parameters replaced "," sensitive parameters replaced "]},{"file":"/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":98,"function":"dispatch","class":"OC\EventDispatcher\EventDispatcher","type":"->","args":[" sensitive parameters replaced "," sensitive parameters replaced "]},{"file":"/var/www/html/nextcloud/apps/text/lib/Listeners/LoadEditorListener.php","line":50,"function":"dispatchTyped","class":"OC\EventDispatcher\EventDispatcher","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\Text\Listeners\LoadEditorListener","type":"->","args":[["OCA\Text\Event\LoadEditor"]]},{"file":"/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\EventDispatcher\ServiceEventListener","type":"->","args":[["OCA\Text\Event\LoadEditor"],"OCA\Text\Event\LoadEditor"," sensitive parameters replaced "]},{"file":"/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"->","args":[[["Closure"]],"OCA\Text\Event\LoadEditor",["OCA\Text\Event\LoadEditor"]]},{"file":"/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":86,"function":"dispatch","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"->","args":[["OCA\Text\Event\LoadEditor"],"OCA\Text\Event\LoadEditor"]},{"file":"/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":98,"function":"dispatch","class":"OC\EventDispatcher\EventDispatcher","type":"->","args":["OCA\Text\Event\LoadEditor",["OCA\Text\Event\LoadEditor"]]},{"file":"/var/www/html/nextcloud/apps/deck/lib/AppInfo/Application.php","line":104,"function":"dispatchTyped","class":"OC\EventDispatcher\EventDispatcher","type":"->","args":[["OCA\Text\Event\LoadEditor"]]},{"file":"/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"OCA\Deck\AppInfo\{closure}","class":"OCA\Deck\AppInfo\Application","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"->","args":[[["Closure"],["Closure"],["Closure"],["Closure"],["Closure"]]," sensitive parameters replaced "," sensitive parameters replaced "]},{"file":"/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":86,"function":"dispatch","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"->","args":[" sensitive parameters replaced "," sensitive parameters replaced "]},{"file":"/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":98,"function":"dispatch","class":"OC\EventDispatcher\EventDispatcher","type":"->","args":[" sensitive parameters replaced "," sensitive parameters replaced "]},{"file":"/var/www/html/nextcloud/apps/text/lib/Listeners/LoadViewerListener.php","line":52,"function":"dispatchTyped","class":"OC\EventDispatcher\EventDispatcher","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\Text\Listeners\LoadViewerListener","type":"->","args":[["OCA\Viewer\Event\LoadViewer"]]},{"file":"/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":230,"function":"__invoke","class":"OC\EventDispatcher\ServiceEventListener","type":"->","args":[["OCA\Viewer\Event\LoadViewer"],"OCA\Viewer\Event\LoadViewer"," sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":59,"function":"callListeners","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"->","args":[[["Closure"],["Closure"],["Closure"],["Closure"]],"OCA\Viewer\Event\LoadViewer",["OCA\Viewer\Event\LoadViewer"]]},{"file":"/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":86,"function":"dispatch","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"->","args":[["OCA\Viewer\Event\LoadViewer"],"OCA\Viewer\Event\LoadViewer"]},{"file":"/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":98,"function":"dispatch","class":"OC\EventDispatcher\EventDispatcher","type":"->","args":["OCA\Viewer\Event\LoadViewer",["OCA\Viewer\Event\LoadViewer"]]},{"file":"/var/www/html/nextcloud/apps/files_sharing/lib/DefaultPublicShareTemplateProvider.php","line":237,"function":"dispatchTyped","class":"OC\EventDispatcher\EventDispatcher","type":"->","args":[["OCA\Viewer\Event\LoadViewer"]]},{"file":"/var/www/html/nextcloud/apps/files_sharing/lib/Controller/ShareController.php","line":346,"function":"renderPage","class":"OCA\Files_Sharing\DefaultPublicShareTemplateProvider","type":"->","args":[["OC\Share20\Share"],"H7S9E4QNTX7cWKF",""]},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"showShare","class":"OCA\Files_Sharing\Controller\ShareController","type":"->","args":[""]},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Files_Sharing\Controller\ShareController"],"showShare"]},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Files_Sharing\Controller\ShareController"],"showShare"]},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":338,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\Files_Sharing\Controller\ShareController","showShare",["OC\AppFramework\DependencyInjection\DIContainer"],["H7S9E4QNTX7cWKF","files_sharing.share.showshare"]]},{"file":"/var/www/html/nextcloud/lib/base.php","line":1050,"function":"match","class":"OC\Route\Router","type":"->","args":["/s/H7S9E4QNTX7cWKF"]},{"file":"/var/www/html/nextcloud/index.php","line":49,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/nextcloud/apps/calendar/lib/Service/Appointments/AppointmentConfigService.php","Line":62},"message":"OCA\Calendar\Service\Appointments\AppointmentConfigService::getAllAppointmentConfigurations(): Argument #1 ($userId) must be of type string, null given, called in /var/www/html/nextcloud/apps/calendar/lib/Service/CalendarInitialStateService.php on line 96 in file '/var/www/html/nextcloud/apps/calendar/lib/Service/Appointments/AppointmentConfigService.php' line 62","exception":{},"CustomMessage":"OCA\Calendar\Service\Appointments\AppointmentConfigService::getAllAppointmentConfigurations(): Argument #1 ($userId) must be of type string, null given, called in /var/www/html/nextcloud/apps/calendar/lib/Service/CalendarInitialStateService.php on line 96 in file '/var/www/html/nextcloud/apps/calendar/lib/Service/Appointments/AppointmentConfigService.php' line 62"}}

Disabling Calendar app works properly

@michel-thomas
Copy link

Probably linked to nextcloud/calendar#6113

@MacLemon
Copy link

MacLemon commented Jul 4, 2024

Can confirm that this problem is caused by Calendar 4.7.9.

The fix is to update Calendar to 4.7.10.

Fix confirmed working for

  • NC 27.0.8
  • NC 28.0.7
  • NC 29.0.3

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 bug
Projects
None yet
Development

No branches or pull requests

4 participants