Skip to content

Eliminate deprecated appinfo/app.php #230

Description

@major-mayer

I don't know why exactly this happens, but for almost every request to my Nextcloud instance, it seems that somehow Pico CMS is invoked, and the following appears in the logs:

{"reqId":"2DssyqSnEWAeV5NzMsrk","level":0,"time":"2022-12-14T09:43:49+00:00","remoteAddr":"xxx","user":"xxx","app":"cms_pico","method":"PROPFIND","url":"/remote.php/dav/files/[...]/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.23.0","version":"25.0.2.3","data":{"app":"cms_pico"}}

This leads to significant log spam.
I think the right way would be to switch to IBoostrap, but it might be sufficient for now to make sure that Pico CMS is only invoked, when a request to a Pico site is done and not for every other.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions