Giter Club home page Giter Club logo

Comments (6)

bcutter avatar bcutter commented on July 4, 2024 3

Yes great it is working again. Thanks a lot :-)

from imageconverter.

major-mayer avatar major-mayer commented on July 4, 2024 2

Hey guys, sorry for the inconvenience.
I accidentally deleted this boot method, because it contained no logic anyway.
Somehow, I missed that it is a (abstract?) method required by the IBootstrap interface and did my last tests with a version before I deleted it. Lesson learned ...

I added it again in 2.0.1, and now you should be able to enable the app again.

from imageconverter.

SageSphinx63920 avatar SageSphinx63920 commented on July 4, 2024

Can confirm. My instance if not even accessible from now on getting a 500 HTTP code.

from imageconverter.

SageSphinx63920 avatar SageSphinx63920 commented on July 4, 2024

occ output:

root@gve-cloud:/var/www/nextcloud# sudo -u www-data php -f ./occ
PHP Fatal error:  Class OCA\ImageConverter\AppInfo\Application contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\AppFramework\Bootstrap\IBootstrap::boot) in /var/www/nextcloud/apps/imageconverter/lib/AppInfo/Application.php on line 17
{"reqId":"kJG5VzJ1xqbxJK8OZw0P","level":3,"time":"2024-04-05T22:09:29+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Class OCA\\ImageConverter\\AppInfo\\Application contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\AppFramework\\Bootstrap\\IBootstrap::boot) at /var/www/nextcloud/apps/imageconverter/lib/AppInfo/Application.php#17","userAgent":"--","version":"28.0.4.1","data":{"app":"PHP"}}

nginx error log:

2024/04/06 00:00:46 [error] 1311#1311: *14322 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Class OCA\ImageConverter\AppInfo\Application contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\AppFramework\Bootstrap\IBootstrap::boot) in /var/www/nextcloud/apps/imageconverter/lib/AppInfo/Application.php on line 17; PHP message: {"reqId":"V2llQEQpRZU6OpvmDpqw","level":3,"time":"2024-04-05T22:00:46+00:00","remoteAddr":"-","user":"--","app":"PHP","method":"GET","url":"/apps/richdocuments/settings/fonts.json","message":"Class OCA\\ImageConverter\\AppInfo\\Application contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\AppFramework\\Bootstrap\\IBootstrap::boot) at /var/www/nextcloud/apps/imageconverter/lib/AppInfo/Application.php#17","userAgent":"COOLWSD HTTP Agent 23.05.10.1","version":"28.0.4.1","data":{"app":"PHP"}}" while reading response header from upstream, client: 127.0.0.1, server: cloud.grafen-von-eberstein.de, request: "GET /apps/richdocuments/settings/fonts.json HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm-nextcloud.sock:", host: "-"

from imageconverter.

SageSphinx63920 avatar SageSphinx63920 commented on July 4, 2024

Further investigation shows that the boot method needed by IBootstrap is missing.

https://docs.nextcloud.com/server/latest/developer_manual/app_development/bootstrap.html#id2
https://docs.nextcloud.com/server/latest/developer_manual/app_development/bootstrap.html#booting-an-app

from imageconverter.

ninjazan420 avatar ninjazan420 commented on July 4, 2024

Can confirm. My instance if not even accessible from now on getting a 500 HTTP code.

hotfix is to go to
/apps/ rename imageconverter to imageconverter_ and you should good to go if needed :)

from imageconverter.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.