Open
Description
Help us track down and resolve parity problems faster with this template.
What command did you execute?
be pr_app 269 restore-from production
What did you expect to happen?
Magically, for the PR to be used to lookup a branch, and a branch to be used to lookup a review app, and for parity to
restore the DB on that review app from production's last backup.
What actually happened?
/mypath/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/parity-3.5.0/lib/parity/heroku_app_name.rb:11:in `to_s': undefined method `gsub' for nil:NilClass (NoMethodError)
gsub(/(\s|=)+/, "")
^^^^
from /Users/gap/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/parity-3.5.0/lib/parity/environment.rb:130:in `heroku_app_name'
from /Users/gap/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/parity-3.5.0/lib/parity/environment.rb:100:in `restore_confirmation_argument'
from /Users/gap/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/parity-3.5.0/lib/parity/environment.rb:95:in `additional_restore_arguments'
from /Users/gap/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/parity-3.5.0/lib/parity/environment.rb:74:in `restore'
from /Users/gap/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/parity-3.5.0/lib/parity/environment.rb:24:in `run_command'
from /Users/gap/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/parity-3.5.0/lib/parity/environment.rb:13:in `run'
from /Users/gap/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/parity-3.5.0/bin/pr_app:18:in `<top (required)>'
from /Users/gap/.rbenv/versions/3.2.2/bin/pr_app:25:in `load'
....
Alternatively, I tried creating a separate remote for the review app, and then typing that remote name in the CLI:
be pr_app pr264 restore-from production
With same error response.
Some information about your installation
- What's your operating system? MacOS 13.14.1
- What's the output of
which development
,which staging
,which production
?
Parity has had multiple installation channels, and it's not uncommon for an
old version to be somewhere else in your path. - If installed via Homebrew, what does
brew list parity
output? - If installed via Rubygems, what's the gem version? 3.5.0
Metadata
Metadata
Assignees
Labels
No labels