Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fails on Ubuntu 22.04 #30

Open
wilwad opened this issue Oct 21, 2024 · 9 comments
Open

Installation fails on Ubuntu 22.04 #30

wilwad opened this issue Oct 21, 2024 · 9 comments

Comments

@wilwad
Copy link

wilwad commented Oct 21, 2024

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.

@DavidGhedini
Copy link
Member

Is this 22 LTS?

@wilwad
Copy link
Author

wilwad commented Oct 21, 2024

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

@DavidGhedini
Copy link
Member

I can't replicate this. It is installing fine for me with same OS.

  1. Is this a clean Ubuntu 22 install?
  2. 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

@wilwad
Copy link
Author

wilwad commented Oct 22, 2024

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!

@kaloyan13
Copy link
Collaborator

What is the content of /tmp/install_deps.log ?

@kaloyan13
Copy link
Collaborator

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

@wilwad
Copy link
Author

wilwad commented Oct 22, 2024

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.

@wilwad
Copy link
Author

wilwad commented Oct 22, 2024

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

@kaloyan13
Copy link
Collaborator

There is no error in that file.
What you can do is the following:

  1. rm -rf /tmp/*.log
  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants