quicknotes icon indicating copy to clipboard operation
quicknotes copied to clipboard

App cannot be enabled because it makes the server unstable.

Open kimcdow opened this issue 1 year ago • 6 comments

I am getting this error when I try to enable quick notes 0.8.22 on Nextcloud 28.0.4. Thanks for looking into this.

kimcdow avatar Apr 22 '24 15:04 kimcdow

Hi @kimcdow, Can you share any log?

matiasdelellis avatar Apr 24 '24 00:04 matiasdelellis

It looks like an issue of some sort with the nextcloud UI, it enabled the app from the console just fine: root@dockerino:/docker/config/nextcloud# ./occ.sh app:enable quicknotes

quicknotes 0.8.22 enabled

kimcdow avatar Apr 24 '24 13:04 kimcdow

I received the following two errors on quicknotes after enabling them via occ.

Debug user_saml /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.

{"reqId":"1RX1Y8WqpMB5cupmFYUp","level":0,"time":"2024-04-24T05:06:53+00:00","remoteAddr":"ipaddress","user":"username","app":"user_saml","method":"GET","url":"/apps/theming/favicon/quicknotes?v=02db1c94","message":"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0","version":"28.0.4.1","data":{"app":"user_saml"},"id":"6629080ce2539"}

and

Debug encryption /appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.

{"reqId":"1RX1Y8WqpMB5cupmFYUp","level":0,"time":"2024-04-24T05:06:53+00:00","remoteAddr":"ipaddress","user":"username","app":"encryption","method":"GET","url":"/apps/theming/favicon/quicknotes?v=02db1c94","message":"/appinfo/app.php is deprecated, use \OCP\AppFramework\Bootstrap\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0","version":"28.0.4.1","data":{"app":"encryption"},"id":"6629080ce250e"}

kimcdow avatar Apr 24 '24 13:04 kimcdow

🤔 These logs are from the user_saml and encryption application, but it is strange that they refer to quicknotes..

I'll investigate. Thank you!

matiasdelellis avatar Apr 24 '24 14:04 matiasdelellis

These two applications have to be migrated to IBootstrap, and we already did it. See https://github.com/nextcloud/server/issues/32132

In principle it is a problem with these applications, but I don't understand the reference.. 😞

matiasdelellis avatar Apr 24 '24 14:04 matiasdelellis

Test https://github.com/nextcloud/server/issues/28618#issuecomment-908779262

I't have idea but it is a very similar report.

matiasdelellis avatar Apr 24 '24 14:04 matiasdelellis