Ubuntu 16.04 "cannot get /"



  • I followed the easy install instructions; I already have nodejs v8.9.3, and mysql. I had been running zoneminder on this box, however I upgraded ffmpeg so that ffmpeg -version yields "ffmpeg version 3.4.1-1~16.04.york0"

    After following the installation instructions, and starting camera.js manually with pm2, pm2 logs yields:

    0|camera | at _exceptionWithHostPort (util.js:1046:20)
    0|camera | at Server.setupListenHandle [as _listen2] (net.js:1351:14)
    0|camera | at listenInCluster (net.js:1392:12)
    0|camera | at Server.listen (net.js:1476:7)
    0|camera | at Object.<anonymous> (/opt/Shinobi/camera.js:426:8)
    0|camera | at Module._compile (module.js:635:30)
    0|camera | at Object.Module._extensions..js (module.js:646:10)
    0|camera | at Module.load (module.js:554:32)
    0|camera | at tryModuleLoad (module.js:497:12)
    0|camera | at Function.Module._load (module.js:489:3)
    0|camera | at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessContainerFork.js:80:21)
    0|camera | at Module._compile (module.js:635:30)
    0|camera | at Object.Module._extensions..js (module.js:646:10)
    0|camera | at Module.load (module.js:554:32)
    0|camera | at tryModuleLoad (module.js:497:12)

    /root/.pm2/logs/camera-out-0.log last 15 lines:
    0|camera | 2018-02-10T14:19:05-05:00 all users checked, wait to close open files and remove files over user limit
    0|camera | 2018-02-10T14:19:05-05:00 waiting to give unfinished video check some time. 3 seconds.
    0|camera | 2018-02-10T14:19:08-05:00 starting all monitors set to watch and record
    0|camera | 2018-02-10T14:19:08-05:00 Shinobi is ready.
    0|camera | NODE.JS version : v8.9.3
    0|camera |
    0|camera | FFMPEG version : 3.4.1-1~16.04.york0
    0|camera | 2018-02-10T14:26:53-05:00 Critical update 1/2 already applied
    0|camera | 2018-02-10T14:26:53-05:00 Critical update 2/2 already applied
    0|camera | 2018-02-10T14:26:54-05:00 [email protected] : size check for videos : 0
    0|camera | 2018-02-10T14:26:54-05:00 [email protected] : end of size check for videos 1/1
    0|camera | 2018-02-10T14:26:54-05:00 all users checked, wait to close open files and remove files over user limit
    0|camera | 2018-02-10T14:26:54-05:00 waiting to give unfinished video check some time. 3 seconds.
    0|camera | 2018-02-10T14:26:57-05:00 starting all monitors set to watch and record
    0|camera | 2018-02-10T14:26:57-05:00 Shinobi is ready.

    But when I go to my server in web browser all I see is:

    "Cannot GET /"

    So... where do I start?



  • Never mind... seems I forgot I have smartthings mqtt bridge running in Docker, which has a proxy port of 8080. Moved Shinobi to 8081 and it now opens in web browser.


 

Looks like your connection to Shinobi Forum was lost, please wait while we try to reconnect.