Portal Installer
Portal_for_ArcGIS_Linux_114_192978.tar.gz
Fresh Ubuntu server
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
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=noble
LOGO=ubuntu-logo
Package gettext-base installed
Disk space available 40G
Linux user created ags
ll /opt/arcgisrun
drwxr-xr-x 3 ags ags 4096 Dec 18 09:08 ./
drwxr-xr-x 4 root root 4096 Dec 18 09:07 ../
drwxrwxr-x 3 ags ags 4096 Dec 18 09:08 arcgis/
Installation failing
========================================================================
Portal for ArcGIS 11.4 Diagnostic Tool
Hostname: redacted
========================================================================
DIAG000: Check for installation as root [PASSED]
DIAG001: Check for 64-bit architecture [PASSED]
DIAG002: Check OS version [PASSED]
DIAG003: Check hostname for invalid characters [PASSED]
DIAG005: Check system limits [PASSED]
DIAG004: Check installed packages [PASSED]
DIAG016: Check Portal for ArcGIS ports [PASSED]
DIAG024: Check localhost resolution [PASSED]
DIAG029: Check file system type [PASSED]
------------------------------------------------------------------------
There were 0 failure(s) and 0 warning(s) found:
[Portal for ArcGIS 11.4 Installation Details]
UI Mode..................silent
Agreed to Esri License...yes
Installation Directory.../opt/arcgisrun/arcgis/portal
Starting installation of Portal for ArcGIS 11.4...
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
Stack Trace:
java.lang.NullPointerException: Cannot invoke "java.io.File.getPath()" because the return value of "Flexeraap2.ac()" is null
at com.zerog.ia.installer.LifeCycleManager.dd(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.consoleInstallMain(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
[Portal for ArcGIS 11.4 Setup Error]
...Portal for ArcGIS 11.4 installation is complete, but some errors or warnings occurred. [Exit Code: 188]
Content of the error log file generated
__________________________________________________________________________
Wed Dec 18 09:08:15 UTC 2024
Free Memory: 243416 kB
Total Memory: 264192 kB
6 Command Line Args:
0: -i
1: silent
2: -f
3: /tmp/tmp.o0rKxhNN2l
4: -l
5: en
java.class.path:
/tmp/install.dir.8324/InstallerData
/tmp/install.dir.8324/InstallerData/installer.zip
ZGUtil.CLASS_PATH:
/tmp/install.dir.8324/InstallerData
/tmp/install.dir.8324/InstallerData/installer.zip
sun.boot.class.path:
<none specified>
java.ext.dirs:
<none specified>
java.version == 17.0.12 (Java 1)
java.vm.name == OpenJDK 64-Bit Server VM
java.vm.vendor == Eclipse Adoptium
java.vm.version == 17.0.12+7
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Oracle Corporation
java.vm.specification.version == 17
java.specification.name == Java Platform API Specification
java.specification.vendor == Oracle Corporation
java.specification.version == 17
java.vendor == Eclipse Adoptium
java.vendor.url == https://adoptium.net/
java.class.version == 61.0
java.library.path == /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib
java.compiler == null
java.home == /tmp/install.dir.8324/Linux/resource/jre
java.io.tmpdir == /tmp
os.name == Linux
os.arch == amd64
os.version == 6.8.0-1018-azure
path.separator == :
file.separator == /
file.encoding == UTF-8
user.name == ags
user.home == /home/ags
user.dir == /tmp/install.dir.8324
user.language == en
user.region == null
__________________________________________________________________________
Installed Feature(s) Portal of Portal for ArcGIS
Install Begin: DECEMBER 18, 2024 9:08:15 AM UTC
Install End: DECEMBER 18, 2024 9:08:15 AM UTC
Installed by InstallAnywhere 23.0 Premier Build 6919
User Interactions
-----------------
Summary
-------
Installation: Unsuccessful.
0 Successes
0 Warnings
0 NonFatalErrors
1 FatalErrors
Action Notes:
None
Install Log Detail:
Product Installer:
Status: FATAL ERROR
Additional Notes: FATAL ERROR - The installer has failed due to an unhandled exception
java.lang.NullPointerException: Cannot invoke "java.io.File.getPath()" because the return value of "Flexeraap2.ac()" is null
Rights of /tmp/install.dir.8324
ll /tmp/install.dir.8324/
total 24
drwxrwxr-x 4 ags ags 4096 Dec 18 09:08 ./
drwxrwxrwt 18 root root 4096 Dec 18 09:39 ../
drwxrwxr-x 2 ags ags 4096 Dec 18 09:08 InstallerData/
drwxrwxr-x 3 ags ags 4096 Dec 18 09:08 Linux/
-rw-rw-r-- 1 ags ags 91 Dec 18 09:08 sea_loc
-rw-rw-r-- 1 ags ags 1019 Dec 18 09:08 temp.lax
Am I missing requirements ? The only one listed in the link below is gettext-base, I forced also the LANG to be en_US.UTF-8 (was mandatory in previous version).
Solved! Go to Solution.
Looks like the Home directory of the user used for the installation is mandatory.
Adding /home/ags fixed the problem.
The following paragraph is ambiguous
Temp space requirements
By default, resources are extracted to the system /tmp directory. This directory must have read, write, and execute permissions enabled. If the required space is not available in the /tmp directory, the setup program will attempt to extract resources to the user's HOME directory. If the required space is not available in the user's HOME directory, the setup program will report an error indicating this problem. Optionally, you can specify an alternate temp location by setting the IATEMPDIR environment variable.
Looks like the Home directory of the user used for the installation is mandatory.
Adding /home/ags fixed the problem.
The following paragraph is ambiguous
Temp space requirements
By default, resources are extracted to the system /tmp directory. This directory must have read, write, and execute permissions enabled. If the required space is not available in the /tmp directory, the setup program will attempt to extract resources to the user's HOME directory. If the required space is not available in the user's HOME directory, the setup program will report an error indicating this problem. Optionally, you can specify an alternate temp location by setting the IATEMPDIR environment variable.