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]: Error deleting file #38356

Closed
6 of 9 tasks
aentwist opened this issue May 18, 2023 · 9 comments
Closed
6 of 9 tasks

[Bug]: Error deleting file #38356

aentwist opened this issue May 18, 2023 · 9 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 26-feedback bug needs info stale Ticket or PR with no recent activity

Comments

@aentwist
Copy link

aentwist commented May 18, 2023

⚠️ 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

I just started up Nextcloud Docker and tried to upload 400 images. After about 5, many error messages began appearing and the page looked frozen. I figured maybe I might have ran into resource issues. So I tried to cancel the upload by refreshing the page to try again with smaller batches. It turns out about 10 images were uploaded. 2 are corrupted - only about half of the image data was saved (large parts of the images are blank). So I tried to delete them, which apparently doesn't work. I am more than happy to provide any details I can for the investigation of this issue. This issue could be 3 issues, right off the bat -

  1. started failing for unknown reasons
  2. files were partially uploaded (no database transaction rollback?)
  3. cannot delete

Steps to reproduce

  • Clean Docker installation, single-server
    • NC 26
    • Postgres
    • Caddy
    • NO Redis (reasonable; 4-user instance)
    • AWS S3
  • Created a few user accounts and put them into a group
  • Created a folder on a service account (quota 1 TB) and shared it with the group
    • full CRUD permissions
    • no expiration
  • On a user account tried to upload images to the shared folder

Expected behavior

  1. doesn't start failing
  2. files are not uploaded corrupted
  3. allows me to delete the corrupted files

Installation method

Community Docker image

Nextcloud Server version

26

Operating system

Debian/Ubuntu

PHP engine version

None

Web server

Other

Database engine version

PostgreSQL

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

None

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": {
        "maintenance": false,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "objectstore": {
            "class": "\\OC\\Files\\ObjectStore\\S3",
            "arguments": {
                "bucket": "foo-bar",
                "region": "us-east-1",
                "hostname": "",
                "port": "",
                "storageClass": "INTELLIGENT_TIERING",
                "objectPrefix": "urn:oid:",
                "autocreate": false,
                "use_ssl": true,
                "use_path_style": false,
                "legacy_auth": false,
                "key": "***REMOVED SENSITIVE VALUE***",
                "secret": "***REMOVED SENSITIVE VALUE***"
            }
        },
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": 465,
        "mail_smtpsecure": "ssl",
        "mail_smtpauth": true,
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "skeletondirectory": "",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "foo.bar"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "26.0.1.1",
        "overwrite.cli.url": "http:\/\/localhost",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/exiftool-bin\/exiftool-aarch64-musl",
        "memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/exiftool-bin\/go-vod-aarch64",
        "app_install_overwrite": [
            "apporder"
        ]
    }
}

List of activated Apps

Enabled:
  - activity: 2.18.0
  - apporder: 0.15.0
  - camerarawpreviews: 0.8.1
  - circles: 26.0.0
  - cloud_federation_api: 1.9.0
  - comments: 1.16.0
  - contactsinteraction: 1.7.0
  - dashboard: 7.6.0
  - dav: 1.25.0
  - federatedfilesharing: 1.16.0
  - federation: 1.16.0
  - files: 1.21.1
  - files_pdfviewer: 2.7.0
  - files_rightclick: 1.5.0
  - files_sharing: 1.18.0
  - files_trashbin: 1.16.0
  - files_versions: 1.19.1
  - firstrunwizard: 2.15.0
  - logreader: 2.11.0
  - lookup_server_connector: 1.14.0
  - memories: 5.1.0
  - nextcloud_announcements: 1.15.0
  - notifications: 2.14.0
  - oauth2: 1.14.0
  - password_policy: 1.16.0
  - privacy: 1.10.0
  - provisioning_api: 1.16.0
  - recommendations: 1.5.0
  - related_resources: 1.1.0-alpha1
  - serverinfo: 1.16.0
  - settings: 1.8.0
  - sharebymail: 1.16.0
  - support: 1.9.0
  - survey_client: 1.14.0
  - systemtags: 1.16.0
  - text: 3.7.2
  - theming: 2.1.1
  - twofactor_backupcodes: 1.15.0
  - updatenotification: 1.16.0
  - user_status: 1.6.0
  - viewer: 1.10.0
  - weather_status: 1.6.0
  - workflowengine: 2.8.0
Disabled:
  - admin_audit: 1.16.0
  - bruteforcesettings: 2.6.0
  - encryption: 2.14.0
  - files_external: 1.18.0
  - photos: 2.2.0 (installed 2.2.0)
  - suspicious_login: 4.4.0
  - twofactor_totp: 8.0.0-alpha.0
  - user_ldap: 1.16.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

see comment

Additional info

  • Postgres 15
@aentwist aentwist added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels May 18, 2023
@aentwist
Copy link
Author

The log file put me over the issue character limit. This thing is not an array but I had to make it pseudo-JSON instead of JSONL so my formatter would hit it.

nextcloud.log
[
  {
    "reqId": "beHDEFsRkysjoop3Svip",
    "level": 3,
    "time": "2023-05-18T01:18:08+00:00",
    "remoteAddr": "fo.o.ba.r",
    "user": "admin",
    "app": "",
    "method": "POST",
    "url": "/ocs/v2.php/cloud/users/user1/groups",
    "message": "",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0",
    "version": "26.0.1.1",
    "exception": {
      "Exception": "OCA\\Circles\\Tools\\Exceptions\\RequestNetworkException",
      "Message": "",
      "Code": 0,
      "Trace": [
        {
          "file": "/var/www/html/apps/circles/lib/Service/FederatedEventService.php",
          "line": 443,
          "function": "doRequest",
          "class": "OCA\\Circles\\Service\\FederatedEventService",
          "type": "->",
          "args": [["OCA\\Circles\\Tools\\Model\\NCRequest"]]
        },
        {
          "file": "/var/www/html/apps/circles/lib/Service/FederatedEventService.php",
          "line": 188,
          "function": "initBroadcast",
          "class": "OCA\\Circles\\Service\\FederatedEventService",
          "type": "->",
          "args": [["OCA\\Circles\\Model\\Federated\\FederatedEvent"]]
        },
        {
          "file": "/var/www/html/apps/circles/lib/Service/SyncService.php",
          "line": 454,
          "function": "newEvent",
          "class": "OCA\\Circles\\Service\\FederatedEventService",
          "type": "->",
          "args": [["OCA\\Circles\\Model\\Federated\\FederatedEvent"]]
        },
        {
          "file": "/var/www/html/apps/circles/lib/Listeners/GroupMemberAdded.php",
          "line": 71,
          "function": "groupMemberAdded",
          "class": "OCA\\Circles\\Service\\SyncService",
          "type": "->",
          "args": ["Family", "user1"]
        },
        {
          "file": "/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php",
          "line": 86,
          "function": "handle",
          "class": "OCA\\Circles\\Listeners\\GroupMemberAdded",
          "type": "->",
          "args": [["OCP\\Group\\Events\\UserAddedEvent"]]
        },
        {
          "file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
          "line": 251,
          "function": "__invoke",
          "class": "OC\\EventDispatcher\\ServiceEventListener",
          "type": "->",
          "args": [
            ["OCP\\Group\\Events\\UserAddedEvent"],
            "OCP\\Group\\Events\\UserAddedEvent",
            ["Symfony\\Component\\EventDispatcher\\EventDispatcher"]
          ]
        },
        {
          "file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
          "line": 73,
          "function": "callListeners",
          "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
          "type": "->",
          "args": [
            [["Closure"], ["Closure"], ["Closure"], ["Closure"]],
            "OCP\\Group\\Events\\UserAddedEvent",
            ["OCP\\Group\\Events\\UserAddedEvent"]
          ]
        },
        {
          "file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
          "line": 87,
          "function": "dispatch",
          "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
          "type": "->",
          "args": [
            ["OCP\\Group\\Events\\UserAddedEvent"],
            "OCP\\Group\\Events\\UserAddedEvent"
          ]
        },
        {
          "file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
          "line": 99,
          "function": "dispatch",
          "class": "OC\\EventDispatcher\\EventDispatcher",
          "type": "->",
          "args": [
            "OCP\\Group\\Events\\UserAddedEvent",
            ["OCP\\Group\\Events\\UserAddedEvent"]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Server.php",
          "line": 524,
          "function": "dispatchTyped",
          "class": "OC\\EventDispatcher\\EventDispatcher",
          "type": "->",
          "args": [["OCP\\Group\\Events\\UserAddedEvent"]]
        },
        {
          "function": "OC\\{closure}",
          "class": "OC\\Server",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/lib/private/Hooks/EmitterTrait.php",
          "line": 105,
          "function": "call_user_func_array",
          "args": [
            ["Closure"],
            [
              "*** sensitive parameters replaced ***",
              "*** sensitive parameters replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Hooks/PublicEmitter.php",
          "line": 40,
          "function": "emit",
          "class": "OC\\Hooks\\BasicEmitter",
          "type": "->",
          "args": [
            "\\OC\\Group",
            "postAddUser",
            [
              "*** sensitive parameters replaced ***",
              "*** sensitive parameters replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Group/Group.php",
          "line": 200,
          "function": "emit",
          "class": "OC\\Hooks\\PublicEmitter",
          "type": "->",
          "args": [
            "\\OC\\Group",
            "postAddUser",
            [
              "*** sensitive parameters replaced ***",
              "*** sensitive parameters replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/apps/provisioning_api/lib/Controller/UsersController.php",
          "line": 1229,
          "function": "addUser",
          "class": "OC\\Group\\Group",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 230,
          "function": "addToGroup",
          "class": "OCA\\Provisioning_API\\Controller\\UsersController",
          "type": "->",
          "args": ["user1", "Family"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 137,
          "function": "executeController",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->",
          "args": [
            ["OCA\\Provisioning_API\\Controller\\UsersController"],
            "addToGroup"
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/App.php",
          "line": 183,
          "function": "dispatch",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->",
          "args": [
            ["OCA\\Provisioning_API\\Controller\\UsersController"],
            "addToGroup"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Route/Router.php",
          "line": 315,
          "function": "main",
          "class": "OC\\AppFramework\\App",
          "type": "::",
          "args": [
            "OCA\\Provisioning_API\\Controller\\UsersController",
            "addToGroup",
            ["OC\\AppFramework\\DependencyInjection\\DIContainer"],
            ["user1", "ocs.provisioning_api.Users.addToGroup"]
          ]
        },
        {
          "file": "/var/www/html/ocs/v1.php",
          "line": 64,
          "function": "match",
          "class": "OC\\Route\\Router",
          "type": "->",
          "args": ["/ocsapp/cloud/users/user1/groups"]
        },
        {
          "file": "/var/www/html/ocs/v2.php",
          "line": 23,
          "args": ["/var/www/html/ocs/v1.php"],
          "function": "require_once"
        }
      ],
      "File": "/var/www/html/apps/circles/lib/Tools/Traits/TNCRequest.php",
      "Line": 100,
      "message": "",
      "exception": {},
      "CustomMessage": ""
    }
  },
  {
    "reqId": "dqj1Sf8fxtsIgnoWEIGU",
    "level": 3,
    "time": "2023-05-18T01:18:18+00:00",
    "remoteAddr": "fo.o.ba.r",
    "user": "admin",
    "app": "",
    "method": "POST",
    "url": "/ocs/v2.php/cloud/users/user3/groups",
    "message": "",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0",
    "version": "26.0.1.1",
    "exception": {
      "Exception": "OCA\\Circles\\Tools\\Exceptions\\RequestNetworkException",
      "Message": "",
      "Code": 0,
      "Trace": [
        {
          "file": "/var/www/html/apps/circles/lib/Service/FederatedEventService.php",
          "line": 443,
          "function": "doRequest",
          "class": "OCA\\Circles\\Service\\FederatedEventService",
          "type": "->",
          "args": [["OCA\\Circles\\Tools\\Model\\NCRequest"]]
        },
        {
          "file": "/var/www/html/apps/circles/lib/Service/FederatedEventService.php",
          "line": 188,
          "function": "initBroadcast",
          "class": "OCA\\Circles\\Service\\FederatedEventService",
          "type": "->",
          "args": [["OCA\\Circles\\Model\\Federated\\FederatedEvent"]]
        },
        {
          "file": "/var/www/html/apps/circles/lib/Service/SyncService.php",
          "line": 454,
          "function": "newEvent",
          "class": "OCA\\Circles\\Service\\FederatedEventService",
          "type": "->",
          "args": [["OCA\\Circles\\Model\\Federated\\FederatedEvent"]]
        },
        {
          "file": "/var/www/html/apps/circles/lib/Listeners/GroupMemberAdded.php",
          "line": 71,
          "function": "groupMemberAdded",
          "class": "OCA\\Circles\\Service\\SyncService",
          "type": "->",
          "args": ["Family", "user3"]
        },
        {
          "file": "/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php",
          "line": 86,
          "function": "handle",
          "class": "OCA\\Circles\\Listeners\\GroupMemberAdded",
          "type": "->",
          "args": [["OCP\\Group\\Events\\UserAddedEvent"]]
        },
        {
          "file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
          "line": 251,
          "function": "__invoke",
          "class": "OC\\EventDispatcher\\ServiceEventListener",
          "type": "->",
          "args": [
            ["OCP\\Group\\Events\\UserAddedEvent"],
            "OCP\\Group\\Events\\UserAddedEvent",
            ["Symfony\\Component\\EventDispatcher\\EventDispatcher"]
          ]
        },
        {
          "file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
          "line": 73,
          "function": "callListeners",
          "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
          "type": "->",
          "args": [
            [["Closure"], ["Closure"], ["Closure"], ["Closure"]],
            "OCP\\Group\\Events\\UserAddedEvent",
            ["OCP\\Group\\Events\\UserAddedEvent"]
          ]
        },
        {
          "file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
          "line": 87,
          "function": "dispatch",
          "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
          "type": "->",
          "args": [
            ["OCP\\Group\\Events\\UserAddedEvent"],
            "OCP\\Group\\Events\\UserAddedEvent"
          ]
        },
        {
          "file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
          "line": 99,
          "function": "dispatch",
          "class": "OC\\EventDispatcher\\EventDispatcher",
          "type": "->",
          "args": [
            "OCP\\Group\\Events\\UserAddedEvent",
            ["OCP\\Group\\Events\\UserAddedEvent"]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Server.php",
          "line": 524,
          "function": "dispatchTyped",
          "class": "OC\\EventDispatcher\\EventDispatcher",
          "type": "->",
          "args": [["OCP\\Group\\Events\\UserAddedEvent"]]
        },
        {
          "function": "OC\\{closure}",
          "class": "OC\\Server",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/lib/private/Hooks/EmitterTrait.php",
          "line": 105,
          "function": "call_user_func_array",
          "args": [
            ["Closure"],
            [
              "*** sensitive parameters replaced ***",
              "*** sensitive parameters replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Hooks/PublicEmitter.php",
          "line": 40,
          "function": "emit",
          "class": "OC\\Hooks\\BasicEmitter",
          "type": "->",
          "args": [
            "\\OC\\Group",
            "postAddUser",
            [
              "*** sensitive parameters replaced ***",
              "*** sensitive parameters replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Group/Group.php",
          "line": 200,
          "function": "emit",
          "class": "OC\\Hooks\\PublicEmitter",
          "type": "->",
          "args": [
            "\\OC\\Group",
            "postAddUser",
            [
              "*** sensitive parameters replaced ***",
              "*** sensitive parameters replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/apps/provisioning_api/lib/Controller/UsersController.php",
          "line": 1229,
          "function": "addUser",
          "class": "OC\\Group\\Group",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 230,
          "function": "addToGroup",
          "class": "OCA\\Provisioning_API\\Controller\\UsersController",
          "type": "->",
          "args": ["user3", "Family"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 137,
          "function": "executeController",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->",
          "args": [
            ["OCA\\Provisioning_API\\Controller\\UsersController"],
            "addToGroup"
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/App.php",
          "line": 183,
          "function": "dispatch",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->",
          "args": [
            ["OCA\\Provisioning_API\\Controller\\UsersController"],
            "addToGroup"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Route/Router.php",
          "line": 315,
          "function": "main",
          "class": "OC\\AppFramework\\App",
          "type": "::",
          "args": [
            "OCA\\Provisioning_API\\Controller\\UsersController",
            "addToGroup",
            ["OC\\AppFramework\\DependencyInjection\\DIContainer"],
            ["user3", "ocs.provisioning_api.Users.addToGroup"]
          ]
        },
        {
          "file": "/var/www/html/ocs/v1.php",
          "line": 64,
          "function": "match",
          "class": "OC\\Route\\Router",
          "type": "->",
          "args": ["/ocsapp/cloud/users/user3/groups"]
        },
        {
          "file": "/var/www/html/ocs/v2.php",
          "line": 23,
          "args": ["/var/www/html/ocs/v1.php"],
          "function": "require_once"
        }
      ],
      "File": "/var/www/html/apps/circles/lib/Tools/Traits/TNCRequest.php",
      "Line": 100,
      "message": "",
      "exception": {},
      "CustomMessage": ""
    }
  },
  {
    "reqId": "MSPyNKt1OTGoUBW0PEL8",
    "level": 3,
    "time": "2023-05-18T01:18:29+00:00",
    "remoteAddr": "fo.o.ba.r",
    "user": "admin",
    "app": "",
    "method": "POST",
    "url": "/ocs/v2.php/cloud/users/family/groups",
    "message": "",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0",
    "version": "26.0.1.1",
    "exception": {
      "Exception": "OCA\\Circles\\Tools\\Exceptions\\RequestNetworkException",
      "Message": "",
      "Code": 0,
      "Trace": [
        {
          "file": "/var/www/html/apps/circles/lib/Service/FederatedEventService.php",
          "line": 443,
          "function": "doRequest",
          "class": "OCA\\Circles\\Service\\FederatedEventService",
          "type": "->",
          "args": [["OCA\\Circles\\Tools\\Model\\NCRequest"]]
        },
        {
          "file": "/var/www/html/apps/circles/lib/Service/FederatedEventService.php",
          "line": 188,
          "function": "initBroadcast",
          "class": "OCA\\Circles\\Service\\FederatedEventService",
          "type": "->",
          "args": [["OCA\\Circles\\Model\\Federated\\FederatedEvent"]]
        },
        {
          "file": "/var/www/html/apps/circles/lib/Service/SyncService.php",
          "line": 454,
          "function": "newEvent",
          "class": "OCA\\Circles\\Service\\FederatedEventService",
          "type": "->",
          "args": [["OCA\\Circles\\Model\\Federated\\FederatedEvent"]]
        },
        {
          "file": "/var/www/html/apps/circles/lib/Listeners/GroupMemberAdded.php",
          "line": 71,
          "function": "groupMemberAdded",
          "class": "OCA\\Circles\\Service\\SyncService",
          "type": "->",
          "args": ["Family", "family"]
        },
        {
          "file": "/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php",
          "line": 86,
          "function": "handle",
          "class": "OCA\\Circles\\Listeners\\GroupMemberAdded",
          "type": "->",
          "args": [["OCP\\Group\\Events\\UserAddedEvent"]]
        },
        {
          "file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
          "line": 251,
          "function": "__invoke",
          "class": "OC\\EventDispatcher\\ServiceEventListener",
          "type": "->",
          "args": [
            ["OCP\\Group\\Events\\UserAddedEvent"],
            "OCP\\Group\\Events\\UserAddedEvent",
            ["Symfony\\Component\\EventDispatcher\\EventDispatcher"]
          ]
        },
        {
          "file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
          "line": 73,
          "function": "callListeners",
          "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
          "type": "->",
          "args": [
            [["Closure"], ["Closure"], ["Closure"], ["Closure"]],
            "OCP\\Group\\Events\\UserAddedEvent",
            ["OCP\\Group\\Events\\UserAddedEvent"]
          ]
        },
        {
          "file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
          "line": 87,
          "function": "dispatch",
          "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
          "type": "->",
          "args": [
            ["OCP\\Group\\Events\\UserAddedEvent"],
            "OCP\\Group\\Events\\UserAddedEvent"
          ]
        },
        {
          "file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
          "line": 99,
          "function": "dispatch",
          "class": "OC\\EventDispatcher\\EventDispatcher",
          "type": "->",
          "args": [
            "OCP\\Group\\Events\\UserAddedEvent",
            ["OCP\\Group\\Events\\UserAddedEvent"]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Server.php",
          "line": 524,
          "function": "dispatchTyped",
          "class": "OC\\EventDispatcher\\EventDispatcher",
          "type": "->",
          "args": [["OCP\\Group\\Events\\UserAddedEvent"]]
        },
        {
          "function": "OC\\{closure}",
          "class": "OC\\Server",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/lib/private/Hooks/EmitterTrait.php",
          "line": 105,
          "function": "call_user_func_array",
          "args": [
            ["Closure"],
            [
              "*** sensitive parameters replaced ***",
              "*** sensitive parameters replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Hooks/PublicEmitter.php",
          "line": 40,
          "function": "emit",
          "class": "OC\\Hooks\\BasicEmitter",
          "type": "->",
          "args": [
            "\\OC\\Group",
            "postAddUser",
            [
              "*** sensitive parameters replaced ***",
              "*** sensitive parameters replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Group/Group.php",
          "line": 200,
          "function": "emit",
          "class": "OC\\Hooks\\PublicEmitter",
          "type": "->",
          "args": [
            "\\OC\\Group",
            "postAddUser",
            [
              "*** sensitive parameters replaced ***",
              "*** sensitive parameters replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/apps/provisioning_api/lib/Controller/UsersController.php",
          "line": 1229,
          "function": "addUser",
          "class": "OC\\Group\\Group",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 230,
          "function": "addToGroup",
          "class": "OCA\\Provisioning_API\\Controller\\UsersController",
          "type": "->",
          "args": ["family", "Family"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 137,
          "function": "executeController",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->",
          "args": [
            ["OCA\\Provisioning_API\\Controller\\UsersController"],
            "addToGroup"
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/App.php",
          "line": 183,
          "function": "dispatch",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->",
          "args": [
            ["OCA\\Provisioning_API\\Controller\\UsersController"],
            "addToGroup"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Route/Router.php",
          "line": 315,
          "function": "main",
          "class": "OC\\AppFramework\\App",
          "type": "::",
          "args": [
            "OCA\\Provisioning_API\\Controller\\UsersController",
            "addToGroup",
            ["OC\\AppFramework\\DependencyInjection\\DIContainer"],
            ["family", "ocs.provisioning_api.Users.addToGroup"]
          ]
        },
        {
          "file": "/var/www/html/ocs/v1.php",
          "line": 64,
          "function": "match",
          "class": "OC\\Route\\Router",
          "type": "->",
          "args": ["/ocsapp/cloud/users/family/groups"]
        },
        {
          "file": "/var/www/html/ocs/v2.php",
          "line": 23,
          "args": ["/var/www/html/ocs/v1.php"],
          "function": "require_once"
        }
      ],
      "File": "/var/www/html/apps/circles/lib/Tools/Traits/TNCRequest.php",
      "Line": 100,
      "message": "",
      "exception": {},
      "CustomMessage": ""
    }
  },
  {
    "reqId": "J0IPoMDDoUHB5JmPILS0",
    "level": 3,
    "time": "2023-05-18T01:18:34+00:00",
    "remoteAddr": "fo.o.ba.r",
    "user": "admin",
    "app": "",
    "method": "POST",
    "url": "/ocs/v2.php/cloud/users/user2/groups",
    "message": "",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0",
    "version": "26.0.1.1",
    "exception": {
      "Exception": "OCA\\Circles\\Tools\\Exceptions\\RequestNetworkException",
      "Message": "",
      "Code": 0,
      "Trace": [
        {
          "file": "/var/www/html/apps/circles/lib/Service/FederatedEventService.php",
          "line": 443,
          "function": "doRequest",
          "class": "OCA\\Circles\\Service\\FederatedEventService",
          "type": "->",
          "args": [["OCA\\Circles\\Tools\\Model\\NCRequest"]]
        },
        {
          "file": "/var/www/html/apps/circles/lib/Service/FederatedEventService.php",
          "line": 188,
          "function": "initBroadcast",
          "class": "OCA\\Circles\\Service\\FederatedEventService",
          "type": "->",
          "args": [["OCA\\Circles\\Model\\Federated\\FederatedEvent"]]
        },
        {
          "file": "/var/www/html/apps/circles/lib/Service/SyncService.php",
          "line": 454,
          "function": "newEvent",
          "class": "OCA\\Circles\\Service\\FederatedEventService",
          "type": "->",
          "args": [["OCA\\Circles\\Model\\Federated\\FederatedEvent"]]
        },
        {
          "file": "/var/www/html/apps/circles/lib/Listeners/GroupMemberAdded.php",
          "line": 71,
          "function": "groupMemberAdded",
          "class": "OCA\\Circles\\Service\\SyncService",
          "type": "->",
          "args": ["Family", "user2"]
        },
        {
          "file": "/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php",
          "line": 86,
          "function": "handle",
          "class": "OCA\\Circles\\Listeners\\GroupMemberAdded",
          "type": "->",
          "args": [["OCP\\Group\\Events\\UserAddedEvent"]]
        },
        {
          "file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
          "line": 251,
          "function": "__invoke",
          "class": "OC\\EventDispatcher\\ServiceEventListener",
          "type": "->",
          "args": [
            ["OCP\\Group\\Events\\UserAddedEvent"],
            "OCP\\Group\\Events\\UserAddedEvent",
            ["Symfony\\Component\\EventDispatcher\\EventDispatcher"]
          ]
        },
        {
          "file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
          "line": 73,
          "function": "callListeners",
          "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
          "type": "->",
          "args": [
            [["Closure"], ["Closure"], ["Closure"], ["Closure"]],
            "OCP\\Group\\Events\\UserAddedEvent",
            ["OCP\\Group\\Events\\UserAddedEvent"]
          ]
        },
        {
          "file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
          "line": 87,
          "function": "dispatch",
          "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
          "type": "->",
          "args": [
            ["OCP\\Group\\Events\\UserAddedEvent"],
            "OCP\\Group\\Events\\UserAddedEvent"
          ]
        },
        {
          "file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
          "line": 99,
          "function": "dispatch",
          "class": "OC\\EventDispatcher\\EventDispatcher",
          "type": "->",
          "args": [
            "OCP\\Group\\Events\\UserAddedEvent",
            ["OCP\\Group\\Events\\UserAddedEvent"]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Server.php",
          "line": 524,
          "function": "dispatchTyped",
          "class": "OC\\EventDispatcher\\EventDispatcher",
          "type": "->",
          "args": [["OCP\\Group\\Events\\UserAddedEvent"]]
        },
        {
          "function": "OC\\{closure}",
          "class": "OC\\Server",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/lib/private/Hooks/EmitterTrait.php",
          "line": 105,
          "function": "call_user_func_array",
          "args": [
            ["Closure"],
            [
              "*** sensitive parameters replaced ***",
              "*** sensitive parameters replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Hooks/PublicEmitter.php",
          "line": 40,
          "function": "emit",
          "class": "OC\\Hooks\\BasicEmitter",
          "type": "->",
          "args": [
            "\\OC\\Group",
            "postAddUser",
            [
              "*** sensitive parameters replaced ***",
              "*** sensitive parameters replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Group/Group.php",
          "line": 200,
          "function": "emit",
          "class": "OC\\Hooks\\PublicEmitter",
          "type": "->",
          "args": [
            "\\OC\\Group",
            "postAddUser",
            [
              "*** sensitive parameters replaced ***",
              "*** sensitive parameters replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/apps/provisioning_api/lib/Controller/UsersController.php",
          "line": 1229,
          "function": "addUser",
          "class": "OC\\Group\\Group",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 230,
          "function": "addToGroup",
          "class": "OCA\\Provisioning_API\\Controller\\UsersController",
          "type": "->",
          "args": ["user2", "Family"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 137,
          "function": "executeController",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->",
          "args": [
            ["OCA\\Provisioning_API\\Controller\\UsersController"],
            "addToGroup"
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/App.php",
          "line": 183,
          "function": "dispatch",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->",
          "args": [
            ["OCA\\Provisioning_API\\Controller\\UsersController"],
            "addToGroup"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Route/Router.php",
          "line": 315,
          "function": "main",
          "class": "OC\\AppFramework\\App",
          "type": "::",
          "args": [
            "OCA\\Provisioning_API\\Controller\\UsersController",
            "addToGroup",
            ["OC\\AppFramework\\DependencyInjection\\DIContainer"],
            ["user2", "ocs.provisioning_api.Users.addToGroup"]
          ]
        },
        {
          "file": "/var/www/html/ocs/v1.php",
          "line": 64,
          "function": "match",
          "class": "OC\\Route\\Router",
          "type": "->",
          "args": ["/ocsapp/cloud/users/user2/groups"]
        },
        {
          "file": "/var/www/html/ocs/v2.php",
          "line": 23,
          "args": ["/var/www/html/ocs/v1.php"],
          "function": "require_once"
        }
      ],
      "File": "/var/www/html/apps/circles/lib/Tools/Traits/TNCRequest.php",
      "Line": 100,
      "message": "",
      "exception": {},
      "CustomMessage": ""
    }
  },
  {
    "reqId": "Lr1YVJ9LLpPQ4G3XfiPe",
    "level": 3,
    "time": "2023-05-18T02:00:03+00:00",
    "remoteAddr": "fo.o.ba.r",
    "user": "user1",
    "app": "no app in context",
    "method": "PUT",
    "url": "/remote.php/webdav/shared/2021-alaska/IMG_1622.jpg",
    "message": "Expected filesize of 2302948 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 57344 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0",
    "version": "26.0.1.1",
    "exception": {
      "Exception": "Sabre\\DAV\\Exception\\BadRequest",
      "Message": "Expected filesize of 2302948 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 57344 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.",
      "Code": 0,
      "Trace": [
        {
          "file": "/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php",
          "line": 149,
          "function": "put",
          "class": "OCA\\DAV\\Connector\\Sabre\\File",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
          "line": 1098,
          "function": "createFile",
          "class": "OCA\\DAV\\Connector\\Sabre\\Directory",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
          "line": 504,
          "function": "createFile",
          "class": "Sabre\\DAV\\Server",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
          "line": 89,
          "function": "httpPut",
          "class": "Sabre\\DAV\\CorePlugin",
          "type": "->",
          "args": [["Sabre\\HTTP\\Request"], ["Sabre\\HTTP\\Response"]]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
          "line": 472,
          "function": "emit",
          "class": "Sabre\\DAV\\Server",
          "type": "->",
          "args": [
            "method:PUT",
            [["Sabre\\HTTP\\Request"], ["Sabre\\HTTP\\Response"]]
          ]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
          "line": 253,
          "function": "invokeMethod",
          "class": "Sabre\\DAV\\Server",
          "type": "->",
          "args": [["Sabre\\HTTP\\Request"], ["Sabre\\HTTP\\Response"]]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
          "line": 321,
          "function": "start",
          "class": "Sabre\\DAV\\Server",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/apps/dav/appinfo/v1/webdav.php",
          "line": 85,
          "function": "exec",
          "class": "Sabre\\DAV\\Server",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/remote.php",
          "line": 172,
          "args": ["/var/www/html/apps/dav/appinfo/v1/webdav.php"],
          "function": "require_once"
        }
      ],
      "File": "/var/www/html/apps/dav/lib/Connector/Sabre/File.php",
      "Line": 297,
      "message": "Expected filesize of 2302948 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 57344 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.",
      "exception": {},
      "CustomMessage": "Expected filesize of 2302948 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 57344 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side."
    }
  },
  {
    "reqId": "0q15RKKD3BGIaxYhscU5",
    "level": 3,
    "time": "2023-05-18T02:00:03+00:00",
    "remoteAddr": "fo.o.ba.r",
    "user": "user1",
    "app": "no app in context",
    "method": "PUT",
    "url": "/remote.php/webdav/shared/2021-alaska/IMG_1621.jpg",
    "message": "Expected filesize of 2308131 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 253952 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0",
    "version": "26.0.1.1",
    "exception": {
      "Exception": "Sabre\\DAV\\Exception\\BadRequest",
      "Message": "Expected filesize of 2308131 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 253952 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.",
      "Code": 0,
      "Trace": [
        {
          "file": "/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php",
          "line": 149,
          "function": "put",
          "class": "OCA\\DAV\\Connector\\Sabre\\File",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
          "line": 1098,
          "function": "createFile",
          "class": "OCA\\DAV\\Connector\\Sabre\\Directory",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
          "line": 504,
          "function": "createFile",
          "class": "Sabre\\DAV\\Server",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
          "line": 89,
          "function": "httpPut",
          "class": "Sabre\\DAV\\CorePlugin",
          "type": "->",
          "args": [["Sabre\\HTTP\\Request"], ["Sabre\\HTTP\\Response"]]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
          "line": 472,
          "function": "emit",
          "class": "Sabre\\DAV\\Server",
          "type": "->",
          "args": [
            "method:PUT",
            [["Sabre\\HTTP\\Request"], ["Sabre\\HTTP\\Response"]]
          ]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
          "line": 253,
          "function": "invokeMethod",
          "class": "Sabre\\DAV\\Server",
          "type": "->",
          "args": [["Sabre\\HTTP\\Request"], ["Sabre\\HTTP\\Response"]]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
          "line": 321,
          "function": "start",
          "class": "Sabre\\DAV\\Server",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/apps/dav/appinfo/v1/webdav.php",
          "line": 85,
          "function": "exec",
          "class": "Sabre\\DAV\\Server",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/remote.php",
          "line": 172,
          "args": ["/var/www/html/apps/dav/appinfo/v1/webdav.php"],
          "function": "require_once"
        }
      ],
      "File": "/var/www/html/apps/dav/lib/Connector/Sabre/File.php",
      "Line": 297,
      "message": "Expected filesize of 2308131 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 253952 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.",
      "exception": {},
      "CustomMessage": "Expected filesize of 2308131 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 253952 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side."
    }
  },
  {
    "reqId": "6OppMRr9dBjrHZt5mmVT",
    "level": 3,
    "time": "2023-05-18T02:08:38+00:00",
    "remoteAddr": "fo.o.ba.r",
    "user": "--",
    "app": "index",
    "method": "GET",
    "url": "/index.php/core/preview?fileId=131&c=646586a3e35ff&x=313&y=313&forceIcon=0&a=1",
    "message": "Failed to connect to the database: An exception occurred in the driver: SQLSTATE[08006] [7] could not translate host name \"db\" to address: Try again",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0",
    "version": "26.0.1.1",
    "exception": {
      "Exception": "Doctrine\\DBAL\\Exception",
      "Message": "Failed to connect to the database: An exception occurred in the driver: SQLSTATE[08006] [7] could not translate host name \"db\" to address: Try again",
      "Code": 7,
      "Trace": [
        {
          "file": "/var/www/html/3rdparty/doctrine/dbal/src/Connection.php",
          "line": 1531,
          "function": "connect",
          "class": "OC\\DB\\Connection",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/3rdparty/doctrine/dbal/src/Connection.php",
          "line": 1029,
          "function": "getWrappedConnection",
          "class": "Doctrine\\DBAL\\Connection",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/DB/Connection.php",
          "line": 264,
          "function": "executeQuery",
          "class": "Doctrine\\DBAL\\Connection",
          "type": "->",
          "args": ["SELECT * FROM \"oc_appconfig\"", [], [], null]
        },
        {
          "file": "/var/www/html/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php",
          "line": 345,
          "function": "executeQuery",
          "class": "OC\\DB\\Connection",
          "type": "->",
          "args": ["SELECT * FROM \"oc_appconfig\"", [], []]
        },
        {
          "file": "/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php",
          "line": 280,
          "function": "execute",
          "class": "Doctrine\\DBAL\\Query\\QueryBuilder",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/AppConfig.php",
          "line": 418,
          "function": "execute",
          "class": "OC\\DB\\QueryBuilder\\QueryBuilder",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/AppConfig.php",
          "line": 184,
          "function": "loadConfigValues",
          "class": "OC\\AppConfig",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/AppConfig.php",
          "line": 374,
          "function": "getApps",
          "class": "OC\\AppConfig",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_App.php",
          "line": 976,
          "function": "getValues",
          "class": "OC\\AppConfig",
          "type": "->",
          "args": [false, "installed_version"]
        },
        {
          "file": "/var/www/html/lib/private/Server.php",
          "line": 729,
          "function": "getAppVersions",
          "class": "OC_App",
          "type": "::",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 171,
          "function": "OC\\{closure}",
          "class": "OC\\Server",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php",
          "line": 122,
          "function": "OC\\AppFramework\\Utility\\{closure}",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 138,
          "function": "offsetGet",
          "class": "Pimple\\Container",
          "type": "->",
          "args": ["OC\\Memcache\\Factory"]
        },
        {
          "file": "/var/www/html/lib/private/ServerContainer.php",
          "line": 171,
          "function": "query",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["OC\\Memcache\\Factory", true]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 65,
          "function": "query",
          "class": "OC\\ServerContainer",
          "type": "->",
          "args": ["OC\\Memcache\\Factory"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 193,
          "function": "get",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["OC\\Memcache\\Factory"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 171,
          "function": "OC\\AppFramework\\Utility\\{closure}",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php",
          "line": 118,
          "function": "OC\\AppFramework\\Utility\\{closure}",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 138,
          "function": "offsetGet",
          "class": "Pimple\\Container",
          "type": "->",
          "args": ["OCP\\ICacheFactory"]
        },
        {
          "file": "/var/www/html/lib/private/ServerContainer.php",
          "line": 171,
          "function": "query",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["OCP\\ICacheFactory", true]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 65,
          "function": "query",
          "class": "OC\\ServerContainer",
          "type": "->",
          "args": ["OCP\\ICacheFactory"]
        },
        {
          "file": "/var/www/html/lib/private/Server.php",
          "line": 1110,
          "function": "get",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["OCP\\ICacheFactory"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 171,
          "function": "OC\\{closure}",
          "class": "OC\\Server",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php",
          "line": 122,
          "function": "OC\\AppFramework\\Utility\\{closure}",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 138,
          "function": "offsetGet",
          "class": "Pimple\\Container",
          "type": "->",
          "args": ["OCP\\Lock\\ILockingProvider"]
        },
        {
          "file": "/var/www/html/lib/private/ServerContainer.php",
          "line": 171,
          "function": "query",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["OCP\\Lock\\ILockingProvider", true]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 65,
          "function": "query",
          "class": "OC\\ServerContainer",
          "type": "->",
          "args": ["OCP\\Lock\\ILockingProvider"]
        },
        {
          "file": "/var/www/html/lib/private/Server.php",
          "line": 2065,
          "function": "get",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["OCP\\Lock\\ILockingProvider"]
        },
        {
          "file": "/var/www/html/lib/private/Files/View.php",
          "line": 119,
          "function": "getLockingProvider",
          "class": "OC\\Server",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/Server.php",
          "line": 464,
          "function": "__construct",
          "class": "OC\\Files\\View",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 171,
          "function": "OC\\{closure}",
          "class": "OC\\Server",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php",
          "line": 122,
          "function": "OC\\AppFramework\\Utility\\{closure}",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 138,
          "function": "offsetGet",
          "class": "Pimple\\Container",
          "type": "->",
          "args": ["OC\\Files\\Node\\HookConnector"]
        },
        {
          "file": "/var/www/html/lib/private/ServerContainer.php",
          "line": 171,
          "function": "query",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["OC\\Files\\Node\\HookConnector", true]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 65,
          "function": "query",
          "class": "OC\\ServerContainer",
          "type": "->",
          "args": ["OC\\Files\\Node\\HookConnector"]
        },
        {
          "file": "/var/www/html/lib/private/Server.php",
          "line": 1467,
          "function": "get",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["OC\\Files\\Node\\HookConnector"]
        },
        {
          "file": "/var/www/html/lib/base.php",
          "line": 623,
          "function": "boot",
          "class": "OC\\Server",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/base.php",
          "line": 1165,
          "function": "init",
          "class": "OC",
          "type": "::",
          "args": []
        },
        {
          "file": "/var/www/html/index.php",
          "line": 34,
          "args": ["/var/www/html/lib/base.php"],
          "function": "require_once"
        }
      ],
      "File": "/var/www/html/lib/private/DB/Connection.php",
      "Line": 142,
      "CustomMessage": "--"
    }
  },
  {
    "reqId": "6OppMRr9dBjrHZt5mmVT",
    "level": 3,
    "time": "2023-05-18T02:08:39+00:00",
    "remoteAddr": "fo.o.ba.r",
    "user": "--",
    "app": "no app in context",
    "method": "GET",
    "url": "/index.php/core/preview?fileId=131&c=646586a3e35ff&x=313&y=313&forceIcon=0&a=1",
    "message": "Could not boot files_trashbin: Could not resolve trashManager! Class \"trashManager\" does not exist",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0",
    "version": "26.0.1.1",
    "exception": {
      "Exception": "OC\\AppFramework\\Utility\\QueryNotFoundException",
      "Message": "Could not resolve trashManager! Class \"trashManager\" does not exist",
      "Code": 0,
      "Trace": [
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 142,
          "function": "resolve",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["trashManager"]
        },
        {
          "file": "/var/www/html/lib/private/ServerContainer.php",
          "line": 171,
          "function": "query",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["trashManager", true]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php",
          "line": 468,
          "function": "query",
          "class": "OC\\ServerContainer",
          "type": "->",
          "args": ["trashManager", true]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 65,
          "function": "query",
          "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
          "type": "->",
          "args": ["trashManager"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php",
          "line": 56,
          "function": "get",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["trashManager"]
        },
        {
          "function": "OC\\AppFramework\\Bootstrap\\{closure}",
          "class": "OC\\AppFramework\\Bootstrap\\FunctionInjector",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php",
          "line": 66,
          "function": "array_map",
          "args": [
            ["Closure"],
            [
              ["ReflectionParameter", "serverContainer"],
              ["ReflectionParameter", "logger"],
              ["ReflectionParameter", "appManager"],
              "*** sensitive parameters replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php",
          "line": 50,
          "function": "injectFn",
          "class": "OC\\AppFramework\\Bootstrap\\FunctionInjector",
          "type": "->",
          "args": [
            [
              ["OCA\\Files_Trashbin\\AppInfo\\Application"],
              "registerTrashBackends"
            ]
          ]
        },
        {
          "file": "/var/www/html/apps/files_trashbin/lib/AppInfo/Application.php",
          "line": 61,
          "function": "injectFn",
          "class": "OC\\AppFramework\\Bootstrap\\BootContext",
          "type": "->",
          "args": [
            [
              ["OCA\\Files_Trashbin\\AppInfo\\Application"],
              "registerTrashBackends"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php",
          "line": 200,
          "function": "boot",
          "class": "OCA\\Files_Trashbin\\AppInfo\\Application",
          "type": "->",
          "args": [["OC\\AppFramework\\Bootstrap\\BootContext"]]
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_App.php",
          "line": 213,
          "function": "bootApp",
          "class": "OC\\AppFramework\\Bootstrap\\Coordinator",
          "type": "->",
          "args": ["files_trashbin"]
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_App.php",
          "line": 141,
          "function": "loadApp",
          "class": "OC_App",
          "type": "::",
          "args": ["files_trashbin"]
        },
        {
          "file": "/var/www/html/apps/dav/lib/AppInfo/Application.php",
          "line": 205,
          "function": "loadApps",
          "class": "OC_App",
          "type": "::",
          "args": [["dav"]]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php",
          "line": 200,
          "function": "boot",
          "class": "OCA\\DAV\\AppInfo\\Application",
          "type": "->",
          "args": [["OC\\AppFramework\\Bootstrap\\BootContext"]]
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_App.php",
          "line": 213,
          "function": "bootApp",
          "class": "OC\\AppFramework\\Bootstrap\\Coordinator",
          "type": "->",
          "args": ["dav"]
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_App.php",
          "line": 141,
          "function": "loadApp",
          "class": "OC_App",
          "type": "::",
          "args": ["dav"]
        },
        {
          "file": "/var/www/html/lib/private/Files/SetupManager.php",
          "line": 132,
          "function": "loadApps",
          "class": "OC_App",
          "type": "::",
          "args": [["filesystem"]]
        },
        {
          "file": "/var/www/html/lib/private/Files/SetupManager.php",
          "line": 351,
          "function": "setupBuiltinWrappers",
          "class": "OC\\Files\\SetupManager",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/Files/SetupManager.php",
          "line": 391,
          "function": "setupRoot",
          "class": "OC\\Files\\SetupManager",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/Files/Mount/Manager.php",
          "line": 95,
          "function": "setupForPath",
          "class": "OC\\Files\\SetupManager",
          "type": "->",
          "args": ["/appdata_ocywrk5de8my/js/core"]
        },
        {
          "file": "/var/www/html/lib/private/Files/View.php",
          "line": 1390,
          "function": "find",
          "class": "OC\\Files\\Mount\\Manager",
          "type": "->",
          "args": ["/appdata_ocywrk5de8my/js/core"]
        },
        {
          "file": "/var/www/html/lib/private/Files/Node/Root.php",
          "line": 205,
          "function": "getFileInfo",
          "class": "OC\\Files\\View",
          "type": "->",
          "args": ["/appdata_ocywrk5de8my/js/core", false]
        },
        {
          "function": "get",
          "class": "OC\\Files\\Node\\Root",
          "type": "->",
          "args": ["/appdata_ocywrk5de8my/js/core"]
        },
        {
          "file": "/var/www/html/lib/private/Files/Node/LazyFolder.php",
          "line": 72,
          "function": "call_user_func_array",
          "args": [
            [["OC\\Files\\Node\\Root"], "get"],
            ["appdata_ocywrk5de8my/js/core"]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Files/Node/LazyFolder.php",
          "line": 149,
          "function": "__call",
          "class": "OC\\Files\\Node\\LazyFolder",
          "type": "->",
          "args": ["get", ["appdata_ocywrk5de8my/js/core"]]
        },
        {
          "file": "/var/www/html/lib/private/Files/AppData/AppData.php",
          "line": 132,
          "function": "get",
          "class": "OC\\Files\\Node\\LazyFolder",
          "type": "->",
          "args": ["appdata_ocywrk5de8my/js/core"]
        },
        {
          "file": "/var/www/html/lib/private/Template/JSCombiner.php",
          "line": 87,
          "function": "getFolder",
          "class": "OC\\Files\\AppData\\AppData",
          "type": "->",
          "args": ["core"]
        },
        {
          "file": "/var/www/html/lib/private/Template/JSResourceLocator.php",
          "line": 120,
          "function": "process",
          "class": "OC\\Template\\JSCombiner",
          "type": "->",
          "args": [
            "/var/www/html",
            "core/js/merged-template-prepend.json",
            "core"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Template/JSResourceLocator.php",
          "line": 72,
          "function": "cacheAndAppendCombineJsonIfExist",
          "class": "OC\\Template\\JSResourceLocator",
          "type": "->",
          "args": ["/var/www/html", "core/js/merged-template-prepend.json"]
        },
        {
          "file": "/var/www/html/lib/private/Template/ResourceLocator.php",
          "line": 73,
          "function": "doFind",
          "class": "OC\\Template\\JSResourceLocator",
          "type": "->",
          "args": ["core/js/merged-template-prepend"]
        },
        {
          "file": "/var/www/html/lib/private/TemplateLayout.php",
          "line": 377,
          "function": "find",
          "class": "OC\\Template\\ResourceLocator",
          "type": "->",
          "args": [
            [
              "core/js/common",
              "core/js/main",
              "core/l10n/en",
              "core/js/files_fileinfo",
              "core/js/files_client",
              "And 1 more entries, set log level to debug to see all entries"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/TemplateLayout.php",
          "line": 222,
          "function": "findJavascriptFiles",
          "class": "OC\\TemplateLayout",
          "type": "::",
          "args": [
            [
              "core/js/common",
              "core/js/main",
              "core/l10n/en",
              "core/js/files_fileinfo",
              "core/js/files_client",
              "And 1 more entries, set log level to debug to see all entries"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_Template.php",
          "line": 182,
          "function": "__construct",
          "class": "OC\\TemplateLayout",
          "type": "->",
          "args": ["error", ""]
        },
        {
          "file": "/var/www/html/lib/private/Template/Base.php",
          "line": 132,
          "function": "fetchPage",
          "class": "OC_Template",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_Template.php",
          "line": 331,
          "function": "printPage",
          "class": "OC\\Template\\Base",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/index.php",
          "line": 74,
          "function": "printExceptionErrorPage",
          "class": "OC_Template",
          "type": "::",
          "args": [["Doctrine\\DBAL\\Exception"], 500]
        }
      ],
      "File": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
      "Line": 131,
      "message": "Could not boot files_trashbin: Could not resolve trashManager! Class \"trashManager\" does not exist",
      "exception": {},
      "CustomMessage": "Could not boot files_trashbin: Could not resolve trashManager! Class \"trashManager\" does not exist"
    }
  },
  {
    "reqId": "6OppMRr9dBjrHZt5mmVT",
    "level": 3,
    "time": "2023-05-18T02:08:39+00:00",
    "remoteAddr": "fo.o.ba.r",
    "user": "--",
    "app": "no app in context",
    "method": "GET",
    "url": "/index.php/core/preview?fileId=131&c=646586a3e35ff&x=313&y=313&forceIcon=0&a=1",
    "message": "Could not boot files_versions: Could not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0",
    "version": "26.0.1.1",
    "exception": {
      "Exception": "OCP\\AppFramework\\QueryException",
      "Message": "Could not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated",
      "Code": 0,
      "Trace": [
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 142,
          "function": "resolve",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["OCA\\Files_Versions\\Versions\\IVersionManager"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php",
          "line": 493,
          "function": "query",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["OCA\\Files_Versions\\Versions\\IVersionManager"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php",
          "line": 465,
          "function": "queryNoFallback",
          "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
          "type": "->",
          "args": ["OCA\\Files_Versions\\Versions\\IVersionManager"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 65,
          "function": "query",
          "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
          "type": "->",
          "args": ["OCA\\Files_Versions\\Versions\\IVersionManager"]
        },
        {
          "file": "/var/www/html/apps/files_versions/lib/AppInfo/Application.php",
          "line": 148,
          "function": "get",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["OCA\\Files_Versions\\Versions\\IVersionManager"]
        },
        {
          "file": "/var/www/html/apps/files_versions/lib/AppInfo/Application.php",
          "line": 135,
          "function": "loadBackend",
          "class": "OCA\\Files_Versions\\AppInfo\\Application",
          "type": "->",
          "args": [
            [
              ["OCP\\Files\\Storage\\IStorage"],
              "OCA\\Files_Versions\\Versions\\LegacyVersionsBackend"
            ],
            ["OC\\AppFramework\\DependencyInjection\\DIContainer"],
            ["OC\\AppFramework\\ScopedPsrLogger"]
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php",
          "line": 66,
          "function": "registerVersionBackends",
          "class": "OCA\\Files_Versions\\AppInfo\\Application",
          "type": "->",
          "args": [
            ["OC\\AppFramework\\DependencyInjection\\DIContainer"],
            ["OC\\App\\AppManager"],
            ["OC\\AppFramework\\ScopedPsrLogger"]
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php",
          "line": 50,
          "function": "injectFn",
          "class": "OC\\AppFramework\\Bootstrap\\FunctionInjector",
          "type": "->",
          "args": [["Closure"]]
        },
        {
          "file": "/var/www/html/apps/files_versions/lib/AppInfo/Application.php",
          "line": 125,
          "function": "injectFn",
          "class": "OC\\AppFramework\\Bootstrap\\BootContext",
          "type": "->",
          "args": [["Closure"]]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php",
          "line": 200,
          "function": "boot",
          "class": "OCA\\Files_Versions\\AppInfo\\Application",
          "type": "->",
          "args": [["OC\\AppFramework\\Bootstrap\\BootContext"]]
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_App.php",
          "line": 213,
          "function": "bootApp",
          "class": "OC\\AppFramework\\Bootstrap\\Coordinator",
          "type": "->",
          "args": ["files_versions"]
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_App.php",
          "line": 141,
          "function": "loadApp",
          "class": "OC_App",
          "type": "::",
          "args": ["files_versions"]
        },
        {
          "file": "/var/www/html/apps/dav/lib/AppInfo/Application.php",
          "line": 205,
          "function": "loadApps",
          "class": "OC_App",
          "type": "::",
          "args": [["dav"]]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php",
          "line": 200,
          "function": "boot",
          "class": "OCA\\DAV\\AppInfo\\Application",
          "type": "->",
          "args": [["OC\\AppFramework\\Bootstrap\\BootContext"]]
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_App.php",
          "line": 213,
          "function": "bootApp",
          "class": "OC\\AppFramework\\Bootstrap\\Coordinator",
          "type": "->",
          "args": ["dav"]
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_App.php",
          "line": 141,
          "function": "loadApp",
          "class": "OC_App",
          "type": "::",
          "args": ["dav"]
        },
        {
          "file": "/var/www/html/lib/private/Files/SetupManager.php",
          "line": 132,
          "function": "loadApps",
          "class": "OC_App",
          "type": "::",
          "args": [["filesystem"]]
        },
        {
          "file": "/var/www/html/lib/private/Files/SetupManager.php",
          "line": 351,
          "function": "setupBuiltinWrappers",
          "class": "OC\\Files\\SetupManager",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/Files/SetupManager.php",
          "line": 391,
          "function": "setupRoot",
          "class": "OC\\Files\\SetupManager",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/Files/Mount/Manager.php",
          "line": 95,
          "function": "setupForPath",
          "class": "OC\\Files\\SetupManager",
          "type": "->",
          "args": ["/appdata_ocywrk5de8my/js/core"]
        },
        {
          "file": "/var/www/html/lib/private/Files/View.php",
          "line": 1390,
          "function": "find",
          "class": "OC\\Files\\Mount\\Manager",
          "type": "->",
          "args": ["/appdata_ocywrk5de8my/js/core"]
        },
        {
          "file": "/var/www/html/lib/private/Files/Node/Root.php",
          "line": 205,
          "function": "getFileInfo",
          "class": "OC\\Files\\View",
          "type": "->",
          "args": ["/appdata_ocywrk5de8my/js/core", false]
        },
        {
          "function": "get",
          "class": "OC\\Files\\Node\\Root",
          "type": "->",
          "args": ["/appdata_ocywrk5de8my/js/core"]
        },
        {
          "file": "/var/www/html/lib/private/Files/Node/LazyFolder.php",
          "line": 72,
          "function": "call_user_func_array",
          "args": [
            [["OC\\Files\\Node\\Root"], "get"],
            ["appdata_ocywrk5de8my/js/core"]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Files/Node/LazyFolder.php",
          "line": 149,
          "function": "__call",
          "class": "OC\\Files\\Node\\LazyFolder",
          "type": "->",
          "args": ["get", ["appdata_ocywrk5de8my/js/core"]]
        },
        {
          "file": "/var/www/html/lib/private/Files/AppData/AppData.php",
          "line": 132,
          "function": "get",
          "class": "OC\\Files\\Node\\LazyFolder",
          "type": "->",
          "args": ["appdata_ocywrk5de8my/js/core"]
        },
        {
          "file": "/var/www/html/lib/private/Template/JSCombiner.php",
          "line": 87,
          "function": "getFolder",
          "class": "OC\\Files\\AppData\\AppData",
          "type": "->",
          "args": ["core"]
        },
        {
          "file": "/var/www/html/lib/private/Template/JSResourceLocator.php",
          "line": 120,
          "function": "process",
          "class": "OC\\Template\\JSCombiner",
          "type": "->",
          "args": [
            "/var/www/html",
            "core/js/merged-template-prepend.json",
            "core"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Template/JSResourceLocator.php",
          "line": 72,
          "function": "cacheAndAppendCombineJsonIfExist",
          "class": "OC\\Template\\JSResourceLocator",
          "type": "->",
          "args": ["/var/www/html", "core/js/merged-template-prepend.json"]
        },
        {
          "file": "/var/www/html/lib/private/Template/ResourceLocator.php",
          "line": 73,
          "function": "doFind",
          "class": "OC\\Template\\JSResourceLocator",
          "type": "->",
          "args": ["core/js/merged-template-prepend"]
        },
        {
          "file": "/var/www/html/lib/private/TemplateLayout.php",
          "line": 377,
          "function": "find",
          "class": "OC\\Template\\ResourceLocator",
          "type": "->",
          "args": [
            [
              "core/js/common",
              "core/js/main",
              "core/l10n/en",
              "core/js/files_fileinfo",
              "core/js/files_client",
              "And 1 more entries, set log level to debug to see all entries"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/TemplateLayout.php",
          "line": 222,
          "function": "findJavascriptFiles",
          "class": "OC\\TemplateLayout",
          "type": "::",
          "args": [
            [
              "core/js/common",
              "core/js/main",
              "core/l10n/en",
              "core/js/files_fileinfo",
              "core/js/files_client",
              "And 1 more entries, set log level to debug to see all entries"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_Template.php",
          "line": 182,
          "function": "__construct",
          "class": "OC\\TemplateLayout",
          "type": "->",
          "args": ["error", ""]
        },
        {
          "file": "/var/www/html/lib/private/Template/Base.php",
          "line": 132,
          "function": "fetchPage",
          "class": "OC_Template",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_Template.php",
          "line": 331,
          "function": "printPage",
          "class": "OC\\Template\\Base",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/index.php",
          "line": 74,
          "function": "printExceptionErrorPage",
          "class": "OC_Template",
          "type": "::",
          "args": [["Doctrine\\DBAL\\Exception"], 500]
        }
      ],
      "File": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
      "Line": 126,
      "message": "Could not boot files_versions: Could not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated",
      "exception": {},
      "CustomMessage": "Could not boot files_versions: Could not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated"
    }
  },
  {
    "reqId": "6OppMRr9dBjrHZt5mmVT",
    "level": 3,
    "time": "2023-05-18T02:08:39+00:00",
    "remoteAddr": "fo.o.ba.r",
    "user": "--",
    "app": "no app in context",
    "method": "GET",
    "url": "/index.php/core/preview?fileId=131&c=646586a3e35ff&x=313&y=313&forceIcon=0&a=1",
    "message": "Could not boot files_sharing: Could not resolve externalMountProvider! Class \"externalMountProvider\" does not exist",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0",
    "version": "26.0.1.1",
    "exception": {
      "Exception": "OC\\AppFramework\\Utility\\QueryNotFoundException",
      "Message": "Could not resolve externalMountProvider! Class \"externalMountProvider\" does not exist",
      "Code": 0,
      "Trace": [
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 142,
          "function": "resolve",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["externalMountProvider"]
        },
        {
          "file": "/var/www/html/lib/private/ServerContainer.php",
          "line": 171,
          "function": "query",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["externalMountProvider", true]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php",
          "line": 468,
          "function": "query",
          "class": "OC\\ServerContainer",
          "type": "->",
          "args": ["externalMountProvider", true]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
          "line": 65,
          "function": "query",
          "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
          "type": "->",
          "args": ["externalMountProvider"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php",
          "line": 56,
          "function": "get",
          "class": "OC\\AppFramework\\Utility\\SimpleContainer",
          "type": "->",
          "args": ["externalMountProvider"]
        },
        {
          "function": "OC\\AppFramework\\Bootstrap\\{closure}",
          "class": "OC\\AppFramework\\Bootstrap\\FunctionInjector",
          "type": "->",
          "args": ["*** sensitive parameters replaced ***"]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php",
          "line": 66,
          "function": "array_map",
          "args": [
            ["Closure"],
            [
              ["ReflectionParameter", "mountProviderCollection"],
              ["ReflectionParameter", "mountProvider"],
              "*** sensitive parameters replaced ***"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php",
          "line": 50,
          "function": "injectFn",
          "class": "OC\\AppFramework\\Bootstrap\\FunctionInjector",
          "type": "->",
          "args": [
            [
              ["OCA\\Files_Sharing\\AppInfo\\Application"],
              "registerMountProviders"
            ]
          ]
        },
        {
          "file": "/var/www/html/apps/files_sharing/lib/AppInfo/Application.php",
          "line": 117,
          "function": "injectFn",
          "class": "OC\\AppFramework\\Bootstrap\\BootContext",
          "type": "->",
          "args": [
            [
              ["OCA\\Files_Sharing\\AppInfo\\Application"],
              "registerMountProviders"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php",
          "line": 200,
          "function": "boot",
          "class": "OCA\\Files_Sharing\\AppInfo\\Application",
          "type": "->",
          "args": [["OC\\AppFramework\\Bootstrap\\BootContext"]]
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_App.php",
          "line": 213,
          "function": "bootApp",
          "class": "OC\\AppFramework\\Bootstrap\\Coordinator",
          "type": "->",
          "args": ["files_sharing"]
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_App.php",
          "line": 141,
          "function": "loadApp",
          "class": "OC_App",
          "type": "::",
          "args": ["files_sharing"]
        },
        {
          "file": "/var/www/html/lib/private/Files/SetupManager.php",
          "line": 132,
          "function": "loadApps",
          "class": "OC_App",
          "type": "::",
          "args": [["filesystem"]]
        },
        {
          "file": "/var/www/html/lib/private/Files/SetupManager.php",
          "line": 351,
          "function": "setupBuiltinWrappers",
          "class": "OC\\Files\\SetupManager",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/Files/SetupManager.php",
          "line": 391,
          "function": "setupRoot",
          "class": "OC\\Files\\SetupManager",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/Files/Mount/Manager.php",
          "line": 95,
          "function": "setupForPath",
          "class": "OC\\Files\\SetupManager",
          "type": "->",
          "args": ["/appdata_ocywrk5de8my/js/core"]
        },
        {
          "file": "/var/www/html/lib/private/Files/View.php",
          "line": 1390,
          "function": "find",
          "class": "OC\\Files\\Mount\\Manager",
          "type": "->",
          "args": ["/appdata_ocywrk5de8my/js/core"]
        },
        {
          "file": "/var/www/html/lib/private/Files/Node/Root.php",
          "line": 205,
          "function": "getFileInfo",
          "class": "OC\\Files\\View",
          "type": "->",
          "args": ["/appdata_ocywrk5de8my/js/core", false]
        },
        {
          "function": "get",
          "class": "OC\\Files\\Node\\Root",
          "type": "->",
          "args": ["/appdata_ocywrk5de8my/js/core"]
        },
        {
          "file": "/var/www/html/lib/private/Files/Node/LazyFolder.php",
          "line": 72,
          "function": "call_user_func_array",
          "args": [
            [["OC\\Files\\Node\\Root"], "get"],
            ["appdata_ocywrk5de8my/js/core"]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Files/Node/LazyFolder.php",
          "line": 149,
          "function": "__call",
          "class": "OC\\Files\\Node\\LazyFolder",
          "type": "->",
          "args": ["get", ["appdata_ocywrk5de8my/js/core"]]
        },
        {
          "file": "/var/www/html/lib/private/Files/AppData/AppData.php",
          "line": 132,
          "function": "get",
          "class": "OC\\Files\\Node\\LazyFolder",
          "type": "->",
          "args": ["appdata_ocywrk5de8my/js/core"]
        },
        {
          "file": "/var/www/html/lib/private/Template/JSCombiner.php",
          "line": 87,
          "function": "getFolder",
          "class": "OC\\Files\\AppData\\AppData",
          "type": "->",
          "args": ["core"]
        },
        {
          "file": "/var/www/html/lib/private/Template/JSResourceLocator.php",
          "line": 120,
          "function": "process",
          "class": "OC\\Template\\JSCombiner",
          "type": "->",
          "args": [
            "/var/www/html",
            "core/js/merged-template-prepend.json",
            "core"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Template/JSResourceLocator.php",
          "line": 72,
          "function": "cacheAndAppendCombineJsonIfExist",
          "class": "OC\\Template\\JSResourceLocator",
          "type": "->",
          "args": ["/var/www/html", "core/js/merged-template-prepend.json"]
        },
        {
          "file": "/var/www/html/lib/private/Template/ResourceLocator.php",
          "line": 73,
          "function": "doFind",
          "class": "OC\\Template\\JSResourceLocator",
          "type": "->",
          "args": ["core/js/merged-template-prepend"]
        },
        {
          "file": "/var/www/html/lib/private/TemplateLayout.php",
          "line": 377,
          "function": "find",
          "class": "OC\\Template\\ResourceLocator",
          "type": "->",
          "args": [
            [
              "core/js/common",
              "core/js/main",
              "core/l10n/en",
              "core/js/files_fileinfo",
              "core/js/files_client",
              "And 1 more entries, set log level to debug to see all entries"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/TemplateLayout.php",
          "line": 222,
          "function": "findJavascriptFiles",
          "class": "OC\\TemplateLayout",
          "type": "::",
          "args": [
            [
              "core/js/common",
              "core/js/main",
              "core/l10n/en",
              "core/js/files_fileinfo",
              "core/js/files_client",
              "And 1 more entries, set log level to debug to see all entries"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_Template.php",
          "line": 182,
          "function": "__construct",
          "class": "OC\\TemplateLayout",
          "type": "->",
          "args": ["error", ""]
        },
        {
          "file": "/var/www/html/lib/private/Template/Base.php",
          "line": 132,
          "function": "fetchPage",
          "class": "OC_Template",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/lib/private/legacy/OC_Template.php",
          "line": 331,
          "function": "printPage",
          "class": "OC\\Template\\Base",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/index.php",
          "line": 74,
          "function": "printExceptionErrorPage",
          "class": "OC_Template",
          "type": "::",
          "args": [["Doctrine\\DBAL\\Exception"], 500]
        }
      ],
      "File": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
      "Line": 131,
      "message": "Could not boot files_sharing: Could not resolve externalMountProvider! Class \"externalMountProvider\" does not exist",
      "exception": {},
      "CustomMessage": "Could not boot files_sharing: Could not resolve externalMountProvider! Class \"externalMountProvider\" does not exist"
    }
  }
]

@joshtrichards
Copy link
Member

joshtrichards commented May 18, 2023

Can you reproduce these issues without Memories (which is a third party app)?

Also:

  1. I'd highly recommend you utilize Redis for caching and high performant file locking. A bunch of photos being uploaded is the very definition of a heavy load (the documentation could probably use some refinement in this area IMO). Redis is super easy to setup. With Docker it literally is as straightforward as "start a Redis container and add/adjust the Redis host and memcache.distributed+locking lines in config.php:'

https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/caching_configuration.html#organizations-with-single-server-and-clustered-setups

  1. Please note that the Memories developers themselves specifically recommend following the Server Tuning section of the Nextcloud Admin Manual:

https://docs.nextcloud.com/server/stable/admin_manual/installation/server_tuning.html

P.S. Your logs are filled with a crazy mixture of errors ranging from db connection issues and app boot errors in files_versions/etc to network connectivity problems from Circles.Those are not normal. I suspect if you can get to the bottom of what caused those originally, the real culprit will turn up.

@aentwist
Copy link
Author

This did appear to be a file locking issue. I was hoping there would be a clear indication of whether it was. I understand there is no such indication. So, first I will try to clear the logs (thanks for pointing that out), then I will try to reproduce with no apps.


A bunch of photos being uploaded is the very definition of a heavy load (the documentation could probably use some refinement in this area IMO)

This is pretty standard usage, and it failed with a single user after 10 seconds. This is definitely not heavy. If it was locking-related then the docs should say that Redis is literally a requirement. I appreciate the clarification as to what warrants using Redis and will probably add it. Since the docs suggest you can go without it I just wanted to avoid using the resources if possible.

Regarding Memories - I did not touch that after installation, so I do not think it was doing any indexing. I will focus on running without apps first, since that seems to be a guess.

From the server tuning docs,

High system load will slow down Nextcloud and might also lead to other unwanted side effects.

"Slow" would let me know I need to take action, which would be adding Redis and vertical scaling to start. I would welcome slow. I guess "other unwanted side effects" actually means "failure for the core use case". Well, I would prefer to avoid that, so I suppose server tuning is a requirement.

@joshtrichards
Copy link
Member

There may be room for making some things clearer in the docs. Feel free to make some suggestions or submit a PR to the docs repo.

Keep in mind that "heavy" is relative. For some environments your load is nothing. For others it's something. There are people running NC on everything from Raspberry Pi 2 systems using solely microSD cards (!) to multi-data center distributed hosting platforms. There is a lot of variance.

I know nothing of your current hosting platform's compute/storage/network/etc.

A lot of determining what is reasonable is a very local environment issue IMO. Some tuning parameters aren't necessary because they're compensated for by something else in a local environment (but that doesn't mean they wouldn't be helpful to improving performance). Other environments need them just to be able to host NC. Then there is the variance in what apps or features in-use. For example, you're trying to use S3 as your primary storage. That presents very different demands on the hosting platform just due to the nature of the much higher latency that tends to be involved in moving that data around. It's also more fragile (IMO and I'm generalizing here) than using local storage.

And there's only so much software can do when it's torn to bits by resource constraints. :-)

P.S. Disclaimer: I'm just a community member like you so please don't take my words as anything official from Nextcloud GmbH.

@joshtrichards
Copy link
Member

Regarding Memories - I did not touch that after installation, so I do not think it was doing any indexing. I will focus on running without apps first, since that seems to be a guess.

Memories automatically activates a background indexing job as well as immediately processes newly uploaded photos, but this isn't the place to have that discussion. :-)

https://memories.gallery/config/
https://memories.gallery/faq/

@aentwist
Copy link
Author

To use my imagination and be naively optimistic, Nextcloud simply does not support AWS S3. No Redis; file locking bugs as described here make it literally unusable. Redis; a swath of different bugs make it literally unusable. We are talking about the most basic, core use case: a single user uploading 25 files on a clean install. Come on Nextcloud, was I supposed to use Redis or not?

I wasted weeks trying to set this thing up. I self host Vaultwarden no problem. I opened numerous PRs for nextcloud/docker and even a PR #37564 that implements WebP and AVIF previews before I understood that Nextcloud was a scam. Making false claims and masquerading as functional, drawing in users, then asking for their time when they inevitably have problems. This must be the epitome of clownhood, and the joke's on me. Never again will I waste time on such a tasteless piece of code, with over 2000 open issues, with 50% unit test coverage, that somehow manages to assert such a bold claim as being capable of mere file uploads which it can't even back up running on Docker images.

I do not know why it doesn't work. And I will not be further exploited to debug problems with someone else's hobbyist project. I don't expect customer support, that's not the point. Make no claims; simply delete Nextcloud. Ok, fine. Make false claims and waste my time. Wow, who would do something so subtly malicious. Oh, here we are. That's the definition of Evil.

Check this out, that guy exploded and gave up, and nobody cares. Well, that guy had the eyeballs to see that if getting set up was so horrendously abysmal, then maintenance would obviously cost 100s of dollars worth of life in the future. That was exactly what I was hoping to save by giving Nextcloud a chance. What an utter and grievous mistake. I am appalled.


If you (Nextclouders) want to close this issue, that is fine. Don't misunderstand - it contains at least one valid bug or feature request. But this concludes my time here. Rather than seeing this addressed I wish you the best in the big problems that are apparent. Architecture work, testing, and documentation that is both accurate and underpromises instead of the other way around. Don't claim to be the master of all if you can't even do the one.

@nextcloud-command
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

@nextcloud-command nextcloud-command added the stale Ticket or PR with no recent activity label Jun 29, 2023
@aentwist
Copy link
Author

Lol. Unfortunately it is not capable of closing the other 2.1k.

@aentwist aentwist closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2023
@aentwist
Copy link
Author

aentwist commented Aug 8, 2024

A while later and I'm now I'm up on AWS. Should anyone come across this and have something similar, I might recommend not using S3 directly, but using an S3 File Gateway, which will theoretically move the S3 interface from Nextcloud software onto Amazon software. If that was even the issue (I never tested this with a FS, so probably try that first to verify).

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 26-feedback bug needs info stale Ticket or PR with no recent activity
Projects
None yet
Development

No branches or pull requests

4 participants