Comments (9)
Hmm unfortunately I can't reproduce this on my end. I don't have any log spam.
The section that the stack trace marks, doesn't do anything special where the error could happen.
public function boot(IBootContext $context): void
{
// ... boot logic goes here ...
/** @var IEventDispatcher $dispatcher */
$dispatcher = $context->getAppContainer()->get(IEventDispatcher::class);
// TODO this creates some deprecation warnings!
$dispatcher->addListener('OCA\Files::loadAdditionalScripts', function () {
Util::addScript('imageconverter', 'imageConverterScript');
});
}
This is just the part, where the Javascript gets loaded.
The actual error seems to happen in some error handler OC\Log\ErrorHandler::onError
.
So I don't know what's going on here and can't fix this. Sorry...
Maybe you could try upgrading to Nextcloud 22 and see if the error persists.
If anyone else has an idea, please write me.
from imageconverter.
And for the missing HEIC previews you have to adjust your Nextcloud server settings: nextcloud/previewgenerator#230
from imageconverter.
I see countless, neverending error logs about this problem. However, the plugin works seems to work. I am able to convert images.
The logs:
Error: include_once(): Failed opening '/var/www/html/custom_apps/imageconverter/lib/AppInfo/../../vendor/autoload.php' for inclusion (include_path='/var/www/html/3rdparty/pear/archive_tar:/var/www/html/3rdparty/pear/console_getopt:/var/www/html/3rdparty/pear/pear-core-minimal/src:/var/www/html/3rdparty/pear/pear_exception:/var/www/html/apps:/var/www/html/custom_apps') at /var/www/html/custom_apps/imageconverter/lib/AppInfo/Application.php#37
0. /var/www/html/custom_apps/imageconverter/lib/AppInfo/Application.php - line 37:
OC\Log\ErrorHandler::onError(2, "include_onc ... )", "/var/www/ht ... p", 37, { context: c ... }})
1. /var/www/html/custom_apps/imageconverter/lib/AppInfo/Application.php - line 37:
include_once()
2. /var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php - line 125:
OCA\ImageConverter\AppInfo\Application->register(class@anonym ... {})
3. /var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php - line 82:
OC\AppFramework\Bootstrap\Coordinator->registerApps([ "files","a ... "])
4. /var/www/html/lib/base.php - line 634:
OC\AppFramework\Bootstrap\Coordinator->runInitialRegistration()
5. /var/www/html/lib/base.php - line 1076:
OC::init()
6. /var/www/html/index.php - line 35:
require_once("/var/www/html/lib/base.php")
from imageconverter.
Updating to the latest NextCloud version solved the issue for me.
from imageconverter.
Wonderful, glad that it works now :)
from imageconverter.
Did it also solve the issue for you @Ergerbolt ?
from imageconverter.
How can i update to version 22? It is not offered by nextcloupi. It says, there is nothing to update on my pi4.
from imageconverter.
According to their Readme, Nextcloudpi already supports NC 22 : https://github.com/nextcloud/nextcloudpi
But maybe something is wrong with their automated build. You should ask the maintainers there.
from imageconverter.
If you have hosted it with Docker, the autoupdater is disabled on purpose. You need to stop your container, delete the old container, pull the latest image (docker.io/library/nextcloud:22) and start nextcloud with this image. However, I don't use it on a RPi, so I am not sure if there are any specialties for it.
from imageconverter.
Related Issues (15)
- 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
- v2.0.0 can not be enabled HOT 6
- Please add Official Support for Nextcloud Version 29 HOT 1
- An Erorr Occured when convert a picture HOT 2
- Massive log spam HOT 3
- App non available on nextcloud 22 HOT 2
- 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.