Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.23k stars 1.69k forks source link

Can not start Zigbee2MQTT as deamon #22496

Open 1Joe1 opened 6 months ago

1Joe1 commented 6 months ago

What happened?

Hello,

Tried to update Z2M with the update script from the Zigbee2MQTT directory:

cd /opt/zigbee2mqtt ./update.sh

This produced some errors due to the old node version that I was using

In the following I updated node using nvm. Tried different ways but failed several times as node was what it seems not installed globally.

Ran the update script again.

Now Z2M is up and running again as long as I start manually.

But I cannot start it as a demon anymore. Tried to update my original zigbee2mqtt.service file to the version mentioned in the new installation guide. Also tried to change the path from

ExecStart=/usr/bin/npm

To

ExecStart=/usr/local/bin/npm

Or

ExecStart=npm start

Or

The path given by "which npm" (=/home/openhabian/.nvm/versions/node/v21.7.3/bin/npm)

and so on as these were suggestions I found for this problem. Sadly nothing helped.

This is my original service file:

[Unit] Description=zigbee2mqtt After=network.target

[Service] ExecStart=/usr/bin/npm start WorkingDirectory=/opt/zigbee2mqtt StandardOutput=inherit StandardError=inherit Restart=always User=openhabian

[Install] WantedBy=multi-user.target

I fear I messed up something with node. Any help or advice for troubleshooting is highly appreciated.

What did you expect to happen?

Being Abe to start as a demon after updating without any changes to the service file.

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.37.0

Adapter firmware version

20211217

Adapter

CC2562P

Setup

Intel NUC with Ubuntu

Debug log

Screenshot_2024-05-06-21-02-00-664_com sonelli juicessh-edit

lux73 commented 6 months ago

@1Joe1

did your z2m installation works if you start manually?

pls post the output from

find / -name npm

1Joe1 commented 6 months ago

Hello Lux73 and thanks for your help.

Yes everything works just fine if I start Z2M manually. Before updating it worked both manually and when started as a service.

Here is the output you asked for:

openhabian@openhab:~$ find / -name npm find: ‘/proc/tty/driver’: Permission denied find: ‘/proc/1/task/1/fd’: Permission denied find: ‘/proc/1/task/1/fdinfo’: Permission denied find: ‘/proc/1/task/1/ns’: Permission denied find: ‘/proc/1/fd’: Permission denied find: ‘/proc/1/map_files’: Permission denied find: ‘/proc/1/fdinfo’: Permission denied find: ‘/proc/1/ns’: Permission denied find: ‘/proc/2/task/2/fd’: Permission denied find: ‘/proc/2/task/2/fdinfo’: Permission denied find: ‘/proc/2/task/2/ns’: Permission denied find: ‘/proc/2/fd’: Permission denied find: ‘/proc/2/map_files’: Permission denied find: ‘/proc/2/fdinfo’: Permission denied find: ‘/proc/2/ns’: Permission denied find: ‘/proc/3/task/3/fd’: Permission denied find: ‘/proc/3/task/3/fdinfo’: Permission denied find: ‘/proc/3/task/3/ns’: Permission denied find: ‘/proc/3/fd’: Permission denied find: ‘/proc/3/map_files’: Permission denied find: ‘/proc/3/fdinfo’: Permission denied find: ‘/proc/3/ns’: Permission denied find: ‘/proc/4/task/4/fd’: Permission denied find: ‘/proc/4/task/4/fdinfo’: Permission denied find: ‘/proc/4/task/4/ns’: Permission denied find: ‘/proc/4/fd’: Permission denied find: ‘/proc/4/map_files’: Permission denied find: ‘/proc/4/fdinfo’: Permission denied find: ‘/proc/4/ns’: Permission denied find: ‘/proc/6/task/6/fd’: Permission denied find: ‘/proc/6/task/6/fdinfo’: Permission denied find: ‘/proc/6/task/6/ns’: Permission denied find: ‘/proc/6/fd’: Permission denied find: ‘/proc/6/map_files’: Permission denied find: ‘/proc/6/fdinfo’: Permission denied find: ‘/proc/6/ns’: Permission denied find: ‘/proc/8/task/8/fd’: Permission denied find: ‘/proc/8/task/8/fdinfo’: Permission denied find: ‘/proc/8/task/8/ns’: Permission denied find: ‘/proc/8/fd’: Permission denied find: ‘/proc/8/map_files’: Permission denied find: ‘/proc/8/fdinfo’: Permission denied find: ‘/proc/8/ns’: Permission denied find: ‘/proc/9/task/9/fd’: Permission denied find: ‘/proc/9/task/9/fdinfo’: Permission denied find: ‘/proc/9/task/9/ns’: Permission denied find: ‘/proc/9/fd’: Permission denied find: ‘/proc/9/map_files’: Permission denied find: ‘/proc/9/fdinfo’: Permission denied find: ‘/proc/9/ns’: Permission denied find: ‘/proc/10/task/10/fd’: Permission denied find: ‘/proc/10/task/10/fdinfo’: Permission denied find: ‘/proc/10/task/10/ns’: Permission denied find: ‘/proc/10/fd’: Permission denied find: ‘/proc/10/map_files’: Permission denied find: ‘/proc/10/fdinfo’: Permission denied find: ‘/proc/10/ns’: Permission denied find: ‘/proc/11/task/11/fd’: Permission denied find: ‘/proc/11/task/11/fdinfo’: Permission denied find: ‘/proc/11/task/11/ns’: Permission denied find: ‘/proc/11/fd’: Permission denied find: ‘/proc/11/map_files’: Permission denied find: ‘/proc/11/fdinfo’: Permission denied find: ‘/proc/11/ns’: Permission denied find: ‘/proc/12/task/12/fd’: Permission denied find: ‘/proc/12/task/12/fdinfo’: Permission denied find: ‘/proc/12/task/12/ns’: Permission denied find: ‘/proc/12/fd’: Permission denied find: ‘/proc/12/map_files’: Permission denied find: ‘/proc/12/fdinfo’: Permission denied find: ‘/proc/12/ns’: Permission denied find: ‘/proc/14/task/14/fd’: Permission denied find: ‘/proc/14/task/14/fdinfo’: Permission denied find: ‘/proc/14/task/14/ns’: Permission denied find: ‘/proc/14/fd’: Permission denied find: ‘/proc/14/map_files’: Permission denied find: ‘/proc/14/fdinfo’: Permission denied find: ‘/proc/14/ns’: Permission denied find: ‘/proc/15/task/15/fd’: Permission denied find: ‘/proc/15/task/15/fdinfo’: Permission denied find: ‘/proc/15/task/15/ns’: Permission denied find: ‘/proc/15/fd’: Permission denied find: ‘/proc/15/map_files’: Permission denied find: ‘/proc/15/fdinfo’: Permission denied find: ‘/proc/15/ns’: Permission denied find: ‘/proc/16/task/16/fd’: Permission denied find: ‘/proc/16/task/16/fdinfo’: Permission denied find: ‘/proc/16/task/16/ns’: Permission denied find: ‘/proc/16/fd’: Permission denied find: ‘/proc/16/map_files’: Permission denied find: ‘/proc/16/fdinfo’: Permission denied find: ‘/proc/16/ns’: Permission denied find: ‘/proc/17/task/17/fd’: Permission denied find: ‘/proc/17/task/17/fdinfo’: Permission denied find: ‘/proc/17/task/17/ns’: Permission denied find: ‘/proc/17/fd’: Permission denied find: ‘/proc/17/map_files’: Permission denied find: ‘/proc/17/fdinfo’: Permission denied find: ‘/proc/17/ns’: Permission denied find: ‘/proc/18/task/18/fd’: Permission denied find: ‘/proc/18/task/18/fdinfo’: Permission denied find: ‘/proc/18/task/18/ns’: Permission denied find: ‘/proc/18/fd’: Permission denied find: ‘/proc/18/map_files’: Permission denied find: ‘/proc/18/fdinfo’: Permission denied find: ‘/proc/18/ns’: Permission denied find: ‘/proc/20/task/20/fd’: Permission denied find: ‘/proc/20/task/20/fdinfo’: Permission denied find: ‘/proc/20/task/20/ns’: Permission denied find: ‘/proc/20/fd’: Permission denied find: ‘/proc/20/map_files’: Permission denied find: ‘/proc/20/fdinfo’: Permission denied find: ‘/proc/20/ns’: Permission denied find: ‘/proc/21/task/21/fd’: Permission denied find: ‘/proc/21/task/21/fdinfo’: Permission denied find: ‘/proc/21/task/21/ns’: Permission denied find: ‘/proc/21/fd’: Permission denied find: ‘/proc/21/map_files’: Permission denied find: ‘/proc/21/fdinfo’: Permission denied find: ‘/proc/21/ns’: Permission denied find: ‘/proc/22/task/22/fd’: Permission denied find: ‘/proc/22/task/22/fdinfo’: Permission denied find: ‘/proc/22/task/22/ns’: Permission denied find: ‘/proc/22/fd’: Permission denied find: ‘/proc/22/map_files’: Permission denied find: ‘/proc/22/fdinfo’: Permission denied find: ‘/proc/22/ns’: Permission denied find: ‘/proc/23/task/23/fd’: Permission denied find: ‘/proc/23/task/23/fdinfo’: Permission denied find: ‘/proc/23/task/23/ns’: Permission denied find: ‘/proc/23/fd’: Permission denied find: ‘/proc/23/map_files’: Permission denied find: ‘/proc/23/fdinfo’: Permission denied find: ‘/proc/23/ns’: Permission denied find: ‘/proc/24/task/24/fd’: Permission denied find: ‘/proc/24/task/24/fdinfo’: Permission denied find: ‘/proc/24/task/24/ns’: Permission denied find: ‘/proc/24/fd’: Permission denied find: ‘/proc/24/map_files’: Permission denied find: ‘/proc/24/fdinfo’: Permission denied find: ‘/proc/24/ns’: Permission denied find: ‘/proc/26/task/26/fd’: Permission denied find: ‘/proc/26/task/26/fdinfo’: Permission denied find: ‘/proc/26/task/26/ns’: Permission denied find: ‘/proc/26/fd’: Permission denied find: ‘/proc/26/map_files’: Permission denied find: ‘/proc/26/fdinfo’: Permission denied find: ‘/proc/26/ns’: Permission denied find: ‘/proc/27/task/27/fd’: Permission denied find: ‘/proc/27/task/27/fdinfo’: Permission denied find: ‘/proc/27/task/27/ns’: Permission denied find: ‘/proc/27/fd’: Permission denied find: ‘/proc/27/map_files’: Permission denied find: ‘/proc/27/fdinfo’: Permission denied find: ‘/proc/27/ns’: Permission denied find: ‘/proc/28/task/28/fd’: Permission denied find: ‘/proc/28/task/28/fdinfo’: Permission denied find: ‘/proc/28/task/28/ns’: Permission denied find: ‘/proc/28/fd’: Permission denied find: ‘/proc/28/map_files’: Permission denied find: ‘/proc/28/fdinfo’: Permission denied find: ‘/proc/28/ns’: Permission denied find: ‘/proc/29/task/29/fd’: Permission denied find: ‘/proc/29/task/29/fdinfo’: Permission denied find: ‘/proc/29/task/29/ns’: Permission denied find: ‘/proc/29/fd’: Permission denied find: ‘/proc/29/map_files’: Permission denied find: ‘/proc/29/fdinfo’: Permission denied find: ‘/proc/29/ns’: Permission denied find: ‘/proc/30/task/30/fd’: Permission denied find: ‘/proc/30/task/30/fdinfo’: Permission denied find: ‘/proc/30/task/30/ns’: Permission denied find: ‘/proc/30/fd’: Permission denied find: ‘/proc/30/map_files’: Permission denied find: ‘/proc/30/fdinfo’: Permission denied find: ‘/proc/30/ns’: Permission denied find: ‘/proc/32/task/32/fd’: Permission denied find: ‘/proc/32/task/32/fdinfo’: Permission denied find: ‘/proc/32/task/32/ns’: Permission denied find: ‘/proc/32/fd’: Permission denied find: ‘/proc/32/map_files’: Permission denied find: ‘/proc/32/fdinfo’: Permission denied find: ‘/proc/32/ns’: Permission denied find: ‘/proc/33/task/33/fd’: Permission denied find: ‘/proc/33/task/33/fdinfo’: Permission denied find: ‘/proc/33/task/33/ns’: Permission denied find: ‘/proc/33/fd’: Permission denied find: ‘/proc/33/map_files’: Permission denied find: ‘/proc/33/fdinfo’: Permission denied find: ‘/proc/33/ns’: Permission denied find: ‘/proc/34/task/34/fd’: Permission denied find: ‘/proc/34/task/34/fdinfo’: Permission denied find: ‘/proc/34/task/34/ns’: Permission denied find: ‘/proc/34/fd’: Permission denied find: ‘/proc/34/map_files’: Permission denied find: ‘/proc/34/fdinfo’: Permission denied find: ‘/proc/34/ns’: Permission denied find: ‘/proc/35/task/35/fd’: Permission denied find: ‘/proc/35/task/35/fdinfo’: Permission denied find: ‘/proc/35/task/35/ns’: Permission denied find: ‘/proc/35/fd’: Permission denied find: ‘/proc/35/map_files’: Permission denied find: ‘/proc/35/fdinfo’: Permission denied find: ‘/proc/35/ns’: Permission denied find: ‘/proc/36/task/36/fd’: Permission denied find: ‘/proc/36/task/36/fdinfo’: Permission denied find: ‘/proc/36/task/36/ns’: Permission denied find: ‘/proc/36/fd’: Permission denied find: ‘/proc/36/map_files’: Permission denied find: ‘/proc/36/fdinfo’: Permission denied find: ‘/proc/36/ns’: Permission denied find: ‘/proc/37/task/37/fd’: Permission denied find: ‘/proc/37/task/37/fdinfo’: Permission denied find: ‘/proc/37/task/37/ns’: Permission denied find: ‘/proc/37/fd’: Permission denied find: ‘/proc/37/map_files’: Permission denied find: ‘/proc/37/fdinfo’: Permission denied find: ‘/proc/37/ns’: Permission denied find: ‘/proc/38/task/38/fd’: Permission denied find: ‘/proc/38/task/38/fdinfo’: Permission denied find: ‘/proc/38/task/38/ns’: Permission denied find: ‘/proc/38/fd’: Permission denied find: ‘/proc/38/map_files’: Permission denied find: ‘/proc/38/fdinfo’: Permission denied find: ‘/proc/38/ns’: Permission denied find: ‘/proc/39/task/39/fd’: Permission denied find: ‘/proc/39/task/39/fdinfo’: Permission denied find: ‘/proc/39/task/39/ns’: Permission denied find: ‘/proc/39/fd’: Permission denied find: ‘/proc/39/map_files’: Permission denied find: ‘/proc/39/fdinfo’: Permission denied find: ‘/proc/39/ns’: Permission denied find: ‘/proc/40/task/40/fd’: Permission denied find: ‘/proc/40/task/40/fdinfo’: Permission denied find: ‘/proc/40/task/40/ns’: Permission denied find: ‘/proc/40/fd’: Permission denied find: ‘/proc/40/map_files’: Permission denied find: ‘/proc/40/fdinfo’: Permission denied find: ‘/proc/40/ns’: Permission denied find: ‘/proc/41/task/41/fd’: Permission denied find: ‘/proc/41/task/41/fdinfo’: Permission denied find: ‘/proc/41/task/41/ns’: Permission denied find: ‘/proc/41/fd’: Permission denied find: ‘/proc/41/map_files’: Permission denied find: ‘/proc/41/fdinfo’: Permission denied find: ‘/proc/41/ns’: Permission denied find: ‘/proc/42/task/42/fd’: Permission denied find: ‘/proc/42/task/42/fdinfo’: Permission denied find: ‘/proc/42/task/42/ns’: Permission denied find: ‘/proc/42/fd’: Permission denied find: ‘/proc/42/map_files’: Permission denied find: ‘/proc/42/fdinfo’: Permission denied find: ‘/proc/42/ns’: Permission denied find: ‘/proc/89/task/89/fd’: Permission denied find: ‘/proc/89/task/89/fdinfo’: Permission denied find: ‘/proc/89/task/89/ns’: Permission denied find: ‘/proc/89/fd’: Permission denied find: ‘/proc/89/map_files’: Permission denied find: ‘/proc/89/fdinfo’: Permission denied find: ‘/proc/89/ns’: Permission denied find: ‘/proc/90/task/90/fd’: Permission denied find: ‘/proc/90/task/90/fdinfo’: Permission denied find: ‘/proc/90/task/90/ns’: Permission denied find: ‘/proc/90/fd’: Permission denied find: ‘/proc/90/map_files’: Permission denied find: ‘/proc/90/fdinfo’: Permission denied find: ‘/proc/90/ns’: Permission denied find: ‘/proc/91/task/91/fd’: Permission denied find: ‘/proc/91/task/91/fdinfo’: Permission denied find: ‘/proc/91/task/91/ns’: Permission denied find: ‘/proc/91/fd’: Permission denied find: ‘/proc/91/map_files’: Permission denied find: ‘/proc/91/fdinfo’: Permission denied find: ‘/proc/91/ns’: Permission denied find: ‘/proc/93/task/93/fd’: Permission denied find: ‘/proc/93/task/93/fdinfo’: Permission denied find: ‘/proc/93/task/93/ns’: Permission denied find: ‘/proc/93/fd’: Permission denied find: ‘/proc/93/map_files’: Permission denied find: ‘/proc/93/fdinfo’: Permission denied find: ‘/proc/93/ns’: Permission denied find: ‘/proc/94/task/94/fd’: Permission denied find: ‘/proc/94/task/94/fdinfo’: Permission denied find: ‘/proc/94/task/94/ns’: Permission denied find: ‘/proc/94/fd’: Permission denied find: ‘/proc/94/map_files’: Permission denied find: ‘/proc/94/fdinfo’: Permission denied find: ‘/proc/94/ns’: Permission denied find: ‘/proc/95/task/95/fd’: Permission denied find: ‘/proc/95/task/95/fdinfo’: Permission denied find: ‘/proc/95/task/95/ns’: Permission denied find: ‘/proc/95/fd’: Permission denied find: ‘/proc/95/map_files’: Permission denied find: ‘/proc/95/fdinfo’: Permission denied find: ‘/proc/95/ns’: Permission denied find: ‘/proc/96/task/96/fd’: Permission denied find: ‘/proc/96/task/96/fdinfo’: Permission denied find: ‘/proc/96/task/96/ns’: Permission denied find: ‘/proc/96/fd’: Permission denied find: ‘/proc/96/map_files’: Permission denied find: ‘/proc/96/fdinfo’: Permission denied find: ‘/proc/96/ns’: Permission denied find: ‘/proc/97/task/97/fd’: Permission denied find: ‘/proc/97/task/97/fdinfo’: Permission denied find: ‘/proc/97/task/97/ns’: Permission denied find: ‘/proc/97/fd’: Permission denied find: ‘/proc/97/map_files’: Permission denied find: ‘/proc/97/fdinfo’: Permission denied find: ‘/proc/97/ns’: Permission denied find: ‘/proc/98/task/98/fd’: Permission denied find: ‘/proc/98/task/98/fdinfo’: Permission denied find: ‘/proc/98/task/98/ns’: Permission denied find: ‘/proc/98/fd’: Permission denied find: ‘/proc/98/map_files’: Permission denied find: ‘/proc/98/fdinfo’: Permission denied find: ‘/proc/98/ns’: Permission denied find: ‘/proc/102/task/102/fd’: Permission denied find: ‘/proc/102/task/102/fdinfo’: Permission denied find: ‘/proc/102/task/102/ns’: Permission denied find: ‘/proc/102/fd’: Permission denied find: ‘/proc/102/map_files’: Permission denied find: ‘/proc/102/fdinfo’: Permission denied find: ‘/proc/102/ns’: Permission denied find: ‘/proc/103/task/103/fd’: Permission denied find: ‘/proc/103/task/103/fdinfo’: Permission denied find: ‘/proc/103/task/103/ns’: Permission denied find: ‘/proc/103/fd’: Permission denied find: ‘/proc/103/map_files’: Permission denied find: ‘/proc/103/fdinfo’: Permission denied find: ‘/proc/103/ns’: Permission denied find: ‘/proc/105/task/105/fd’: Permission denied find: ‘/proc/105/task/105/fdinfo’: Permission denied find: ‘/proc/105/task/105/ns’: Permission denied find: ‘/proc/105/fd’: Permission denied find: ‘/proc/105/map_files’: Permission denied find: ‘/proc/105/fdinfo’: Permission denied find: ‘/proc/105/ns’: Permission denied find: ‘/proc/106/task/106/fd’: Permission denied find: ‘/proc/106/task/106/fdinfo’: Permission denied find: ‘/proc/106/task/106/ns’: Permission denied find: ‘/proc/106/fd’: Permission denied find: ‘/proc/106/map_files’: Permission denied find: ‘/proc/106/fdinfo’: Permission denied find: ‘/proc/106/ns’: Permission denied find: ‘/proc/107/task/107/fd’: Permission denied find: ‘/proc/107/task/107/fdinfo’: Permission denied find: ‘/proc/107/task/107/ns’: Permission denied find: ‘/proc/107/fd’: Permission denied find: ‘/proc/107/map_files’: Permission denied find: ‘/proc/107/fdinfo’: Permission denied find: ‘/proc/107/ns’: Permission denied find: ‘/proc/109/task/109/fd’: Permission denied find: ‘/proc/109/task/109/fdinfo’: Permission denied find: ‘/proc/109/task/109/ns’: Permission denied find: ‘/proc/109/fd’: Permission denied find: ‘/proc/109/map_files’: Permission denied find: ‘/proc/109/fdinfo’: Permission denied find: ‘/proc/109/ns’: Permission denied find: ‘/proc/118/task/118/fd’: Permission denied find: ‘/proc/118/task/118/fdinfo’: Permission denied find: ‘/proc/118/task/118/ns’: Permission denied find: ‘/proc/118/fd’: Permission denied find: ‘/proc/118/map_files’: Permission denied find: ‘/proc/118/fdinfo’: Permission denied find: ‘/proc/118/ns’: Permission denied find: ‘/proc/137/task/137/fd’: Permission denied find: ‘/proc/137/task/137/fdinfo’: Permission denied find: ‘/proc/137/task/137/ns’: Permission denied find: ‘/proc/137/fd’: Permission denied find: ‘/proc/137/map_files’: Permission denied find: ‘/proc/137/fdinfo’: Permission denied find: ‘/proc/137/ns’: Permission denied find: ‘/proc/187/task/187/fd’: Permission denied find: ‘/proc/187/task/187/fdinfo’: Permission denied find: ‘/proc/187/task/187/ns’: Permission denied find: ‘/proc/187/fd’: Permission denied find: ‘/proc/187/map_files’: Permission denied find: ‘/proc/187/fdinfo’: Permission denied find: ‘/proc/187/ns’: Permission denied find: ‘/proc/188/task/188/fd’: Permission denied find: ‘/proc/188/task/188/fdinfo’: Permission denied find: ‘/proc/188/task/188/ns’: Permission denied find: ‘/proc/188/fd’: Permission denied find: ‘/proc/188/map_files’: Permission denied find: ‘/proc/188/fdinfo’: Permission denied find: ‘/proc/188/ns’: Permission denied find: ‘/proc/189/task/189/fd’: Permission denied find: ‘/proc/189/task/189/fdinfo’: Permission denied find: ‘/proc/189/task/189/ns’: Permission denied find: ‘/proc/189/fd’: Permission denied find: ‘/proc/189/map_files’: Permission denied find: ‘/proc/189/fdinfo’: Permission denied find: ‘/proc/189/ns’: Permission denied find: ‘/proc/222/task/222/fd’: Permission denied find: ‘/proc/222/task/222/fdinfo’: Permission denied find: ‘/proc/222/task/222/ns’: Permission denied find: ‘/proc/222/fd’: Permission denied find: ‘/proc/222/map_files’: Permission denied find: ‘/proc/222/fdinfo’: Permission denied find: ‘/proc/222/ns’: Permission denied find: ‘/proc/225/task/225/fd’: Permission denied find: ‘/proc/225/task/225/fdinfo’: Permission denied find: ‘/proc/225/task/225/ns’: Permission denied find: ‘/proc/225/fd’: Permission denied find: ‘/proc/225/map_files’: Permission denied find: ‘/proc/225/fdinfo’: Permission denied find: ‘/proc/225/ns’: Permission denied find: ‘/proc/226/task/226/fd’: Permission denied find: ‘/proc/226/task/226/fdinfo’: Permission denied find: ‘/proc/226/task/226/ns’: Permission denied find: ‘/proc/226/fd’: Permission denied find: ‘/proc/226/map_files’: Permission denied find: ‘/proc/226/fdinfo’: Permission denied find: ‘/proc/226/ns’: Permission denied find: ‘/proc/227/task/227/fd’: Permission denied find: ‘/proc/227/task/227/fdinfo’: Permission denied find: ‘/proc/227/task/227/ns’: Permission denied find: ‘/proc/227/fd’: Permission denied find: ‘/proc/227/map_files’: Permission denied find: ‘/proc/227/fdinfo’: Permission denied find: ‘/proc/227/ns’: Permission denied find: ‘/proc/233/task/233/fd’: Permission denied find: ‘/proc/233/task/233/fdinfo’: Permission denied find: ‘/proc/233/task/233/ns’: Permission denied find: ‘/proc/233/fd’: Permission denied find: ‘/proc/233/map_files’: Permission denied find: ‘/proc/233/fdinfo’: Permission denied find: ‘/proc/233/ns’: Permission denied find: ‘/proc/243/task/243/fd’: Permission denied find: ‘/proc/243/task/243/fdinfo’: Permission denied find: ‘/proc/243/task/243/ns’: Permission denied find: ‘/proc/243/fd’: Permission denied find: ‘/proc/243/map_files’: Permission denied find: ‘/proc/243/fdinfo’: Permission denied find: ‘/proc/243/ns’: Permission denied find: ‘/proc/245/task/245/fd’: Permission denied find: ‘/proc/245/task/245/fdinfo’: Permission denied find: ‘/proc/245/task/245/ns’: Permission denied find: ‘/proc/245/fd’: Permission denied find: ‘/proc/245/map_files’: Permission denied find: ‘/proc/245/fdinfo’: Permission denied find: ‘/proc/245/ns’: Permission denied find: ‘/proc/275/task/275/fd’: Permission denied find: ‘/proc/275/task/275/fdinfo’: Permission denied find: ‘/proc/275/task/275/ns’: Permission denied

lux73 commented 6 months ago

hm, sorry i forget you are logged in as limited user ^^

lets try another command to find the npm Binary

whereis npm

pls post output

is should be anyting like tihis npm: /usr/bin/npm /usr/share/man/man1/npm.1

if not try sudo whereis npm to run the cmd as superuser

1Joe1 commented 6 months ago

npm: /usr/bin/npm /home/openhabian/.nvm/versions/node/v21.7.3/bin/npm /usr/share/man/man1/npm.1

lux73 commented 6 months ago

so /usr/bin/npm is correct in your Service File

really strange - all i can say i would delete your node installation & install nodjs 20.x (LTS)

https://kinsta.com/blog/how-to-install-node-js/ - scroll down, theres is a "How to install Node.js on Linux" manually

this works flawlessy for my Debian System

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days