Error trace:
5 Sep, 2023 6:08:56 PM [com.adventnet.tools.update.installer.Unzipper] [INFO] : lib/phantomjs/linphantomjs/phantomjs
25 Sep, 2023 6:08:56 PM [com.adventnet.tools.update.installer.Unzipper] [SEVERE] : ERR:Exception while writing file.java.io.FileNotFoundException: /home/test/Tomcat_Tool_Linux/bin/Builds_Through_UI/aalshehi_9060768_rithik_1/aalshehi_9060768_rithik_1/AdventNet/ME/ServiceDesk/lib/phantomjs/linphantomjs/phantomjs (Text file busy)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:101)
at com.adventnet.tools.update.installer.Unzipper.writeFile(Unzipper.java:1778)
at com.adventnet.tools.update.installer.Unzipper.startUnzipping(Unzipper.java:948)
at com.adventnet.tools.update.installer.ApplyPatch.installPatch(ApplyPatch.java:466)
at com.adventnet.tools.update.installer.ApplyPatch.run(ApplyPatch.java:260)
at java.lang.Thread.run(Thread.java:750)
25 Sep, 2023 6:08:56 PM [com.adventnet.tools.update.installer.Unzipper] [INFO] : Error while updating the file lib/phantomjs/linphantomjs/phantomjs
25 Sep, 2023 6:08:56 PM [com.adventnet.tools.update.installer.Unzipper] [INFO] : Error while updating files start to revert from the error point
Revert the product , follow the workaround and retry upgrade
Workaround:
1. Go to ServiceDesk/lib/phantomjs/linphantomjs/phantomjs
2. Move the phantomjs outside of ServiceDesk
3. Try upgrade.