[CLOSED] 17.04 Ubuntu SVR



  • Just going through easy install..
    installing via terminal and htting some roadblocks.

    A: no webserver installed
    (is that a requirement? or is Java creating that instance?)

    chmod +x INSTALL/ubuntu.sh && INSTALL/ubuntu.sh
    installer assumes 16.x - pre 17...
    which will fail the ffmpeg install I found
    think all my errors past that are based that the installer bases on 16.x

    several errors in log:
    /root/.pm2/logs/cron-error-1.log last 15 lines:
    /root/.pm2/logs/camera-error-0.log last 15 lines:
    0|camera | <Buffer 2f 62 69 6e 2f 73 68 3a 20 31 3a 20 66 66 6d 70 65 67 3a 20 6e 6f 74 20 66 6f 75 6e 64 0a> ],
    0|camera | signal: null,
    0|camera | status: 127,
    0|camera | stackframes:
    0|camera | [ { file_name: 'child_process.js', line_number: 591 },
    0|camera | { file_name: 'child_process.js', line_number: 631 },
    0|camera | { file_name: '/root/Shinobi/camera.js', line_number: 346 },
    0|camera | { file_name: 'module.js', line_number: 624 },
    0|camera | { file_name: 'module.js', line_number: 635 },
    0|camera | { file_name: 'module.js', line_number: 545 },
    0|camera | { file_name: 'module.js', line_number: 508 },
    0|camera | { file_name: 'module.js', line_number: 500 },
    0|camera | { file_name: '/usr/lib/node_modules/pm2/lib/ProcessContainerFork.js',
    0|camera | line_number: 70 },
    0|camera | { file_name: 'module.js', line_number: 624 } ] }

    /root/.pm2/logs/camera-out-0.log last 15 lines:
    0|camera | NODE.JS version : v8.5.0
    0|camera |
    0|camera | Shinobi - PORT : 8080
    0|camera | 2017-09-21T11:48:56-07:00 Already applied critical update.

    /root/.pm2/logs/cron-out-1.log last 15 lines:
    1|cron | Shinobi : cron.js started

    ends up loading:

    Cannot GET /



  • for me to get going and actually load a web page:

    had to mix installations:

    had to use sudo su - elevate
    (don't think this was a must though)

    apt update && sudo apt install ffmpeg libav-tools x264 x265
    then
    continue with Step 1 / two the easy way.
    ---- I think ----
    Webpage loading now at least. - might retest in a bit


  • administrators

    i think the easiest way is the "easier way". I use ninja way just for the giggles of using npm. git is better because it is more likely to be up to date.

    I am not sure where you are at now.. but if you have the web page and cant login then you probably need to add the sql files.

    the error above is about not having ffmpeg, but you figured that out 😄 yay!


 

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