Flows not roll back to the current active snapshots

Hi , im having issues on the device agent where the device agents not deploy the active snapshots on the devices when the dev ops pipelines are triggered automatically

2/21/2024 3:27:51 PM  [info]    Downlink enqueued
2/21/2024 3:27:51 PM  [info]    Downlink enqueued
2/21/2024 3:28:24 PM  []        Sync Status | No Sync is Happening
2/21/2024 3:28:24 PM  []        Sync Status Flag | NS
2/21/2024 3:29:03 PM  []        Sync Status | No Sync is Happening
2/21/2024 3:29:03 PM  []        Sync Status Flag | NS
2/21/2024 3:30:02 PM  []        Sync Status | No Sync is Happening
2/21/2024 3:30:02 PM  []        Sync Status Flag | NS
2/21/2024 3:30:18 PM  [info]    New snapshot available
2/21/2024 3:30:18 PM  [info]    Stopping current snapshot
2/21/2024 3:30:18 PM  [info]    Stopping Node-RED
2/21/2024 3:30:18 PM  [info]    Stopping flows
2/21/2024 3:30:18 PM  [info]    connectionManager: '0496ac413e831907' (tnlxx_session), message: pool disconnected from the database.
2/21/2024 3:30:18 PM  [info]    connectionManager: '0496ac413e831907' (tnlxx_session), message: client disconnected from the database.
2/21/2024 3:30:18 PM  [info]    connectionManager: 'c359ecc07eacd987' (as_events), message: client disconnected from the database.
2/21/2024 3:30:18 PM  [info]    Disconnected from broker: mqtt://localhost:1883
2/21/2024 3:30:27 PM  [info]    connectionManager: 'c359ecc07eacd987' (as_events), message: pool disconnected from the database.
2/21/2024 3:30:27 PM  [info]    Stopped flows
2/21/2024 3:30:28 PM  [info]    Launching with new settings...
2/21/2024 3:30:28 PM  [info]    Configuration :-
2/21/2024 3:30:28 PM  [info]      * Application        : xxxxxxxx
2/21/2024 3:30:28 PM  [info]      * Snapshot           : none
2/21/2024 3:30:28 PM  [info]      * Settings           : xxxxxxxxxxxxxxxxxxx
2/21/2024 3:30:28 PM  [info]      * Operation Mode     : autonomous
2/21/2024 3:30:28 PM  [info]      * Licensed           : yes
2/21/2024 3:30:28 PM  [info]    Environment :-
2/21/2024 3:30:28 PM  [info]      * FF_DEVICE_ID       : xxxxxxxxxxxx
2/21/2024 3:30:28 PM  [info]      * FF_DEVICE_NAME     : xxxxxxxxxxxx
2/21/2024 3:30:28 PM  [info]      * FF_DEVICE_TYPE     : Auto Provisioned
2/21/2024 3:30:28 PM  [info]      * FF_APPLICATION_ID  : xxxxxxxxxxxxx
2/21/2024 3:30:28 PM  [info]      * FF_APPLICATION_NAME: xxxxxxxx
2/21/2024 3:30:28 PM  [info]      * FF_SNAPSHOT_ID     : 0
2/21/2024 3:30:28 PM  [info]      * FF_SNAPSHOT_NAME   : None
2/21/2024 3:30:28 PM  [info]    Updating configuration files
2/21/2024 3:30:28 PM  [info]    Installing dependencies
2/21/2024 3:30:35 PM  [info]    Updating theme files
2/21/2024 3:30:35 PM  [info]    Starting Node-RED
2/21/2024 3:30:37 PM  [info]    Welcome to Node-RED
===================

2/21/2024 3:30:37 PM  [info]    Node-RED version: v3.1.3
2/21/2024 3:30:37 PM  [info]    Node.js  version: v16.20.2
2/21/2024 3:30:37 PM  [info]    Linux 6.1.21-v8+ arm64 LE
2/21/2024 3:30:38 PM  [info]    Loading palette nodes
2/21/2024 3:30:39 PM  [info]    FlowFuse Light Theme Plugin loaded
2/21/2024 3:30:39 PM  [info]    FlowFuse Dark Theme Plugin loaded
2/21/2024 3:30:39 PM  [info]    FlowFuse Team Library Plugin loaded
2/21/2024 3:30:41 PM  [info]    Settings file  : /opt/flowfuse-device/project/settings.js
2/21/2024 3:30:41 PM  [info]    Context store  : 'memory' [module=memory]
2/21/2024 3:30:41 PM  [info]    Context store  : 'persistent' [module=localfilesystem]
2/21/2024 3:30:41 PM  [info]    User directory : /opt/flowfuse-device/project
2/21/2024 3:30:41 PM  [warn]    Projects disabled : set editorTheme.projects.enabled=true to enable
2/21/2024 3:30:41 PM  [info]    Flows file     : /opt/flowfuse-device/project/flows.json
2/21/2024 3:30:41 PM  [info]    Server now running at http://127.0.0.1:1880/device-editor/
2/21/2024 3:30:41 PM  [warn]    Encrypted credentials not found
2/21/2024 3:30:41 PM  [info]    Starting flows
2/21/2024 3:30:41 PM  [info]    Started flows
2/21/2024 3:30:41 PM  [info]    { device: 'xxxxxxxxxx', application: 'xxxxx' }

As you can see , on my devices logs , the first 8 lines of the logs , the flows are running normally where the flows send downlink every certain period , but then again after the dev ops pipelines are triggered automatically , the device detect new snaphost ? but i have not created any new snapshots , and correct me if im wrong , if im not mistaken even if the device detecting new snapshots it should roll back to the previous snapshots right ? why did this issues happened yea ? can anyone explain thanks !

These issues happened after I add new device in the device group and the dev ops pipelines automatically triggered to deploy the snapshots from the reference device

Hi, it is quite difficult to diagnose from your description. Could you provide more details please.

Ideally: screenshots of your pipeline and the settings in each stage. Also, a step by step to reproduce this would be super helpful.

Please also let me know if you are using FlowFuse cloud or if you are self hosted.

If there is any sensitive info you feel you cannot share publicly, feel free to message me directly (click my avatar->message) or use our contact us pages on the FlowFuse website.

Note: I am a full time engineer working FlowFuse.