Hello Everyone,
I am trying migrate from 1.9 to 1.12
Steps
- Built new new node 1.12
- Migrate database from old server to new one.
- Run upgrade command from yeti web
Fail on
root@sbc-trunk01:/opt/yeti-web# su -s /bin/bash yeti-web
yeti-web@sbc-trunk01:~$ RAILS_ENV=production ./bin/bundle.sh exec rake db:migrate
App Timezone US/Eastern
Yeti DB timezone UTC
CDR DB timezone UTC
ActiveRecord timezone utc
== 20220717150840 CnameLua: migrating =========================================
-- execute("\n\n alter extension yeti update TO \"1.3.4\";\n alter table class4.customers_auth add cnam_database_id smallint references class4.cnam_databases(id);\n alter table class4.customers_auth_normalized add cnam_database_id smallint;\n alter table class4.cnam_databases\n add response_lua varchar,\n add request_lua varchar,\n add drop_call_on_error boolean not null default false;\n ")
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
PG::InvalidParameterValue: ERROR: extension "yeti" has no update path from version "1.3.6" to version "1.3.4"
root@sbc-trunk01:/opt/yeti-web# apt-cache policy postgresql-13-pgq-ext
postgresql-13-pgq-ext:
Installed: 3.1.1-2
Candidate: 3.1.1-2
Version table:
*** 3.1.1-2 500
500 http://pkg.yeti-switch.org/debian/bullseye 1.12/main amd64 Packages
100 /var/lib/dpkg/status
3.1.1-1 500
500 http://pkg.yeti-switch.org/debian/bullseye 1.12/main amd64 Packages
root@sbc-trunk01:/opt/yeti-web# apt-cache policy postgresql-13-yeti
postgresql-13-yeti:
Installed: 1.3.6
Candidate: 1.3.6
Version table:
*** 1.3.6 500
500 http://pkg.yeti-switch.org/debian/bullseye 1.12/main amd64 Packages
100 /var/lib/dpkg/status
1.3.5 500
500 http://pkg.yeti-switch.org/debian/bullseye 1.12/main amd64 Packages
1.3.4 500
500 http://pkg.yeti-switch.org/debian/bullseye 1.12/main amd64 Packages
1.3.3p5 500
500 http://pkg.yeti-switch.org/debian/bullseye 1.12/main amd64 Packages
root@sbc-trunk01:/opt/yeti-web# apt-cache policy postgresql-13-web
N: Unable to locate package postgresql-13-web
root@sbc-trunk01:/opt/yeti-web# apt-cache policy yeti-web
yeti-web:
Installed: 1.12.99-1
Candidate: 1.12.99-1
Version table:
*** 1.12.99-1 500
500 http://pkg.yeti-switch.org/debian/bullseye 1.12/main amd64 Packages
100 /var/lib/dpkg/status
1.12.98-1 500
Any help, thank you.