Update, restore, and uninstall
Host administrators perform these operations on the deployment machine. Choose only your platform; project members do not need these commands. Keep a current backup before updates and restoration. Docker users should follow Docker service management.
Jump to macOS, Windows, or Linux.
Check whether the service is usable
Service-manager state and application readiness are separate checks. Native defaults use port 8787; Docker uses 8080. Use your actual configured address. Stop/start operations interrupt uploads and reviews, so notify members first.
| Result | Meaning and next step |
|---|---|
| Running / active | The service manager sees a running task or process; check application readiness too. |
| Ready / inactive / Exited | The task is available or stopped; it does not mean Visto is ready to use. |
| HTTP 200 from /health/ready | The readiness endpoint passed; also open the workspace and check real files and previews. |
| HTTP 503 or connection refused | Not ready or not listening. Wait briefly after startup, then check logs and the configured address. |
| HTTP 426 | The deployment requires HTTPS; use the configured HTTPS entrance. |
A successful health response does not prove video support. Check the response dependencies: ffmpeg and ffprobe should be true for video processing; if either is false, follow the runtime guide and run diagnostics.
Choose only the commands for your deployment below. Default service names and paths must match your instance.
Update from a downloaded package
The 1.0.3 package does not include the new update helpers shown below. These commands are for later packages. For an existing 1.0.3 installation, follow the update instructions supplied with the target Release.
The workspace can notify you about a newer version; it does not automatically download or install it. Download the complete official update and keep its package, companion checksum file, and version manifest together.
The new update helper reads the companion files and verifies the package automatically. Specify only the package path. Replace the example path with your actual downloaded file:
sudo bash /Library/Visto/current/scripts/update-from-package.sh \
--package '/path/to/downloaded-package.tar.gz'
Linux uses the same helper under /opt/visto/current/scripts/. For Windows, use administrator PowerShell in the installed program folder:
.\Update-VistoServerPackage.ps1 -PackageArchive 'C:\Downloads\downloaded-package.zip'
Older installations without these helpers must follow their own version's update instructions. Never manually replace the running binaries or edit the current-version link to bypass an update failure.
Restore data
Restoration replaces the current instance's data, including changes made after the backup. Back up the current state first and keep the backup archive and metadata together.
For macOS, first run the read-only check:
sudo /Library/Visto/current/scripts/restore-visto-server.sh \
--backup-file '/path/to/backup.tar.gz' --check-only
After checking the replacement scope, use --confirm-restore instead of --check-only. Linux uses /opt/visto/current/scripts/restore-visto-server.sh. Windows uses Restore-VistoServer.ps1 -BackupFile 'C:\Backups\backup.zip' -CheckOnly, followed by -ConfirmRestore only after reviewing the result.
A path mismatch or unsupported backup is a reason to stop. Do not alter metadata or manually overwrite the database to force a restore. External originals must be restored separately.
Roll back the program
macOS/Linux can roll back to a retained program version through rollback-visto-server.sh --to-version with --confirm-rollback. Program rollback does not restore all historical data or guarantee compatibility with a changed database. Follow the tool's checks and preserve the recovery point.
macOS host management
Default program: /Library/Visto/current; configuration: /Library/Visto/config; logs: /Library/Logs/Visto. The private initialization token is in the configuration directory. Use the actual configured data and backup directories for maintenance.
Choose one operation in Terminal on the deployment Mac; these are separate actions.
Check service state
Run in Terminal on the host Mac. state = running means the process is running; a missing service may be stopped or not installed.
sudo launchctl print system/com.visto.server
Start the service
Use only when the service is not loaded; administrator access is required.
sudo launchctl bootstrap system /Library/LaunchDaemons/com.visto.server.plist
Stop the service
Stops and unloads this service registration while retaining data and its plist.
sudo launchctl bootout system/com.visto.server
Restart a loaded service
If unloaded, use Start instead.
sudo launchctl kickstart -k system/com.visto.server
Check application readiness
Expect HTTP 200, then check the workspace. Adjust the address for custom ports.
curl -i http://127.0.0.1:8787/health/ready
Uninstall while preserving data and backups:
sudo /Library/Visto/current/scripts/uninstall-visto-server.sh --yes
If stopping the service fails, uninstall aborts. Resolve the cause before retrying. Destructive data-removal options require a separate decision and a usable backup.
Removing the video component (optional cleanup)
The uninstall above handles the service registration and the program directory only; it does not remove the FFmpeg and ffprobe media component. That component stays in a shared system location and a reinstall reuses it instead of downloading it again, so removing it is only worthwhile when you hand the machine over or want a fully clean host.
Continue only after launchctl print system/com.visto.server reports that the service cannot be found.
| Platform | Default location | After uninstall |
|---|---|---|
| macOS | /Library/Application Support/Visto/runtime |
Kept; remove manually |
| Linux | /var/lib/visto-runtime |
Kept; remove manually |
| Windows | runtime\ffmpeg in the program folder |
Removed with the program |
macOS:
Remove the video runtime
Only after uninstall and the stop checks above, and only if full cleanup is intended. Keep the exact runtime path.
sudo rm -rf "/Library/Application Support/Visto/runtime"
Verify the remaining directory
Read-only. Data and backups must remain.
sudo ls -l "/Library/Application Support/Visto"
Check three things before pressing Enter. Keep the exact path from the table: data and backups hold your own projects. If the install used a custom VISTO_MEDIA_RUNTIME_ROOT, delete that directory instead; the recorded value survives uninstall in /Library/Visto/config/visto.env, readable with sudo grep VISTO_MEDIA_RUNTIME_ROOT /Library/Visto/config/visto.env. This step does not touch business data or backups — keeping or removing those is a separate decision. A later installation downloads and verifies the component again, so it needs network access.
Windows host management
The program stays in the chosen installation folder. The default data directory is %ProgramData%\Visto\data; initialization uses host-management-token.txt inside that directory. Keep the program directory and token protected from ordinary users.
Daily service management
Run the chosen action in administrator Windows PowerShell on the deployment machine.
Check task state
Running means the task is running; Ready means it can be started, and Disabled means it is disabled. Task existence alone is not readiness.
Get-ScheduledTask -TaskName 'Visto Server' | Select-Object TaskName, State
Start the service
Check readiness after starting.
Start-ScheduledTask -TaskName 'Visto Server'
Stop the service
After requesting a stop, recheck task state and confirm the instance processes have exited. Resolve a failed stop before starting again.
Stop-ScheduledTask -TaskName 'Visto Server'
Restart the service
Run Stop above, confirm the task is no longer Running and the instance processes have exited, then run Start and check readiness. Wait for confirmation before moving to Start.
Check readiness
200 means the readiness check passed. Use the table above for errors.
Invoke-WebRequest -UseBasicParsing -Uri 'http://127.0.0.1:8787/health/ready' -ErrorAction Stop | Select-Object StatusCode, Content
Enter the program directory
Run the diagnostics below from the actual program folder; adjust this path.
Set-Location 'C:\Program Files\Visto Server'
Run diagnostics
Use this instance’s actual data directory.
.\bin\visto-server.exe --data-dir "$env:ProgramData\Visto\data" doctor
Export diagnostics
Use when troubleshooting; review the archive for sensitive content before sharing.
.\bin\visto-server.exe --data-dir "$env:ProgramData\Visto\data" diagnostics export `
--output "$env:USERPROFILE\Desktop\visto-diagnostics.zip"
Use the package's backup, restore, and uninstall scripts with PowerShell Get-Help and the release's supported parameters. Do not delete a folder or task manually to bypass a refused operation. Confirm the service, projects, old media, new uploads, and shares after an update or restore.
Linux host management
| Content | Default location |
|---|---|
| Program | /opt/visto/current |
| Configuration | /etc/visto/visto.env |
| Data | /var/lib/visto |
| Backups | /var/backups/visto |
| Video runtime | /var/lib/visto-runtime |
Daily service management
Run the chosen action on the deployment Linux host.
Check service state
active (running) means running; inactive (dead) means stopped; failed needs investigation. A nonzero exit status is expected for a stopped or failed service.
sudo systemctl status visto.service --no-pager
Start
Run on the deployment host with sudo access.
sudo systemctl start visto.service
Stop
Recheck service state after stopping and confirm inactive; resolve failures before continuing.
sudo systemctl stop visto.service
Restart
Check service state and application readiness after restarting.
sudo systemctl restart visto.service
Check readiness
Use the actual listening address; expect HTTP 200.
curl -i http://127.0.0.1:8787/health/ready
Read service logs
Read-only; also applies to systemd 239.
sudo journalctl -u visto.service -n 100 --no-pager
Read file error logs
Use only on systemd 240+ when this file exists; otherwise use the journal.
sudo tail -n 100 /var/log/visto/server.err
Run diagnostics
Replace the data path for a custom instance.
sudo /opt/visto/current/bin/visto-server --data-dir /var/lib/visto doctor
systemd 239 uses the journal; later supported versions can also use /var/log/visto files. Custom instances must keep host tools and service configuration aligned.
Uninstall while preserving data and backups:
sudo /opt/visto/current/scripts/uninstall-visto-server.sh --yes
After any maintenance, open the workspace and check actual files, previews, and sharing. A running process alone does not prove the data workflow works.
The media component is outside the uninstall scope: it remains at /var/lib/visto-runtime after uninstall and is reused by a reinstall. To clean the host completely, remove it with:
sudo rm -rf /var/lib/visto-runtime
Confirm the path before running it, keep this separate from the data and backup directories, and use the recorded VISTO_MEDIA_RUNTIME_ROOT in /etc/visto/visto.env when the instance used a custom root. On Windows the component lives in the program folder's runtime\ffmpeg and is removed together with the program.