I had this happen once before (I don't reboot my main machine very often) but when it happened I just put it down to some glitch in the matrix but it#s happened again
I have a flow that looks out for files xxx (1).scad and renames them to xxx.scad
In the past few weeks I added ability to launch exec script to auto-generate an .stl file from it
I had to power cycle the house yesterday (to reset EV charger) and then yesterday I realised that my flow modification had gone and when I checked date of flows.json it was dated 18th October
Going try a bit more attention in future to try and work out what's going on
Just trying out a few things first
e.g. I've made changes and deployed but the datetime of my flows hasn't changed
simon@simon-HP-Desktop-M01-F1xxx:~/.node-red$ ls -l --sort=time
total 3372
drwxr-xr-x 6 simon simon 4096 Oct 28 10:01 context
-rw-rw-r-- 1 simon simon 1281506 Oct 18 17:37 flows.json
-rwxr-xr-x 1 simon simon 387659 Oct 16 11:44 package-lock.json
-rwxr-xr-x 1 simon simon 2307 Oct 16 11:44 package.json
drwxr-xr-x 598 simon simon 20480 Oct 16 11:44 node_modules
-rw-rw-r-- 1 simon simon 203 Jul 24 17:47 flows_cred.json
-rw-rw-r-- 1 simon simon 14445 May 31 11:26 alert.mp3
-rw-rw-r-- 1 simon simon 1549106 Nov 20 2024 flows.oldjson
-rwxr-xr-x 1 simon simon 20488 Dec 20 2023 settings.js
-rwxr-xr-x 1 simon simon 6746 Sep 12 2023 alexaFile.txt
-rwxr-xr-x 1 simon simon 20502 Sep 10 2023 settings1881.js
drwxr-xr-x 2 simon simon 4096 Aug 30 2023 storage-9999d6bdbd001279
drwxr-xr-x 4 simon simon 4096 Aug 30 2023 node-red-matter
-rwxr-xr-x 1 simon simon 109222 Dec 2 2022 multicam.png
drwxr-xr-x 3 simon simon 4096 Jan 28 2022 lib
Just making sure I'm looking at the right machine
I've also added a backup flow for this machine. I didn't previously have one as my main machine is generally just an NR playground and doesn't run any of the house IoT stuff
[edit] But of course the backup won't be any good if the flows.json file isn't actually being updated on the computer drive.
I've had Pi SD cards go read only but hopefully my 1TB NVME hasn't!
simon@simon-HP-Desktop-M01-F1xxx:~/.node-red$ ls -la --sort=time
total 6408
drwxr-x--- 90 simon simon 73728 Oct 29 03:00 ..
drwxr-xr-x 6 simon simon 4096 Oct 28 10:01 context
drwxr-xr-x 7 simon simon 4096 Oct 18 17:37 .
-rw-rw-r-- 1 simon simon 1281506 Oct 18 17:37 flows.json
-rw-rw-r-- 1 simon simon 1281505 Oct 18 17:37 .flows.json.backup
-rw-rw-r-- 1 simon simon 81959 Oct 16 11:45 .config.nodes.json
-rw-rw-r-- 1 simon simon 82069 Oct 16 11:45 .config.nodes.json.backup
-rwxr-xr-x 1 simon simon 387659 Oct 16 11:44 package-lock.json
-rwxr-xr-x 1 simon simon 2307 Oct 16 11:44 package.json
drwxr-xr-x 598 simon simon 20480 Oct 16 11:44 node_modules
-rw-rw-r-- 1 simon simon 2054 Jul 30 14:30 .config.users.json
-rw-rw-r-- 1 simon simon 2061 Jul 30 14:30 .config.users.json.backup
-rw-rw-r-- 1 simon simon 203 Jul 24 17:47 flows_cred.json
-rw-rw-r-- 1 simon simon 263 Jul 24 17:47 .flows_cred.json.backup
-rw-rw-r-- 1 simon simon 163 Jun 10 18:10 .config.runtime.json
-rw-rw-r-- 1 simon simon 133 Jun 10 18:10 .config.runtime.json.backup
-rw-rw-r-- 1 simon simon 14445 May 31 11:26 alert.mp3
-rw-rw-r-- 1 simon simon 1549106 Nov 20 2024 flows.oldjson
-rw-rw-r-- 1 simon simon 1549351 Nov 20 2024 .flows.json
-rwxr-xr-x 1 simon simon 20488 Dec 20 2023 settings.js
-rwxr-xr-x 1 simon simon 6746 Sep 12 2023 alexaFile.txt
-rwxr-xr-x 1 simon simon 20502 Sep 10 2023 settings1881.js
drwxr-xr-x 2 simon simon 4096 Aug 30 2023 storage-9999d6bdbd001279
drwxr-xr-x 4 simon simon 4096 Aug 30 2023 node-red-matter
-rwxr-xr-x 1 simon simon 109222 Dec 2 2022 multicam.png
drwxr-xr-x 3 simon simon 4096 Jan 28 2022 lib
/** If you installed the optional node-red-dashboard you can set it's path
* relative to httpNodeRoot
* Other optional properties include
* readOnly:{boolean},
* middleware:{function or array}, (req,res,next) - http middleware
* ioMiddleware:{function or array}, (socket,next) - socket.io middleware
*/