FreshRSS Update
Navigate and Prepare
First, move into your FreshRSS installation directory where your compose file and data folders are currently located. This ensures all relative paths and Docker operations execute in the correct system context
cd /opt/freshrssCreate a Backup
Before applying any updates, it is highly recommended to archive your existing configuration and persistent volumes to prevent data loss. Use the tar command to create a compressed archive containing your database data, web files, extensions, and the Docker configuration
sudo tar -czvf freshrss_backup_$(date +%F).tar.gz data/ db-data/ extensions/ docker-compose.ymlUpdate FreshRSS
To safely update your instance, instruct Docker to fetch the latest application and database images specified in your configuration. Afterwards, start the services in detached mode so Docker can automatically recreate the containers using the newly downloaded images.
sudo docker compose pull
sudo docker compose up -dVerify and Clean Up
Once the deployment finishes, verify that the application is running smoothly by accessing your web interface. You can also monitor the real-time container logs and safely remove the old, unused Docker images to reclaim disk space on your server.
sudo docker compose logs -f
sudo docker image prune -f