22 life cycle management
kiara edited this page 2023-09-26 16:24:22 +00:00

repositories

git pull

packages

manual

sudo apt update && sudo apt upgrade -y

debops

debops run common

code

renovate

docker compose

for docker-compose.yml using dynamic tags like latest:

sudo docker-compose pull

forgejo

ssh code.bij1.net
cd /etc/docker/compose/forgejo/
# update docker-compose.yml
sudo docker-compose pull
sudo systemctl restart docker-compose@forgejo

wordpress

wordpress version: https://bij1.org/wp-admin/update-core.php

plugins

e.g. https://bij1.org/wp-admin/plugins.php

civicrm

nextcloud

volg de instructies, inclusief backups

by cli

after ensuring there are no files like /var/www/nextcloud/data/updater-*/.step*, rerunning the update until no new versions are available:

ssh cloud.bij1.org
# interactively (may erroneously report 'Nextcloud is already latest version')
sudo -u www-data php /var/www/nextcloud/occ upgrade
# non-interactively
sudo -u www-data php /var/www/nextcloud/updater/updater.phar --no-interaction
# check version
sudo -u www-data php occ --version
# after updating
sudo -u www-data php /var/www/nextcloud/occ db:add-missing-indices
sudo -u www-data php /var/www/nextcloud/occ db:convert-filecache-bigint

by web

https://cloud.bij1.org/settings/admin/overview

plugins

https://cloud.bij1.org/settings/apps

manual

this method is not recommended as it is more risky

https://docs.nextcloud.com/server/latest/admin_manual/maintenance/manual_upgrade.html

rails

ingang

ssh vergadering.bij1.net
cd /home/kiara/ingang/
git pull
RAILS_ENV=production ./bin/rails db:migrate
sudo systemctl restart ingang

kubespray

https://github.com/kubernetes-sigs/kubespray/blob/master/docs/upgrades.md

helios

git pull -> https://github.com/benadida/helios-server/blob/master/INSTALL.md

etcd

https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/#upgrading-etcd-clusters

TLS/SSL certificates

sudo certbot renew

bigbluebutton

https://docs.bigbluebutton.org/2.6/install.html