1. David Smith
  2. PowerServer
  3. Friday, 2 February 2024 11:40 AM UTC

Hi !

PowerServer 2022 R2 / R3 question:

Where is this information about Current server version stored ?

2024-02-02 11:28:39.040 INFO [5176] Current server version: 24.00.2024.223, 24.01.2024.01, 24.03.2024.11, 24.03.2024.12, 24.03.2024.14; latest version: 24.03.2024.14, minimum compatible version: 24.00.2024.223.

Thanks,
David

Accepted Answer
Angie Liu@Appeon Accepted Answer Pending Moderation
  1. Tuesday, 6 February 2024 07:44 AM UTC
  2. PowerServer
  3. # Permalink

Hi David;

 

The deployment version you see in the launcher log is stored in the webapp file deploylist.ini. The current version of the client is stored in the local file %appdata%\PBApps\Applications\application_name\pbapp.ini on the client.

 

We do not recommend you modify this version manually. When the client runs the application, it will compare the local version with the version number on the webapp server to decide the upgrade.

 

We suggest you use PowerServer Project -> Build -> Advanced -> Versioning to configure and set the release version of your application.

 

 

Regards,

Angie

Comment
There are no comments made yet.
David Smith Accepted Answer Pending Moderation
  1. Tuesday, 6 February 2024 10:11 AM UTC
  2. PowerServer
  3. # 1

Thanks Angie,

That is clear now. I see the deploylist.ini.zip file on both PB machine in C:\temp\pbappscache 22.0\cache\... and on PowerServer in the application's web site folder. Both are readable plain text files.

Much appreciated,

David

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 2 February 2024 16:58 PM UTC
  2. PowerServer
  3. # 2

Hi David;

  Is your question really about "how" to access the PS version information vs where?

Regards .. Chris

Comment
There are no comments made yet.
David Smith Accepted Answer Pending Moderation
  1. Monday, 5 February 2024 10:18 AM UTC
  2. PowerServer
  3. # 3

Hi Chris,

I can see the info is logged on the client in the Cloud App Launcher's log folder.

Example default locations:

  • Standard Launcher : C:\Users\[UserID]\AppData\Local\CloudAppLauncher_V2\log
  • Public Launcher : C:\Program Files (x86)\Appeon\CloudAppLauncherPublic_V2\log

How does PowerServer inform the client of the "current server version"(s) ?
Can we read or set this information on the server or is it derived somehow ?

Thanks,

David

 

Comment
  1. Chris Pollach @Appeon
  2. Tuesday, 6 February 2024 20:10 PM UTC
Hi David;

FWIW: My STD Framework picks up the PS version for System-To-System control checking via issuing a Web API ...

In my STD Framework, have a look at the "of_check_ps_version" method in the "nc_app_controller_master" object class.

This uses the HTTPClient object to call the current PS's open Web API to get the current PS version information. HTH

Regards .. Chris
  1. Helpful 1
  1. David Smith
  2. Wednesday, 7 February 2024 08:56 AM UTC
Thanks Chris, will look into that approach too, that's very helpful
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 7 February 2024 18:26 PM UTC
Welcome!

Also - new to PB 2022 R3 ... https://docs.appeon.com/ps2022r3/CloudAppGet.html

HTH
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.