RocketChat install issues - Hanging on setup-wizard

Description

I am running Ubuntu 20.04.3 and installed RocketChat as per the instructions in the link below

Below is the output of the rocketchat.service
[Unit]
Description=The Rocket.Chat server
After=network.target remote-fs.target nss-lookup.target nginx.service mongod.service
[Service]
ExecStart=/usr/local/bin/node /opt/Rocket.Chat/main.js
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=rocketchat
User=rocketchat
Environment=MONGO_URL=mongodb://localhost:27017/rocketchat?replicaSet=rs01 MONGO_OPLOG_URL=mongodb://localhost:27017/local?replicaSet=rs01 ROOT_URL=http://localhost:3000/ PORT=3000
[Install]
WantedBy=multi-user.target

I did not do the encryption part as it is not needed for us.

Below is the nginx config for rocketchat

upstream rocket_backend {
server 127.0.0.1:3000;
}

server {
listen 80;
server_name axvmurocketchat102;
access_log /var/log/nginx/rocketchat-access.log;
error_log /var/log/nginx/rocketchat-error.log;

location / {
    proxy_pass http://rocket_backend/;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_set_header Host $http_host;

    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forward-Proto http;
    proxy_set_header X-Nginx-Proxy true;

    proxy_redirect off;
}

}

The version of mongodb is v4.0.27
node version is v12.18.4
ufw status is inactive

When I try to access the url(both via nginx and directly using port 3000), it takes me to the setup wizard and nothing happens after that. Developer option in chrome says that it fails on the following

fetch localhost/meteor/dynamic-import/fetch

The installation is done on a headless VM and is being accessed from outside on another host via VPN.

Am I missing something here?

Regards
Sabari

I had that too. It was happening when I used an email address that I’d previously used. Try registering with a different email address.

Hi Robert
Thanks for the response. This did not even get to that point of logging in. The first step after installation leads me to the setup-wizard and can’t even get past that

Hi! Welcome to our community :slight_smile:

You should really consider following the oficial documentation for deployment.

Doing it with Docker will easily get you up and running in no time:

You probably have valuable logs coming from the browser, at the developer section.

Also, check this reverse proxy for Rocket.Chat doc,

Let me know if this helps.

Thanks!