@Colin So I tried some more stuff. Removed flow file of node-red and also removing settings file at the end.
Node-red started again with new settings file and clean and empty flow file.
After reboot same result again. Now I decided it was time to make a clean install on my rpi 3b+ again.
So I followed the procedure again. And make clean install of debian bullseye followed by influxDB (1.6.7~rc0) and node red, and some other small stuff.
After that with standard install and no changes whatsoever to Node-red. I rebooted and Node-red started
WITH SAME RESULT AGAIN!!! Here is the log I got in CLI
sudo reboot
login as: pi
pi@192.168.0.41's password:
Linux EBStest 5.15.76-v7+ #1597 SMP Fri Nov 4 12:13:17 GMT 2022 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Dec 26 11:11:36 2022
Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.
pi@EBStest:~ $ node-red-log
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
26 Dec 11:10:59 - [info] Server now running at http://127.0.0.1:1880/
26 Dec 11:10:59 - [warn] Encrypted credentials not found
26 Dec 11:10:59 - [info] Starting flows
26 Dec 11:10:59 - [info] Started flows
26 Dec 11:11:23 - [info] Stopping flows
26 Dec 11:11:23 - [info] Stopped flows
Stopping Node-RED graphical event wiring tool...
nodered.service: Succeeded.
Stopped Node-RED graphical event wiring tool.
nodered.service: Consumed 8.825s CPU time.
Started Node-RED graphical event wiring tool.
26 Dec 11:11:41 - [info]
Welcome to Node-RED
===================
26 Dec 11:11:41 - [info] Node-RED version: v3.0.2
26 Dec 11:11:41 - [info] Node.js version: v16.19.0
26 Dec 11:11:41 - [info] Linux 5.15.76-v7+ arm LE
26 Dec 11:11:45 - [info] Loading palette nodes
26 Dec 11:11:53 - [info] Settings file : /home/pi/.node-red/settings.js
26 Dec 11:11:53 - [info] Context store : 'default' [module=memory]
26 Dec 11:11:53 - [info] User directory : /home/pi/.node-red
26 Dec 11:11:53 - [warn] Projects disabled : editorTheme.projects.enabled=false
26 Dec 11:11:53 - [info] Flows file : /home/pi/.node-red/flows.json
26 Dec 11:11:53 - [info] Creating new flow file
26 Dec 11:11:53 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
26 Dec 11:11:53 - [warn] Encrypted credentials not found
26 Dec 11:11:53 - [info] Starting flows
26 Dec 11:11:53 - [info] Started flows
26 Dec 11:11:53 - [info] Server now running at http://127.0.0.1:1880/
So my conclusion is that something is wrong with my install procedure.
Hereby a summary of the install procedure that I did,
1. With raspberry PI Imager make image on sd card (Debian 11 (bullseye) with desktop xsfc
2. After startup with putty:
sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get autoremove -y && sudo apt-get autoclean -y
3. With raspi-config,
• System options Audio Headphone
• System options Hostname
• Interface options SSH Enable
• Interface options VNC Enable
• Advanced options Expand filesystem
4. Activation usb drive possibility with
sudo apt-get install ntfs-3g
5. Installing standard influxDB (1.6.7):
sudo apt-get install influxdb
sudo apt install influxdb-client
Adjust influxDB settings file:
/etc/influxdb/influxdb.conf
[HTTP]
HTTP: enabled = true
bind-address = ":8086"
[monitor]
store-enabled = false
6. sudo reboot
7. Activate Influxdb service
sudo systemctl unmask influxdb
sudo systemctl enable influxdb
sudo systemctl start influxdb
10. Install samba,
sudo apt update
sudo apt install samba samba-common-bin smbclient
Edit /etc/samba/smb.conf
11. sudo apt update && sudo apt install smem
12. Install NODE RED:
sudo apt install build-essential git
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
sudo systemctl enable nodered.service
13, sudo reboot
14. node-red-log
This was the procedure that I followed with the result, I showed you before.
The nodered-install.log didn't show any abnormalities also to my mind.
I also check the syslog and saw something familiar in the first 3 lines that I saw before also, namely failed to find modules lp/ppdev/parport_pc, I don't now if it means anything ????
Hereby the first few lines.
Sep 22 02:34:53 EBStest systemd-modules-load[130]: Failed to find module 'lp'
Sep 22 02:34:53 EBStest systemd-modules-load[130]: Failed to find module 'ppdev'
Sep 22 02:34:53 EBStest systemd-modules-load[130]: Failed to find module 'parport_pc'
Sep 22 02:34:53 EBStest systemd-modules-load[130]: Inserted module 'i2c_dev'
Sep 22 02:34:53 EBStest systemd-sysctl[147]: Couldn't write '1' to 'kernel/unprivileged_userns_clone', ignoring: No such file or directory
Sep 22 02:34:53 EBStest fake-hwclock[134]: Thu 22 Sep 00:34:48 UTC 2022
Sep 22 02:34:53 EBStest systemd-fsck[148]: e2fsck 1.46.2 (28-Feb-2021)
Sep 22 02:34:53 EBStest systemd-fsck[148]: rootfs: clean, 121433/1918208 files, 934128/7725184 blocks
Sep 22 02:34:53 EBStest systemd[1]: Finished Remount Root and Kernel File Systems.
Sep 22 02:34:53 EBStest systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
Sep 22 02:34:53 EBStest systemd[1]: Starting Flush Journal to Persistent Storage...
Sep 22 02:34:53 EBStest systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
Sep 22 02:34:53 EBStest systemd[1]: Starting Load/Save Random Seed...
Sep 22 02:34:53 EBStest systemd[1]: Starting Create System Users...
Sep 22 02:34:53 EBStest systemd[1]: Finished Coldplug All udev Devices.
Sep 22 02:34:53 EBStest systemd[1]: Starting Helper to synchronize boot up for ifupdown...
Sep 22 02:34:53 EBStest systemd[1]: Finished Helper to synchronize boot up for ifupdown.
Sep 22 02:34:53 EBStest systemd[1]: Finished Load/Save Random Seed.
Sep 22 02:34:53 EBStest systemd[1]: Condition check resulted in First Boot Complete being skipped.
Sep 22 02:34:53 EBStest systemd[1]: Finished Create System Users.
Sep 22 02:34:53 EBStest systemd[1]: Starting Create Static Device Nodes in /dev...
Sep 22 02:34:53 EBStest systemd[1]: Finished Set the console keyboard layout.
Sep 22 02:34:53 EBStest systemd[1]: Finished Flush Journal to Persistent Storage.
Sep 22 02:34:53 EBStest systemd[1]: Finished Create Static Device Nodes in /dev.
Sep 22 02:34:53 EBStest systemd[1]: Reached target Local File Systems (Pre).
Sep 22 02:34:53 EBStest systemd[1]: Starting Rule-based Manager for Device Events and Files...
Sep 22 02:34:53 EBStest systemd[1]: Started Rule-based Manager for Device Events and Files.
Sep 22 02:34:53 EBStest systemd[1]: Starting Show Plymouth Boot Screen...
Sep 22 02:34:53 EBStest systemd[1]: Received SIGRTMIN+20 from PID 173 (plymouthd).
Sep 22 02:34:53 EBStest systemd[1]: Started Show Plymouth Boot Screen.
Sep 22 02:34:53 EBStest systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch being skipped.
Sep 22 02:34:53 EBStest systemd[1]: Started Forward Password Requests to Plymouth Directory Watch.
Sep 22 02:34:53 EBStest systemd[1]: Reached target Local Encrypted Volumes.
Sep 22 02:34:53 EBStest systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch being skipped.
Sep 22 02:34:53 EBStest systemd[1]: Condition check resulted in Huge Pages File System being skipped.
Sep 22 02:34:53 EBStest systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
Sep 22 02:34:53 EBStest systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
Sep 22 02:34:53 EBStest systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
Sep 22 02:34:53 EBStest systemd[1]: Found device /dev/disk/by-partuuid/a47cfc53-01.
Sep 22 02:34:53 EBStest systemd[1]: Starting File System Check on /dev/disk/by-partuuid/a47cfc53-01...
Sep 22 02:34:53 EBStest systemd-fsck[214]: fsck.fat 4.2 (2021-01-31)
Sep 22 02:34:53 EBStest systemd-fsck[214]: /dev/mmcblk0p1: 321 files, 25467/130554 clusters
Sep 22 02:34:53 EBStest systemd[1]: Finished File System Check on /dev/disk/by-partuuid/a47cfc53-01.
Sep 22 02:34:53 EBStest systemd[1]: Mounting /boot...
Sep 22 02:34:53 EBStest systemd[1]: Mounted /boot.
Sep 22 02:34:53 EBStest systemd[1]: Reached target Local File Systems.
Sep 22 02:34:53 EBStest systemd[1]: Starting Set console font and keymap...
Sep 22 02:34:53 EBStest systemd[1]: Starting Raise network interfaces...
I am really puzzled now...... Any idea's on this?
Also @TotallyInformation or @dceejay maybe you guys have any idea what I did wrong in my installation procedure?