Ubuntu 24.04.3 Improvements #45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
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.