Reset database region after euwe update


I’m trying to update euwe-1 to euwe-3 using:

cd /var/www/miq/vmdb
git pull
bundle update
bundle install 
bundle exec rake evm:compile_assets


cd /var/www/miq/vmdb
git fetch
git merge euwe remote/origin/euwe
export RAILS_ENV=production
bundle update
bundle install
rails db:migrate
rails evm:compile_assets

I’m using external database setup. After update, region is reset to 0.

Am I doing something wrongly while update? Is there some way to change region without reseting database?

1 Like