What app is this about, and its version: Nextcloud 31.0.11~ynh1
What YunoHost version are you running: 12.1.35
What type of hardware are you using: Virtual machine
Describe your issue
I need to install GitHub - nextcloud/whiteboard: Create & collaborate on an infinite canvas! but it requires some websocket server installation/settings.
Rather than asking on support chat, I prefer to write it here for other to be able to find the solution.
Beginning is easy.
occ config:app:set whiteboard collabBackendUrl --value="https://nextcloud.local:3002"
occ config:app:set whiteboard jwt_secret_key --value="some-random-secret"
but then the documentation is asking to do the following but I guess it should be done in nextcloud env so, as I’m unsure what to do, I’d like some help :
npm ci
JWT_SECRET_KEY="some-random-secret" NEXTCLOUD_URL=https://nextcloud.local npm run server:start
Share relevant logs or error messages
no logs here.
There was an attempt first to make a PHP-only backend : Integrated sync backend · Issue #27 · nextcloud/whiteboard · GitHub
However, with dev of AppAPI and External Apps, AppAPI and External Apps — Nextcloud latest Administration Manual latest documentation , they are more into dev an integrated docker node backend Investigate ext app for node backend · Issue #119 · nextcloud/whiteboard · GitHub