# Launcher rebuild app Failure

**URL:** <https://meta.discourse.org/t/launcher-rebuild-app-failure/294336>\
**Category:** Self-hosting\
**Created:** [February 6, 2024, 12:53pm UTC](https://meta.discourse.org/t/launcher-rebuild-app-failure/294336 "2024-02-06T12:53:51Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![omppatil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omppatil/32/359876_2.png) [@omppatil](https://meta.discourse.org/u/omppatil)\
**Post date:** [February 6, 2024, 12:53pm UTC](https://meta.discourse.org/t/launcher-rebuild-app-failure/294336/1 "2024-02-06T12:53:52Z")

</div>

Hello!,  
I tried to rebuild Discourse using `./launcher rebuild app` and after that it fails to rebuild , giving following error:

```plaintext
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 3316 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
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.

```

Actually I’m trying to upload my plugin in Discourse which I have developed locally which works fine on the local environment and but when I try to upload plugin to the Discourse server it gives above error and with some warnings which are as follows:

```plaintext
warning "@discourse/lint-configs > eslint-plugin-ember > ember-eslint-parser@0.2.5" has unmet peer dependency "@typescript-eslint/parser@^6.15.0".
warning "@discourse/lint-configs > eslint-plugin-ember > ember-eslint-parser@0.2.5" has incorrect peer dependency "typescript@^5.3.3".
warning " > @glint/environment-ember-loose@1.3.0" has unmet peer dependency "@glimmer/component@^1.1.2".
warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0"
warning Pattern ["wrap-ansi@^7.0.0"] is trying to unpack in the same destination "/home/discourse/.cache/yarn/v6/npm-wrap-ansi-cjs-7.0.0-67e145cff510a6a6984bdf1152911d69d2eb9e43-integrity/node_modules/wrap-ansi-cjs" as pattern ["wrap-ansi-cjs@npm:wrap-ansi@^7.0.0"]. This could result in non-deterministic behavior, skipping.
warning " > discourse-markdown-it@1.0.0" has unmet peer dependency "xss@*".
warning "workspace-aggregator-98dafb8f-3047-47b1-9d38-9da6ff65f457 > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-98dafb8f-3047-47b1-9d38-9da6ff65f457 > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-98dafb8f-3047-47b1-9d38-9da6ff65f457 > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-98dafb8f-3047-47b1-9d38-9da6ff65f457 > discourse > ember-router-service-refresh-polyfill@1.1.0" has incorrect peer dependency "ember-source@^3.4 || 4".
warning "workspace-aggregator-98dafb8f-3047-47b1-9d38-9da6ff65f457 > discourse-plugins > ember-this-fallback@0.4.0" has unmet peer dependency "ember-source@^3.28.11 || ^4.0.0".
warning "workspace-aggregator-98dafb8f-3047-47b1-9d38-9da6ff65f457 > admin > ember-source > router_js@8.0.3" has unmet peer dependency "rsvp@^4.8.5".
warning "workspace-aggregator-98dafb8f-3047-47b1-9d38-9da6ff65f457 > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1".

```

I even cleaned up the containers using `./launcher cleanup` and tried rebuilding it. But nothing worked.  
Can anyone guide me to get this issue resolved?

---

_[View the full topic](https://meta.discourse.org/t/launcher-rebuild-app-failure/294336)._
