Comments (6)
Yes great it is working again. Thanks a lot :-)
from imageconverter.
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.
Can confirm. My instance if not even accessible from now on getting a 500 HTTP code.
from imageconverter.
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.
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.
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)
- Error when trying to convert HEIC to JPG HOT 4
- not (marked as) compatible with NC26 HOT 1
- Auto Convert HOT 1
- Could not save the new converted image, because the content is empty. Something went wrong with the conversion before! HOT 3
- NC 28 Support HOT 11
- An Erorr Occured when convert a picture HOT 2
- Massive log spam HOT 3
- App non available on nextcloud 22 HOT 2
- Cant find autoload.php HOT 9
- Server error: 503 Service Unavailable HOT 2
- NC 24 Support HOT 2
- Nextcloud 23.03 - cannot open images in HEIC Format HOT 6
- Do not show Option if file is not HEIF / HEIC HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imageconverter.