White Page - "Cannot Get /"?

  • It seems as though every time I try to reinstall/update Shinobi via Brew, and run the following:

    pm2 kill
    mv Shinobi Shinobi.old
    git clone https://github.com/ShinobiCCTV/Shinobi Shinobi -b dev
    cd Shinobi
    npm install
    npm install pm2 -g
    cp ../Shinobi.old/conf.json conf.json
    cp ../Shinobi.old/super.json super.json
    pm2 start camera.js
    pm2 start cron.js
    pm2 startup
    pm2 save

    ...when I try to login to 8080 (regular or super), I get a blank white page with plain text Cannot GET /. I have also tried updating via the superuser page (Update to Master or Update to Development), but that didn't seem to work, or at least I didn't get status and didn't see any network/download/process activity looking at the computer and directories.

    I pulled pm2 logs and it looks like it cannot find MySQL:

    Computer:Shinobi usernamehere$ pm2 logs --lines 200
    [TAILING] Tailing last 200 lines for [all] processes (change the value with --lines option)
    /Users/usernamehere/.pm2/pm2.log last 200 lines:
    PM2        | [2018-03-02 07:09:45] PM2 log: Starting execution sequence in -fork mode- for app name:camera id:0
    PM2        | [2018-03-02 07:09:45] PM2 log: App name:camera id:0 online
    PM2        | [2018-03-02 07:09:48] PM2 log: Starting execution sequence in -fork mode- for app name:cron id:1
    PM2        | [2018-03-02 07:09:48] PM2 log: App name:cron id:1 online
    /Users/usernamehere/.pm2/logs/cron-error-1.log last 200 lines:
    1|cron     |     at require (internal/module.js:11:18)
    1|cron     |     at Object.<anonymous> (/Users/usernamehere/Shinobi/cron.js:6:13)
    1|cron     |     at Module._compile (module.js:660:30)
    1|cron     |     at Object.Module._extensions..js (module.js:671:10)
    1|cron     |     at Module.load (module.js:573:32)
    1|cron     |     at tryModuleLoad (module.js:513:12)
    1|cron     |     at Function.Module._load (module.js:505:3)
    1|cron     | uncaughtException { Error: Cannot find module 'mysql'

    Is there something I'm missing? It's a new Shinobi folder, but the MySQL data isn't stored in the Shinobi folder to my knowledge...


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