# Install Mosip V2

**URL:** <https://community.mosip.io/t/install-mosip-v2/1532>\
**Category:** Developer\
**Created:** [August 26, 2024, 10:26am UTC](https://community.mosip.io/t/install-mosip-v2/1532 "2024-08-26T10:26:35Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Hoan\_Nguyen\_Duc](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/hoan_nguyen_duc/32/1300_2.png) [@Hoan\_Nguyen\_Duc](https://community.mosip.io/u/Hoan_Nguyen_Duc)\
**Post date:** [October 17, 2024, 2:01am UTC](https://community.mosip.io/t/install-mosip-v2/1532/21 "2024-10-17T02:01:07Z")

</div>

Thank you so much,  
I look forward to hearing from you.

---

<div class="post-metadata">

**Author:** ![Hoan\_Nguyen\_Duc](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/hoan_nguyen_duc/32/1300_2.png) [@Hoan\_Nguyen\_Duc](https://community.mosip.io/u/Hoan_Nguyen_Duc)\
**Post date:** [December 19, 2024, 11:48am UTC](https://community.mosip.io/t/install-mosip-v2/1532/23 "2024-12-19T11:48:05Z")

</div>

Hi Sir,  
Follow Mosip on-prime v3,  
I have slack, But I can not install alerting:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/6/6fc62c2e02454493c3161117812006d5ba6a7c57.png)  
Additionally, I’m not clearly in step setup Monitoring .  
Please help me check. Thank you so much.  
 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/d/d93e28c445db4914a5ffeb58f28b0a3c895921fd.png)

---

<div class="post-metadata">

**Author:** ![Hoan\_Nguyen\_Duc](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/hoan_nguyen_duc/32/1300_2.png) [@Hoan\_Nguyen\_Duc](https://community.mosip.io/u/Hoan_Nguyen_Duc)\
**Post date:** [December 23, 2024, 8:28am UTC](https://community.mosip.io/t/install-mosip-v2/1532/24 "2024-12-23T08:28:08Z")

</div>

Hi Swahsek,  
Pls anyone for help?

---

<div class="post-metadata">

**Author:** ![Mohan\_Raj](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/mohan_raj/32/379_2.png) [@Mohan\_Raj](https://community.mosip.io/u/Mohan_Raj)\
**Post date:** [January 2, 2025, 7:41am UTC](https://community.mosip.io/t/install-mosip-v2/1532/25 "2025-01-02T07:41:55Z")

</div>

Hi @Hoan_Nguyen_Duc,

Wish you a Happy New Year! 🎉.  
We wanted to let you know that we were on a holiday break recently, which may have caused some delays in our communication.

I think the issue is related with the monitoring deployment where you are using kube-prometheus-stack helm chart to deploy “monitoring” instead of “rancher-monitoring” helm chart because of that " alertmanager-rancher-monitoring-alertmanager" secret is not being generated and the alertmanager is not able to find the secret as mentioned in the above logs.

Please follow this documentation for more information to deploy monitoring - [Link](https://github.com/mosip/k8s-infra/blob/develop/monitoring/README.md)

Note: Rancher-monitoring can also be installed via cluster-tools from rancher which is mentioned in the above documentation.

Best Regards  
Team MOSIP

---

<div class="post-metadata">

**Author:** ![Hoan\_Nguyen\_Duc](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/hoan_nguyen_duc/32/1300_2.png) [@Hoan\_Nguyen\_Duc](https://community.mosip.io/u/Hoan_Nguyen_Duc)\
**Post date:** [January 6, 2025, 8:37am UTC](https://community.mosip.io/t/install-mosip-v2/1532/26 "2025-01-06T08:37:46Z")

</div>

Hi Mohan\_Raj,

Thank you for your support. Happy new year!

Follow the guideline from your link, but I don’t have rancher-monitoring in rancher ui, and value.yaml in monitoring directory too. Sorry, I’m a newbie with ranchers.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/a/a8c3395a6679aac02988d0724a64ab0b41b208a6.png)  
 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/4/4b18bc8c182093b48fd7078bf7fbf08869b1d671.png)

---

<div class="post-metadata">

**Author:** ![Mohan\_Raj](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/mohan_raj/32/379_2.png) [@Mohan\_Raj](https://community.mosip.io/u/Mohan_Raj)\
**Post date:** [January 6, 2025, 10:33am UTC](https://community.mosip.io/t/install-mosip-v2/1532/27 "2025-01-06T10:33:59Z")

</div>

Hii @Hoan_Nguyen_Duc,

Since you don’t have an option to install rancher-monitoring via cluster-tools in rancher you can just follow the below steps:

1. Clone the “k8s-infra” repository.

```auto
git clone https://github.com/mosip/k8s-infra.git 

```

1. Checkout to develop branch.

```auto
git checkout develop

```

1. Move to monitoring directory and run the install script.

```auto
cd monitoring
./install.sh

```

The Above should deploy monitoring within your cluster.

Best Regards  
Team MOSIP

---

<div class="post-metadata">

**Author:** ![Hoan\_Nguyen\_Duc](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/hoan_nguyen_duc/32/1300_2.png) [@Hoan\_Nguyen\_Duc](https://community.mosip.io/u/Hoan_Nguyen_Duc)\
**Post date:** [January 7, 2025, 4:45am UTC](https://community.mosip.io/t/install-mosip-v2/1532/28 "2025-01-07T04:45:18Z")

</div>

Hi Mohan\_Raj,  
Thank you for your information. I have some issues in attached image.  
I really hope that the Mosip team can arrange time to help me with a short remote session to double check.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/7/7389fc198cd68cadb975813930b4edd816136fe5.png)

---

<div class="post-metadata">

**Author:** ![Mohan\_Raj](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/mohan_raj/32/379_2.png) [@Mohan\_Raj](https://community.mosip.io/u/Mohan_Raj)\
**Post date:** [January 7, 2025, 7:12am UTC](https://community.mosip.io/t/install-mosip-v2/1532/29 "2025-01-07T07:12:16Z")

</div>

Hii @Hoan_Nguyen_Duc,

Can you please run the below command and double check if the issue still persists.

```auto
helm -n cattle-monitoring-system install rancher-monitoring-crd mosip/rancher-monitoring-crd --timeout 6m --wait --debug

```

Best Regards  
Team MOSIP

---

<div class="post-metadata">

**Author:** ![Hoan\_Nguyen\_Duc](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/hoan_nguyen_duc/32/1300_2.png) [@Hoan\_Nguyen\_Duc](https://community.mosip.io/u/Hoan_Nguyen_Duc)\
**Post date:** [January 7, 2025, 8:30am UTC](https://community.mosip.io/t/install-mosip-v2/1532/30 "2025-01-07T08:30:13Z")

</div>

Hi Mohan\_Raj,  
This is output:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/b/b6304d3c796966853db4d78a210139e609426c30.png)

---

<div class="post-metadata">

**Author:** ![Mohan\_Raj](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/mohan_raj/32/379_2.png) [@Mohan\_Raj](https://community.mosip.io/u/Mohan_Raj)\
**Post date:** [January 7, 2025, 10:04am UTC](https://community.mosip.io/t/install-mosip-v2/1532/31 "2025-01-07T10:04:21Z")

</div>

Hi @Hoan_Nguyen_Duc,

The Above error that you are facing is because already an existing installation of monitoring exists. please run the below commands:

```auto
helm -n cattle-monitoring-system delete monitoring-crd
helm -n $NS install rancher-monitoring-crd mosip/rancher-monitoring-crd --timeout 5m --wait --debug

```

The Above should resolve the error.

Best Regards  
Team MOSIP

---

<div class="post-metadata">

**Author:** ![Hoan\_Nguyen\_Duc](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/hoan_nguyen_duc/32/1300_2.png) [@Hoan\_Nguyen\_Duc](https://community.mosip.io/u/Hoan_Nguyen_Duc)\
**Post date:** [January 17, 2025, 11:08am UTC](https://community.mosip.io/t/install-mosip-v2/1532/34 "2025-01-17T11:08:38Z")

</div>

Hi @Mohan_Raj , @syed.salman  
I have tried to install external component, and it wasn’t success, so after some changes, I want to re -install, Please guide me how to change the install-all.sh for it. Thank you so much.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/6/6392c7c88301615a522f934e6d9d304acbaab17b.png)

---

<div class="post-metadata">

**Author:** ![Hoan\_Nguyen\_Duc](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/hoan_nguyen_duc/32/1300_2.png) [@Hoan\_Nguyen\_Duc](https://community.mosip.io/u/Hoan_Nguyen_Duc)\
**Post date:** [January 20, 2025, 4:43am UTC](https://community.mosip.io/t/install-mosip-v2/1532/35 "2025-01-20T04:43:51Z")

</div>

Hi @Mohan_Raj @svahsek @syed.salman  
One question pls.  
Pls guide me which pretext I need to provide in this step?

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/c/c7cb4824564c076435bcbf473c6e7754dc2cd893.png)

---

<div class="post-metadata">

**Author:** ![Mohan\_Raj](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/mohan_raj/32/379_2.png) [@Mohan\_Raj](https://community.mosip.io/u/Mohan_Raj)\
**Post date:** [January 20, 2025, 5:24am UTC](https://community.mosip.io/t/install-mosip-v2/1532/36 "2025-01-20T05:24:31Z")

</div>

Hii @Hoan_Nguyen_Duc  
You can either provide any random value or just enter for “pretext”, it just creates prefix for the minio buckets. It is not mandatory.

Best Regards  
Team MOSIP

---

<div class="post-metadata">

**Author:** ![Mohan\_Raj](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/mohan_raj/32/379_2.png) [@Mohan\_Raj](https://community.mosip.io/u/Mohan_Raj)\
**Post date:** [January 20, 2025, 5:48am UTC](https://community.mosip.io/t/install-mosip-v2/1532/37 "2025-01-20T05:48:15Z")

</div>

@Hoan_Nguyen_Duc

By running the “install-all.sh” script it tries to re-install all the external-services from scratch and hence few helm releases were already installed the script fails, so in this case you can install a specific external service which has failed by running “install.sh” script from their respective directories instead of running “install-all.sh” script mulitple times.

Best Regards  
Team MOSIP

---

<div class="post-metadata">

**Author:** ![Hoan\_Nguyen\_Duc](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/hoan_nguyen_duc/32/1300_2.png) [@Hoan\_Nguyen\_Duc](https://community.mosip.io/u/Hoan_Nguyen_Duc)\
**Post date:** [January 20, 2025, 6:31am UTC](https://community.mosip.io/t/install-mosip-v2/1532/38 "2025-01-20T06:31:02Z")

</div>

Hi @Mohan_Raj ,  
Thank you so much for your information.  
So it is done for installing external components right?

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/d/d24e09dabfbfeed8159387264904459ba85c4ef7.png)

---

<div class="post-metadata">

**Author:** ![Hoan\_Nguyen\_Duc](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/hoan_nguyen_duc/32/1300_2.png) [@Hoan\_Nguyen\_Duc](https://community.mosip.io/u/Hoan_Nguyen_Duc)\
**Post date:** [January 20, 2025, 7:59am UTC](https://community.mosip.io/t/install-mosip-v2/1532/39 "2025-01-20T07:59:25Z")

</div>

One more question,  
where I can find the properties files in this step:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/9/92d26e2d553e33661790c4bdc4ea55e9e60cbe61.png)  
And, for developing the environment for testing, Can you advise me which Mosip module I can install first and in this infrastructure behind, can I install all Mosip modules?  
 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/c/c9697081af4d845c364ee69798482cb923168a9d.png)

---

<div class="post-metadata">

**Author:** ![Hoan\_Nguyen\_Duc](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/hoan_nguyen_duc/32/1300_2.png) [@Hoan\_Nguyen\_Duc](https://community.mosip.io/u/Hoan_Nguyen_Duc)\
**Post date:** [January 20, 2025, 8:08am UTC](https://community.mosip.io/t/install-mosip-v2/1532/40 "2025-01-20T08:08:07Z")

</div>

![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/2X/5/5df1ca5be5cb8d530f1f231e404a343482c3957e.png)

---

<div class="post-metadata">

**Author:** ![Mohan\_Raj](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/mohan_raj/32/379_2.png) [@Mohan\_Raj](https://community.mosip.io/u/Mohan_Raj)\
**Post date:** [January 20, 2025, 10:24am UTC](https://community.mosip.io/t/install-mosip-v2/1532/41 "2025-01-20T10:24:37Z")

</div>

@Hoan_Nguyen_Duc,

can you please let me know which git branch you are using…?  
And for when the script asks for the user input for pulling docker images from private docker registory then please provide the input “no” as we will be using mosip docker registory and it is public.

Best Regards  
Team MOSIP

---

<div class="post-metadata">

**Author:** ![Hoan\_Nguyen\_Duc](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/hoan_nguyen_duc/32/1300_2.png) [@Hoan\_Nguyen\_Duc](https://community.mosip.io/u/Hoan_Nguyen_Duc)\
**Post date:** [January 20, 2025, 10:31am UTC](https://community.mosip.io/t/install-mosip-v2/1532/42 "2025-01-20T10:31:32Z")

</div>

Hi @Mohan_Raj ,  
I’m following :[On-Prem without DNS Installation Guidelines | MOSIP Docs 1.2.0](https://docs.mosip.io/1.2.0/deploymentnew/v3-installation/on-prem-without-dns)

---

<div class="post-metadata">

**Author:** ![Mohan\_Raj](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/mohan_raj/32/379_2.png) [@Mohan\_Raj](https://community.mosip.io/u/Mohan_Raj)\
**Post date:** [January 20, 2025, 10:36am UTC](https://community.mosip.io/t/install-mosip-v2/1532/43 "2025-01-20T10:36:32Z")

</div>

@Hoan_Nguyen_Duc,

can you run `git branch` command and let me know the output.

[Previous page](https://community.mosip.io/t/install-mosip-v2/1532.md?page=1)

[Next page](https://community.mosip.io/t/install-mosip-v2/1532.md?page=3)
