Update
To update your Docker instance and upgrade to a newer release version, please follow the following steps:
Last updated
Was this helpful?
To update your Docker instance and upgrade to a newer release version, please follow the following steps:
Prioritize Instance Backup Before Updating: Before proceeding with the update, it's highly advisable to back up your project. If a complete backup isn't feasible, you should consider the following:
Generating a snapshot of your database.
Safeguarding the environment variables stored in .env file by copying them to a secure location external to Jet Admin.
Evaluate Your Applications Before rolling out the new instance, it's crucial to thoroughly test it on your most important applications, especially those that use various resources and components. Consider creating test cases, a checklist, or an internal upgrade guide to streamline this process. This document can include specific details, such as contextual information and commands, serving as a valuable resource for your team. Once the tests are successful, proceed to upgrade your production instances.
Navigate to the directory where the on-premise package was previously installed.
cd jet-onpremiseUpdate git repository
git pullDownload the latest version of docker containers
docker-compose pullRestart the Jet Admin application (this process may take up to 30 seconds to minutes depending on your server). This action will restart all Jet Admin components and run them in the background.
Performance Optimization (Optional)
To improve runtime efficiency after your initial deployment, we recommend stopping additional JetAdmin migration containers once they have completed their tasks (typically within ~10 minutes post-deployment). On your on-premise server, run the following command to force-remove any residual migration containers:
sudo docker ps -aq --filter "name=migrations_run" | xargs -r sudo docker rm -f
This step helps free system resources and can enhance overall performance of your JetAdmin instance.
Last updated
Was this helpful?
Was this helpful?
docker-compose up -d