# Habitat Help

**URL:** https://discourse.chef.io/c/hab-help/16.md?page=2

[Latest](https://discourse.chef.io/latest.md) · [Categories](https://discourse.chef.io/categories.md)

**Page:** 3

---

## [Uploading package via \`hab pkg upload\` from habitat studio](https://discourse.chef.io/t/uploading-package-via-hab-pkg-upload-from-habitat-studio/18175)

<div class="topic-metadata">

**Author:** [@qubitrenegade](https://discourse.chef.io/u/qubitrenegade)\
**Replies:** 8\
**Last updated:** [May 16, 2019, 9:32am UTC](https://discourse.chef.io/t/uploading-package-via-hab-pkg-upload-from-habitat-studio/18175 "2019-05-16T09:32:15Z")

</div>

Hello, Should you be able to hab pkg upload from within a hab studio session? According to learn.chef.io step 6 it appears that the tutorial is uploading packages from within the tutorial. However, I’m trying to get a…

---

## [\[brainstorming\] Building an "HA Loadbalancer" with Nginx and Habitat](https://discourse.chef.io/t/brainstorming-building-an-ha-loadbalancer-with-nginx-and-habitat/19289)

<div class="topic-metadata">

**Author:** [@qubitrenegade](https://discourse.chef.io/u/qubitrenegade)\
**Replies:** 4\
**Last updated:** [May 15, 2019, 7:03pm UTC](https://discourse.chef.io/t/brainstorming-building-an-ha-loadbalancer-with-nginx-and-habitat/19289 "2019-05-15T19:03:41Z")

</div>

Hello, I’m looking to proof out if there’s a way to replicate existing functionality we currently have in Habitat. Once common use case I see is using Nginx as a load balancer/reverse proxy in HA mode with Keepalived. …

---

## [What's your habitat workflow, how are you testing template data? plus a few more :)](https://discourse.chef.io/t/whats-your-habitat-workflow-how-are-you-testing-template-data-plus-a-few-more/19371)

<div class="topic-metadata">

**Author:** [@username-is-already](https://discourse.chef.io/u/username-is-already)\
**Replies:** 3\
**Last updated:** [May 15, 2019, 6:34pm UTC](https://discourse.chef.io/t/whats-your-habitat-workflow-how-are-you-testing-template-data-plus-a-few-more/19371 "2019-05-15T18:34:29Z")

</div>

Hello Everyone @bixu from the slack channel suggested that I post my questions here. :wave: I'm only getting started within habitat (sorry for being a bit late to the party :slight\_smile: I've being getting to know hab…

---

## [On-prem habitat builder depo](https://discourse.chef.io/t/on-prem-habitat-builder-depo/18954)

<div class="topic-metadata">

**Author:** [@sbrars](https://discourse.chef.io/u/sbrars)\
**Replies:** 1\
**Last updated:** [May 14, 2019, 9:01am UTC](https://discourse.chef.io/t/on-prem-habitat-builder-depo/18954 "2019-05-14T09:01:41Z")

</div>

Hello, I am new to habitat and trying to build an on-prem depo in a completely air-gapped environment where I have no internet connectivity to get packages from habitat.sh effectively. Is there a starter kit available t…

---

## [When to patchelf](https://discourse.chef.io/t/when-to-patchelf/18932)

<div class="topic-metadata">

**Author:** [@username-is-already](https://discourse.chef.io/u/username-is-already)\
**Replies:** 2\
**Last updated:** [May 10, 2019, 11:35am UTC](https://discourse.chef.io/t/when-to-patchelf/18932 "2019-05-10T11:35:55Z")

</div>

Hi there, I’ve been learning habitat by building a concourse cluster in habitat, my plans are based on a newer release then what’s in core (4.2.2 vs 5.1.0) / I plan on raising a PR for core if that helps. My questions …

---

## [Remove/Uninstall pkgs from bloated drive](https://discourse.chef.io/t/remove-uninstall-pkgs-from-bloated-drive/19264)

<div class="topic-metadata">

**Author:** [@ChrisGay](https://discourse.chef.io/u/ChrisGay)\
**Replies:** 6\
**Last updated:** [May 8, 2019, 3:05pm UTC](https://discourse.chef.io/t/remove-uninstall-pkgs-from-bloated-drive/19264 "2019-05-08T15:05:19Z")

</div>

My devops team is complaining about the amount of data being taken up on the server where I am keeping my Habitat build environment. Are there any pkgs I can remove/uninstall from either /hab/pkgs/core or hab/pkgs/{some …

---

## [Producer/consumer: export path of producer package](https://discourse.chef.io/t/producer-consumer-export-path-of-producer-package/18957)

<div class="topic-metadata">

**Author:** [@Steve\_Hummingbird](https://discourse.chef.io/u/Steve_Hummingbird)\
**Replies:** 4\
**Last updated:** [April 19, 2019, 12:47pm UTC](https://discourse.chef.io/t/producer-consumer-export-path-of-producer-package/18957 "2019-04-19T12:47:23Z")

</div>

Our frontend build produces a single artifact which contains the files to be served for our single page app (spa) as well as files required for server side rendering (ssr). We already have set up habitat a while ago to s…

---

## [Auto-build not triggering](https://discourse.chef.io/t/auto-build-not-triggering/18374)

<div class="topic-metadata">

**Author:** [@pketienne\_1](https://discourse.chef.io/u/pketienne_1)\
**Replies:** 2\
**Last updated:** [April 18, 2019, 1:25pm UTC](https://discourse.chef.io/t/auto-build-not-triggering/18374 "2019-04-18T13:25:04Z")

</div>

Greetings Habicats, I’m seeking assistance with an issue I’ve encountered when attempting to trigger an auto-build for a builder package. Specifically, I was completing the following tutorial: https://learn.chef.io/mod…

---

## [Receiving error 500 on origin delete](https://discourse.chef.io/t/receiving-error-500-on-origin-delete/18916)

<div class="topic-metadata">

**Author:** [@pketienne\_1](https://discourse.chef.io/u/pketienne_1)\
**Replies:** 2\
**Last updated:** [April 17, 2019, 2:07am UTC](https://discourse.chef.io/t/receiving-error-500-on-origin-delete/18916 "2019-04-17T02:07:56Z")

</div>

Greetings habi-taters (insert spud emoji here), I’m attempting to troubleshoot an issue I’m encountering with the hab executable and an origin on bldr.habitat.sh. When executing hab origin delete {origin-name} I receive…

---

## [Should habitat packages build kernel modules?](https://discourse.chef.io/t/should-habitat-packages-build-kernel-modules/18361)

<div class="topic-metadata">

**Author:** [@bdangit](https://discourse.chef.io/u/bdangit)\
**Replies:** 2\
**Last updated:** [April 15, 2019, 8:01pm UTC](https://discourse.chef.io/t/should-habitat-packages-build-kernel-modules/18361 "2019-04-15T20:01:41Z")

</div>

Wanted to know the general community’s take on having habitat build kernel level things like modules (\*.ko). While habitat has helped us package/contain our applications, we have some hardware level things like kernel m…

---

## [Windows Exe Installer and Habitat... Should I even?](https://discourse.chef.io/t/windows-exe-installer-and-habitat-should-i-even/18360)

<div class="topic-metadata">

**Author:** [@robertsweetman](https://discourse.chef.io/u/robertsweetman)\
**Replies:** 1\
**Last updated:** [April 9, 2019, 12:45am UTC](https://discourse.chef.io/t/windows-exe-installer-and-habitat-should-i-even/18360 "2019-04-09T00:45:56Z")

</div>

Definitely a noob question because I am finding it difficult to understand whether or not Habitat might help in my case... We are deploying a multi-service .Net (4.7.2) application across multiple Windows servers This …

---

## [Rolling strategy not working](https://discourse.chef.io/t/rolling-strategy-not-working/19263)

<div class="topic-metadata">

**Author:** [@Kris](https://discourse.chef.io/u/Kris)\
**Replies:** 7\
**Last updated:** [April 6, 2019, 4:36pm UTC](https://discourse.chef.io/t/rolling-strategy-not-working/19263 "2019-04-06T16:36:21Z")

</div>

Hello all, I’m pretty new to habitat and I’m now trying to test the rolling update strategy but I have somme issues and it doesn’t work, at-once strategy works fine. I’m loading the service with this command hab svc loa…

---

## [Building native availble or cross compilation necessary for Solaris11.4?](https://discourse.chef.io/t/building-native-availble-or-cross-compilation-necessary-for-solaris11-4/18942)

<div class="topic-metadata">

**Author:** [@mrose](https://discourse.chef.io/u/mrose)\
**Replies:** 0\
**Last updated:** [March 29, 2019, 1:37pm UTC](https://discourse.chef.io/t/building-native-availble-or-cross-compilation-necessary-for-solaris11-4/18942 "2019-03-29T13:37:47Z")

</div>

If I have an application that needs to be built on/for Solaris11.4, is this possible with Habitat?

---

## [Scaffolding-ruby: Ruby app types not yet supported with this Scaffolding?](https://discourse.chef.io/t/scaffolding-ruby-ruby-app-types-not-yet-supported-with-this-scaffolding/19332)

<div class="topic-metadata">

**Author:** [@Tchase44](https://discourse.chef.io/u/Tchase44)\
**Replies:** 2\
**Last updated:** [March 28, 2019, 4:50pm UTC](https://discourse.chef.io/t/scaffolding-ruby-ruby-app-types-not-yet-supported-with-this-scaffolding/19332 "2019-03-28T16:50:00Z")

</div>

We are packaging up a rails app and hab studio is erroring out on build( see message below). Our plan.sh is using pkg\_scaffolding="core/scaffolding-ruby"and scaffolding\_ruby\_pkg=core/ruby24/2.4.5. The ruby version is …

---

## [Windows habitat issue for version 0.69](https://discourse.chef.io/t/windows-habitat-issue-for-version-0-69/19380)

<div class="topic-metadata">

**Author:** [@manojbison](https://discourse.chef.io/u/manojbison)\
**Replies:** 12\
**Last updated:** [March 15, 2019, 8:51pm UTC](https://discourse.chef.io/t/windows-habitat-issue-for-version-0-69/19380 "2019-03-15T20:51:44Z")

</div>

we are facing below issue during windows habitat builds library.jenkins-habitat-lib.version: master BRANCH\_NAME: master C:\\Program Files\\docker\\docker.EXE: Error response from daemon: Invalid container name can someo…

---

## [Changing out the Operating system underneath Habitat](https://discourse.chef.io/t/changing-out-the-operating-system-underneath-habitat/18918)

<div class="topic-metadata">

**Author:** [@qubitrenegade](https://discourse.chef.io/u/qubitrenegade)\
**Replies:** 3\
**Last updated:** [March 14, 2019, 8:30pm UTC](https://discourse.chef.io/t/changing-out-the-operating-system-underneath-habitat/18918 "2019-03-14T20:30:30Z")

</div>

If any of you are like me, you’ve read all of the Habitat marketing and have bought into this idea of decoupling your app from your Operating System. It’s a great goal and a lofty claim. So I set out to test it. Using…

---

## [Unable to inject multiple key values sequentially via \`hab config apply\`](https://discourse.chef.io/t/unable-to-inject-multiple-key-values-sequentially-via-hab-config-apply/18926)

<div class="topic-metadata">

**Author:** [@bixu](https://discourse.chef.io/u/bixu)\
**Replies:** 9\
**Last updated:** [March 6, 2019, 5:17pm UTC](https://discourse.chef.io/t/unable-to-inject-multiple-key-values-sequentially-via-hab-config-apply/18926 "2019-03-06T17:17:23Z")

</div>

I’m working a package (bixu/certbot) where I need to be able to store SSL certs in a gossiped config. It seems that I can’t sequentially load renewed Certbot certs via hab config apply - when I do this, only the last-app…

---

## [Habitat Wrapper Plans](https://discourse.chef.io/t/habitat-wrapper-plans/19226)

<div class="topic-metadata">

**Author:** [@qubitrenegade](https://discourse.chef.io/u/qubitrenegade)\
**Replies:** 5\
**Last updated:** [March 5, 2019, 6:51am UTC](https://discourse.chef.io/t/habitat-wrapper-plans/19226 "2019-03-05T06:51:58Z")

</div>

A while back I opened a PR on a core-plan to make some changes to the default config. It was suggested at that time to use a “wrapper plan” as the core plans aren’t designed to hit every use case. While I can totally s…

---

## [Faster Interactive Studio Builds by Avoiding Artifact Creation](https://discourse.chef.io/t/faster-interactive-studio-builds-by-avoiding-artifact-creation/19273)

<div class="topic-metadata">

**Author:** [@bixu](https://discourse.chef.io/u/bixu)\
**Replies:** 2\
**Last updated:** [February 28, 2019, 6:03pm UTC](https://discourse.chef.io/t/faster-interactive-studio-builds-by-avoiding-artifact-creation/19273 "2019-02-28T18:03:04Z")

</div>

A chat with @Sirex in the community forums today yielded a nice hack to speed up development of packages in the local Studio (if you work in the Studio often you probably have felt the pain of waiting for artifact creati…

---

## [The function of habitat](https://discourse.chef.io/t/the-function-of-habitat/19242)

<div class="topic-metadata">

**Author:** [@7qi](https://discourse.chef.io/u/7qi)\
**Replies:** 7\
**Last updated:** [February 22, 2019, 9:29pm UTC](https://discourse.chef.io/t/the-function-of-habitat/19242 "2019-02-22T21:29:08Z")

</div>

I have used habitat for a couple of days, but I confused about the function of habitat. Now I think it is a tool for packaging, the workflow is like this: ①Write a plan file and config files ②Build it and generate a …

---

## [Nginx issues about Habitat CLI for Windows](https://discourse.chef.io/t/nginx-issues-about-habitat-cli-for-windows/18859)

<div class="topic-metadata">

**Author:** [@Fishbone](https://discourse.chef.io/u/Fishbone)\
**Replies:** 9\
**Last updated:** [February 22, 2019, 7:10pm UTC](https://discourse.chef.io/t/nginx-issues-about-habitat-cli-for-windows/18859 "2019-02-22T19:10:57Z")

</div>

Hi there! I want to ask you all some questions about how to run nginx application with Habitat CLI for Windows. I just don't know how to write the plan.sh1 file and run file. If the files look like this,is that right? …

---

## [Private signing keys](https://discourse.chef.io/t/private-signing-keys/19282)

<div class="topic-metadata">

**Author:** [@bdangit](https://discourse.chef.io/u/bdangit)\
**Replies:** 6\
**Last updated:** [February 15, 2019, 6:57am UTC](https://discourse.chef.io/t/private-signing-keys/19282 "2019-02-15T06:57:01Z")

</div>

Is there a way to reject previously private signing keys? We finally have an on-prem builder and in the past we shared our keys around. Yes, I know never share your private.. A few scenarios I have seen that I want be…

---

## [Cannot call \`source\` within \`do\_install\` stage of hab plan](https://discourse.chef.io/t/cannot-call-source-within-do-install-stage-of-hab-plan/18405)

<div class="topic-metadata">

**Author:** [@shalpin87](https://discourse.chef.io/u/shalpin87)\
**Replies:** 2\
**Last updated:** [February 13, 2019, 3:41pm UTC](https://discourse.chef.io/t/cannot-call-source-within-do-install-stage-of-hab-plan/18405 "2019-02-13T15:41:09Z")

</div>

I am calling source in the do\_install stage of my plan as so. do\_install() { pushd $pkg\_prefix || exit 1 python3 -m pip install --upgrade pip setuptools wheel python3 -m venv env source env/bin/activate python…

---

## [Crypto error while starting supervisor](https://discourse.chef.io/t/crypto-error-while-starting-supervisor/18943)

<div class="topic-metadata">

**Author:** [@shalpin87](https://discourse.chef.io/u/shalpin87)\
**Replies:** 5\
**Last updated:** [February 13, 2019, 11:14am UTC](https://discourse.chef.io/t/crypto-error-while-starting-supervisor/18943 "2019-02-13T11:14:32Z")

</div>

I’m on Ubuntu, while running hab sup run, I get the following output. Not sure what the issue might be from the error. Any help appreciated. Output & Error; -\> % hab sup run ∵ Missing package for core/hab-sup/0.74.0 …

---

## [How can I set \`HAB\_AUTH\_TOKEN\` values that are \_not\_ linked to a Github user account?](https://discourse.chef.io/t/how-can-i-set-hab-auth-token-values-that-are-not-linked-to-a-github-user-account/18945)

<div class="topic-metadata">

**Author:** [@bixu](https://discourse.chef.io/u/bixu)\
**Replies:** 0\
**Last updated:** [February 7, 2019, 11:22am UTC](https://discourse.chef.io/t/how-can-i-set-hab-auth-token-values-that-are-not-linked-to-a-github-user-account/18945 "2019-02-07T11:22:13Z")

</div>

We would prefer to have a unique HAB\_AUTH\_TOKEN for each discreet operational environment, as this would allow us to roll user tokens independently of environment tokens. The current behavior (generating a token from a u…

---

## [About applications's version](https://discourse.chef.io/t/about-applicationss-version/18905)

<div class="topic-metadata">

**Author:** [@7qi](https://discourse.chef.io/u/7qi)\
**Replies:** 2\
**Last updated:** [February 3, 2019, 6:52am UTC](https://discourse.chef.io/t/about-applicationss-version/18905 "2019-02-03T06:52:32Z")

</div>

There is a issue I would like to verify. Is the application’s version only in core/plan that I can use? Because I want to use nginx-1.15.8, but in core/nginx I just found nginx-1.15.6, so I try to create the package of …

---

## [Nix-shell implementation](https://discourse.chef.io/t/nix-shell-implementation/18917)

<div class="topic-metadata">

**Author:** [@guskovd](https://discourse.chef.io/u/guskovd)\
**Replies:** 1\
**Last updated:** [January 28, 2019, 4:39pm UTC](https://discourse.chef.io/t/nix-shell-implementation/18917 "2019-01-28T16:39:32Z")

</div>

Nix-shell is a cool tool for deploying a local developer environment. ( https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html ) It seems to me that the infrastructure habitat-sh has everything to implement s…

---

## [Habitat studio build in newer versions results in Powershell Management Module errors](https://discourse.chef.io/t/habitat-studio-build-in-newer-versions-results-in-powershell-management-module-errors/18593)

<div class="topic-metadata">

**Author:** [@aumkar](https://discourse.chef.io/u/aumkar)\
**Replies:** 4\
**Last updated:** [January 17, 2019, 1:24pm UTC](https://discourse.chef.io/t/habitat-studio-build-in-newer-versions-results-in-powershell-management-module-errors/18593 "2019-01-17T13:24:11Z")

</div>

So I’ve been working on this automated build through Jenkins, running a build seems to cause this to happen to every single Windows package Jenkins tries to build using the Habitat plugin (which just runs a hab studio bu…

---

## [Working with Habitat and Openshift](https://discourse.chef.io/t/working-with-habitat-and-openshift/19293)

<div class="topic-metadata">

**Author:** [@7qi](https://discourse.chef.io/u/7qi)\
**Replies:** 7\
**Last updated:** [January 3, 2019, 3:19am UTC](https://discourse.chef.io/t/working-with-habitat-and-openshift/19293 "2019-01-03T03:19:22Z")

</div>

I’m trying to export a docker format image and use it in openshift, but it falled. The reason seems like that I have to create a non-root docker in habitat, but I have no idea. I have tried to change the ‘pkg\_svc\_user…

---

## [No auth token specified\*](https://discourse.chef.io/t/no-auth-token-specified/19374)

<div class="topic-metadata">

**Author:** [@David\_Montgomery](https://discourse.chef.io/u/David_Montgomery)\
**Replies:** 2\
**Last updated:** [December 24, 2018, 9:26am UTC](https://discourse.chef.io/t/no-auth-token-specified/19374 "2018-12-24T09:26:42Z")

</div>

Why??? Well…got the token from the UI…pasted in the proper file in the .hab folder and yet I get the below… hab pkg upload /src/results/david-flask-0.1.0-20181223155944-x86\_64-linux.hart ✗✗✗ ✗✗✗ No auth token specifi…

[Previous page](https://discourse.chef.io/c/hab-help/16.md?page=1)

[Next page](https://discourse.chef.io/c/hab-help/16.md?page=3)
