Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence Upgrade deleting confluence service

Kevin September 9, 2020

Hi,

 

I'm hoping someone have gone through this in the past. I'm following the Confluence upgrade guide and saw this particular step:

8. Reinstall the service (Windows only)

If you run Confluence as a service on Windows you should delete the existing service then re-install the service by running <install-directory>/bin/service.bat.

This makes sure the service gets the most recent JVM options. 

 

Does the .bat perform the delete and reinstallation of the service? How does one get the most recent JVM options?

 

Thanks,

Kevin

3 answers

1 accepted

1 vote
Answer accepted
Michael Knopf August 4, 2021

Here is a screenshot of the command prompt being executed. Notice that my installation path my be different than yours, adjust your entries accordingly

reinstall-service.png

0 votes
Michael Knopf August 4, 2021

Hyme

 

You will use a Command Prompt to execute the service.bat script, passing it the appropriate parameters for removing and installing the service. The documentation states the following:

NT Service Install/Uninstall script

Usage:

service.bat install/remove [service_name [--rename]] [--user username]

Options
Install the service using default settings.

install 

Remove the service from the system.

remove 

(optional) The name to use for the service. If not specified,
Tomcat9 is used as the service name.

service_name 

(optional) Rename tomcat9.exe and tomcat9w.exe to match
the non-default service name.

--rename

(optional) The name of the OS user to use to install/remove
the service (not the name of the OS user the
service will run as). If not specified, the current
user is used.

username
0 votes
Hyme Schachter
Contributor
November 4, 2020

Same questions here

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
6.11
TAGS
AUG Leaders

Atlassian Community Events