yasiryagi 1b6a250bb1 Storage documentation (#850) 2 jaren geleden
..
README.md 1b6a250bb1 Storage documentation (#850) 2 jaren geleden

README.md

Upgrade

Go to the Joystream root directory

cd joystream

Back up your config files

cp .env /someBackupLocation  //just to save old params
cp <root to folder>/distributor-node/config.yml /someBackupLocation
cp <root to folder>/distributor-node/metadata.json /someBackupLocation

Stop the distribution service

systemctl stop distributor-node.service

Stop the query node

In ./query-node/kill.sh might want to change the below to keep the database

docker-compose -f ../docker-compose.yml rm -vsf db
to
docker-compose -f ../docker-compose.yml rm -sf db

Now kill the containers

./query-node/kill.sh

Get the lastest and greatest repo

git stash
git pull

apply .env sh - you can use values from old backup file

Run the setup script

 ./setup.sh

logout here and login back

Build

./build-packages.sh 

Start the services

query-node/start.sh
systemctl start distributor-node.service

Verify

Verify that indexer

docker ps
docker logs -f -n 100 indexer
docker logs -f -n 100 processor

Verify distribution

https://<your.cool.url>/distributor/api/v1/status