# Primero v2 install issue

**URL:** <https://primero.supporthub.dev/forum/t/primero-v2-install-issue/587>\
**Category:** Primero IMS\
**Created:** [July 13, 2022, 10:12am UTC](https://primero.supporthub.dev/forum/t/primero-v2-install-issue/587 "2022-07-13T10:12:30Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![irlawrence](https://primero.supporthub.dev/forum/user_avatar/primero.supporthub.dev/irlawrence/32/8_2.png) [@irlawrence](https://primero.supporthub.dev/forum/u/irlawrence)\
**Post date:** [July 20, 2022, 10:47am UTC](https://primero.supporthub.dev/forum/t/primero-v2-install-issue/587/21 "2022-07-20T10:47:53Z")

</div>

I think we need to take a step back a bit. These are my assumption so please correct me if I am wrong

- 
  1. You have a machine (called deploy machine 1) which you have your ansible secrets.yml and inventory.yml on.

- 
  1. You have set up a vm (called target machine 2) with an IP and domain name which Primero will be deployed to

Can you ssh as a normal user (not root) from deploy machine 1 to target machine 2?

---

<div class="post-metadata">

**Author:** ![user34](https://primero.supporthub.dev/forum/letter_avatar_proxy/v4/letter/u/e274bd/32.png) [@user34](https://primero.supporthub.dev/forum/u/user34)\
**Post date:** [July 20, 2022, 11:01am UTC](https://primero.supporthub.dev/forum/t/primero-v2-install-issue/587/22 "2022-07-20T11:01:55Z")

</div>

No, I was under the assumption that this installation was all done on 1 machine with a url to login to?  
I have a private cloud setup running on vmware - I deployed an ubuntu server instance and started the v2-deploy guide? - I assumed this was what is needed?

---

<div class="post-metadata">

**Author:** ![irlawrence](https://primero.supporthub.dev/forum/user_avatar/primero.supporthub.dev/irlawrence/32/8_2.png) [@irlawrence](https://primero.supporthub.dev/forum/u/irlawrence)\
**Post date:** [July 20, 2022, 11:27am UTC](https://primero.supporthub.dev/forum/t/primero-v2-install-issue/587/23 "2022-07-20T11:27:55Z")

</div>

Here is the [guide for self hosting](https://primero.supporthub.dev/forum/t/self-hosting-primero-v2-installation/434)  
You need to have a fully qualified domain name to use since the security cert needs to bind to it. Primero will not install at all on an unsecured connection. This is by design due to the nature of the information we are working with  
If you would like to test and install locally its better to set up a [development instance](https://primero.supporthub.dev/forum/t/installing-primero-v2-for-development-on-ubuntu-18-04/300)

---

<div class="post-metadata">

**Author:** ![user34](https://primero.supporthub.dev/forum/letter_avatar_proxy/v4/letter/u/e274bd/32.png) [@user34](https://primero.supporthub.dev/forum/u/user34)\
**Post date:** [July 20, 2022, 11:44am UTC](https://primero.supporthub.dev/forum/t/primero-v2-install-issue/587/24 "2022-07-20T11:44:28Z")

</div>

Yeah this is the guide I followed ([Self Hosting Primero v2 - Installation](https://primero.supporthub.dev/forum/t/self-hosting-primero-v2-installation/434)) as this is a private cloud with private ips - I setup the FQDN on the domain controller pointing it to the ip of the vm? I havent even gotten past the stage where I get to install primero as it just fails trying to ssh for some reason.  
I will setup a different vm and test this setup ([Installing Primero v2 for development on Ubuntu 18.04](https://primero.supporthub.dev/forum/t/installing-primero-v2-for-development-on-ubuntu-18-04/300))

---

<div class="post-metadata">

**Author:** ![irlawrence](https://primero.supporthub.dev/forum/user_avatar/primero.supporthub.dev/irlawrence/32/8_2.png) [@irlawrence](https://primero.supporthub.dev/forum/u/irlawrence)\
**Post date:** [July 21, 2022, 8:03am UTC](https://primero.supporthub.dev/forum/t/primero-v2-install-issue/587/25 "2022-07-21T08:03:13Z")

</div>

So you cannot use private ips. It needs a public world reachable ip

![image](https://primero.supporthub.dev/forum/uploads/primero/original/1X/9b35c902555f3d846be0297dced48cb0f3a4efe4.png)

---

<div class="post-metadata">

**Author:** ![user34](https://primero.supporthub.dev/forum/letter_avatar_proxy/v4/letter/u/e274bd/32.png) [@user34](https://primero.supporthub.dev/forum/u/user34)\
**Post date:** [July 21, 2022, 8:51am UTC](https://primero.supporthub.dev/forum/t/primero-v2-install-issue/587/26 "2022-07-21T08:51:31Z")

</div>

Alright, so setup vm with public ip, setup ssh key access and follow which guide to get this working? Also does it matter if its ubuntu 22.04? or must it be 20.04?

---

<div class="post-metadata">

**Author:** ![irlawrence](https://primero.supporthub.dev/forum/user_avatar/primero.supporthub.dev/irlawrence/32/8_2.png) [@irlawrence](https://primero.supporthub.dev/forum/u/irlawrence)\
**Post date:** [July 22, 2022, 1:37pm UTC](https://primero.supporthub.dev/forum/t/primero-v2-install-issue/587/27 "2022-07-22T13:37:19Z")

</div>

It depends on what you are trying to do. If you want to practice setting up for self hosting do the first and if you want to change something for your use case do the second.  
It works on 20.04 but if you want to try to do it on 22.04 please post any findings so that the wider community can benefit 🙂

---

<div class="post-metadata">

**Author:** ![user34](https://primero.supporthub.dev/forum/letter_avatar_proxy/v4/letter/u/e274bd/32.png) [@user34](https://primero.supporthub.dev/forum/u/user34)\
**Post date:** [July 22, 2022, 1:54pm UTC](https://primero.supporthub.dev/forum/t/primero-v2-install-issue/587/28 "2022-07-22T13:54:28Z")

</div>

what I am trying to do is set it up, as we have a use case that needs it.  
Following the first guide is what I did, but as explained, it gets stuck after trying to do the ansible-playbook part. so unless there is something I did wrong in setting up the vm… the guide does not work.

[Previous page](https://primero.supporthub.dev/forum/t/primero-v2-install-issue/587.md?page=1)
