mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 02:48:38 -04:00
1,002 B
1,002 B
Upgrading WROLPi
Table of Contents
Upgrading Docker containers
- Stop docker containers
docker-compose stop
- Pull the latest master
git pull origin master --ff
- Build all docker containers
docker-compose build --parallel
- Create the map volumes
docker volume create --name=openstreetmap-datadocker volume create --name=openstreetmap-rendered-tiles
- Turn on the database
docker-compose up -d db
- Upgrade the database
docker-compose run --rm api db upgrade
- Start all docker containers
docker-compose up -d
Upgrading Raspberry Pi or Debian 12 Installation
- Run the upgrade script
sudo /bin/bash /opt/wrolpi/upgrade.sh- (If the upgrade script does not exist, run the installation script:
sudo /bin/bash /opt/wrolpi/install.sh)