Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Rolling back an already patched version

Automatic rollback 

To rollback already applied patches you have to delete all the patch files from the patches folder of your JOC Cockpit installation.

Rollback from the command line

...

  • java -jar patch-executor-<VERSION>.jar --rollback

Delete all patch files from the patches folder and then type:

  • java -jar patch-executor-<VERSION>.jar without any further parameters

...

If you want to rollback automatically then you will first have to remove all the existing patch files from the patches folder.

When the patch executor then recognizes that there are no patch files in the patches folder an automatically rollback is performed.

In contrast, when you type java -jar patch-executor-<VERSION>.jar --rollback in the command line, a rollback will be performed, no matter which patch files reside in the patches folder.

General information

When you run the patch executor it will check if a copy of the (original) joc.war file has already archived in the archive folder of the JOC Cockpit installation. If not, a copy of the original joc.war file will be copied to the archive folder.

...

When a new installation is performed on an existing JOC Cockpit Installation the Setup will clean up the patches- and the archive folder of the previous installation.