Difference between revisions of "Upgrade ACP to a new release"

Line 45: Line 45:
  
 
=== Restart Apache ===
 
=== Restart Apache ===
In an elevated command prompt: <code>C:\Apache24\bin>httpd.exe -k restart<\code>
+
In an elevated command prompt: <code>C:\Apache24\bin>httpd.exe -k restart</code>
  
 
=== Restart the Suan.exe ===
 
=== Restart the Suan.exe ===

Revision as of 12:48, 16 June 2021

Download and install the Analytica installer

  • Download the Analytica release appropriate for your new ACP release, currently https://downloads.analytica.com/ANA6.0/AnaSetup6_0_3_183.exe
  • Install the latest Analytica release build. Install to the default folder. Use your existing ACP3 or ACP3 w/optimizer license.
  • Now you need to ensure your database user can use the Analtyica license - In a non admin CMD prompt:
    CD "C:\Program Files\Lumina\Analytica 6.0"
    RunAs /user:ACPUser .\Analytica
  • When Analytica launches, accept the terms and select the license in Desktop Analytica's Help->Update License dialog
  • Test that it saves this info by exiting and restarting, again as ACPUser, and checking the Help-Update License dialog.

Download files to be updated and copy then to your ACP installation

  • Download these 2 Zip Archives, and extract them to replace the existing files on your current ACP installation.
    • ACP-Analytica0.32.zip contains files that need to be saved to C:\Program Files\Lumina\Analytica 6.0
      • Extract the files from the ACP-Analytica.zip.
  1. Analytica.ini
  2. suan.exe
  3. libssl-3.dll
  4. libcrypto-3.dll
  5. SuanFirebaseAuth
      • Save these files to C:\Program Files\Lumina\Analytica 6.0 (When prompted click yes to replace existing files)
    • ACP3-BetaBuild0.32.zip contains the ui directory with subdirectories Assets and Build. These folders need to replace the existing folders in D:\ACP\ui\


  • Test this part
    • In all 3 of the D:\Acp\ui\Assets *.config files, in a text editor, temporarily set DesktopUI=1
    • In a non-admin CMD prompt:
      CD "c:\program files\lumina\Analytica 6.0"
      .\Suan.exe /config:d:\Acp\ui\assets\server.config
      Expected: An Analytica desktop instance should launch with an architecture drawing. It should stick around and not vanish.
    • In Chrome: http://localhost:8080
      Expected: Login page should appear
  • Once this test succeeds:
    • Quit all Desktop Analytica instances
    • Edit both Server.config and Session.config and set:
      DesktopUI=0

Make any updates to the database

  • Run: Analytica.exe "d:\Acp\ui\assets\Database alterations.ana"
  • In the text input Updating from release number enter your release you are updating from eg. 0.22
  • In the text input Updating to release number enter your release you are updating to eg. 0.32
  • Press the output node Required alterations
  • Look at the result for number of alterations to be applied. If more than 0 press the button Apply Alterations. Once you get a message the the alterations have been applied, of If no alterations need to be applied just close the model.

Restart Apache

In an elevated command prompt: C:\Apache24\bin>httpd.exe -k restart

Restart the Suan.exe

  • Launch task scheduler
  • Select your scheduled task to launch acp at boot
  • End all instances
  • Run the task

Now you should have suan.exe running in task manager. If not there is something wrong with the configuration.

Test

Browse to your ACP instance and check to see that you can get to the user portal and log in.

Comments


You are not allowed to post comments.