downey
(Michael Downey)
8 يوليو 2020، 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)
8 يوليو 2020، 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)
8 يوليو 2020، 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)
8 يوليو 2020، 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)
8 يوليو 2020، 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)
8 يوليو 2020، 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 إعجابات