cd /var/discourse
sudo git pull
sudo ./launcher rebuild app
It runs for some time and then fails. The last output lines look like this:
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 3766 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake themes:update assets:precompile'"]}
c4da976a2f26c73ac3ea657689d16be28f54cd216c133ceb90af4898c8175010
** 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.
When then running
sudo ./discourse-doctor
The only meaningful entry I could find is:
I, [2021-07-23T05:33:02.903723 #1] INFO -- : Updating Dunkel...
Error updating Dunkel: Error cloning git repository, access is denied or repository is not found
My question
Could someone please give me some hints on how to resolve this?