Plugins ...
-
wrote on Oct 24, 2023, 11:52 AM last edited by
Hi there.
- You provide a short how-to on installing plugins for Discourse.
cd /app/code/plugins
git clone <plugin-repo>
restart
- You also highlight, that installing plugins might break an otherwise healthy installation -> thank God for your excellent back-up features; though you do signal that "official" plugins as you list here should be OK.
There's 1.) a short query on instructions and 2.) a bit of frustration that a random selection of (official) plugin installs (docs, solved, graphviz) lead to
Oops. The software powering this discussion forum encountered an unexpected problem.
- In some previous posts on plugins for Discourse, there were a couple of more lines to the instructions mainly:
cd /app/code
bundle exec rake plugin:install_gems['REPLACE_WITH_PLUGINS_NAME']
Have they gone away on purpose? - Having attempted to install the docs plugin - it does not crash the system immediately; I do see the options in the admin->plugin section. If I go check to activate the plugin, it goes off to "Oops". For the solved and graphiz plugins: the "Oops" singularity comes about right after the mandatory restart; no accessing the admin->plugin, no accessing the system.
So clearly something is not working here and it might well be my particular installation, albeit it happend dito previously in a prior version; just haven't attempted since systematically. Am up to date on the Discourse version.
Regards and thanks
- You provide a short how-to on installing plugins for Discourse.
-
Hi there.
- You provide a short how-to on installing plugins for Discourse.
cd /app/code/plugins
git clone <plugin-repo>
restart
- You also highlight, that installing plugins might break an otherwise healthy installation -> thank God for your excellent back-up features; though you do signal that "official" plugins as you list here should be OK.
There's 1.) a short query on instructions and 2.) a bit of frustration that a random selection of (official) plugin installs (docs, solved, graphviz) lead to
Oops. The software powering this discussion forum encountered an unexpected problem.
- In some previous posts on plugins for Discourse, there were a couple of more lines to the instructions mainly:
cd /app/code
bundle exec rake plugin:install_gems['REPLACE_WITH_PLUGINS_NAME']
Have they gone away on purpose? - Having attempted to install the docs plugin - it does not crash the system immediately; I do see the options in the admin->plugin section. If I go check to activate the plugin, it goes off to "Oops". For the solved and graphiz plugins: the "Oops" singularity comes about right after the mandatory restart; no accessing the admin->plugin, no accessing the system.
So clearly something is not working here and it might well be my particular installation, albeit it happend dito previously in a prior version; just haven't attempted since systematically. Am up to date on the Discourse version.
Regards and thanks
@nafets-lesierk said in Plugins ...:
cd /app/code
bundle exec rake plugin:install_gems['REPLACE_WITH_PLUGINS_NAME']
Have they gone away on purpose?Yes, this is part of discourse restart sequence and thus not needed.
Having attempted to install the docs plugin
Let me test and get back.
- You provide a short how-to on installing plugins for Discourse.
-
@nafets-lesierk said in Plugins ...:
cd /app/code
bundle exec rake plugin:install_gems['REPLACE_WITH_PLUGINS_NAME']
Have they gone away on purpose?Yes, this is part of discourse restart sequence and thus not needed.
Having attempted to install the docs plugin
Let me test and get back.
wrote on Oct 25, 2023, 9:16 AM last edited by -
I can reproduce this:
Completed 500 Internal Server Error in 326ms (ActiveRecord: 0.0ms | Allocations: 29968) ActionView::Template::Error (The asset "plugins/discourse-docs.js" is not present in the asset pipeline. ) app/helpers/application_helper.rb:93:in `script_asset_path' app/helpers/application_helper.rb:144:in `block in preload_script' app/helpers/application_helper.rb:143:in `map' app/helpers/application_helper.rb:143:in `preload_script' app/views/layouts/application.html.erb:42 app/views/layouts/application.html.erb:41:in `each' app/views/layouts/application.html.erb:41 lib/topic_list_responder.rb:15:in `block (2 levels) in respond_with_list' lib/topic_list_responder.rb:8:in `respond_with_list' app/controllers/list_controller.rb:110:in `block (2 levels) in <class:ListController>' app/controllers/application_controller.rb:421:in `block in with_resolved_locale' app/controllers/application_controller.rb:421:in `with_resolved_locale' lib/middleware/omniauth_bypass_middleware.rb:74:in `call' lib/content_security_policy/middleware.rb:12:in `call' lib/middleware/anonymous_cache.rb:389:in `call' lib/middleware/gtm_script_nonce_injector.rb:10:in `call' config/initializers/100-quiet_logger.rb:20:in `call' config/initializers/100-silence_logger.rb:29:in `call' lib/middleware/enforce_hostname.rb:24:in `call' lib/middleware/request_tracker.rb:228:in `call'
-
I can reproduce this:
Completed 500 Internal Server Error in 326ms (ActiveRecord: 0.0ms | Allocations: 29968) ActionView::Template::Error (The asset "plugins/discourse-docs.js" is not present in the asset pipeline. ) app/helpers/application_helper.rb:93:in `script_asset_path' app/helpers/application_helper.rb:144:in `block in preload_script' app/helpers/application_helper.rb:143:in `map' app/helpers/application_helper.rb:143:in `preload_script' app/views/layouts/application.html.erb:42 app/views/layouts/application.html.erb:41:in `each' app/views/layouts/application.html.erb:41 lib/topic_list_responder.rb:15:in `block (2 levels) in respond_with_list' lib/topic_list_responder.rb:8:in `respond_with_list' app/controllers/list_controller.rb:110:in `block (2 levels) in <class:ListController>' app/controllers/application_controller.rb:421:in `block in with_resolved_locale' app/controllers/application_controller.rb:421:in `with_resolved_locale' lib/middleware/omniauth_bypass_middleware.rb:74:in `call' lib/content_security_policy/middleware.rb:12:in `call' lib/middleware/anonymous_cache.rb:389:in `call' lib/middleware/gtm_script_nonce_injector.rb:10:in `call' config/initializers/100-quiet_logger.rb:20:in `call' config/initializers/100-silence_logger.rb:29:in `call' lib/middleware/enforce_hostname.rb:24:in `call' lib/middleware/request_tracker.rb:228:in `call'
wrote on Oct 26, 2023, 2:49 PM last edited by jdaviescoates Oct 26, 2023, 2:50 PM@girish it'd be really great if you're able to get the Cloudron Discourse package to work better so that all official plugins work!
But maybe that's just not possible because of how Cloudron works?
At present it feels like Discourse just doesn't really work properly on Cloudron (which has sadly pretty much always been the case afaict
)
-
wrote on Oct 26, 2023, 7:44 PM last edited by nafets-lesierk Oct 26, 2023, 7:44 PM
Ah, OK. So it was not my incompetence ...
And obviously, yeah: it would be cool to get plugins to work.
@jdaviescoates : You point out thatso that all official plugins work!
Am I missing something? My success rate was 0/3 plugins; are there some that do work? Maybe that might be a way of figuring out why others don't ...
Cheers -
Ah, OK. So it was not my incompetence ...
And obviously, yeah: it would be cool to get plugins to work.
@jdaviescoates : You point out thatso that all official plugins work!
Am I missing something? My success rate was 0/3 plugins; are there some that do work? Maybe that might be a way of figuring out why others don't ...
Cheerswrote on Oct 26, 2023, 9:50 PM last edited by@nafets-lesierk tbh I've not tried recently, but yes in the past I have successfully installed some!
-
wrote on Oct 28, 2023, 10:40 AM last edited by
@girish : Just for my peace of mind - and not wanting to wait for things that might not happen -> will Cloudron be looking into the plugin question?
Thanks and regards -
@girish : Just for my peace of mind - and not wanting to wait for things that might not happen -> will Cloudron be looking into the plugin question?
Thanks and regards@nafets-lesierk yes, we will fix it. The package is not very useful without plugins working.
-
@nafets-lesierk yes, we will fix it. The package is not very useful without plugins working.
wrote on Oct 30, 2023, 9:36 AM last edited by -
wrote on Dec 16, 2023, 9:37 AM last edited by
@girish : Good morning (CET) - has there been progress made on this topic?
Regards -
@girish : Good morning (CET) - has there been progress made on this topic?
Regards@nafets-lesierk I am on it now.
-
wrote on Dec 28, 2023, 9:00 AM last edited by
Thanks and Season's Greetings
Regards -
N nebulon marked this topic as a question on Feb 4, 2024, 1:46 PM
-
N nebulon has marked this topic as solved on Feb 4, 2024, 1:46 PM
-
wrote on Feb 8, 2024, 7:05 AM last edited by
Thanks! Will test the official ones I mentioned (i.e. docs, solved, graphviz) ASP.
Cheers -
@nafets-lesierk see this comment from @IniBudi