Updating Plugins
-
Hello. I want to update the discourse-translator plugin due to coming core changes in Discourse. With v3.4 a banner appeared:
[Admin Notice] One of your themes or plugins needs updating for compatibility with upcoming Discourse core changes. (id:discourse.post-menu-widget-overrides) Identified plugin: 'discourse-translator'
When looking at the plugins (commit hash) in the Discourse admin settings menu, it seems like the plugins do not update automatically.
Is updating plugins identical to installing them ?
-
Thanks for the reply. Sounds good. I wonder if I have to repeat the installation procedure just with a pull instead of clone like this :
cd /app/code/plugins/<plugin-repo> # installed plugin directory git config --global --add safe.directory /app/data/plugins/<plugin-repo> # make git work git pull <plugin-repo> # pull instead of clone cd .. # continue with install procedure chown -R cloudron:cloudron <plugin-dir> cd /app/code gosu cloudron:cloudron bundle exec rake plugin:install_all_gems gosu cloudron:cloudron bundle exec rake db:migrate gosu cloudron:cloudron bundle exec rake assets:precompile
or only the pull ?
-
Thanks for the reply. Sounds good. I wonder if I have to repeat the installation procedure just with a pull instead of clone like this :
cd /app/code/plugins/<plugin-repo> # installed plugin directory git config --global --add safe.directory /app/data/plugins/<plugin-repo> # make git work git pull <plugin-repo> # pull instead of clone cd .. # continue with install procedure chown -R cloudron:cloudron <plugin-dir> cd /app/code gosu cloudron:cloudron bundle exec rake plugin:install_all_gems gosu cloudron:cloudron bundle exec rake db:migrate gosu cloudron:cloudron bundle exec rake assets:precompile
or only the pull ?
@mononym said in Updating Plugins:
gosu cloudron:cloudron bundle exec rake db:migrate
gosu cloudron:cloudron bundle exec rake assets:precompileThese two can be skipped, I think. The package does this already on a app restart (you should restart the app after you git update).