Time needed: 10 minutes.
In order to upgrade apps that were created in an older version of ArcGIS Web AppBuilder (Developer Edition)
- Stop app running versions of Web AppBuilder – new and old
- Open the command prompt window
- Browse to the \server directory of the newer version of the Web AppBuilder installation
cd C:\00\web-app-builder-2-15\server
- You have the option to upgrade either an individual app or all of the apps
To upgrade an individual app, type the following:
- for a 64-bit operating system: type below, and press ENTER.
node_x64 upgrade <your_previous_version_Web_AppBuilder_installation_directory> <app_id>
- for a 32-bit operating system: type below, and press ENTER.
- for a 64-bit operating system: type below, and press ENTER.
- for a 32-bit operating system: type below, and press ENTER.
- Once the upgrade is complete, start the new version of Web AppBuilder to check the result.
node_x86 upgrade <your_previous_version_Web_AppBuilder_installation_directory> <app_id>
To upgrade all of your apps, type the following:
node_x64 upgrade <your_previous_version_Web_AppBuilder_installation_directory>
node_x32 upgrade <your_previous_version_Web_AppBuilder_installation_directory>
Reference/Notes:
- Your previous version of the Web AppBuilder installation directory is similar to C:\arcgis-web-appbuilder-2.10
- The app ID is 2 for the app at http://localhost:[port number]/webappbuilder/apps/2/
- If the upgrade failed, see the upgrade.log file in \server\logs directory of new Web AppBuilder installation.
- By design, if the upgrade command is run multiple times, the apps will be upgraded into new version.