Skip to content
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

Newer Nodejs version required for recognize addon. #587

Open
rosbeef opened this issue Jun 28, 2023 · 8 comments
Open

Newer Nodejs version required for recognize addon. #587

rosbeef opened this issue Jun 28, 2023 · 8 comments

Comments

@rosbeef
Copy link

rosbeef commented Jun 28, 2023

Describe the bug

recognise addon doesn't work because of standard nodejs version earlier of 12.

Context

  • Hardware: odroidhc1
  • YunoHost version: 11.1.21.4
  • I have access to my server: *Through SSH | through the webadmin | *
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: yes
    • If yes, please explain: lxc containerized
  • Using, or trying to install package version/branch: recognize nextcloud addon

Steps to reproduce

  • install recognize plugin
  • not runnning because nodejs > 14 not present by default

Expected behavior

install and run works well
maybe installing nodejs at least 16 by default.

Logs

@ericgaspar
Copy link
Member

nodejs is not installed with Nextcloud YunoHost package

@rosbeef
Copy link
Author

rosbeef commented Jun 28, 2023

are you redirecting me to recognize addon itself ?

@Tagadda
Copy link
Member

Tagadda commented Jun 28, 2023

Can you try to install it directly from Nextcloud Apps ?
Looks like nodejs is required only for manual install.

@rosbeef
Copy link
Author

rosbeef commented Jun 28, 2023

actually install fail doing it directly from nextcloud app.

@ericgaspar
Copy link
Member

ericgaspar commented Jun 28, 2023

I installed the Recognize addon with Nextcloud. (I got an error but it looks like the addon was added successfully.)

I get this status in the Recognize settings
Capture d’écran 2023-06-28 à 14 49 43

I have no issue with Nodejs version.
Capture d’écran 2023-06-28 à 14 50 08

Edit. I am on Nextcloud 27.0.0

@Tagadda
Copy link
Member

Tagadda commented Jun 28, 2023

actually install fail doing it directly from nextcloud app.

@rosbeef Any logs ?

@rosbeef
Copy link
Author

rosbeef commented Jun 28, 2023

i uninstall and reinstall recognize from the webapp and now node is installed with the same error as @ericgaspar .
it appear that installation error but finally it is installed.
let me try if it works. if yes i will close it. thank you

now i need to understand all parameters ... i may takes time ;)

@rosbeef
Copy link
Author

rosbeef commented Jun 28, 2023

I have no logs in /var/log/nextcloud/ . do you know where are logs ?
in config.php logging is set to 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants