Today, after performing a standard update via the admin panel, the update was blocked and when trying to perform the procedure manually with ./launcher rebuild app this did not work for the first time , and it gave me the following error:
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 754 exit 1>
Location of failure: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake themes:update assets:precompile'"]}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
Hey @JammyDodger I really don’t know how to do it, I use DigitalOcean - with its console that I’ve only run a few times to rebuild. I leave you a screenshot in case I see an error in Stack Trace and Error report
Hi @TroyaNO - it looks like you’ve tried to install the discourse-social-share theme component as a plugin. You should remove that line from your app.yml file.
To give some context: Putting a theme in the plugins directory has never worked. But in the past it would fail silently with no error. Over the last 24h or so (since this commit), it started raising an error. I’ve just pushed another change which takes us back to the old ‘silently do nothing’ behaviour, so if you try updating again it should work.