change docs from riot to element for updated urls and names #19

Merged
forest merged 2 commits from zico/ops-handbook:master into master 2022-10-06 21:53:09 +00:00
3 changed files with 15 additions and 15 deletions

View file

@ -95,7 +95,7 @@ Communicate your activity. If you are bouncing a machine, please notify #ops tha
### [Matrix](docs/matrix.md) ### [Matrix](docs/matrix.md)
* [Upgrade Synapse](howto/synapse-upgrade.md) * [Upgrade Synapse](howto/synapse-upgrade.md)
* [Upgrade Riot](howto/riot-upgrade.md) * [Upgrade Element](howto/element-upgrade.md)
* [Reset a user password](howto/matrix-reset-pass.md) * [Reset a user password](howto/matrix-reset-pass.md)
* [Invite a user to Matrix](howto/matrix-invite-user.md) * [Invite a user to Matrix](howto/matrix-invite-user.md)

14
howto/element-upgrade.md Normal file
View file

@ -0,0 +1,14 @@
```
ssh cyberian@matrix.cyberia.club
cd /opt
# download the new tarball from https://github.com/vector-im/element-web/releases
sudo wget https://github.com/vector-im/element-web/releases/download/NEWVERSION.tar.gz
# unpack the tarball
sudo tar -zxvf NEWVERSION.tar.gz
# copy over the old config
sudo cp element/config.json NEWVERSION/config.json
# link element to this new version
sudo ln -sf NEW_VERSION/ element
# remove the old version
sudo rm -rf element-OLD_VERSION
```

View file

@ -1,14 +0,0 @@
```
ssh cyberian@matrix.cyberia.club
cd /opt
# download the new tarball from https://github.com/vector-im/riot-web/releases
wget https://github.com/vector-im/riot-web/releases/download/NEWVERSION.tar.gz
# unpack the tarball
tar -zxvf NEWVERSION.tar.gz
# copy over the old config
cp riot/config.json NEWVERSION/config.json
# link riot to this new version
ln -sf NEW_VERSION/ riot
# remove the old version
rm -rf riot-OLD_VERSION
```