Hi, I am trying to run migrations on PostgreSQL D...
# pactflow
p
Hi, I am trying to run migrations on PostgreSQL DB for Pactflow in local. I am using the following doc for doind the same. https://docs.pactflow.io/docs/on-premises/upgrading/database-migrations/ While executing the below command, docker run --rm \ --env PACTFLOW_DATABASE_URL="postgres://username:password@host:port/database" \ --entrypoint db-version \ quay.io/pactflow/enterprise I ended up with the following error : bundler: failed to load command: rake (/home/pactflow/vendor/bundle/ruby/3.2.0/bin/rake) /home/pact_broker_fork/lib/pact_broker/version.rb2in `RGLoader_load': RubyEncoder Loader - This protected script requires the pactflow-onprem.lic license file in order to run. Contact the author of the script to get a license file. Error code [13] (RGLoaderError) We do have the license file with us, need to know how we can use it.
y
Hey, You need to volume mount the license key, its shown in the next section for Rollback
--volume $PWD/pactflow-onprem.lic:/home/pactflow-onprem.lic
👀 1