Feed of "sumdev" https://codeberg.org/sumdev Thu, 16 Apr 2026 00:57:09 +0200 sumdev commented on issue bookstack/devops#45 https://codeberg.org/bookstack/devops/issues/45#issuecomment-7394653 Ubuntu 24.04.3 Improvements <p dir="auto">Hi Dan,<br/> The failure occurred when installing on Ubuntu Server 24.04.3 VM. It failed starting the mysql service and the script stopped. It complained the mysql.service did not exist. I tried to recreate it to get you an install log, but for some reason in the new VM the script ran correctly, so I am not sure what the original issue was.</p> <p dir="auto">I also had issues with DOMAIN=$1 which also caused it to error out. I cannot remember what the error was though.</p> Hi Dan,
The failure occurred when installing on Ubuntu Server 24.04.3 VM. It failed starting the mysql service and the script stopped. It complained the mysql.service did not exist. I tried to recreate it to get you an install log, but for some reason in the new VM the script ran correctly, so I am not sure what the original issue was.

I also had issues with DOMAIN=$1 which also caused it to error out. I cannot remember what the error was though.

]]>
sumdev 61380013: https://codeberg.org/bookstack/devops/issues/45#issuecomment-7394653 Fri, 26 Sep 2025 18:46:19 +0200
sumdev opened issue bookstack/devops#45 https://codeberg.org/bookstack/devops/issues/45 45#Ubuntu 24.04.3 Improvements# I attempted to install Bookstack on a brand new Ubuntu Server 24.04.3 and the installation fails. I made some adjustments to the installation script to work with Ubuntu Server 24.04.3.

Changed these sections
#Get the domain from the arguments (Requested later if not set)
if [ -z "${1-}" ]; then
read -rp "Enter your domain (or press Enter to use IP $CURRENT_IP): " DOMAIN
DOMAIN=${DOMAIN:-$CURRENT_IP}
else
DOMAIN=$1
fi

#Install core system packages
function run_package_installs() {
apt update
apt install -y git unzip apache2 curl mysql-server 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
}

#Set up database
function run_database_setup() {
#Ensure database service has started
systemctl start mysql.service
systemctl enable mysql.service
sleep 3

]]>
sumdev 60460768: https://codeberg.org/bookstack/devops/issues/45 Mon, 22 Sep 2025 18:14:20 +0200