Domande generali sui plugin

Ho una domanda generale riguardo al mio modo di intendere il funzionamento di Discourse con i plugin.

Domanda 1. Ho installato un plugin e ricostruito l’app. Se non modifico nulla, esiste la possibilità che il sito si rompa a causa di un aggiornamento del plugin o di una modifica al codice principale di Discourse?
Come ho capito, il comando ‘rebuild’ crea un’istantanea dei file principali e dei plugin e posiziona questi file compilati in un container Docker. Nessuna modifica può alterare questa immagine Docker. È corretto?

Domanda 2. Qual è la migliore pratica: installare i plugin dai repository GitHub ufficiali o copiarli nel proprio account e poi installarli da lì?

Domanda 3. Come posso visualizzare tutte le tabelle nel database?
Ad esempio, devo modificare le impostazioni di un plugin nel database. Come posso farlo?

If after the install everything is working it should stay working until:

  • You update Discourse or/and plugins
  • A browser updates and breaks Discourse

If you fork plugin repositories you bring the burden of keeping up with changes upstream. That includes checking for new security issues that were fixed in the main repo and merging and deploying those.

./launcher enter app
su postgres
psql
4 Mi Piace

Thanks for a detailed answer!

One more question.
How can I reset settings of a specific plugin in the database?

Every plugin is different and can have multiple settings. There is no catch all reset to default.

1 Mi Piace

Hm, I’ll explain, the plugin started causing a problem after a activated one option within it.
Without this option it was working. I would like to set off this option. But when I install the plugin the site becomes unavailable. So I thought that it is possibl to change this setting in the database. How is it possible to do?

1 Mi Piace