mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-31 13:04:43 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user