Need to specify storage location for Shinobi

  • I'm having trouble specifying the storage location for my video files. I've installed the genuine Shinobi version from their standard installation instructions and can successfully login to :8080/super or :8080/. OMV and Shinobi are installed on /dev/sdb1 (a 32 GB SSD). I also have a 3.0 TB HDD /dev/sda1 whose label is store and a shared folder within whose relative path is cctv/. Thus my absolute path is:


    /srv/dev-disk-by-label-store/cctv


    this is where I would like to store my video recordings.


    I have tried to edit my /Shinobi/config/conf.json file which is currently:


    {

    "subscriptionId": "sub_XXXXXXXXXXXX",

    "port": 8080,

    "passwordType": "sha256",

    "addStorage": [

    {

    "name": "second",

    "path": "/__DIR__/videos2"

    }

    ],

    "pluginKeys": {},

    "db": {

    "host": "localhost",

    "user": "majesticflame",

    "password": "",

    "database": "ccio",

    "port": 3306

    },

    "cron": {

    "key": "fc764126a460492604825a1a5ff86"

    },

    "mail": {

    "service": "gmail",

    "auth": {

    "user": "your_email@gmail.com",

    "pass": "your_password_or_app_specific_password"

    }

    },

    "detectorMergePamRegionTriggers": true,

    "wallClockTimestampAsDefault": true,

    "cpuUsageMarker": "CPU",

    "thisIsDocker": true,

    "ssl": {}


    By changing: "path": "/__DIR__/videos2"

    To: "path": "/srv/dev-disk-by-label-store/cctv"


    Or: "path": /dev/sda1/store/cctv"


    the system fails on startup.


    Can anyone help me with this?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!