downey
(Michael Downey)
08.Июль.2020 05:17:24
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)
08.Июль.2020 06:00:28
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)
08.Июль.2020 06:14:00
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)
08.Июль.2020 06:19:09
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)
08.Июль.2020 17:29:54
11
Thanks for the fix. Just to clarify, what’s the recovery strategy here for those affected?
./launcher rebuild {app-container} ?
2 лайка
EricGT
(EricGT)
08.Июль.2020 17:36:30
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 лайка