Compare commits

..

2 Commits

Author SHA1 Message Date
MickLesk
8abcc74b1b fix(fileflows): configure node with localhost server address on install
Remove interactive read prompt; default to http://localhost:19200 so
the node config is populated and the service no longer restart-loops
with 'Configuration not set'.
2026-05-28 07:47:09 +02:00
MickLesk
f97a8642c6 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.
2026-05-28 07:44:09 +02:00
2 changed files with 2 additions and 3 deletions

View File

@@ -48,8 +48,7 @@ if [[ "$install_server" =~ ^[Ss]$ ]]; then
else
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 "http://localhost:19200" --systemd install --root true
systemctl enable -q --now fileflows-node
msg_ok "Installed FileFlows Node"
fi

View File

@@ -46,7 +46,7 @@ sed -i "s|^ENCRYPTION_KEY=.*|ENCRYPTION_KEY=$SECRET_KEY|g" /opt/openarchiver/.en
sed -i "s|^TIKA_URL=.*|TIKA_URL=|g" /opt/openarchiver/.env
sed -i "s|^ORIGIN=.*|ORIGIN=http://$LOCAL_IP:3000|g" /opt/openarchiver/.env
$STD pnpm install --shamefully-hoist --frozen-lockfile --prod=false
$STD pnpm approve-builds --all
$STD pnpm approve-builds --yes
$STD pnpm run build:oss
$STD pnpm db:migrate
msg_ok "Setup Open Archiver"