-
Type:
Suggestion
-
Resolution: Fixed
-
Component/s: documentation
-
None
Summary
There are several potential corrections needed in our v11 guide's
Upgrade self-hosted Jira Align instances section.
Updates Needed
Prepare for the upgrade
- Step 8
For each site, create a new folder as C:[YOURCOMPANYNAME]\ [CUSTOMER_DATABASE]\BackofficeService.
- The BackofficeService folder should already exist if we're upgrading from 10.127 or higher. So I think we can clarify that condition here.
- Step 9
Copy the new BackOffice package to each site in the C:[YOURCOMPANYNAME]\ [CUSTOMER_DATABASE]\BackofficeService folder.
- When we say "Backoffice package", I believe we're referring to the contents of: C:\YOURCOMANYNAME\Releases[JA_VERSION]\Sources\BackofficeService. I think we can rewrite to be clearer on this.
- In my testing, I tried to just rename the existing BackofficeService folder (so I can copy in the new one)... BUT, I get an error saying it can't be renamed b/c it's in use. I had to stop the Backoffice service to avoid the error. Wondering if it might be a good to add that as a step in the guide? Regardless if we rename it or simply overwrite it (as we state now), we don't want files locked.
- Step 10
If you're updating an existing installation created before version 10.130.0, rename the AgileCraft.Backbone.exe.config file for each site to AgileCraft.Backbone.dll.config.
- I don't think this step is needed. When we copy in the Backoffice package in Step 9, it already contains the updated (renamed) file. We started delivering the updated file in 10.130.
- Step 11.5
If you're updating an existing installation created before version 10.130.0, remove the following tags and their enclosed contents from the AgileCraft.Backbone.dll.config file: <startup ... </startup> <runtime> ... </runtime>
- I don't think this step is needed. The new AgileCraft.Backbone.dll.config copied over during Step 9 already has these sections removed.
- Step 11.6
If you're updating an existing installation created before version 11.0, also add the app settings <add key="ScheduleJitterFactor" value="0" /> and <add key="ScheduleJitterMax" value="0" /> to the AgileCraft.Backbone.dll.config file
- I don't think this step is needed. The new AgileCraft.Backbone.dll.config copied over during Step 9 already includes these sections.
- Step 12.4
If you're updating an existing installation created before version 10.130.0, also add the following section to the ServiceTasks.Backoffice.dll.config file in a text editor: <configuration> <!-- new section --> <configSections> <sectionGroup name="system.net"> <sectionGroup name="mailSettings"> <section name="smtp" type="ServiceTasks.BackOffice.FrameworkSupport.SmtpSection, ServiceTasks.BackOffice" /> </sectionGroup> </sectionGroup> </configSections> <configuration>
- I don't think this step is needed. The new AgileCraft.Backbone.dll.config copied over during Step 9 already includes this section.
Perform the upgrade
- Step 3
Run an uninstall command, depending on your upgrade history: 1. If it's your first time upgrading to 10.127.0 or later, run the following for each site: C:[ROOT_DIRECTORY]\BackofficeService\AgileCraft.Backbone.exe --uninstall --task BackOffice --suffix AgileCraftServer 2. If you have already upgraded to 10.127.0 or later, run the uninstall_AgileCraft_BackOffice_[CUSTOMER_DATABASE].bat file for each site instead.
- I believe we only need to be uninstalling this service if this is the first time they are upgrading to 10.127 or later… in which case the condition should be stated at the beginning in the main step instead of in the sub-steps. If they’re already running 10.127 or higher, then they’ve already updated the windows service.
- Also, I don’t think we need the sub-step 2. We replace C:[ROOT_DIRECTORY]\BackofficeService with the latest version in Step 9 of the previous section (tho better to rename existing and copy in the new one I think), so any custom generated uninstall script would likely be overwritten. Step 1’s generic AgileCraft.Backbone.exe --uninstall targeting the service by name should work fine anyway.
- Step 4
For each site, run this install command from each database folder: C:[ROOT_DIRECTORY][CUSTOMER_DATABASE]\BackofficeService\install.bat --task BackOffice --instance [CUSTOMER_DATABASE] This will install a service with the name AgileCraft_Backoffice_[CUSTOMER_DATABASE].
- Again, I believe we only need to be installing the new service if this is the first time they are upgrading to 10.127 or later… in which case this needs to clearly state that condition (ideally, combine this into the previous step). If they’re already running 10.127 or higher, then they’ve already updated the windows service. NOTE: Service name has changed as well. It's now "Jira Align Backoffice ([CUSTOMER_DATABASE])".
- Step X
- If we do end up adding the “stop Backoffice service” step in the Prepare for the upgrade section, will need to add a “restart Backoffice service” step under this section.
- derived from
-
ALIGNSP-25794 Loading...