RocketChat / RocketChat/Rocket.Chat

Official Vagrant install does not work on Ubuntu Trusty 64

Open
#6,831 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

deployment
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

I installed everything using the premade Vagrant file provided in the docs: https://rocket.chat/docs/installation/automation-tools/vagrant

Once the vagrant machine comes up, I ssh'ed in and did

vagrant ssh
cd /var/www/rocket.chat
node main.js (same result with sudo node main.js)

and I get these errors
module.js:340
throw err;
^
Error: Cannot find module '/var/www/rocket.chat/main.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3

I cannot get Rocket Chat to work using the following write-ups:
https://www.digitalocean.com/community/tutorials/how-to-install-configure-and-deploy-rocket-chat-on-ubuntu-14-04
https://rocket.chat/docs/installation/manual-installation/ubuntu/snaps/
https://rocket.chat/docs/installation/manual-installation/freebsd

They all end up with similar errors but I've started with the Vagrant once since it is the easiest one to reproduce. Is anyone able to get the software to work currently?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Vagrant installation instructions linked in the issue and inspect the setup that should populate /var/www/rocket.chat. Reproduce the failure with vagrant ssh, then node main.js, and determine why main.js is missing. Done means the documented Ubuntu Trusty Vagrant installation starts Rocket.Chat successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, ubuntu
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.