Dashboard in self hosting


#1

How to open dashboard in self hosted server application ?


#2

Hello,
so installation script should install nginx, which is bind to 80 port so Countly should be the root of your server domain.

If you have local server it would be

localhost
or
http://127.0.0.1/

for remote server try remote server ip address or domain assigned to that server


#3

I had followed the steps at

While accessing http://127.0.0.1/dashboard#/ I get the error

Unable to connect
Firefox can’t establish a connection to the server at 127.0.0.1.
What files do I need to update for configuration and how?


#4

This is very old documentation, for latest versions please use this:

in most cases just running install script is enough


#5

Yes, Before following these steps I was able to open dashboard locally but I was not able to see my android device/application details in dashboard so I followed few steps from there for MangoDB installation but the problem is I am stuck with the error cited before i.e not able to open/access dashboard


#6

If error says you are not able to connect, it means that even nginx is not running.

Check if nginx is runing

ps ax | grep nginx

What OS version are you using? What Countly version?


#7

Thanks for a prompt response. I am new with Ubuntu and countly.

Here is required details

OS: Ubuntu 18.04 LTS , Codename: bionic,

After executing ps ax | grep nginx in terminal

763 ? Ss 0:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
764 ? S 0:00 nginx: worker process
765 ? S 0:00 nginx: worker process
766 ? S 0:00 nginx: worker process
767 ? S 0:00 nginx: worker process.

I restarted the nginx

service nginx restart

But still unable to workout


#8

Ok, so nginx works.

Can you provide:

  1. Countly version
  2. logs inside countly directory, as countly/log/countly-api.log and countly/log/countly-dashboard.log

#9

Thanks I managed to start countly by official site.