# General

**URL:** https://discuss.ihp.digitallyinduced.com/c/general/4.md

[Latest](https://discuss.ihp.digitallyinduced.com/latest.md) · [Categories](https://discuss.ihp.digitallyinduced.com/categories.md) · [Tags](https://discuss.ihp.digitallyinduced.com/tags.md)

---

## [Welcome to our community!](https://discuss.ihp.digitallyinduced.com/t/welcome-to-our-community/7)

<div class="topic-metadata">

**Author:** [@system](https://discuss.ihp.digitallyinduced.com/u/system)\
**Replies:** 0\
**Last updated:** [August 6, 2023, 12:59pm UTC](https://discuss.ihp.digitallyinduced.com/t/welcome-to-our-community/7 "2023-08-06T12:59:02Z")

</div>

The first paragraph of this pinned topic will be visible as a welcome message to all new visitors on your homepage. It’s important! Edit this into a brief description of your community: Who is it for? What can they fi…

---

## [About the General category](https://discuss.ihp.digitallyinduced.com/t/about-the-general-category/3)

<div class="topic-metadata">

**Author:** [@system](https://discuss.ihp.digitallyinduced.com/u/system)\
**Replies:** 0

</div>

---

## [OCI/Docker container dev environments for IHP](https://discuss.ihp.digitallyinduced.com/t/oci-docker-container-dev-environments-for-ihp/97)

<div class="topic-metadata">

**Author:** [@tolvos](https://discuss.ihp.digitallyinduced.com/u/tolvos)\
**Replies:** 0\
**Last updated:** [August 10, 2026, 6:11am UTC](https://discuss.ihp.digitallyinduced.com/t/oci-docker-container-dev-environments-for-ihp/97 "2026-08-10T06:11:41Z")

</div>

I’m a newcomer to IHP, Haskell, and Nix, and thought it’d be a decent learning experience to build an OCI image people can use to spin up isolated dev environments. You can see what I’ve come up with here: GitHub - tolvo…

---

## [Which postgres types are supported](https://discuss.ihp.digitallyinduced.com/t/which-postgres-types-are-supported/96)

<div class="topic-metadata">

**Author:** [@michaelfliegner](https://discuss.ihp.digitallyinduced.com/u/michaelfliegner)\
**Replies:** 0\
**Last updated:** [April 18, 2026, 8:43am UTC](https://discuss.ihp.digitallyinduced.com/t/which-postgres-types-are-supported/96 "2026-04-18T08:43:55Z")

</div>

which postgres types are supported? I need tstzrange columns for temporal data. The code generator crashes on such columns. When to expect implementtion? Any idea for a workaround?

---

## [Restart development environment](https://discuss.ihp.digitallyinduced.com/t/restart-development-environment/94)

<div class="topic-metadata">

**Author:** [@michaelfliegner](https://discuss.ihp.digitallyinduced.com/u/michaelfliegner)\
**Replies:** 1\
**Last updated:** [March 25, 2026, 12:14pm UTC](https://discuss.ihp.digitallyinduced.com/t/restart-development-environment/94 "2026-03-25T12:14:13Z")

</div>

Hi. I have IHP installed in a ubuntu container ( on KDE Linux under kapsule ) devenv up works directly after ihp-new, but never again. No development environment starts up on a second call of devenv up after leaving an…

---

## [Cannot restart the development environment](https://discuss.ihp.digitallyinduced.com/t/cannot-restart-the-development-environment/95)

<div class="topic-metadata">

**Author:** [@michaelfliegner](https://discuss.ihp.digitallyinduced.com/u/michaelfliegner)\
**Replies:** 0\
**Last updated:** [March 25, 2026, 10:08am UTC](https://discuss.ihp.digitallyinduced.com/t/cannot-restart-the-development-environment/95 "2026-03-25T10:08:38Z")

</div>

this is no longer reproducible Installation on Ubuntu 24.04 devenv up fails to restart the development environment after OS reboot.

---

## [Is possible create APIs with IHP?](https://discuss.ihp.digitallyinduced.com/t/is-possible-create-apis-with-ihp/90)

<div class="topic-metadata">

**Author:** [@RamonJales](https://discuss.ihp.digitallyinduced.com/u/RamonJales)\
**Replies:** 2\
**Last updated:** [December 23, 2025, 7:37am UTC](https://discuss.ihp.digitallyinduced.com/t/is-possible-create-apis-with-ihp/90 "2025-12-23T07:37:11Z")

</div>

I am newer with IHP and i would like to know if is possible create APIs with IHP

---

## [Any changes to the way of installing npm ihp-datasync?](https://discuss.ihp.digitallyinduced.com/t/any-changes-to-the-way-of-installing-npm-ihp-datasync/92)

<div class="topic-metadata">

**Author:** [@PaulDuanGitHub](https://discuss.ihp.digitallyinduced.com/u/PaulDuanGitHub)\
**Replies:** 1\
**Last updated:** [November 28, 2025, 8:25pm UTC](https://discuss.ihp.digitallyinduced.com/t/any-changes-to-the-way-of-installing-npm-ihp-datasync/92 "2025-11-28T20:25:56Z")

</div>

\# npm add "https://gitpkg.now.sh/digitallyinduced/ihp/lib/IHP/DataSync?0babfec7a90675ca37d56c38dac69e784e64fc83" npm ERR! code E402 npm ERR! 402 Payment Required - GET https://gitpkg.vercel.app/digitallyinduced/ihp/lib/I…

---

## [Localized autorefresh](https://discuss.ihp.digitallyinduced.com/t/localized-autorefresh/88)

<div class="topic-metadata">

**Author:** [@vcombey](https://discuss.ihp.digitallyinduced.com/u/vcombey)\
**Replies:** 2\
**Last updated:** [September 21, 2025, 7:28pm UTC](https://discuss.ihp.digitallyinduced.com/t/localized-autorefresh/88 "2025-09-21T19:28:32Z")

</div>

Hi everyone, I’m really struggling with AutoRefresh — I realize I had a lot of misconceptions about how it actually works. My main goal is to build a ChatGPT-like chat in my app using open-ihp. According to the docs, …

---

## [Run migration with ihp app dockerized](https://discuss.ihp.digitallyinduced.com/t/run-migration-with-ihp-app-dockerized/87)

<div class="topic-metadata">

**Author:** [@vcombey](https://discuss.ihp.digitallyinduced.com/u/vcombey)\
**Replies:** 1\
**Last updated:** [September 6, 2025, 8:59pm UTC](https://discuss.ihp.digitallyinduced.com/t/run-migration-with-ihp-app-dockerized/87 "2025-09-06T20:59:56Z")

</div>

Hi everyone, I deployed my ihp app as a docker image in fargate. But could not find migrate command in the docker. What is the best way to run the migrations when using the docker image ? and fargate as my infra. Th…

---

## [Row level policies for non-SPA?](https://discuss.ihp.digitallyinduced.com/t/row-level-policies-for-non-spa/85)

<div class="topic-metadata">

**Author:** [@kbu](https://discuss.ihp.digitallyinduced.com/u/kbu)\
**Replies:** 3\
**Last updated:** [July 8, 2025, 1:01pm UTC](https://discuss.ihp.digitallyinduced.com/t/row-level-policies-for-non-spa/85 "2025-07-08T13:01:35Z")

</div>

I see discussion of row-level policies on realtime SPAs in The Guide, but does it not make sense to define policies also when server-side rendering? E.g. letting secret\_diary\_entries only be visible if user\_id = ihp\_user…

---

## [Two-factor authentication or MFA](https://discuss.ihp.digitallyinduced.com/t/two-factor-authentication-or-mfa/84)

<div class="topic-metadata">

**Author:** [@kbu](https://discuss.ihp.digitallyinduced.com/u/kbu)\
**Replies:** 0\
**Last updated:** [July 3, 2025, 11:09am UTC](https://discuss.ihp.digitallyinduced.com/t/two-factor-authentication-or-mfa/84 "2025-07-03T11:09:43Z")

</div>

What are people using for multi-factor authentication with IHP? I’ve considered enabling Google OAuth (from IHP Pro), but I’d prefer something that still lets people log in with an email of their choosing (not necessaril…

---

## [What principles to follow for not messing up back button / history?](https://discuss.ihp.digitallyinduced.com/t/what-principles-to-follow-for-not-messing-up-back-button-history/69)

<div class="topic-metadata">

**Author:** [@kbu](https://discuss.ihp.digitallyinduced.com/u/kbu)\
**Replies:** 2\
**Last updated:** [May 8, 2025, 1:16pm UTC](https://discuss.ihp.digitallyinduced.com/t/what-principles-to-follow-for-not-messing-up-back-button-history/69 "2025-05-08T13:16:48Z")

</div>

I often run into a situation where hitting the back button will “skip a page”. For example, I’m on the welcome page localhost:8080/ and hit “new order”, and because I have a two-step process I’m first sent to PrepNewVie…

---

## [How can I access nested JSON in IHP using param?](https://discuss.ihp.digitallyinduced.com/t/how-can-i-access-nested-json-in-ihp-using-param/83)

<div class="topic-metadata">

**Author:** [@amitaibu](https://discuss.ihp.digitallyinduced.com/u/amitaibu)\
**Replies:** 2\
**Last updated:** [April 7, 2025, 1:17am UTC](https://discuss.ihp.digitallyinduced.com/t/how-can-i-access-nested-json-in-ihp-using-param/83 "2025-04-07T01:17:02Z")

</div>

I’m working with an IHP controller that receives a JSON payload representing multiple records to process in a single request. Here’s a simplified example: json CopyEdit { "changes": \[ { "type": "person", …

---

## [How to Write a Type Signature for a Generic \`fetchGenericJson\` Function](https://discuss.ihp.digitallyinduced.com/t/how-to-write-a-type-signature-for-a-generic-fetchgenericjson-function/82)

<div class="topic-metadata">

**Author:** [@amitaibu](https://discuss.ihp.digitallyinduced.com/u/amitaibu)\
**Replies:** 4\
**Last updated:** [March 14, 2025, 8:59am UTC](https://discuss.ihp.digitallyinduced.com/t/how-to-write-a-type-signature-for-a-generic-fetchgenericjson-function/82 "2025-03-14T08:59:34Z")

</div>

I’m trying to create a generic function to fetch records by their IDs. Something like: fetchGenericJson recordIds = do records \<- query @record |\> filterWhereIn (#id, recordIds) |\> fetch map toJSON …

---

## [Is direnv a requirement to use ihp?](https://discuss.ihp.digitallyinduced.com/t/is-direnv-a-requirement-to-use-ihp/81)

<div class="topic-metadata">

**Author:** [@uoji9r](https://discuss.ihp.digitallyinduced.com/u/uoji9r)\
**Replies:** 2\
**Last updated:** [March 4, 2025, 10:12am UTC](https://discuss.ihp.digitallyinduced.com/t/is-direnv-a-requirement-to-use-ihp/81 "2025-03-04T10:12:23Z")

</div>

I was trying to setup a project, but ihp-new doesn’t seem to want to proceed unless I let it install direnv or have it preinstalled. It seems quite odd to me to have such a hard dependency on a tool to manage environment…

---

## [Error (or warning?) "Could not deduce" in Main.hs](https://discuss.ihp.digitallyinduced.com/t/error-or-warning-could-not-deduce-in-main-hs/25)

<div class="topic-metadata">

**Author:** [@TheDarkchip](https://discuss.ihp.digitallyinduced.com/u/TheDarkchip)\
**Replies:** 5\
**Last updated:** [February 11, 2025, 3:50pm UTC](https://discuss.ihp.digitallyinduced.com/t/error-or-warning-could-not-deduce-in-main-hs/25 "2025-02-11T15:50:33Z")

</div>

Hi I am getting this message in VSC when looking at the Main.hs file and I wonder if somebody could explain to me what that’s about and if I can fix it in any way. • Could not deduce (FrontController WebApplication) …

---

## [Could not deduce ‘IHP.RouterSupport.AutoRoute](https://discuss.ihp.digitallyinduced.com/t/could-not-deduce-ihp-routersupport-autoroute/78)

<div class="topic-metadata">

**Author:** [@biscotty666](https://discuss.ihp.digitallyinduced.com/u/biscotty666)\
**Replies:** 3\
**Last updated:** [December 18, 2024, 2:11pm UTC](https://discuss.ihp.digitallyinduced.com/t/could-not-deduce-ihp-routersupport-autoroute/78 "2024-12-18T14:11:49Z")

</div>

Hi, I’m trying to add some image handling based on this blog: A resolution switching responsive images template with Haskell and IHP. I’m pretty comfortable with Haskell, but new to IHP. I put the deets below. Thanks. I…

---

## [Question on creation with Many-to-Many relationships](https://discuss.ihp.digitallyinduced.com/t/question-on-creation-with-many-to-many-relationships/77)

<div class="topic-metadata">

**Author:** [@nunocf](https://discuss.ihp.digitallyinduced.com/u/nunocf)\
**Replies:** 2\
**Last updated:** [December 11, 2024, 1:30pm UTC](https://discuss.ihp.digitallyinduced.com/t/question-on-creation-with-many-to-many-relationships/77 "2024-12-11T13:30:30Z")

</div>

Hello! One probably silly question: Is it possible to have an Action for a data type that isn’t a model? I have a few models: Exercise MuscleGroup ExercisesMuscleGroup (link table between the two above, it is a many-…

---

## [Link to home page in breadcrumbs](https://discuss.ihp.digitallyinduced.com/t/link-to-home-page-in-breadcrumbs/75)

<div class="topic-metadata">

**Author:** [@biscotty666](https://discuss.ihp.digitallyinduced.com/u/biscotty666)\
**Replies:** 2\
**Last updated:** [November 14, 2024, 7:03pm UTC](https://discuss.ihp.digitallyinduced.com/t/link-to-home-page-in-breadcrumbs/75 "2024-11-14T19:03:39Z")

</div>

From the blog project in the IHP Guide, how can I add a link to the home page in the breadcrumbs? I defined my own Home action and view, which displays fine at the root localhost:8000/. But, if I do, eg, breadcrumbLink "…

---

## [Ihp\_session\_secret](https://discuss.ihp.digitallyinduced.com/t/ihp-session-secret/72)

<div class="topic-metadata">

**Author:** [@Montmorency](https://discuss.ihp.digitallyinduced.com/u/Montmorency)\
**Replies:** 1\
**Last updated:** [October 25, 2024, 10:01am UTC](https://discuss.ihp.digitallyinduced.com/t/ihp-session-secret/72 "2024-10-25T10:01:43Z")

</div>

Is there a way of generating a SESSION\_SECRET without requiring a docker container. The method in the documentation seems to refer to docker run in order to generate the session key which you can copy in to the app’s env…

---

## [Devenv.nix does not exist](https://discuss.ihp.digitallyinduced.com/t/devenv-nix-does-not-exist/68)

<div class="topic-metadata">

**Author:** [@Ashereye](https://discuss.ihp.digitallyinduced.com/u/Ashereye)\
**Replies:** 6\
**Last updated:** [August 6, 2024, 1:29pm UTC](https://discuss.ihp.digitallyinduced.com/t/devenv-nix-does-not-exist/68 "2024-08-06T13:29:16Z")

</div>

While following the instructions here: IHP Guide, I ran into an error running ./start. The error states that devenv.nix does not exist and I should run devenv init. Attempting to run devenv init gives an error message st…

---

## [Ihp install: stable or unstable nix-channel?](https://discuss.ihp.digitallyinduced.com/t/ihp-install-stable-or-unstable-nix-channel/66)

<div class="topic-metadata">

**Author:** [@joyeli1386](https://discuss.ihp.digitallyinduced.com/u/joyeli1386)\
**Replies:** 1\
**Last updated:** [August 1, 2024, 4:11pm UTC](https://discuss.ihp.digitallyinduced.com/t/ihp-install-stable-or-unstable-nix-channel/66 "2024-08-01T16:11:14Z")

</div>

Hi all, just tried fresh install of ihp via nix, got about 20 warnings e.g. trace: warning: cudaPackages.autoAddDriverRunpath is deprecated, use pkgs.autoAddDriverRunpath instead I was wondering which nix-channel is re…

---

## [Haskell Language Server Hashes](https://discuss.ihp.digitallyinduced.com/t/haskell-language-server-hashes/63)

<div class="topic-metadata">

**Author:** [@Montmorency](https://discuss.ihp.digitallyinduced.com/u/Montmorency)\
**Replies:** 1\
**Last updated:** [July 17, 2024, 11:57pm UTC](https://discuss.ihp.digitallyinduced.com/t/haskell-language-server-hashes/63 "2024-07-17T23:57:27Z")

</div>

I’m getting a GHC ABI Mismatch when trying to start the haskell-language-server. Looks like the Expected/Got hashes is slightly different on the two: haskell-language-server-wrapper typecheck Found "/Users/projects/ihp-…

---

## [Fixtures.sql stays empty, but app works](https://discuss.ihp.digitallyinduced.com/t/fixtures-sql-stays-empty-but-app-works/59)

<div class="topic-metadata">

**Author:** [@Diglett](https://discuss.ihp.digitallyinduced.com/u/Diglett)\
**Replies:** 0\
**Last updated:** [July 2, 2024, 7:35pm UTC](https://discuss.ihp.digitallyinduced.com/t/fixtures-sql-stays-empty-but-app-works/59 "2024-07-02T19:35:49Z")

</div>

Hi, I just did the ‘blog’ tutorial over the last few days. So far so good, but I’m curious why my Fixtures.sql file stays empty? My posts and comments are saved, including between server and computer restarts. I don’t…

---

## [Problems with the guide on select field](https://discuss.ihp.digitallyinduced.com/t/problems-with-the-guide-on-select-field/56)

<div class="topic-metadata">

**Author:** [@Yurez23](https://discuss.ihp.digitallyinduced.com/u/Yurez23)\
**Replies:** 5\
**Last updated:** [June 26, 2024, 5:42pm UTC](https://discuss.ihp.digitallyinduced.com/t/problems-with-the-guide-on-select-field/56 "2024-06-26T17:42:07Z")

</div>

Hi, I am new to IHP and Haskell in general. I’ve been going through the IHP guide, tried different things from it on my pet project, and ran into a problem with selectField. When I used {selectField #covenantId (Nothing…

---

## [Debugging binary caches not working on macOS](https://discuss.ihp.digitallyinduced.com/t/debugging-binary-caches-not-working-on-macos/54)

<div class="topic-metadata">

**Author:** [@emdash](https://discuss.ihp.digitallyinduced.com/u/emdash)\
**Replies:** 11\
**Last updated:** [June 18, 2024, 8:28pm UTC](https://discuss.ihp.digitallyinduced.com/t/debugging-binary-caches-not-working-on-macos/54 "2024-06-18T20:28:51Z")

</div>

I’ve just started trying out IHP on macOS, and it seems the binary caches are not working: initial setup spent a long time compiling haskell packages (132 of them, if I read correctly?), and the same happens when I add a…

---

## [Emacs setup for lsp-mode?](https://discuss.ihp.digitallyinduced.com/t/emacs-setup-for-lsp-mode/53)

<div class="topic-metadata">

**Author:** [@emdash](https://discuss.ihp.digitallyinduced.com/u/emdash)\
**Replies:** 6\
**Last updated:** [June 17, 2024, 1:15pm UTC](https://discuss.ihp.digitallyinduced.com/t/emacs-setup-for-lsp-mode/53 "2024-06-17T13:15:06Z")

</div>

I’ve just started using IHP (with ihp-new), and I’m having some trouble getting the editor integration working in emacs. I’m using lsp-mode rather than eglot (which I would prefer not to change), and I can’t get it to in…

---

## [Sending emails through smtp.gmail.com](https://discuss.ihp.digitallyinduced.com/t/sending-emails-through-smtp-gmail-com/49)

<div class="topic-metadata">

**Author:** [@mokshasoft](https://discuss.ihp.digitallyinduced.com/u/mokshasoft)\
**Replies:** 0\
**Last updated:** [April 26, 2024, 6:52pm UTC](https://discuss.ihp.digitallyinduced.com/t/sending-emails-through-smtp-gmail-com/49 "2024-04-26T18:52:50Z")

</div>

I just wanted to post an answer to a question I had a few months ago about using smtp.gmail.com. I couldn’t get it to work and the reasons were that it required STARTTLS (not TLS that I tried), and username and app passw…

---

## [IHP Form Help - Using Built in From Controls](https://discuss.ihp.digitallyinduced.com/t/ihp-form-help-using-built-in-from-controls/48)

<div class="topic-metadata">

**Author:** [@bletner17](https://discuss.ihp.digitallyinduced.com/u/bletner17)\
**Replies:** 1\
**Last updated:** [March 31, 2024, 11:18am UTC](https://discuss.ihp.digitallyinduced.com/t/ihp-form-help-using-built-in-from-controls/48 "2024-03-31T11:18:31Z")

</div>

Hey new to IHP here was hoping i could get some help with some basic form stuff I’m trying to do! Currently i have a Form for, in my case, called Concepts, there are 12 columns (one concept) and will eventually be create…

[Next page](https://discuss.ihp.digitallyinduced.com/c/general/4.md?page=1)
