fix(fileflows): ask for server address when installing node

The node was installed without a server address, causing systemd to
restart-loop with 'Configuration not set'. Per the FileFlows docs,
the node requires --server [ADDRESS] to know which server to connect to.

Ask the user for the server address and pass it directly to the
--systemd install call, so the config is written correctly before
the service is started for the first time.
This commit is contained in:
MickLesk
2026-05-28 07:44:09 +02:00
parent 1fde72e141
commit f97a8642c6
+2 -2
View File
@@ -46,10 +46,10 @@ if [[ "$install_server" =~ ^[Ss]$ ]]; then
systemctl enable -q --now fileflows
msg_ok "Installed FileFlows Server"
else
read -r -p "${TAB3}Enter the FileFlows Server address (e.g. http://192.168.1.10:19200): " server_address
msg_info "Installing FileFlows Node"
cd /opt/fileflows/Node
$STD dotnet FileFlows.Node.dll
$STD dotnet FileFlows.Node.dll --systemd install --root true
$STD dotnet FileFlows.Node.dll --server "$server_address" --systemd install --root true
systemctl enable -q --now fileflows-node
msg_ok "Installed FileFlows Node"
fi