This page covers common upgrade paths for Docker and manual installs.
Docker upgrade
- 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
Manual upgrade
Option A: scripted update (recommended)
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.
Option B: manual replace
- Back up:
/var/www/uploads/var/www/users/var/www/metadataconfig/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.
Migration tips
- 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.
Pro notes
If you use Pro:
- Pro bundle and license files live under
/var/www/usersby default. - Backing up and restoring that directory preserves Pro settings.