Documentshow-to-make-sure-open-source-server-is-running-correctly

How to make sure open source server is running correctly

The open source server is built on the MEAN stack. Check the database, Node and the port, then check the player.

This applies to the open source server. See Open Source vs Self Hosted. Support for it is through the community.

On the server, make sure

  1. MongoDB (mongod) runs without errors and listens on port 27017.
  2. Node is running, and its console shows a message saying it is listening at port 3000.
  3. You watch the Node.js command console for errors.
  4. Port 3000 is open for external access on the server.
  5. The server URL loads in Chrome and shows the server UI.

If the player is not reported at the server

  1. Check that the Pi player can ping the server address.
  2. Make sure port 3000 is included in the server field on the Pi player.
  3. Try the address with the http:// prefix, not just the address and port.
    http://{{your server address}}:3000
    
    instead of
    {{your server address}}:3000
    
  4. If you edited package.json, check it for syntax errors.
  5. Check that no firewall is blocking port 3000.
  6. Check the player log:
    tail -200 /home/pi/forever_log