Reset Runtime
In a previous microlearning, we learned about restarting runtimes. In that microlearning, we learned that restarting the runtime does not affect flows, data, psychical hardware, or otherwise. It is simply jump-starting the runtime or machine once more. In this microlearning, however, we will focus on the action to reset a runtime. A reset on the other hand is the more aggressive approach and does have a significant effect. In other words, the main difference is that with a reset you begin with a clean slate compared to the simple restart.
Having said that there are some cases where it can become beneficial to reset a runtime. For instance when running into memory issues or when doing large bulk build number upgrades.
Should you have any questions, please contact academy@emagiz.com.
1. Prerequisites
- Basic knowledge of the eMagiz platform
- Basic knowledge of cloud management
2. Key concepts
This microlearning centers around resetting a runtime
With resetting, we mean: Ensure that we begin with a clean slate and forget about what happened before
- A reset is the more aggressive approach compared to a restart.
- The reset does the following on cloud level:
- Stops the runtime service (if running)
- Removes data (except Artemis folder + revision info)
- Removes local repository folder
- Starts the runtime service (if stopped at step 1)
- With a reset, you start with a clean slate
- Flow version could be different based on changes in the release
- Custom H2 database is emptied
3. Reset runtime
In a previous microlearning, we learned about restarting runtimes. In that microlearning, we learned that restarting the runtime does not affect flows, data, psychical hardware, or otherwise. It is simply jump-starting the runtime or machine once more. In this microlearning, however, we will focus on the action to reset a runtime. A reset on the other hand is the more aggressive approach and does have a significant effect. In other words, the main difference is that with a reset you begin with a clean slate compared to the simple restart.
Having said that there are some cases where it can become beneficial to reset a runtime. For instance when running into memory issues or when doing large bulk build number upgrades.
In short, the reset action can be described by the following:
- A reset is the more aggressive approach compared to a restart.
- The reset does the following on runtime level:
- Stops the runtime service (if running)
- Removes data (except Artemis folder + revision info)
- Removes local repository folder
- Starts the runtime service (if stopped at step 1)
- With a reset, you start with a clean slate
- Flow version could be different based on changes in the release
- Custom H2 database is emptied
To execute this action please navigate to Deploy -> Architecture (if you are not there already). After you have done so you can access the context menu of a particular runtime (via a right mouse click), while in "Start Editing" mode, and select the option called Details.

In the pop-up that you will see you can navigate to the "Status" tab. This tab shows the details of the runtime such as the release version, the uptime and the current status.

On this pop-up you also have several options available that can "Reset" your runtime. Differently from how it used to work you now need to execute various steps in order to achieve the same effect. The first step of the process is to press the "Stop" button. This way the runtime is stopped. Subsequently you need to press the "Remove" button. Once this is done you can close the pop-up for now and deploy your currently active release. As a result the runtime will be deployed again with a clean slate.
To verify that everything went correctly and your runtime is running correctly you can once again view the details pop-up on Architecture level. Subsequently you can double check this by looking at the logs under Manage -> Log Entries.
4. Assignment
There is no assignment for this microlearning.
5. Key takeaways
- A reset is the more aggressive approach compared to a restart.
- The reset does the following on cloud level:
- Stops the runtime service (if running)
- Removes data (except Artemis folder + revision info)
- Removes local repository folder
- Starts the runtime service (if stopped at step 1)
- With a reset, you start with a clean slate
- Flow version could be different based on changes in the release
- Custom H2 database is emptied
6. Suggested Additional Readings
There are no suggested additional readings on this topic
7. Silent demonstration video
There is no demonstration video of this functionality.
