Install plugins on a self-hosted site

Hi,
Is this the only way to install plugins?
Because I am deployed in the company’s intranet environment, my access to the external network fluctuates greatly, and I often fail to access it when I execute the. /launcher rebuild app. Is there any way to download the plugins offline and then deploy it?

Yes, you must rebuild when adding or removing a plugin.

Theme Components, on the other hand, do not require this as they only impact the front end. So look at that option if you can.

Thank you for your reply.
Because I just started using discourse, I still have a question to ask.
For example, I updated app.yml and added a plugin, but it seems that when rebuild, even if it is not the first time to deploy, what was pulled and installed before will be downloaded again?
Such as ruby or installed plugins.

1 Like

Docker images should be cached, but some clones may happen again because it’s a new container.

1 Like

But wouldn’t it be possible copy whole repo(s) and give local address?

1 Like

Yep. You could try that. But it would complicate the upgrade process.

If you’re getting disconnected while the rebuild is running, you can use tmux or screen.

It’s possible to build the container elsewhere, push it to the repo and then launch it on your site (you also need to migrate the database and precompile the assets).

2 Likes

Ok, thanks, I see.

I save the plugins to the local gitlab and pull it locally during rebuid, which is much more convenient.

1 Like

OK, i will try

probably an indentation error, i copied it exactly including the spaces from the tutorial and it worked fine.

i dobut theres a way, the reasons its fast and meant for forums is its prebuilt, not like a normal website where it gets rendered by the system on the fly (unless you have caching) but normal websites that cache cannot serve dynamic content.

3 posts were split to a new topic: What to Expect When Rebuilding Discourse

Since last year, editing topics in Documentation has been limited to team members, so even if you tried, you wouldn’t have been able to update the instructions anymore.

1 Like

i am a new admin to our site. just did an update after long time and i just see now that this plugin is not working anymore.
are there any updates or forkes that i can use?

[Admin-Hinweis] Plug-in ‘retort’ enthält Code, der aktualisiert werden muss. (ID:discourse.widgets-end-of-life) (mehr erfahren)

Thank you very much.
Richarde

Do you know why you haven’t switched from retort to reactions? When it comes to being able to select more than one reaction, I don’t think there’s an alternative yet. The feature of being able to choose from all emojis instead of from a few predefined by the admin was also recently added to the Reactions plug-in.
https://meta.discourse.org/t/discourse-retort/35903

1 Like

i will check that out.
I was hoping to find a way saving all the reactions given so far, but that´s not to important.

Thanks for your quick reply

This might help save the reactions you have Discourse Retort - #435 by angus

I’m pretty sure I installed a bunch of plugins I found here on Meta with a kind of “one-clic install” where I just had to fill in the URL for my Discourse instance – are these instructions still current?

It only works with Theme and Theme component, not Plugin :slight_smile:

3 Likes