Problem, rebuild to latest version

Hi,
when I try to rebuild app to latest version with this add-ons on:

## see https://meta.discourse.org/t/19157 for details
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/jonmbake/discourse-ldap-auth.git
          - git clone https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/angusmcleod/discourse-qa.git
          - git clone https://github.com/discourse/discourse-voting.git
          - git clone https://github.com/discourse/discourse-chat-integration.git

I cannot build it properly. And i received this error:

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile' failed with return #<Process::Status: pid 500 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 assets:precompile'"]}
5e2de95480cbc5131ed5a54998d303fd6d8e4f6f0fd2058d4878740bb99aeab2

or

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 6929 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
f920fb8b608312a02f07ef2c612342505b5bf1ad7d7d270c6c98cc5b2e48b287
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

Could you please help me with that?

1 Like

I would try to disable non-official plugins (for example: discourse-qa, discourse-ldap-auth), and tried to rebuild again.

3 Likes

Now, I have only two official and I received the same error.

It’s build only when i put version: stable.

I have the same issue with my discourse install. See this post:

Did you try to change to stable after you had been in tests passed? You’ll need to wait until stable catches up. You can’t go backward.

I did cleanup almost every time.
I also clear shared folder.

And despite this, I receive these messages.

Change back to tests-passed until the next major release.

Version tests-passed don’t want to build.

Currently only two versions v2.2.5 and v2.2.6 are build.