# DAR Uploaded, but No Templates in Daml Navigator (Minikube + Canton Setup)

**URL:** <https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828>\
**Category:** App Development\
**Tags:** canton\
**Created:** [March 16, 2025, 10:39am UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828 "2025-03-16T10:39:40Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![pratikkedia](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@pratikkedia](https://forum.canton.network/u/pratikkedia)\
**Post date:** [March 16, 2025, 10:39am UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/1 "2025-03-16T10:39:40Z")

</div>

#### **Setup Details:**

We have set up a **Kubernetes environment on Minikube** to run **Canton components** , including:

- `canton-domain`
- `canton-participant`
- `http-json`

This setup was deployed using **Helm charts** on our local Minikube cluster.

#### **Problem:**

We successfully uploaded a **DAR file** to our **local participant ledger** using the following command:

```haskell
daml ledger upload-dar --host=localhost --port=4001 .packages/data-dependencies/.daml/dist/sor-mvp-data-dependencies-1.2.6.dar

```

However, after deploying the DAR, we are **unable to see the expected templates** in **Daml Navigator** and when I visited the navigator page I could not see any templates from the package that I had uploaded to the participant. The navigator correctly populates the users so I know that it is able to connect to the party management service.’

Questions:  
What could be the possible reasons why the templates are not appearing in Navigator?  
How can we troubleshoot and resolve this issue given our Minikube-based Canton setup

---

<div class="post-metadata">

**Author:** ![WallaceKelly](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/wallacekelly/32/5046_2.png) [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Post date:** [March 17, 2025, 1:49pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/2 "2025-03-17T13:49:15Z")

</div>

To start the debugging, you could use the Daml Assistant to query for the packages.

```haskell
daml packages list --host localhost --port 4001

```

Does that list include your newly-uploaded packages?

---

<div class="post-metadata">

**Author:** ![pratikkedia](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@pratikkedia](https://forum.canton.network/u/pratikkedia)\
**Post date:** [March 17, 2025, 7:21pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/4 "2025-03-17T19:21:29Z")

</div>

let me check i have to check

---

<div class="post-metadata">

**Author:** ![pratikkedia](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@pratikkedia](https://forum.canton.network/u/pratikkedia)\
**Post date:** [March 19, 2025, 12:21pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/5 "2025-03-19T12:21:24Z")

</div>

daml packages list --host localhost --port 4004  
daml-helper: GRPCIOBadStatusCode StatusResourceExhausted (StatusDetails {unStatusDetails = “Received message larger than max (5976487 vs. 4194304)”}) fromList we are getting this issue

---

<div class="post-metadata">

**Author:** ![WallaceKelly](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/wallacekelly/32/5046_2.png) [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Post date:** [March 19, 2025, 1:30pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/6 "2025-03-19T13:30:06Z")

</div>

I would try increasing the maximum gRPC message size. See the [Max Inbound Message Size](https://docs.daml.com/canton/usermanual/apis.html#max-inbound-message-size) docs for an example:

```haskell
canton.participants.participant2.ledger-api {
  address = "127.0.0.1"
  port = 5021
  max-inbound-message-size = 20971520
}

```

---

<div class="post-metadata">

**Author:** ![pratikkedia](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@pratikkedia](https://forum.canton.network/u/pratikkedia)\
**Post date:** [March 19, 2025, 3:08pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/7 "2025-03-19T15:08:07Z")

</div>

how can we do this in values.yaml via helm charts since we using that in minikube

> **[daml-helm-charts/charts/canton-participant at main ·...](https://github.com/digital-asset/daml-helm-charts/tree/main/charts/canton-participant)**
>
> Daml Enterprise deployment with high availability. - digital-asset/daml-helm-charts

---

<div class="post-metadata">

**Author:** ![WallaceKelly](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/wallacekelly/32/5046_2.png) [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Post date:** [March 19, 2025, 4:34pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/8 "2025-03-19T16:34:21Z")

</div>

@pratikkedia … as best I can tell the open-source Helm charts have not had that configuration included yet. Any chance you’d be willing to create a PR? [This recent PR](https://github.com/digital-asset/daml-helm-charts/pull/67/files) touched the same files.

---

<div class="post-metadata">

**Author:** ![pratikkedia](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@pratikkedia](https://forum.canton.network/u/pratikkedia)\
**Post date:** [March 20, 2025, 12:11pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/9 "2025-03-20T12:11:18Z")

</div>

Do we have separate enterprise helm charts or any such repo for enterprise? If yes could you please point to the concern team as we have enterprise license?

---

<div class="post-metadata">

**Author:** ![WallaceKelly](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/wallacekelly/32/5046_2.png) [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Post date:** [March 20, 2025, 2:43pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/10 "2025-03-20T14:43:01Z")

</div>

@pratikkedia, no there is no other Helm charts repo for Canton 2.x, aside from the open-sourced, community-supported ones.

---

<div class="post-metadata">

**Author:** ![pratikkedia](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@pratikkedia](https://forum.canton.network/u/pratikkedia)\
**Post date:** [March 21, 2025, 11:56am UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/11 "2025-03-21T11:56:17Z")

</div>

![image](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/1/18cc90cf7eec0c8dbccda101e3fcacb24564cd8a.jpeg)  
I have uploaded the dar and upload got succeeded but not showing up in UI  
and using this cmd  
daml ledger upload-dar --host=127.0.0.1 --port=4001 /Users/utilities/.daml/dist/sor-mvp-utilities-1.2.0.dar

Uploading /Users/.daml/dist/sor-mvp-utilities-1.2.0.dar to 127.0.0.1:4001

DAR upload succeeded. and I have increased as well what we have discussed  
ledger-api {  
address = “0.0.0.0”  
port = 4001  
max-inbound-message-size= 134217728  
postgres-data-source.synchronous-commit = off

```
    command-service.max-commands-in-flight = 100
    max-contract-state-cache-size = 100
    max-contract-key-state-cache-size = 100
    max-transactions-in-memory-fan-out-buffer-size = 10
  } but still not showing up in UI

```

and output of the cmd is below  
daml packages list --host 127.0.0.1 --port 4001

Available packages:

041ddaabb3926f0b666d5e0a36bc1ae8dbf7191d2889afed5d1631af4172fa6b (daml-prim-0.0.0)

057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba

10e0333b52bba1ff147fc408a6b7d68465b157635ee230493bd6029b750dcb05 (daml-stdlib-DA-Action-State-Type-1.0.0)

11bc90545e0175ecc241a88eb3adc8eeccf66f196c8f01da7afa30070a0fb2f0 (daml-script-2.8.1)

13aa0d182f60b0aa11dd3ecb4cc4f07f06a7d701b123f0461903104c54c52e43 (sor-mvp-models-1.2.22)

38e6274601b21d7202bb995bc5ec147decda5a01b68d57dda422425038772af7 (daml-prim-DA-Internal-NatSyn-1.0.0)

3f4deaf145a15cdcfa762c058005e2edb9baa75bb7f95a4f8f6f937378e86415 (daml-prim-DA-Exception-AssertionFailed-1.0.0)

40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7

41caecdf43548fa122bc810e5999b4050bdf207f66d2d25fb3c71432e65fb980 (sor-mvp-policy-1.2.22)

42be7a5c63bcc290fcca161850315b014c0d3f3014b872b13a2e2d9d9346efe1 (daml-stdlib-2.8.9)

518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c

57b5c520512c24035057aa4c783cb7ac7f3f49db29806280962e188be7aadb66 (daml-prim-0.0.0)

5921708ce82f4255deb1b26d2c05358b548720938a5a325718dc69f381ba47ff (daml-stdlib-DA-Stack-Types-1.0.0)

60a84e86479ee4c61e7192b173032aff93ef62ea82fd75312cc689c03092e230 (sor-mvp-product-1.2.22)

65921e553a353588e950cbc87e98a127730e63295f7ad8d3adae952ef0133b3e (AdminWorkflows-0.27.0)

6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d

6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06

6df2d1fd8ea994ed048a79587b2722e3a887ac7592abf31ecf46fe09ac02d689 (daml-stdlib-DA-Internal-Interface-AnyView-Types-1.0.0)

733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a

76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f

845119f5175079e9c8e42caf5ce47cc6f1bf24176f57743d9edda4d87c8cc63f (sor-mvp-utilities-1.2.0)

852d8e3a8ccf952acc73e17522846bc1eb41498e840d637e519ddcca7dbc7671 (daml-stdlib-1.16.0.20210802.7499.0)

86828b9843465f419db1ef8a8ee741d1eef645df02375ebf509cdc8c3ddd16cb (daml-prim-DA-Exception-GeneralError-1.0.0)

8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb

90cba7c57711ef02ef53935f378e4282e4c17f3693e5758bf7886f68232b72d9 (daml-stdlib-2.8.1)

97b883cd8a2b7f49f90d5d39c981cf6e110cf1f1c64427a28a6d58ec88c43657 (daml-stdlib-DA-Set-Types-1.0.0)

99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235

a566728bb2d4ad0103eb11ff8140296f4cea4fc94f1f95ddc6c3e4f983d107f1 (daml-prim-0.0.0)

bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f

c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd

cb0552debf219cc909f51cbb5c3b41e9981d39f8f645b1f35e2ef5be2e0b858a (daml-prim-DA-Exception-ArithmeticError-1.0.0)

cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7

d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662

d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97

d7bdb0d58347c7079c0f5079364fe93ab7e39bd485d4fc20af76d5096e758821 (sor-mvp-data-dependencies-1.2.6)

db1ed657133ff274c6a63c54df8cebfba63113c6ccac38d4b504994b8896b00b (AdminWorkflowsWithVacuuming-2.8.1)

e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c

e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b

e4cc67c3264eba4a19c080cac5ab32d87551578e0f5f58b6a9460f91c7abc254 (daml-stdlib-DA-Random-Types-1.0.0)

ec5fb553c7228f6654a69a03ad43a3faf73ef840a14b4484d9e438cfc100e575 (sor-mvp-deltas-1.2.12)

f20de1e4e37b92280264c08bf15eca0be0bc5babd7a7b5e574997f154c00cb78 (daml-prim-DA-Exception-PreconditionFailed-1.0.0)

---

<div class="post-metadata">

**Author:** ![WallaceKelly](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/wallacekelly/32/5046_2.png) [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Post date:** [March 21, 2025, 2:44pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/12 "2025-03-21T14:44:16Z")

</div>

@pratikkedia … thank you for the Navigator screenshot and the output of `daml packages list`.

One possibility is that Navigator is not looking at the ledger at port 4001.

How are you starting Navigator? Is it with `daml start`, for example?

---

<div class="post-metadata">

**Author:** ![pratikkedia](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@pratikkedia](https://forum.canton.network/u/pratikkedia)\
**Post date:** [March 21, 2025, 3:36pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/13 "2025-03-21T15:36:03Z")

</div>

## apiVersion: apps/v1 kind: Deployment metadata: name: daml-navigator namespace: canton labels: app: daml-navigator spec: replicas: 1 selector: matchLabels: app: daml-navigator template: metadata: labels: app: daml-navigator spec: containers: - name: daml-navigator image: digitalasset/daml-sdk:1.18.1 command: [“daml”, “navigator”, “server”, “–port”, “7500”] args: [“zsor-participant-canton-participant”, “4001”] ports: - containerPort: 7500

apiVersion: v1  
kind: Service  
metadata:  
name: daml-navigator  
namespace: canton  
spec:  
selector:  
app: daml-navigator  
ports:  
- protocol: TCP  
port: 7500  
targetPort: 7500  
type: ClusterIP%

via the deployment yaml

---

<div class="post-metadata">

**Author:** ![WallaceKelly](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/wallacekelly/32/5046_2.png) [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Post date:** [March 21, 2025, 6:19pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/14 "2025-03-21T18:19:36Z")

</div>

It appears that pod is starting a very old version of Navigator:

```haskell
image: digitalasset/daml-sdk:1.18.1

```

Try changing it to a 2.8.x SDK:

```haskell
image: digitalasset/daml-sdk:2.8.12

```

Or even the _latest_ SDK:

```haskell
image: digitalasset/daml-sdk:2.10.0

```

Do the templates then appear in Navigator?

You can see the list of available daml-sdk images [here](https://hub.docker.com/r/digitalasset/daml-sdk/tags).

---

<div class="post-metadata">

**Author:** ![pratikkedia](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@pratikkedia](https://forum.canton.network/u/pratikkedia)\
**Post date:** [March 21, 2025, 7:06pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/15 "2025-03-21T19:06:20Z")

</div>

![image](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/4/4fc97ef8dfb253cc8e39960ac0156e10ba23eb11.jpeg)  
when i use 2.10.0 tag or 2.8.12 tag

but when i use this old tag 1.18.1 it show participant but with new tag is not showing

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/d/d103c921bf354bcda8bae12dc9cfc0d1989d74c6.jpeg)

---

<div class="post-metadata">

**Author:** ![WallaceKelly](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/wallacekelly/32/5046_2.png) [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Post date:** [March 21, 2025, 7:30pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/16 "2025-03-21T19:30:57Z")

</div>

Ah, right. I could have anticipated that for you. 🫠

So with 2.x, Canton added the concept of _users_ in addition to _parties_.

- The default for Navigator 1.x was to login with _parties_. That’s why you see `participant::12203...` in the old version of Navigator.
- The default for Navigator 2.x is to login with _users_. I’m _guessing_ that your participant is not yet configured with a user. Possibly that’s why the drop-down is empty.

The two solutions for you are to either (1) setup _users_ in your participant or (2) tell Navigator to login with _parties_ instead of _users_.

You can see the option to revert to the party-based login by running the following:

```haskell
docker run -it --rm digitalasset/daml-sdk:2.10.0 daml navigator server --help

```

```haskell
Usage: navigator [server|dump-graphql-schema|create-config] [options] <args>...

  -h, --help prints this usage text
        :
        :
  --feature-user-management <value>
        By default, the login screen is now populated by
        quering the user mgmt service. Disable to query
        party mgmt instead (the pre-2.0 default).

```

Try `--feature-user-management false` as a quick solution for using Navigator:

```haskell
image: digitalasset/daml-sdk:2.10.0
command: ["daml", "navigator", "server", "–port", "7500", "--feature-user-management", "false"]
args: ["zsor-participant-canton-participant", "4001"]

```

---

<div class="post-metadata">

**Author:** ![pratikkedia](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@pratikkedia](https://forum.canton.network/u/pratikkedia)\
**Post date:** [March 21, 2025, 8:14pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/17 "2025-03-21T20:14:13Z")

</div>

![image](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/a/ab7563aa229a2900ec395f9287b6b95f5ba2a614.jpeg)  
now templates are being seen which i uploaded  
Thanks so much

---

<div class="post-metadata">

**Author:** ![pratikkedia](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@pratikkedia](https://forum.canton.network/u/pratikkedia)\
**Post date:** [March 24, 2025, 12:51pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/18 "2025-03-24T12:51:26Z")

</div>

We have recently encountered an issue while uploading DAR files to my Canton participant, and I wanted to share my experience .

### **Issue:**

While uploading multiple DAR files to my Canton participant, one of the uploads failed with the following error:

```haskell
An exception was thrown during the upload-dar command
- GRPCIOTimeout

```

This occurred while uploading `sor-mvp-init-1.2.22.dar` , which is 5.1MB in size. The error message suggests that the DAR file size might exceed the gRPC maximum message size, which is typically set to 4MB by default.

### **My Setup:**

- **Participant Configuration:**

```haskell
ledger-api {
    address = "0.0.0.0"
    port = 4001
    postgres-data-source.synchronous-commit = off
    max-inbound-message-size = 209715200
    command-service.max-commands-in-flight = 100
    max-contract-state-cache-size = 100
    max-contract-key-state-cache-size = 100
    max-transactions-in-memory-fan-out-buffer-size = 100
}

```

- **DAR File Sizes:**
  - `sor-mvp-data-dependencies-1.2.6.dar` ( Uploaded successfully)
  - `sor-mvp-models-1.2.22.dar` (Uploaded successfully)
  - `sor-mvp-integration-acord-1.2.0.dar` ( Uploaded successfully)
  - `sor-mvp-init-1.2.22.dar` ( Failed due to GRPCIOTimeout)

### **Possible Causes:**

#### **1. Increase gRPC Maximum Message Size**

Since my participant configuration already sets `max-inbound-message-size = 209715200` (200MB), the issue might not be the default 4MB limit

I have set the max-inbound-message-size = 209715200 as we have discussed  
and we are using port forward cmd while we upload the dar

daml ledger upload-dar --host=127.0.0.1 --port=4001 /Users/zinnia\_india/Documents/qa\_deployment/deleting\_daml\_backup/SOR-DAML/.packages/init/.daml/dist/sor-mvp-init-1.2.22.dar

Port forward cmd

kubectl port-forward svc/partcipant-service-name 4001:4001 -n canton

and this cmd says connection lost and ledger participant pod get restarted when we upload dar

---

<div class="post-metadata">

**Author:** ![WallaceKelly](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/wallacekelly/32/5046_2.png) [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Post date:** [March 24, 2025, 12:59pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/19 "2025-03-24T12:59:01Z")

</div>

@pratikkedia Would you be willing to move your new question to a new post, since it’s not really related to Navigator? It’s just helpful in the long term to keep threads centered around a single topic. 🙂

---

<div class="post-metadata">

**Author:** ![pratikkedia](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@pratikkedia](https://forum.canton.network/u/pratikkedia)\
**Post date:** [March 24, 2025, 1:52pm UTC](https://forum.canton.network/t/dar-uploaded-but-no-templates-in-daml-navigator-minikube-canton-setup/7828/20 "2025-03-24T13:52:30Z")

</div>

done created new topic
