Feed of "sumdev"https://codeberg.org/sumdev2026-04-16T00:56:06+02:00sumdev commented on issue bookstack/devops#452025-09-26T18:46:19+02:0061380013: https://codeberg.org/bookstack/devops/issues/45#issuecomment-7394653Ubuntu 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>
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>
sumdevsumdev@noreply.codeberg.orgsumdev opened issue bookstack/devops#452025-09-22T18:14:20+02:0060460768: https://codeberg.org/bookstack/devops/issues/45<p dir="auto">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.</p>
<p dir="auto"><strong>Changed these sections</strong><br/>
#Get the domain from the arguments (Requested later if not set)<br/>
if [ -z "${1-}" ]; then<br/>
read -rp "Enter your domain (or press Enter to use IP $CURRENT_IP): " DOMAIN<br/>
DOMAIN=${DOMAIN:-$CURRENT_IP}<br/>
else<br/>
DOMAIN=$1<br/>
fi</p>
<p dir="auto">#Install core system packages<br/>
function run_package_installs() {<br/>
apt update<br/>
apt install -y git unzip apache2 curl mysql-server php8.3 <br/>
php8.3-fpm php8.3-curl php8.3-mbstring php8.3-ldap php8.3-xml php8.3-zip php8.3-gd php8.3-mysql<br/>
}</p>
<p dir="auto">#Set up database<br/>
function run_database_setup() {<br/>
#Ensure database service has started<br/>
systemctl start mysql.service<br/>
systemctl enable mysql.service<br/>
sleep 3</p>
45#Ubuntu 24.04.3 Improvements#sumdevsumdev@noreply.codeberg.org