update FileFlows
Some checks failed
Update Versions from GitHub / update-versions (push) Has been cancelled

This commit is contained in:
tremor021 2026-01-22 23:35:26 +01:00
parent fb99364f10
commit 3606a8d6d0
2 changed files with 2 additions and 8 deletions

View File

@ -45,13 +45,7 @@ header_info
tar -czf "$backup_filename" -C /opt/fileflows Data tar -czf "$backup_filename" -C /opt/fileflows Data
msg_ok "Backup Created" msg_ok "Backup Created"
msg_info "Updating $APP to latest version" fetch_and_deploy_archive "https://fileflows.com/downloads/zip" "/opt/fileflows"
temp_file=$(mktemp)
curl -fsSL https://fileflows.com/downloads/zip -o "$temp_file"
$STD unzip -o -d /opt/fileflows "$temp_file"
rm -rf "$temp_file"
rm -rf "$backup_filename"
msg_ok "Updated $APP to latest version"
msg_info "Starting Service" msg_info "Starting Service"
systemctl start fileflows systemctl start fileflows

View File

@ -32,7 +32,7 @@ msg_info "Installing ASP.NET Core Runtime"
$STD apt install -y aspnetcore-runtime-8.0 $STD apt install -y aspnetcore-runtime-8.0
msg_ok "Installed ASP.NET Core Runtime" msg_ok "Installed ASP.NET Core Runtime"
msg_info "Setup FileFlows" msg_info "Setting up FileFlows"
$STD ln -svf /usr/bin/ffmpeg /usr/local/bin/ffmpeg $STD ln -svf /usr/bin/ffmpeg /usr/local/bin/ffmpeg
$STD ln -svf /usr/bin/ffprobe /usr/local/bin/ffprobe $STD ln -svf /usr/bin/ffprobe /usr/local/bin/ffprobe
cd /opt/fileflows/Server cd /opt/fileflows/Server