I take you through the process of updating a Ubuntu 22.04 system, containing a BookStack install that's been set-up via our install script, to Ubuntu 24.04.
In the video I run some commands to update PHP packages. Here are those commands for copy-paste:
sudo apt update
sudo apt install php8.3 php8.3-fpm php8.3-curl php8.3-mbstring php8.3-ldap php8.3-xml php8.3-zip php8.3-gd php8.3-mysql
sudo a2dismod php8.1
sudo a2enmod rewrite proxy_fcgi setenvif
sudo a2enconf php8.3-fpm
sudo systemctl enable php8.3-fpm.service
sudo systemctl start php8.3-fpm.service
sudo systemctl restart apache2.service
► Ubuntu Upgrade Guide: https://ubuntu.com/server/docs/how-to-upgrade-your-release
► BookStack backup & restore docs: https://www.bookstackapp.com/docs/admin/backup-restore/
► BookStack update docs: https://www.bookstackapp.com/docs/admin/updates/
► BookStack Discord: https://discord.gg/ztkBqR2
► BookStack Peertube: https://foss.video/c/bookstack/videos
► Follow BookStack on Mastodon: https://fosstodon.org/@bookstack
► Follow me: https://danb.me/links
0:00 Intro, advisories & environment
1:31 Steps overview & order
2:06 System level backup
3:11 App level backup
6:34 Stopping BookStack & updating existing system
7:41 Ubuntu upgrade
11:19 Checking the upgrade
12:23 Fixing PHP
16:11 Updating composer
16:53 Updating BookStack
18:04 Another backup
#opensource #selfhosted #documentation #wiki #bookstack #foss