Accès à Node Red après installation

Bonjour,
Voici une description de mon problème, qui semble avoir été évoquée dans un post précédent mais qui est pour moi encore d’actualité.

Mon serveur YunoHost

Matériel: VPS acheté en ligne
Version de YunoHost: 11.2.9.1 (stable)
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modifications particulières sur votre instance ? : non

Description du problème

Je cherche à installer Node-Red pour manipuler des flux MQTT. L’installation se passe correctement, mais je ne parviens pas à accéder à la page de configuration des flux :

Je me suis pourtant bien loggé sous mon compte admin nodered.

Avez-vous des idées?

D’avance, merci pour votre aide!

voici les logs :

https://paste.yunohost.org/oduqavavok.apache

Apr 16 13:07:41 systemd[1]: /etc/systemd/system/nodered.service:12: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
Apr 16 13:07:42 systemd[1]: /etc/systemd/system/nodered.service:12: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
Apr 16 13:07:43 systemd[1]: Started Node-RED server.
Apr 16 13:07:44 node[41865]: 16 Apr 13:07:44 - [info]
Apr 16 13:07:44 node[41865]: Welcome to Node-RED
Apr 16 13:07:44 node[41865]: ===================
Apr 16 13:07:44 node[41865]: 16 Apr 13:07:44 - [info] Node-RED version: v3.1.8
Apr 16 13:07:44 node[41865]: 16 Apr 13:07:44 - [info] Node.js  version: v20.12.2
Apr 16 13:07:44 node[41865]: 16 Apr 13:07:44 - [info] Linux 5.10.0-28-cloud-amd64 x64 LE
Apr 16 13:07:44 node[41865]: 16 Apr 13:07:44 - [info] Loading palette nodes
Apr 16 13:07:45 node[41865]: 16 Apr 13:07:45 - [info] Dashboard version 3.6.5 started at /ui
Apr 16 13:07:46 node[41865]: 16 Apr 13:07:46 - [info] Settings file  : /var/www/nodered/data/settings.js
Apr 16 13:07:46 node[41865]: 16 Apr 13:07:46 - [info] Context store  : 'default' [module=memory]
Apr 16 13:07:46 node[41865]: 16 Apr 13:07:46 - [info] User directory : /var/www/nodered/data
Apr 16 13:07:46 node[41865]: 16 Apr 13:07:46 - [warn] Projects disabled : editorTheme.projects.enabled=false
Apr 16 13:07:46 node[41865]: 16 Apr 13:07:46 - [info] Flows file     : /var/www/nodered/data/flows.json
Apr 16 13:07:46 node[41865]: 16 Apr 13:07:46 - [info] Creating new flow file
Apr 16 13:07:46 node[41865]: 16 Apr 13:07:46 - [warn]
Apr 16 13:07:46 node[41865]: ---------------------------------------------------------------------
Apr 16 13:07:46 node[41865]: Your flow credentials file is encrypted using a system-generated key.
Apr 16 13:07:46 node[41865]: If the system-generated key is lost for any reason, your credentials
Apr 16 13:07:46 node[41865]: file will not be recoverable, you will have to delete it and re-enter
Apr 16 13:07:46 node[41865]: your credentials.
Apr 16 13:07:46 node[41865]: You should set your own key using the 'credentialSecret' option in
Apr 16 13:07:46 node[41865]: your settings file. Node-RED will then re-encrypt your credentials
Apr 16 13:07:46 node[41865]: file using your chosen key the next time you deploy a change.
Apr 16 13:07:46 node[41865]: ---------------------------------------------------------------------
Apr 16 13:07:46 node[41865]: 16 Apr 13:07:46 - [info] Server now running at http://xxx.0.0.1:1880/admin/
Apr 16 13:07:46 node[41865]: 16 Apr 13:07:46 - [warn] Encrypted credentials not found
Apr 16 13:07:46 node[41865]: 16 Apr 13:07:46 - [info] Starting flows
Apr 16 13:07:46 node[41865]: 16 Apr 13:07:46 - [info] Started flows

Here is a description of my problem, which seems to have been mentioned in a previous post but which is still relevant for me.

My YunoHost server

Hardware: VPS purchased online YunoHost version: 11.2.9.1 (stable) I have access to my server: In SSH | Via the webadmin Are you in a particular context or have you made particular modifications to your instance?: no

Description of the problem

I am trying to install Node-Red to handle MQTT flows. The installation goes smoothly, but I cannot access the flow configuration page:

However, I have logged in under my admin account for nodered.

Do you have any ideas?

Thank you in advance for your help!

Here are the logs:

@tituspijean maybe this is some of your concern, as you seem to having managed the last issue regarding this matter.

That’s normal, this URL serves the HTTP endpoints that can be defined from the HTTP nodes in Node-RED flows.

That’s normal too, it will be populated by the Dashboard nodes.

That’s not normal. :sweat_smile: Can you make sure you have permission to access it? It seems that the permission is not set by default, hopefully it will be fixed with Upgrade to v3.1.9 and improve permissions by tituspijean · Pull Request #100 · YunoHost-Apps/nodered_ynh · GitHub

Ok, I just rechecked and you’re right!

If I specify a user as nodered admin during the installation, the permission given is only nodered, and not nodered (admin).

So after the installation, you have to specify the admin rights in the group management, even if this was done while installing.

Thanks @tituspijean for the help!

1 Like