Picture of mitop
Registered 3 years 151 days
mitop Monday, 12 December 2022, 01:14 PM
Update App SDK to 13r3beta
Hi all,

to prepare our apps for the next release (13r3), we installed a 13r3beta pbx with the newest app plattform version 110019 (upgraded a freshly installed 13r2 sr18 to 13r3). From Visual Studio i created a new App with 13r3beta SDK version and tried to upload the app. The upload works, but the app does not start from visual studio, debugging not possible. Starting the app from AP Manager afterwards, seems to work (without further testing). Developer mode is enabled, everything was updated through the SDK installer, all apps up to date, Visual Studio up to date. Using putty to establish a ssh connection works. Using WinSCP (SFTP) to connect to the file system, does not work anymore. We checked our network settings, and tried the same from a machine that can access the App Platform through Layer 2, but still no WinSCP connection possible. The Migration Notes does not contain any information about this issue, moreover, it seems that the text is not ready yet ("The current version of the SDK used in the Visual Studio Project is stored in the file common/sdk.version. In case the..."missing text?") ?

Does anyone have any idea what is going wrong here? We cannot start 13r3 apps from Visual Studio at all.
beta13r3_error_dev.jpg

Picture of Gianluca Allegrino (innovaphone)
Registered 3 years 74 days
Gianluca Allegrino (innovaphone) Tuesday, 13 December 2022, 10:56 AM
2 of 2 users consider this post helpful
Re: Update App SDK to 13r3beta
Hello Mladen,


we found an issue with our current App Platform regarding this issue. We're currently investigating this and will come back at you.

Thanks for your patience.


Best Regards
Gianluca Allegrino
Picture of mitop
Registered 3 years 151 days
mitop Tuesday, 13 December 2022, 10:38 AM in response to mitop
Addition: Update App SDK to 13r3beta
A short addition that concerns the 13r2 sr18 version and is possibly related to this: If I open a WinSCP window for current app from Microsoft Visual Studio, I end up in the directory "/mnt/sda2/apps/appname/". If I query the working directory by code, I get "/mnt/sda2/home/appname/". In versions prior to 13r2 sr18, when I opened WinSCP from Microsoft Visual Studio, I also ended up in the "/mnt/sda2/home/appname/" directory.


Picture of Daniel Deterding (innovaphone)
Moderator Registered 14 years 345 days
Daniel Deterding (innovaphone) Thursday, 15 December 2022, 03:09 PM
2 of 2 users consider this post helpful
Re: Addition: Update App SDK to 13r3beta
Hi Mladen,

we found the issue. We replaced the OpenSSH server in image version 110019 with dropbear, as OpenSSH didn't work on ARM gateways anymore.
Seems as now dropbear doesn't work with Visual Studio sad

I created a new image now with updated packages and the latest version of OpenSSH works again with our ARM gateways and debugging with Visual Studio works too.

You can install image 110022 from the beta store for a test.

Greetings,
Daniel
Picture of mitop
Registered 3 years 151 days
mitop Monday, 19 December 2022, 09:19 AM
Re: Addition: Update App SDK to 13r3beta
Hi Daniel,

the latest beta image was installed and Apps upload from Visual Studio/WinSCP/Debug do work again. Will port an App in Development to the 13r3 machine and let you know if I discover anything.
It's a pity that Dropbear doesn't want to work with Visual Studio, although it's the same protocol.

Thank you and greetings
Mladen
Picture of mitop
Registered 3 years 151 days
mitop Wednesday, 11 January 2023, 02:22 PM in response to Daniel Deterding (innovaphone)
Re: Addition: Update App SDK to 13r3beta
Hi Daniel,

i am in the process of raising the SDK of an app from 13r2 to 13r3. From Visual Studio i can only upgrade the app within the 13r2 releases, not to the 13r3 release, there is no option to do that.
Here https://sdk.innovaphone.com/13r3/doc/tutorials/migration_13r2_13r3.htm#project-upgrade you mentioned the "..common/sdk.version" file, without further explanation how to upgrade a app. Inside the file i found that "{ "sdk" : "13r2", "version" : "136395" }". My idea now was to simply rewrite the line, make the 13r2 a 13r3 and leave the version number the same. This way I hope that Visual Studio will ask me for an update and install the 13r3 version of the SDK.

Is this the right way as it was intended? What is still missing here in the explanation https://sdk.innovaphone.com/13r3/doc/tutorials/migration_13r2_13r3.htm#project-upgrade ?


Best regards
Mladen
Andreas Fink
Moderator Registered 12 years 277 days
Andreas Fink (innovaphone) Thursday, 12 January 2023, 01:13 PM
1 of 1 users consider this post helpful
Re: Addition: Update App SDK to 13r3beta
Hello Mladen,

it seems to be the part with switching the SDK major version was not inserted correctly into the document. I will fix this.

The file common/sdk.version is created automatically by the nnovaphone SDK Visual Studio plugin. To switch the major version of the project from 13r2 to 13r3 perform following steps:
  • close the Visual Studio solution
  • delete the common/sdk.version file
  • edit the Visual Studio project file project.vcxproj
    • from <SDKVersion>13r2</SDKVersion>
    • to <SDKVersion>13r3</SDKVersion>
  • open the solution and perform an automatic upgrade of the SDK files

Best Regards
Andreas Fink

Picture of mitop
Registered 3 years 151 days
mitop Thursday, 12 January 2023, 03:38 PM
1 of 1 users consider this post helpful
Re: Addition: Update App SDK to 13r3beta
Hello Andreas,

thank you for the answer, first app was upgraded successfully to 13r3 SDK smile, no problems encountered during testing.


Best regards
Mladen
← You can define your color theme preference here