Closed MarianRaphael closed 7 months ago
Can you provide the device.yml file?
Also it is probably worth mounting a directory on /opt/flowfuse-device/
with the device.yaml
file in side so we can see the full project file, settings.js and the flows that NR is trying to run
Do you need the complete device.yml? I added you to the team with the Wago Device
Yes, I need the device.yml
because I can't reproduce it.
I also want to see what files are already on the device.
Actually I know what this is, it's to do with the docker setup on the device
@MarianRaphael Can we close this? As it is a Docker version problem as described in the linked Node-RED issue
Current Behavior
The Device Agent, when accessed on a Wago Controller through Docker, enters an endless loop. This problem occurs during the initialization of Node-RED.
Welcome to Node-RED
[NR] 11/11/2023 4:33:59 PM [info] Node-RED version: v3.1.0 [NR] 11/11/2023 4:33:59 PM [info] Node.js version: v16.20.2 [NR] 11/11/2023 4:33:59 PM [info] Linux 5.10.21-rt34w03.01.06 arm LE [NR] 11/11/2023 4:34:07 PM [info] Loading palette nodes [NR] 11/11/2023 4:34:09 PM [info] FlowForge Light Theme Plugin loaded [NR] 11/11/2023 4:34:09 PM [info] FlowForge Dark Theme Plugin loaded [NR] 11/11/2023 4:34:09 PM [info] FlowFuse Team Library Plugin loaded [NR] 11/11/2023 4:34:18 PM [info] # [NR] 11/11/2023 4:34:18 PM [info] # Fatal error in , line 0 [NR] 11/11/2023 4:34:18 PM [info] # unreachable code [NR] 11/11/2023 4:34:18 PM [info] # [NR] 11/11/2023 4:34:18 PM [info] # [NR] 11/11/2023 4:34:18 PM [info] # [NR] 11/11/2023 4:34:18 PM [info] #FailureMessage Object: 0xb5d5275c [AGENT] 11/11/2023 4:34:18 PM [info] Node-RED stopped unexpectedly - restarting [AGENT] 11/11/2023 4:34:18 PM [info] Starting Node-RED
Expected Behavior
No response
Steps To Reproduce
root@CC100-5667E0:/opt/flowfuse-device docker run --restart=always --mount type=bind,src=/opt/flowfuse-device/device.yml,target=/opt/flowfuse-device/device.yml -p 1880:1880 flowfuse/device-agent:latest
Environment