Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Runtime Exception: Translate process failed after update Nextcloud AIO to v7.0.0 #27

@IntegrITSol

Description

@IntegrITSol

Hi,
I get this RuntimeException on my Nextcloud instance after the update, when trying to translate a Talk message.
Language models are downloaded successfully.

This is what I find in the admin logs:

[translate] Warning: node:internal/modules/cjs/loader:1243
return process.dlopen(module, path.toNamespacedPath(filename));
^

Error: Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /var/www/html/custom_apps/translate/node_modules/onnxruntime-node/bin/napi-v3/linux/x64//libonnxruntime.so.1.13.1)
at Module._extensions..node (node:internal/modules/cjs/loader:1243:18)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Module._load (node:internal/modules/cjs/loader:878:12)
at Module.require (node:internal/modules/cjs/loader:1061:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (/var/www/html/custom_apps/translate/node_modules/onnxruntime-node/dist/binding.js:9:1)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Module._load (node:internal/modules/cjs/loader:878:12) {
code: 'ERR_DLOPEN_FAILED'
}

Node.js v18.12.1

POST /ocs/v2.php/translation/translate
from 78.42.139.249 by admin at 2023-08-23T22:48:37+00:00

Do you have any idea how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions