# Hosting Daml Finance App on Daml Hub

**URL:** <https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460>\
**Category:** App Development\
**Tags:** damlhub\
**Created:** [October 19, 2022, 7:03pm UTC](https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460 "2022-10-19T19:03:04Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![BrunoRTL](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@BrunoRTL](https://forum.canton.network/u/BrunoRTL)\
**Post date:** [October 19, 2022, 7:03pm UTC](https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460/1 "2022-10-19T19:03:04Z")

</div>

Hi all,

I am currently trying to host the daml finacne app on daml hub but I am running into some problems.

When uploading the dar files it gives me the following error:

Error installing artifact: Error installing artifact: LF V1.15 unsupported.

I hope someone can help me on that.

Here is a link for the Daml Finance App github for reference:

> **[GitHub - digital-asset/daml-finance-app](https://github.com/digital-asset/daml-finance-app)**
>
> Contribute to digital-asset/daml-finance-app development by creating an account on GitHub.

Thank you

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [October 19, 2022, 7:04pm UTC](https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460/2 "2022-10-19T19:04:41Z")

</div>

Daml-LF 1.15 is still only a preview in SDK 2.4. Unfortunately you cannot use preview versions on Daml Hub.

---

<div class="post-metadata">

**Author:** ![BrunoRTL](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@BrunoRTL](https://forum.canton.network/u/BrunoRTL)\
**Post date:** [October 19, 2022, 7:33pm UTC](https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460/3 "2022-10-19T19:33:27Z")

</div>

Thank you!

The only reason why I wanted to deploy it to the hub was because I was able to run it smoothly on mac, however when I try to run it on windows, after the commands:

./script/get-dependencies.sh  
daml start

I got the following error: Passthrough is not supported, GL is disabled, ANGLE is

Do you know why that is?

---

<div class="post-metadata">

**Author:** ![georg](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/georg/32/368_2.png) [@georg](https://forum.canton.network/u/georg)\
**Post date:** [October 19, 2022, 7:39pm UTC](https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460/4 "2022-10-19T19:39:59Z")

</div>

You mention running `get-dependencies.sh` - are you running this in WSL?

When running `get-dependencies.bat` (ie. the Windows script) I realized that it’s outdated in that it doesn’t download the right dependencies. I’ll look into fixing this.

Could you post the full logs from `daml start` so that I can better understand the context of the error?

EDIT: [Fix get-dependencies.bat by GeorgSchneider · Pull Request #50 · digital-asset/daml-finance-app · GitHub](https://github.com/digital-asset/daml-finance-app/pull/50) should fix the `get-dependencies.bat` script.

---

<div class="post-metadata">

**Author:** ![BrunoRTL](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@BrunoRTL](https://forum.canton.network/u/BrunoRTL)\
**Post date:** [October 19, 2022, 8:15pm UTC](https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460/5 "2022-10-19T20:15:43Z")

</div>

Hi Georg, unfortunately I couldnt replicate the error to get you the complete log.

I was running on the regular terminal without WSL. On the Readme the linux/mac and windows instructions are the same.

Nonetheless, I will try the fix you provided. Thank you!

---

<div class="post-metadata">

**Author:** ![georg](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/georg/32/368_2.png) [@georg](https://forum.canton.network/u/georg)\
**Post date:** [October 19, 2022, 8:24pm UTC](https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460/6 "2022-10-19T20:24:59Z")

</div>

Indeed, the readme does contain wrong instructions for Windows. Fixing this now.

Pull the latest from `main` and run:

```haskell
./script/get-dependencies.bat
daml start

```

(note the different file ending `.bat`)

---

<div class="post-metadata">

**Author:** ![BrunoRTL](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@BrunoRTL](https://forum.canton.network/u/BrunoRTL)\
**Post date:** [October 19, 2022, 8:27pm UTC](https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460/7 "2022-10-19T20:27:12Z")

</div>

Yes, that fixed the issue for the dependencies!  
However, once I run daml start I get this:

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/3/3833e995ab7f8953495643a83b9c11c8747d055f.png)

---

<div class="post-metadata">

**Author:** ![georg](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/georg/32/368_2.png) [@georg](https://forum.canton.network/u/georg)\
**Post date:** [October 19, 2022, 8:34pm UTC](https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460/8 "2022-10-19T20:34:12Z")

</div>

Can you paste the contents of the `.lib` directory? Maybe there was an error downloading this file.

---

<div class="post-metadata">

**Author:** ![BrunoRTL](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@BrunoRTL](https://forum.canton.network/u/BrunoRTL)\
**Post date:** [October 20, 2022, 3:03pm UTC](https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460/9 "2022-10-20T15:03:39Z")

</div>

This is the contents of .lib

 ![C0CDC2AE-4107-4E2D-9C20-D4FC2D3B0B6C](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/4/43c0d4b5a1e064c201cac5f3d984c979f3fa33ab.jpeg)

---

<div class="post-metadata">

**Author:** ![georg](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/georg/32/368_2.png) [@georg](https://forum.canton.network/u/georg)\
**Post date:** [October 20, 2022, 4:39pm UTC](https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460/10 "2022-10-20T16:39:00Z")

</div>

So that package is indeed missing. But it’s referenced in `get-dependencies.bat` here: [daml-finance-app/get-dependencies.bat at 0f322d5b67c498dd40a96f9e603244c47eb05efe · digital-asset/daml-finance-app · GitHub](https://github.com/digital-asset/daml-finance-app/blob/0f322d5b67c498dd40a96f9e603244c47eb05efe/script/get-dependencies.bat#L25)

Can you post the logs from `get-dependencies.bat` after cleaning out `.lib/`?

---

<div class="post-metadata">

**Author:** ![BrunoRTL](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@BrunoRTL](https://forum.canton.network/u/BrunoRTL)\
**Post date:** [October 21, 2022, 4:12pm UTC](https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460/11 "2022-10-21T16:12:39Z")

</div>

Hi Georg,

I’m trying a different approach. I’m now trying to start the application in a linux vm

The get-dependencies is working fine, however, when I execute daml start I get the following message:

 ![433A5C62-AA77-4015-BE77-D526594A9864](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/7/7487d19227e345000347a5846815af3e425858fa.jpeg)

---

<div class="post-metadata">

**Author:** ![georg](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/georg/32/368_2.png) [@georg](https://forum.canton.network/u/georg)\
**Post date:** [October 25, 2022, 7:16pm UTC](https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460/12 "2022-10-25T19:16:31Z")

</div>

That is odd - could it be that the VM is sized too small for Canton to run? I’d suggest at least 8gb memory and a decent CPU.

On your previous attempt on Windows, could you post the logs from `get-dependencies.bat` after cleaning out `.lib/`? I think you’re missing just that one dependency, which I suspect failed to download for some reason.

---

<div class="post-metadata">

**Author:** ![BrunoRTL](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@BrunoRTL](https://forum.canton.network/u/BrunoRTL)\
**Post date:** [October 31, 2022, 7:56pm UTC](https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460/13 "2022-10-31T19:56:12Z")

</div>

Hi Georg,

Fortunately I could fix the issue regarding the get-dependencies. Unfortunately I dont have access to the environment I was trying to run it previously to send you the previous logs.

I encountered a different error running locally on a Mac machine. I just cloned the repository again so I can get the updated version of the application, however, when I try the command “daml start” I get the following error:

 ![A15F715C-C20B-4129-BCAD-2B23B7A4770D](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/d/d0f1868fbfc01a11aaaa8efa3dcda30754e5f7b3.jpeg)

ps: It was working fine before getting the new version…

Thanks

---

<div class="post-metadata">

**Author:** ![georg](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/georg/32/368_2.png) [@georg](https://forum.canton.network/u/georg)\
**Post date:** [November 2, 2022, 9:28am UTC](https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460/14 "2022-11-02T09:28:24Z")

</div>

This is an issue with one of our scenarios when you run it on the 31st of a month 🙂 we’ll look into fixing it, but it should work if you run it on any other day (eg. today). Let me know in case you’re still encountering issues.

---

<div class="post-metadata">

**Author:** ![BrunoRTL](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@BrunoRTL](https://forum.canton.network/u/BrunoRTL)\
**Post date:** [November 3, 2022, 6:57pm UTC](https://forum.canton.network/t/hosting-daml-finance-app-on-daml-hub/5460/15 "2022-11-03T18:57:53Z")

</div>

Hi Georg,

Thank you for your support.

Everything is working fine now I was able to fix the grpc error by upgrading the memory of the ec2. I’ve changed it from a t2.medium 8gb to a t2.xlarge 16gb and it fixed the issue
