# On-Prem Builder Issues

**URL:** https://discourse.chef.io/t/on-prem-builder-issues/18872
**Category:** Habitat Help
**Created:** [October 3, 2018, 12:30pm UTC](https://discourse.chef.io/t/on-prem-builder-issues/18872 "2018-10-03T12:30:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![js2](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/js2/32/3337_2.png) [@js2](https://discourse.chef.io/u/js2)
#### Post date: [October 3, 2018, 12:30pm UTC](https://discourse.chef.io/t/on-prem-builder-issues/18872/1 "2018-10-03T12:30:50Z")

</div>

We are trying to deploy a new on-prem builder and are running into a few issues - that we have resolved or just moved past but the scripts/files need to be updated. Everything on github I’ll submit issues for but what is the best way to get the missing package included in the latest tar ball.

[https://s3-us-west-2.amazonaws.com/habitat-on-prem-builder-bootstrap/LATEST.tar.gz](https://s3-us-west-2.amazonaws.com/habitat-on-prem-builder-bootstrap/LATEST.tar.gz)  
Is missing the package below and stopped the upload process.  
`core-dsc-core-0.1.0-20180531140858-x86_64-windows.hart`  
It was trying to upload core-sqlserver-ha-ag package when it couldn’t find the dependency above.  
`core-sqlserver-ha-ag-0.1.0-20180604150248-x86_64-windows.hart`

> <https://github.com/habitat-sh/on-prem-builder/blob/master/bldr.env.sample#L6>

  
habitat-builder-artifact-store - now uses .default vs .local  
`export MINIO_BUCKET=habitat-builder-artifact-store.local`

> <https://github.com/habitat-sh/on-prem-builder/blob/master/scripts/provision.sh#L58>

  
Is missing a section for

```auto
[datastore]
password = "<%= @password %>"

```

> <https://github.com/habitat-sh/on-prem-builder/blob/master/scripts/provision.sh#L267>

  
Is missing a bind `--bind datastore:builder-datastore.default`

```auto
start_api() {
  sudo -E hab svc load "${BLDR_ORIGIN}/builder-api" --bind router:builder-router.default --bind memcached:builder-memcached.default --channel "${BLDR_CHANNEL}" --force
}

```

---

<div class="post-metadata">

### Author: ![elliott-davis](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/elliott-davis/32/2146_2.png) [@elliott-davis](https://discourse.chef.io/u/elliott-davis)
#### Post date: [October 3, 2018, 1:00pm UTC](https://discourse.chef.io/t/on-prem-builder-issues/18872/2 "2018-10-03T13:00:39Z")

</div>

TL;DR that bootstrap file is sometimes wrong and we’re looking into ways to make it better. The easiest way to get the dependent hart on your local depot is to download it locally (by installing from upstream) and then upload the cached hart from `/hab/cache/artifacts/<PKG>` to your local depot

---

<div class="post-metadata">

### Author: ![Salim\_Alam](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@Salim\_Alam](https://discourse.chef.io/u/Salim_Alam)
#### Post date: [October 3, 2018, 5:18pm UTC](https://discourse.chef.io/t/on-prem-builder-issues/18872/3 "2018-10-03T17:18:08Z")

</div>

Yes looks like the minio bucket config is broken - will issue a couple of PRs to fix that: 1) set the default config in builder-minio to habitat-builder-artifact-store.local; 2) set the bucket config in provision.sh correctly

---

<div class="post-metadata">

### Author: ![Salim\_Alam](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@Salim\_Alam](https://discourse.chef.io/u/Salim_Alam)
#### Post date: [October 3, 2018, 5:24pm UTC](https://discourse.chef.io/t/on-prem-builder-issues/18872/4 "2018-10-03T17:24:49Z")

</div>

PR to fix the bucket config (merged) - [https://github.com/habitat-sh/on-prem-builder/pull/103](https://github.com/habitat-sh/on-prem-builder/pull/103)
