Installing on EC2 - Installer Did Not Complete


#1

Hi Simon
I’m trying to install MIMO community in AWS in a EC2 instance, I create a count in mailgun, I put all the information SMTP, I update the DNS domain in Route 53 AWS, I have open 443 and 80 ports.
but I have a error.

Writing configs to production.vars. Then we’ll start the magic
Added congus.com as primary domain
Added https://dashboard.xxxxx.com as dashboard url
Added https://api.xxxxx.com as API url
Added smtp.mailgun.org as SMTP hostname
Added 2525 as SMTP port
Added postmaster@sandboxc5cfxxxxxx329f5790ab3605ca84.mailgun.org as SMTP user
Added xxxxxxx@gmail.com as admin user
Added xxxxxxx@gmail.com as let’s encrypt user
Removing network mimo_default
WARNING: Network mimo_default not found.
Pulling redis … done
Pulling db … done
Pulling nginx … done
Pulling nginx-gen … done
Pulling api … done
Pulling dashboard … done
Pulling splash … done
Pulling worker … done
Creating network “mimo_default” with the default driver
Creating mimo_redis_1 … done
Creating mimo_db_1 … done
Creating mimo_worker_1 … done
Creating nginx … done
Creating mimo_api_1 … done
Creating nginx-docker-gen … done
Creating mimo_splash_1 … done
Creating mimo_dashboard_1 … done

Starting MIMO. Please wait while the installation completes…
If this is the first time you’ve installed MIMO, it may take a few minutes to generate your keys
[ERROR] MIMO installation did not complete successfully…

Run ./docker-logs.sh for more information and try again.


Introducing the MIMO Community Edition - Installation on Digital Ocean
#2

Thanks for giving the Beta release a try!

Update the installer:

git pull

Make sure you do this in /var/mimo (or whatever directory you’re using).

Then run the installer in the foreground with TEST enabled. Enabling test mode will ensure the let’s encrypt certs don’t continually get requested.

FOREGROUND=1 TEST=1 ./docker-install.sh

Post the output of the logs where possible (or see if you can see the error).

Note: The test certificates will throw an error when you load the dashboard. Remove the TEST flag and FOREGROUND flag and it should work (after the installer completes).


#3

I actually just ran the installer and it failed for me too. We’ve fixed the problem - a build’s on its way.

Try running the installer again WITHOUT the flags - if it fails again. Let us know.


#4

yes it worked now,

but I have a error when I add unifi AP

The AP show the SSID but when he tries to connect show this

imagen


#5

Can you send the full URL that you’re redirected to please.

The one from the browser.


#6

HI
this is the URL

http://s.oh-mimo.com/99967592289567?cmd=login&mac=FF-FF-FF-FF-FF-FF&apname=undefined&vcname=instant-C6:3C:E8


#7

That’s the preview URL.

That’s not the URL you’re redirected to when you connect to the ap.

What do you get when you connect to the ap and visit a non-ssl site?


#8

this is the URL if I go to non-ssl site.

http://s.oh-mimo.com/guest/s/9z9wzqfe?id=9c:b7:0d:bf:91:e0&ap=f0:9f:c2:56:2f:5e&t=1529969348&url=http:%2F%2Fwww.elempleo.com%2F&ssid=freewifi


#9

Ah! I see the issue - you’re being redirected to our enterprise version.

We’ll update this today - I’ll let you know when it’s live.


#10

If you run the installer again, it should pull the most recent version of MIMO.

Then, delete your UniFi integration and re-create.

This should add the correct splash redirect URL to your UniFi controller - I haven’t tested it our side though so your help is appreciated!

Alternatively, you can change some details manually in your controller.


#11

I’m going to create it again from 0, delete all containers and images.


#12

Thanks for the help :slight_smile:


#13

A post was split to a new topic: Installation failing to complete


#14

is working but it shows the following message when I try to open URL.


#16

Can you send the full URL again please.


#17

http://splash.congus.com/


#18

This is the URL that redirects me when I try to go to internet

http://splash.congus.com/


#19

We need all the other params - can you send over the whole url please.


#20

http://splash.congus.com/guest/s/9z9wzqfe/?id=9c:b7:0d:bf:91:e0&ap=f0:9f:c2:56:2f:5e&t=1530378307&url=http:%2F%2Fwww.elempleo.com%2F&ssid=Prueba16


#21

When you’re connected to the UniFi - what happens?