This repository was archived by the owner on Jan 9, 2023. It is now read-only.
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
Installation script should report error when extensions fail to load #885
Open
Description
Installing geserver has been found to report success incorrectly in certain situations when an extension fails to load correctly. This can cause the user to believe the geserver service is installed and running when there are really installation issues which need to be corrected.
Reproduction steps (done on Ubuntu 16.04):
- Create an Ubuntu 16.04 VM which does not have all prerequisite build packages installed.
- On a 2nd Ubuntu 16.04 machine obtain the earthenterprise source code and follow instructions to build and stage an install
- Verify that the build, execution of unit tests, and staging of the installer completes without errors
- Create a compressed archive of the installation bundle:
cp -R earthenterprise/earth_enterprise/src/installer/ /tmp/fusion_os_install/ tar cvfJ opengee-server-fusion-<version>.tar.xz /tmp/fusion_os_install
- Copy opengee-server-fusion-.tar.xz to a location from which you can transfer it to target install machines.
- On the target install machine untar and install the packages.
- Installation will report some missing dependencies, install those reported as missing.
- Retry installation and observe the following
- The script output contains
error the command executing at the time of the error was "$BINDIR/psql" -U geuser -d gepoi -c "CREATE EXTENSION postgis"
- Installation completes with a message saying
Congratulations! Google Earth Enterprise has been successfully installed in the following directory