Ubuntu 24.04.3 Improvements #45

Open
opened 2025-09-22 18:14:20 +02:00 by sumdev · 1 comment

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

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
Owner

Hi @sumdev,
Can you describe the exact environment used to run the script where it failed (service used if any, if VM: host OS and VM software used, Exact Ubuntu download link used if any etc...).

Also, if you still have it, please share the install log from the original failed attempt (Should be in the same directory as where you originally ran the script from).

I don't think changes in Ubuntu should need those changes, but there could environmental elements which lead to differences, so it would be good to know those to properly plan for them in future.

Hi @sumdev, Can you describe the exact environment used to run the script where it failed (service used if any, if VM: host OS and VM software used, Exact Ubuntu download link used if any etc...). Also, if you still have it, please share the install log from the original failed attempt (Should be in the same directory as where you originally ran the script from). I don't think changes in Ubuntu should need those changes, but there could environmental elements which lead to differences, so it would be good to know those to properly plan for them in future.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: bookstack/devops#45
No description provided.