SC 9.2 NM says in changelog "YOU MUST UPDATE THE PRODUCTION ENVIRONMENT"

Can anybody tell me what and how exactly do I have to update? What in the development environment and what on my live server?
Do I have to rebuild the whole _lib folder on my server?
Joe

Hi Joe:
When you deploy your project, you have the option to create a ZIP file with your apps, and also you can download a ZIP file with the common libraries . That file must be unzipped in the _lib folder for your app in any server you deploy it.

Note that you don’t need to do that in your development server if you don’t publish your app in it. If you just run your app from Scriptcase, there’s no need to do that in your dev server.

But in your production server, you must update the _lib folder if you build and publish your apps with a new version signaling “You must update the production environment”.

You can find the specifics in the SC documentation for deploying apps.

Hi Joe,
In my case I use ftp to routinely deploy my apps as I work on them. When an upgrade says that I must upgrade production, I do this:

  1. Do the SC upgrade as normal
  2. I open my project and regenerate all apps
  3. I deploy all apps
  • I usually use advanced as it is quicker - no common library files are deployed
  • but on this occasion, I switch from advanced to Typical. You will see 2 checkboxes. Keep those checked and deploy
  • It takes a bit longer at the end of all the apps - mine always says something like 99% , but eventually it should complete to 100%. It is deploying the common files.
  • That causes all sorts of non-app files to essentially get updated by files that were affected by the SC update.

That should do it. If you use ZIP. as tfertil does, then you do the same but upload and deploy using the ZIP created with Typical.

SC should, IMHO, clear up the terminology a bit on this process. Even the deployment screens need a little reworking, as they work great but it is not clear.

Peace, Jamie

Thank you for your replies. I feared that because I made some changes in my _lib folder on production server. Hope I can remember everything … :wink:
Joe

HI Joe,
I recommend that you develop some ways to avoid those types of manual changes at all costs. It will make your life much easier.

One way I do is to use the libraries to add code or whatever type of files I want to have ‘external’ to SC. Then when you check that you use that, those get deployed with your whole project the SC way.

A second method I use is to create folders and even files programmatically. That is, if my SC app(s) need a certain folder for imports or exports of something I am writing like a google map KML file, I check for and create the folder using php commands. You have to avoid manually doing things, as it is easy to forget or skip those steps.

Good luck :slight_smile:
Jamie