-
-
Notifications
You must be signed in to change notification settings - Fork 43
Upgrade and Migration
Ryan edited this page Jan 16, 2026
·
2 revisions
This page covers common upgrade paths for Docker and manual installs.
- Pull the new image tag:
docker pull error311/filerise-docker:vX.Y.Z-
Recreate the container with the same volumes and env vars.
-
Keep these volumes the same:
/var/www/uploads/var/www/users/var/www/metadata
If you installed FileRise from the release ZIP, you can use the helper script in your app folder:
sudo bash /path/to/filerise/scripts/update-filerise.sh vX.Y.ZWhat it does:
- Creates a backup archive in
/root/backups(config + data folders). - Downloads the release ZIP from GitHub.
- Syncs new code into
/var/wwwwhile preservingconfig/config.phpand data dirs. - Runs
composer installonly ifvendor/is missing.
Requirements: curl, unzip, rsync (and composer only if needed).
If your install path is not /var/www, edit WEBROOT at the top of the script.
- Back up:
/var/www/uploads/var/www/users/var/www/metadata-
config/config.php(if you customized it)
- Replace the app code with the latest release ZIP.
- Restore your config and data directories.
- Verify permissions and restart the web server.
- Keep
PERSISTENT_TOKENS_KEYthe same across restores to avoid invalidating stored secrets. - If moving to a new host, restore data to the same absolute paths or update
config/config.php. - If you use a reverse proxy, confirm
FR_PUBLISHED_URLandFR_BASE_PATHafter the move.
If you use Pro:
- Pro bundle and license files live under
/var/www/usersby default. - Backing up and restoring that directory preserves Pro settings.
Docs · Support · FileRise.net · Changelog
- Admin panel
- Admin gotchas
- Common env vars
- Environment variables full reference
- ACL and permissions
- ACL recipes
- Nginx setup
- Reverse proxy and subpath
- WebDAV
- WebDAV via curl
- WebDAV security and clients
- ONLYOFFICE
- Encryption at rest
- OIDC and SSO
- CIFS share auto metadata
- Sharing and public links
- Upload limits and PHP tuning
- Logs and diagnostics
- Backup and restore
- Upgrade and migration
- Migration checklist
- Maintenance scripts
- Performance quickstart
- Performance tuning
- Security hardening