Hi,
Node-red GUI was pretty slow. I've stopped it but its process was still alive then I killed its own process. After that I cannot start it again with error log below
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
nodered.service: Scheduled restart job, restart counter is at 192.
Started nodered.service - Node-RED graphical event wiring tool.
nodered.service: Referenced but unset environment variable evaluates to an empty string: NODE_RED_OPTIONS
Error loading settings file: /home/user/.node-red/settings.js
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
I've stopped- started multiple times with no joy. I've tried to start it in safe mode it wasnot working at first then it worked but stuck at below
user@ubuntu-1:~$ sudo node-red --safe
7 Nov 05:47:07 - [info]
Welcome to Node-RED
7 Nov 05:47:07 - [info] Node-RED version: v4.0.5
7 Nov 05:47:07 - [info] Node.js version: v20.18.0
7 Nov 05:47:07 - [info] Linux 6.8.0-48-generic x64 LE
7 Nov 05:47:07 - [info] Loading palette nodes
How can I fix it? also where are my flows stored as the flows directory is empty
user@ubuntu-1:~/.node-red/lib$ ls
flows
user@ubuntu-1:~/.node-red/lib$ cd flows/
user@ubuntu-1:~/.node-red/lib/flows$ ls -al
total 8
drwxr-xr-x 2 user user 4096 Oct 17 15:11 .
drwxr-xr-x 3 user user 4096 Oct 17 15:11 ..