I've had an issue where somehow I had root create the .ignition subdirectory in my ignition user directory. This happened after deleting the .ignition directory to clear up disk space (I read https://support.inductiveautomation.com/hc/en-us/articles/360047596071-How-to-Clear-Client-ignition-Cache-and-Java-Cache ... Ok I didn't get advised to do it ) and then updating my localhost installation to 8.1.36 (from 8.1.30).
Note I run a Hyper-V based Ubuntu MATE which runs both a localhost test instance of Ignition 8.1 (currently 8.1.36) and the Designer to connect to all 3 of my test (localhost), dev and prod Ignition servers.
The main issue appeared when trying to run Designer (either 1.1.30 or 1.1.36 ) when I received either:
- Launch Error Occurred, Downloading of launchclient.jar failed, Launching will not occur
- Downloading of launchclient.jar failed, Launching will not occur
It took a while but I finally figured out, luckily enough when I went to look at the directory, that for some reason the .ignition directory in my ignition user's directory (predictably enough, the user is called ignition) had been recreated by root:
drwxr-xr-x 2 ignition ignition 12288 Feb 2 20:41 Downloads/
drwx------ 3 root root 4096 Feb 2 20:16 .ignition/
drwxr-xr-x 3 ignition ignition 4096 Mar 24 2023 .java/
And of course it wouldn't let me view it (as the ignition user), which I found rather annoying.
I decided the quickest fix was a quick sudo rm -rf .igniton
followed by a mkdir .ignition
:
drwxr-xr-x 2 ignition ignition 12288 Feb 2 20:41 Downloads/
drwxrwxr-x 2 ignition ignition 4096 Feb 2 20:59 .ignition/
drwxr-xr-x 3 ignition ignition 4096 Mar 24 2023 .java/
After which the Designer start issue ceased to exist. I expect the root-owned,permission-limited .ignition directory could have created no end of other issues, but I didn't get that far
I hope this helps someone.