I will explain the procedure when upgrading WagbyR8. Here, we call the currently running Web application "current system". The newly built web application is called "new system".
When upgrading Wagby version, please follow the following procedure.(If you rebuild using the same version of Wagby, skip this step and proceed to the next section.)
We will back up the repository of the current system.It becomes a zip file starting with wrb_.Download this and keep it in any work folder.
Stop the current version of Wagby Designer and the applications that you built.
Multiple versions of Wagby can be installed on one development machine.Change the folder name and install it.(Eg Wagby-8.0.0 and Wagby-8.1.0)
If you purchase, after installationPlease apply license key of developer kit.You can apply the same license key to multiple versions of Wagby.
Launch the new version of Wagby Desinger.Load the repository obtained in step 1.
Launch the new version of WagbyDesigner.Please clear the cache of the browser, log on to WagbyDesigner, and perform a full build.
The procedure for replacing the current system with the new system on the production server will be explained.The new system shall be generated by full build.The concrete replacement procedure is as follows.
The details are explained below.
If you are registering to Windows service, please stop from Windows [Administrative Tools] and delete the service. If you are not registered to Windows service please execute wagbyapp \ bin \ shutdown.bat.
If even one of the following cases applies, please follow this procedure.[More ...]
Please export by command line operation.
Please change the folder name "wagbyapp" of current system to "wagbyapp.old". If "wagbyapp.old" already exists, please use a folder name which does not overlap like "wagbyapp.old20180301".
Copy the new system you build to the server machine.Please make it the same folder name as the old system.This allows you to take over and use the same environment even if you are working with Apache or IIS.
If you performed "2. Export all data included in the current system", please follow the procedure below.
The file uploaded to the "File type" item is saved under the upload_dir folder of the current system.Move (or copy) the same folder to the new system.
Please copy "license key file" of the current system to the new system.The license key file is appschema - licensekey.xml in wagbyapp \ webapps \ $ (APPNAME) \ WEB - INF \ classes.
This step is unnecessary.Proceed to the next.
To start up as a Windows service, register Windows service and start from Windows management tool.
Otherwise please run wagbyapp \ bin \ startup.bat.
Enter the given address from the web browser.Log on with a specific account and confirm that the menu is displayed.
If logon processing fails, the database connection may have failed.Once you stop the new system, open the system.log in the wagbyapp/logs folder and check whether an error message is included.
Changing the following design information may affect the table definition.
If you change these settings (including canceling the settings), the table definition will be changed.In this case, you need to export and import the data.
Please check whether there is a difference between wagbyapp \ webapps \ $ (APPNAME) \ WEB-INF \ export \ conf \ createddl of the current production environment and the file in the same folder of wagbyapp after building with version upgrade .If there is no difference, you can use the table as it is.
Export_db.bat and import_db.bat cover all tables.The entity of these commands is called InitLoader.jar.By directly manipulating InitLoader.jar, you can perform limited operations on the table.
When adding a new model, the idea of data restoration is as follows.
For the new system, restore (export) the data exported in the current system.An import model table is also prepared by the import command.
In 1.,The data restored from the current system does not include the initial value of the added choice model.Therefore, for additional parts, specify the initial data (data_init) folder and import individually.A table is also created at this timing.