Failed in upgrading my gateway

Dears,
As you see below I got error message on my running gateway on 8.1.13 as I am trying to upgrade to latest version of SW 8.1.32.

Any advice here.

Regards,

  • Disc space?
  • Permissions on the folder?

I run the setup file as administrator and I have enough space.

See if there's an installation log.

INFO  [IgnitionInstaller        ] [2023/09/23 15:38:03]: log location set to C:\Users\invadmin\.ignition\install\install.log
INFO  [IgnitionInstaller        ] [2023/09/23 15:38:03]: log level set to 'INFO'
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:11]: Install started in directory C:\Program Files\Inductive Automation\Ignition
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:11]: 0%: Checking existing gateway's state
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:12]: 0%: Configuring Install Actions
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:12]: 0%: Executing Install Actions
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:12]: 0%: Creating a gateway backup. This may take some time...
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:13]: 0%: gwcmd missing timeout option, retrying without it
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:13]: 0%: Creating a gateway backup. This may take some time...
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:22]: 0%: Gateway backup 'backup_20239231539.gwbk' creation complete
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:22]: 0%: Stopping Gateway. This may take some time..
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:39]: 0%: Gateway service stopped and uninstalled
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:39]: 0%: Starting pre-install modifications
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:39]: 0%: Deleting 'data/jar-cache'
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:39]: 0%: Deleting 'lib'
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:40]: 0%: Retaining 'lib\runtime\jre-win'
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:41]: 0%: Starting Install Extraction
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:41]: 0%: IgnitionGateway.exe
WARN  [ActionController         ] [2023/09/23 15:39:41]: An Error Has Occurred
com.inductiveautomation.ignition.installer.common.actions.InstallAction$HaltInstallException: Unable to extract install into 'C:\Program Files\Inductive Automation\Ignition'
   at com.inductiveautomation.ignition.installer.common@8.1.32/com.inductiveautomation.ignition.installer.common.actions.install.ExtractInstallZipAction.execute(ExtractInstallZipAction.java:150)
   at com.inductiveautomation.ignition.installer.common@8.1.32/com.inductiveautomation.ignition.installer.common.actions.ActionController.lambda$execute$5(ActionController.java:106)
   at com.inductiveautomation.ignition.installer.common@8.1.32/com.inductiveautomation.ignition.installer.common.actions.ActionController.wrapRunnableAction(ActionController.java:154)
   at com.inductiveautomation.ignition.installer.common@8.1.32/com.inductiveautomation.ignition.installer.common.actions.ActionController.execute(ActionController.java:107)
   at com.inductiveautomation.ignition.installer.offline@8.1.32/com.inductiveautomation.ignition.installer.offline.OfflineInstaller.startInstall(OfflineInstaller.java:336)
   at com.inductiveautomation.ignition.installer.common@8.1.32/com.inductiveautomation.ignition.installer.common.ui.graphical.InstallerApplication.lambda$startInstall$9(InstallerApplication.java:351)
   at java.base/java.lang.Thread.run(Thread.java:829)
java.nio.file.attribute.UserPrincipalNotFoundException: null
   at java.base/sun.nio.fs.WindowsUserPrincipals.lookup(WindowsUserPrincipals.java:147)
   at java.base/sun.nio.fs.WindowsFileSystem$LookupService$1.lookupPrincipalByName(WindowsFileSystem.java:244)
   at com.inductiveautomation.ignition.installer.common@8.1.32/com.inductiveautomation.ignition.installer.common.utils.IOUtils.setOwnership(IOUtils.java:478)
   at com.inductiveautomation.ignition.installer.common@8.1.32/com.inductiveautomation.ignition.installer.common.utils.UnzipOperation.chown(UnzipOperation.java:220)
   at com.inductiveautomation.ignition.installer.common@8.1.32/com.inductiveautomation.ignition.installer.common.utils.UnzipOperation.execute(UnzipOperation.java:196)
   at com.inductiveautomation.ignition.installer.common@8.1.32/com.inductiveautomation.ignition.installer.common.actions.install.ExtractInstallZipAction.execute(ExtractInstallZipAction.java:147)
   at com.inductiveautomation.ignition.installer.common@8.1.32/com.inductiveautomation.ignition.installer.common.actions.ActionController.lambda$execute$5(ActionController.java:106)
   at com.inductiveautomation.ignition.installer.common@8.1.32/com.inductiveautomation.ignition.installer.common.actions.ActionController.wrapRunnableAction(ActionController.java:154)
   at com.inductiveautomation.ignition.installer.common@8.1.32/com.inductiveautomation.ignition.installer.common.actions.ActionController.execute(ActionController.java:107)
   at com.inductiveautomation.ignition.installer.offline@8.1.32/com.inductiveautomation.ignition.installer.offline.OfflineInstaller.startInstall(OfflineInstaller.java:336)
   at com.inductiveautomation.ignition.installer.common@8.1.32/com.inductiveautomation.ignition.installer.common.ui.graphical.InstallerApplication.lambda$startInstall$9(InstallerApplication.java:351)
   at java.base/java.lang.Thread.run(Thread.java:829)

INFO  [IgnitionInstaller        ] [2023/09/23 15:39:41]: 0%: Unable to extract install into 'C:\Program Files\Inductive Automation\Ignition'
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:45]: 0%: Installer action failure. Performing undo
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:45]: 0%: Reverting new Ignition files
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:45]: 0%: Reverting ''
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:46]: 0%: Reverting 'user-lib'
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:46]: 0%: Reverting 'user-lib\jdbc-bundled'
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:46]: -89%: Install file revert complete
INFO  [IgnitionInstaller        ] [2023/09/23 15:39:46]: -89%: Reverting pre-install modifications
INFO  [IgnitionInstaller        ] [2023/09/23 15:40:07]: -89%: pre-install modifications reverted
INFO  [IgnitionInstaller        ] [2023/09/23 15:40:07]: -89%: Starting Gateway. This should only take a moment..
INFO  [IgnitionInstaller        ] [2023/09/23 15:40:12]: -89%: Gateway service started and installed
INFO  [IgnitionInstaller        ] [2023/09/23 15:40:12]: -89%: Revert of installer actions complete

How much free space have you got on that drive? This guy found that 6 GB was not enough.

See also,

I have 44 Gb space ,No worries about space.

You might need to open a ticket with IA support.

Thanks for your support, can u guide me how to open ticket.

Look under "Support".

Solution done by Inductive automation support :slight_smile:
Unable to upgrade Ignition from 8.1.13 to 8.1.32 receiving error:

An Error Has Occurred com.inductiveautomation.ignition.installer.common.actions.InstallAction$HaltInstallException: Unable to extract install into 'C:\Program Files\Inductive Automation\Ignition'

The stack trace points to it not being able find the Principal User

This typically occurs because the permissions/owner of the initial installation do not allow the current user to modify the install directory

https://stackoverflow.com/questions/12731277/setting-owner-of-a-file-in-java-ver-7-in-windows-xp-sp2

The initial owner of the Install directory seems to be 5-1-5-21-1056255678-1622950809-1427260136-60794

Modifying this to be invadmin through the Advanced Security settings on the Ignition folder allowed for the Gateway to upgrade successfully

Gateway seems healthy upon starting with all expected configurations

Perspective session also seems to be working as expected

4 Likes

Hi Samer,

Thank you for sharing the solution.
I got the same issue, and your post helped me!

Kind regards,

1 Like

How did you find the initial owner of the directory?

never mind, i found it!