Skip to content

Uninstallation

Spectrum installation

Since Spectrum does not provide an automated uninstall mechanism, all installed files must be removed by hand. The steps differ slightly depending on the installed version.

Steps

  • Stop the OneClickExt daemon:
  • If running as a systemd service: sudo systemctl stop oneclickext
  • If running via idb tickets: cmdC localhost 1 ONECLICKEXT and cmdC localhost 1 CHECKONECLICKEXT

  • Remove the OneClickExt section from $SPECROOT/tomcat/webapps/spectrum/oneclick.jnlp.

  • Delete the menu entries for the script launcher in the file $SPECROOT/custom/console/config/custom-menu-config.xml

  • Delete the following files/directories from $SPECROOT:

lib/SDPM/partslist/CHECKONECLICKEXT.idb
lib/SDPM/partslist/ONECLICKEXT.idb
Install-Tools/IDX/OC/DCS-OneClickExt.i
Install-Tools/MMD/DCS-OneClickExt.mmd
Install-Tools/CUS/oneclickext.cus
Install-Tools/WEB-XML/oneclickext-web.xml
Install-Tools/LOGS/VCD-DCS-OneCklickExt_*
tomcat/webapps/spectrum/lib/oneclickext.jar
tomcat/webapps/spectrum/oneclickext.jnlp
tomcat/webapps/spectrum/oneclickext.props
tomcat/webapps/spectrum/oneclicknetx.jnlp
tomcat/webapps/sl
DICOS/OneClickExt

Additional steps are necessary depending on the installed version:

  • Delete the servlet mappings for /oneclickext.jnlp, /oneclicknetx.jnlp, and /scriptlauncher.jnlp from $SPECROOT/tomcat/webapps/spectrum/WEB-INF/web.xml

  • Delete the following additional files/directories from $SPECROOT:

tomcat/webapps/spectrum/dcslib
tomcat/webapps/spectrum/scriptlauncher.jnlp
tomcat/webapps/spectrum/WEB-INF/lib/oneclickext.jar  
  • Delete the servlet mappings for /oneclickext.jnlp and /oneclicknetx.jnlp from $SPECROOT/tomcat/webapps/spectrum/WEB-INF/web.xml

  • If the Script Server was deployed to webtomcat, also delete from $SPECROOT:

webtomcat/webapps/sl

Standalone installation

Stop and remove the daemon service (run as administrator):

net stop oneclickextd
cd %DCSROOT%\DICOS\OneClickExt\bin
jsl64 -remove

Remove the installation files:

Delete the following directories:

%DCSROOT%\DICOS\OneClickExt

If the Script Server was deployed, also delete:

%DCSROOT%\webtomcat\webapps\sl

If Tomcat was installed solely for the Script Server and is no longer needed, uninstall the webtomcat Windows service via the Tomcat uninstaller or the Services control panel.

Stop and disable the systemd service (run as root):

sudo systemctl stop oneclickext
sudo systemctl disable oneclickext

Remove the systemd service files (run as root from the bin directory):

sudo $DCSROOT/DICOS/OneClickExt/bin/uninstallSystemdFilesUser.sh

Remove the installation files:

Delete the daemon directory:

rm -rf $DCSROOT/DICOS/OneClickExt

If the Script Server was deployed, also delete:

rm -rf $DCSROOT/webtomcat/webapps/sl

If Tomcat was installed solely for the Script Server and is no longer needed, stop it and delete $DCSROOT/webtomcat.