How to update ?
Docker
Pull the new image and restart the container.
docker compose pull
docker compose up -d
That’s it.
Debian (manual install)
Backup your config files
Before starting, make sure you have a safe copy of :
.env.localconfig/users.jsonconfig/repo.json
Stop the service
systemctl stop borgwarehouse
Fetch the new version
su borgwarehouse
cd borgwarehouse
git pull
Install dependencies
pnpm install --frozen-lockfile
Build the application
pnpm run build
Restart
BorgWarehouse is up-to-date 🥳 !
systemctl start borgwarehouse