npm / npme-installer

npm Enterprise installer
https://www.npmjs.com/enterprise
Other
35 stars 21 forks source link

Troubleshooting Guide - for NPM Enterprise. #157

Open kiranshashiny opened 7 years ago

kiranshashiny commented 7 years ago

Is there a Supporting document or a guide that tells how to check for various things if things are not working right when installing NPME, and the admin console wont come up on the browser.

e.g; I have installed NPME on Cent OS 7, Docker installation is good, the port 8800 is open, I ignored something about a device-mapper as I was not interested in storage ( as part of evaluation of the product ). I am on supported CentOS version, and server has enough disk space.

I have tried different URL like localhost, hostname:8800 and external IP address, nothing works.

But yet - the Enterprise admin console on the browser wont launch !

]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 28304a932f45 quay.io/replicated/replicated-ui:current "/usr/bin/replicated-" 18 hours ago Up 18 hours 0.0.0.0:8800->8800/tcp replicated-ui

[root@dpek134 ~]# netstat -ant |grep 8800 tcp6 0 0 :::8800 :::* LISTEN

[root@dpek134 ~]# npm -v 4.1.2 [root@dpek134 ~]# node -v v7.7.4

[root@dpek134 ~]# cat /etc/os-release NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"

[root@dpek134 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/vda1 80G 5.3G 75G 7% / devtmpfs 3.9G 0 3.9G 0% /dev tmpfs 3.9G 88K 3.9G 1% /dev/shm tmpfs 3.9G 377M 3.5G 10% /run tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup tmpfs 783M 0 783M 0% /run/user/1001

Firewall is disabled.

[root@dpek134 ~]# systemctl disable firewalld Removed symlink /etc/systemd/system/basic.target.wants/firewalld.service. Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.