Giter Club home page Giter Club logo

Comments (9)

major-mayer avatar major-mayer commented on July 24, 2024 1

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.

major-mayer avatar major-mayer commented on July 24, 2024 1

And for the missing HEIC previews you have to adjust your Nextcloud server settings: nextcloud/previewgenerator#230

from imageconverter.

stelioskat avatar stelioskat commented on July 24, 2024

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.

stelioskat avatar stelioskat commented on July 24, 2024

Updating to the latest NextCloud version solved the issue for me.

from imageconverter.

major-mayer avatar major-mayer commented on July 24, 2024

Wonderful, glad that it works now :)

from imageconverter.

major-mayer avatar major-mayer commented on July 24, 2024

Did it also solve the issue for you @Ergerbolt ?

from imageconverter.

Ergerbolt avatar Ergerbolt commented on July 24, 2024

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.

major-mayer avatar major-mayer commented on July 24, 2024

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.

stelioskat avatar stelioskat commented on July 24, 2024

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 (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.