Photon installer just gets "Installation failed with an error" [message #1791408] |
Thu, 28 June 2018 19:43  |
Eclipse User |
|
|
|
I've been trying to install Photon this morning. I had some initial odd issues with the installer getting an "Access is Denied" error on a file in ~/.eclipse, but after I rebooted I don't see that anymore. However, with the "Simple Installer", when I click the "Install" button, it immediately says "Installation failed with an error.", with no other information.
|
|
|
Re: Photon installer just gets "Installation failed with an error" [message #1791415 is a reply to message #1791408] |
Fri, 29 June 2018 05:42   |
Eclipse User |
|
|
|
Which OS are you on? Doesn't it give you a link to the log? Can you show (attach *.png) what it looks like? If on Windows, if you switch to simple mode, it will ask if you want to keep the installer in a permanent location. If you do that, and run it again (be sure to choose a Photon version explicitly if there is a choice of version), and it fails again, perhaps there will be a *.log file in the installer's configuration folder? If you're on the Mac, be sure you've unpackaged to somewhere other than your download folder; the Mac does some "randomizing" thing that can cause jars not to load properly.
|
|
|
Re: Photon installer just gets "Installation failed with an error" [message #1791451 is a reply to message #1791415] |
Fri, 29 June 2018 16:24   |
Eclipse User |
|
|
|
Platform: Windows 7.
I've attached the picture and the log file (slightly edited).
As you can see, there are bunch of "FileNotFoundException" errors, with the qualification of "Access is denied". I don't know why it would say that. I checked most of those errors, and the file in question exists, is owned by me, and is read/write/exec.
Is there something in this ~/.eclipse tree I can safely delete to see if that fixes this? Will that break anything in my existing Oxygen installation?
|
|
|
Re: Photon installer just gets "Installation failed with an error" [message #1791454 is a reply to message #1791451] |
Fri, 29 June 2018 17:21   |
Eclipse User |
|
|
|
You could delete everything in C:\Users\<uid>\.eclipse\org.eclipse.oomph.jreinfo and it will be created new. Also, in C:\Users\<uid>\.eclipse\org.eclipse.oomph.setup\ . But Access Denied? What's going on with your machine that you don't have write access in your own home folder's files. That's the more fundamental problem because you probably want to create the installation there too and will end up with the next same problem. Can you edit any of these files with notepad, e.g., add and remove a space and then save it?
|
|
|
|
|
|
Re: Photon installer just gets "Installation failed with an error" [message #1791469 is a reply to message #1791462] |
Fri, 29 June 2018 21:14   |
Eclipse User |
|
|
|
And after deleting that directory and retesting, the installation went through successfully. The installation process recreated some of these directories and files. Even looking at them after the fact, I don't see any obvious difference between the old and the new. It's almost like the installation process failed specifically because those files were present at all.
|
|
|
|
Re: Photon installer just gets "Installation failed with an error" [message #1791492 is a reply to message #1791479] |
Sat, 30 June 2018 16:48   |
Eclipse User |
|
|
|
Just so it's clear, I saw no indication that write permission was a problem. I was able to write to those files and directories. All the files were owned by me, and the permissions were read and write. There's no way the installer could have been run by anyone but my userid.
No argument on the confusion of Windows file permissions. I'm sure this incident is an artifact of that, but I have no clue what happened.
|
|
|
Re: Photon installer just gets "Installation failed with an error" [message #1791500 is a reply to message #1791492] |
Sun, 01 July 2018 05:40   |
Eclipse User |
|
|
|
Sometimes virus scanners on Windows cause such problems for files that are read and written quickly. While scanning the file, it's locked, making it look like it's read-only. I.e., we've repeatedly had reports (and it happened on my old machine), that p2 would download an artifact to a "download" folder and then try to move the final result to the permanent location in the pool, which would then fail with an access denied exception. In such cases, the virus scanner had to be configured to stop doing its thing in the pool/agent folder.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.14292 seconds