diff --git a/README.md b/README.md index 1da0c91..bd01007 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ Communicate your activity. If you are bouncing a machine, please notify #ops tha ### [Matrix](docs/matrix.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) * [Invite a user to Matrix](howto/matrix-invite-user.md) diff --git a/howto/element-upgrade.md b/howto/element-upgrade.md new file mode 100644 index 0000000..bcd3a65 --- /dev/null +++ b/howto/element-upgrade.md @@ -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 +``` diff --git a/howto/riot-upgrade.md b/howto/riot-upgrade.md deleted file mode 100644 index edae200..0000000 --- a/howto/riot-upgrade.md +++ /dev/null @@ -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 -```