# Discourse installation on intranet - bootstrap failed with exit code 17

**URL:** <https://meta.discourse.org/t/discourse-installation-on-intranet-bootstrap-failed-with-exit-code-17/302014>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [April 2, 2024, 10:17am UTC](https://meta.discourse.org/t/discourse-installation-on-intranet-bootstrap-failed-with-exit-code-17/302014 "2024-04-02T10:17:36Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![peyrusse](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@peyrusse](https://meta.discourse.org/u/peyrusse)\
**Post date:** [April 2, 2024, 10:17am UTC](https://meta.discourse.org/t/discourse-installation-on-intranet-bootstrap-failed-with-exit-code-17/302014/1 "2024-04-02T10:17:36Z")

</div>

Hello,

I’m installating Discourse on an Intranet environment. It happens sometimes that i encounter this error during rebuild process :

> Pups::ExecError: cd /var/www/discourse && su discourse -c ‘bundle install --retry 3 --jobs 4’ failed with return #\<Process::Status: pid 645 exit 17\>  
> 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”=\>“bundle\_exec”, “cmd”=\>[“su discourse -c ‘bundle config --local deployment true’”, “su discourse -c ‘bundle config --local without "development test"’”, “su discourse -c ‘bundle install --retry 3 --jobs 4’”]}  
> bootstrap failed with exit code 17  
> \*\* 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.  
> 6ef3d42536c82021bdb1f24980cbd860572869f207e4eb2001e59e8923b182cf  
> root@wpyb3816:/var/discourse# cat /etc/docker/daemon.json

Anyone knows what it could be ?  
Thanks.

---

_[View the full topic](https://meta.discourse.org/t/discourse-installation-on-intranet-bootstrap-failed-with-exit-code-17/302014)._
