downey
(Michael Downey)
2020 年 7 月 8 日午前 5:17
1
Continuing the discussion from Blank upgrade page after updating docker manager to 2.0.0.beta10 :
I just upgraded to build the latest docker manager and am now at build ( 3792ffa556 ) 2.6.0.beta1. My upgrade list is now blank. The Processes
tab still works fine though.
「いいね!」 4
Same here. After ./launcher rebuild app
the whole Discourse is down … Error 521
Already run multiple times ./launcher rebuild app
but did not helped, not like in the mentioned Thread above.
I was on 2.6.0-beta1
Edit: after running it 3 more times, it came (after 10 min after finishing) back to life … wtf?
「いいね!」 1
I think this might be relevant,
We noticed a few errors in our discourse logs related to docker manager when our discourse went White Screen after upgrade.
NoMethodError (undefined method `find_compatible_git_resource' for Discourse:Module)
/var/www/discourse/plugins/docker_manager/lib/docker_manager/git_repo.rb:116:in `tracking_branch'
「いいね!」 1
Message (2 copies reported)
NoMethodError (undefined method find_compatible_git_resource' for Discourse:Module) /var/www/discourse/plugins/docker_manager/lib/docker_manager/git_repo.rb:116:in
tracking_branch’
Backtrace
/var/www/discourse/plugins/docker_manager/lib/docker_manager/git_repo.rb:116:in `tracking_branch'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/git_repo.rb:11:in `initialize'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/git_repo.rb:77:in `new'
/var/www/discourse/plugins/docker_manager/lib/docker_manager/git_repo.rb:77:in `find_all'
/var/www/discourse/plugins/docker_manager/app/controllers/docker_manager/admin_controller.rb:28:in `repos'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.3.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.3.1/lib/abstract_controller/base.rb:195:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.3.1/lib/action_controller/metal/rendering.rb:30:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.3.1/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:135:in `run_callbacks'
Env
HTTP HOSTS
「いいね!」 2
riking
(Kane York)
2020 年 7 月 8 日午前 6:00
5
@featheredtoast , is this your stuff?
Hey everyone , I just merged a new feature that will help plugins and themes pin certain versions when installed on older Discourse instances.
You can now include a .discourse-compatibility file at the root of a plugin or theme repository, that designates what to checkout when installing on older Discourse versions.
Rationale
It sucks to remember which plugins and themes are compatible with which Discourse versions. As an admin, it should be possible to easily scan those changes and fi…
「いいね!」 4
Hmmm looks like something happened when I was rebasing this up - sorry about that. Will fix up shortly
「いいね!」 4
sam
(Sam Saffron)
2020 年 7 月 8 日午前 6:14
7
I just pushed a fix, don’t worry about it
「いいね!」 8
whoops wow, backwards compatability strikes again, the entire point of this feature. Irony. Good catch, thank you!
「いいね!」 8
sam
(Sam Saffron)
2020 年 7 月 8 日午前 6:19
9
We got to make sure we backport the core support to beta and stable, cause otherwise we will be stuck for a long time before using this feature.
「いいね!」 8
downey
(Michael Downey)
2020 年 7 月 8 日午後 5:29
11
Thanks for the fix. Just to clarify, what’s the recovery strategy here for those affected?
./launcher rebuild {app-container}
?
「いいね!」 2
EricGT
(EricGT)
2020 年 7 月 8 日午後 5:36
12
That’s what we did but some are reporting this doesn’t work.
「いいね!」 2
Correct, that should get your site back up and running
「いいね!」 4