FlowFuse / device-agent

An agent to run FlowFuse managed instances of Node-RED on devices
Apache License 2.0
15 stars 8 forks source link

Raspberry Pi installer `chown` error #192

Closed ZJvandeWeg closed 10 months ago

ZJvandeWeg commented 10 months ago

Current Behavior

Found in the logs:

chown: missing operand after ‘/opt/flowforge-device’

It appears $SUDO_USER has not been defined, and the command that runs is basically chown -R /opt/flowforge-device. This I've validated by cating the service file.

Expected Behavior

No response

Steps To Reproduce

No response

Environment

hardillb commented 10 months ago

Dupe of https://github.com/FlowFuse/device-agent/issues/187