Installation fails on Ubuntu 22.04
sudo ./geosuite-installer.sh
Begining installation: Suite Version: GeoSuite Standalone Control Panel Modules: geoserver postgis certbot Tomcat Version: 9 Java Version: OpenJDK Installation failed at step 0. Check /tmp/install_deps.log for errors!
Checking /tmp/install_deps.log
Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease Hit:2 http://na.archive.ubuntu.com/ubuntu jammy InRelease Hit:3 http://na.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:4 http://na.archive.ubuntu.com/ubuntu jammy-backports InRelease Reading package lists... Adding component(s) 'universe' to all repositories. Reading package lists... Building dependency tree... Reading state information... bzip2 is already the newest version (1.0.8-5build1). libapache2-mod-php is already the newest version (2:8.1+92ubuntu1). php is already the newest version (2:8.1+92ubuntu1). php-pgsql is already the newest version (2:8.1+92ubuntu1). rename is already the newest version (1.30-1). apache2 is already the newest version (2.4.52-1ubuntu4.12). unzip is already the newest version (6.0-26ubuntu3.2). wget is already the newest version (1.21.2-2ubuntu1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Is this 22 LTS?
Is this 22 LTS?
cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.5 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.5 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy
I can't replicate this. It is installing fine for me with same OS.
- Is this a clean Ubuntu 22 install?
- I noticed you are executing
./geosuite-installer.sh. Have you tried executing below as root, as in the docs:
wget https://raw.githubusercontent.com/AcuGIS/GeoSuite/master/scripts/geosuite-installer.sh && chmod +x geosuite-installer.sh && ./geosuite-installer.sh
Yes, it's a new VM. Ran sudo wget https://raw.githubusercontent.com/AcuGIS/GeoSuite/master/scripts/geosuite-installer.sh && chmod +x geosuite-installer.sh && ./geosuite-installer.sh
The first few times the stop error was Installation failed at step 12. Check /tmp/install_deps.log for errors!
What is the content of /tmp/install_deps.log ?
Just noticed your command is wrong. sudo has to be used on installer, not the wget.
wget https://raw.githubusercontent.com/AcuGIS/GeoSuite/master/scripts/geosuite-installer.sh
chmod +x geosuite-installer.sh
sudo ./geosuite-installer.sh
What is the content of /tmp/install_deps.log ?
Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease Hit:2 http://na.archive.ubuntu.com/ubuntu jammy InRelease Hit:3 http://na.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:4 http://na.archive.ubuntu.com/ubuntu jammy-backports InRelease Reading package lists... Adding component(s) 'universe' to all repositories. Reading package lists... Building dependency tree... Reading state information... bzip2 is already the newest version (1.0.8-5build1). libapache2-mod-php is already the newest version (2:8.1+92ubuntu1). php is already the newest version (2:8.1+92ubuntu1). php-pgsql is already the newest version (2:8.1+92ubuntu1). rename is already the newest version (1.30-1). apache2 is already the newest version (2.4.52-1ubuntu4.12). unzip is already the newest version (6.0-26ubuntu3.2). wget is already the newest version (1.21.2-2ubuntu1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Just noticed your command is wrong. sudo has to be used on installer, not the wget.
wget https://raw.githubusercontent.com/AcuGIS/GeoSuite/master/scripts/geosuite-installer.sh chmod +x geosuite-installer.sh sudo ./geosuite-installer.sh
This is the command from the documentation: wget https://raw.githubusercontent.com/AcuGIS/GeoSuite/master/scripts/geosuite-installer.sh && chmod +x geosuite-installer.sh && ./geosuite-installer.sh
Running the commands individually did not result in a successful installation either
chmod +x geosuite-installer.sh sudo ./geosuite-installer.sh
There is no error in that file. What you can do is the following:
- rm -rf /tmp/*.log
- bash -xe ./geosuite-installer.sh Then check output and last .log file created in /tmp.
I understand you ran script a few times, maybe it reached a point and it failed. Script is not designed to be run mulitple times. You can try to reset your VM, and run again.