-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node doesn't work on Gentoo #693
Comments
Not sure what's going on there. Likely problem is that the node executable doesn't work on your system. You can try installing node.js on your system manually and then setting the path to it in the recognize settings manually. |
i have also manual on my system installt nodejs 14.21.1 Node.js it cant read the version of nodejs maybe is this the problem? the error is with the locale version and the binary version from recognize of nodejs |
Strange is on Terminal with
it cant find any face but it is running and now on recognize shows
but on nodejs
and the Object recognize runs without any problems on the Terminal but not on the Webpage |
So, there's multiple things going on here.
This means node.js works. (Let's ignore the {Version} thing, that's a translation bug).
This means recognize cannot run in normal mode. But it can run in WASM mode. Which is what it falls back to automatically, if you do nothing. If you want to you can try installing libtensorflow manually, by running |
libtensorflow konnte nicht in Node.js geladen werden. Du kannst versuchen, libtensorflow manuell zu installieren oder im WASM-Modus auszuführen. or Tensorflow WASM konnte nicht in Node.js geladen werden. Irgendetwas stimmt mit deinem Setup nicht.
after
|
Have anyone an idea? |
That's a weird one. Can you try running |
Hi,
|
Is node/bin/node the binary set in the recognize settings? |
yes it is set in the recognize settings |
Can you try running |
|
Wow, that means it does actually work. The UI is wrong in displaying "Tensorflow WASM konnte nicht in Node.js geladen werden. Irgendetwas stimmt mit deinem Setup nicht." I'll have to investigate why that would happen |
Ok, but face regognize dont run correct, i become none face show. |
any error messages in the nextcloud log? |
in the logs are no errors In sql i have in the db oc_recognize_face_detections 4881 rows in set (0,057 sec) |
This would indicate that face recognition works but just doesn't find any good enough faces. |
That's good. What happens if you execute |
when i run sudo -u apache php occ recognize:cluster-faces come the error:
|
Aha! That's a known issue: #676 Will be fixed soon. |
Which version of recognize are you using?
3.5.0
Enabled Modes
Object recognition, Face recognition
TensorFlow mode
Normal mode
Which Nextcloud version do you have installed?
26 beta4
Which Operating system do you have installed?
Gentoo
Which Docker container are you using to run Nextcloud? (if applicable)
none
How much RAM does your server have?
64GiB
What processor Architecture does your CPU have?
x86_64
Describe the Bug
After instalation of regognize i become the error Failed to install Tensorflow.js:
Manual instalation of tensorflow change nothing
libtensorflow konnte nicht in Node.js geladen werden. Du kannst versuchen, libtensorflow manuell zu installieren oder im WASM-Modus auszuführen.
or
Tensorflow WASM konnte nicht in Node.js geladen werden. Irgendetwas stimmt mit deinem Setup nicht.
Expected Behavior
How i can correct the error?
To Reproduce
Fresh Setup of regognize.
Debug log
Exception: Failed to install Tensorflow.js: # # Fatal error in , line 0 # Check failed: reservation_.SetPermissions(protect_start, protect_size, permission). # # # #FailureMessage Object: 0x7ffd53fac880 1: 0xaa6321 [/var/www/localhost/htdocs/nextcloud/apps/recognize/bin/node] 2: 0x1a3b584 V8_Fatal(char const*, ...) [/var/www/localhost/htdocs/nextcloud/apps/recognize/bin/node] 3: 0xdd081f [/var/www/localhost/htdocs/nextcloud/apps/recognize/bin/node] 4: 0xdf6978 v8::internal::PagedSpace::SetReadAndExecutable() [/var/www/localhost/htdocs/nextcloud/apps/recognize/bin/node] 5: 0xd1f4df v8::internal::Isolate::Init(v8::internal::ReadOnlyDeserializer*, v8::internal::StartupDeserializer*) [/var/www/localhost/htdocs/nextcloud/apps/recognize/bin/node] 6: 0x1130d5b [/var/www/localhost/htdocs/nextcloud/apps/recognize/bin/node] 7: 0xbe2758 v8::Isolate::Initialize(v8::Isolate*, v8::Isolate::CreateParams const&) [/var/www/localhost/htdocs/nextcloud/apps/recognize/bin/node] 8: 0xa78bb9 node::NodeMainInstance::NodeMainInstance(v8::Isolate::CreateParams*, uv_loop_s*, node::MultiIsolatePlatform*, std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<unsigned long, std::allocator > const*) [/var/www/localhost/htdocs/nextcloud/apps/recognize/bin/node] 9: 0xa0174d node::Start(int, char**) [/var/www/localhost/htdocs/nextcloud/apps/recognize/bin/node] 10: 0x7f6535b7334a [/usr/lib64/libc.so.6] 11: 0x7f6535b733fc __libc_start_main [/usr/lib64/libc.so.6] 12: 0x98a4cc [/var/www/localhost/htdocs/nextcloud/apps/recognize/bin/node]
/var/www/localhost/htdocs/nextcloud/apps/recognize/lib/Migration/InstallDeps.php - line 90:
OCA\Recognize\Migration\InstallDeps->runTfjsInstall()
/var/www/localhost/htdocs/nextcloud/lib/private/Repair.php - line 126:
OCA\Recognize\Migration\InstallDeps->run()
/var/www/localhost/htdocs/nextcloud/lib/private/legacy/OC_App.php - line 1077:
OC\Repair->run()
/var/www/localhost/htdocs/nextcloud/lib/private/Installer.php - line 164:
OC_App::executeRepairSteps()
/var/www/localhost/htdocs/nextcloud/apps/settings/lib/Controller/AppSettingsController.php - line 451:
OC\Installer->installApp()
/var/www/localhost/htdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 230:
OCA\Settings\Controller\AppSettingsController->enableApps()
/var/www/localhost/htdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 137:
OC\AppFramework\Http\Dispatcher->executeController()
/var/www/localhost/htdocs/nextcloud/lib/private/AppFramework/App.php - line 183:
OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/localhost/htdocs/nextcloud/lib/private/Route/Router.php - line 315:
OC\AppFramework\App::main()
/var/www/localhost/htdocs/nextcloud/lib/base.php - line 1050:
OC\Route\Router->match()
/var/www/localhost/htdocs/nextcloud/index.php - line 36:
OC::handleRequest()
The text was updated successfully, but these errors were encountered: