Coder Social home page Coder Social logo

shinobi-docker's People

Contributors

ulisses1478 avatar

Watchers

 avatar

Forkers

guiperpt

shinobi-docker's Issues

sql error messages

Hi,

I keep getting these messages in the logs

0|camera  |     at addChunk (_stream_readable.js:263:12),
0|camera  |     at readableAddChunk (_stream_readable.js:250:11),
0|camera  |     at Socket.Readable.push (_stream_readable.js:208:10),
0|camera  |     at TCP.onread (net.js:607:20),
0|camera  |     --------------------,
0|camera  |     at Protocol._enqueue (/shinobi/node_modules/mysql/lib/protocol/Protocol.js:144:48),
0|camera  |     at Protocol.handshake (/shinobi/node_modules/mysql/lib/protocol/Protocol.js:51:23),
0|camera  |     at Connection.connect (/shinobi/node_modules/mysql/lib/Connection.js:119:18),
0|camera  |     at _bluebird.default (/shinobi/node_modules/knex/lib/dialects/mysql/index.js:82:18),
0|camera  |     at Promise._execute (/shinobi/node_modules/bluebird/js/release/debuggability.js:313:9),
0|camera  |     at Promise._resolveFromExecutor (/shinobi/node_modules/bluebird/js/release/promise.js:483:18),
0|camera  |     at new Promise (/shinobi/node_modules/bluebird/js/release/promise.js:79:10),
0|camera  |     at Client_MySQL.acquireRawConnection (/shinobi/node_modules/knex/lib/dialects/mysql/index.js:77:12),
0|camera  |     at create (/shinobi/node_modules/knex/lib/client.js:282:21),
0|camera  |     at utils_1.tryPromise (/shinobi/node_modules/tarn/lib/Pool.js:315:34),
0|camera  |     at Object.tryPromise (/shinobi/node_modules/tarn/lib/utils.js:53:24),
0|camera  |     at Promise (/shinobi/node_modules/tarn/lib/Pool.js:315:17),
0|camera  |     at new Promise (<anonymous>),
0|camera  |     at callbackOrPromise (/shinobi/node_modules/tarn/lib/Pool.js:306:12),
0|camera  |     at Pool._create (/shinobi/node_modules/tarn/lib/Pool.js:236:9),
0|camera  |     at Pool._doCreate (/shinobi/node_modules/tarn/lib/Pool.js:208:36),
0|camera  |   code: 'ER_BAD_DB_ERROR',,
camera  |   errno: 1049,,
0|camera  |   sqlMessage: 'Unknown database \'ccio\'',,
0|camera  |   sqlState: '42000',,
0|camera  |   fatal: true },
0|camera  | { Error: ER_BAD_DB_ERROR: Unknown database 'ccio',
0|camera  |     at Handshake.Sequence._packetToError (/shinobi/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14),
0|camera  |     at Handshake.ErrorPacket (/shinobi/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18),
0|camera  |     at Protocol._parsePacket (/shinobi/node_modules/mysql/lib/protocol/Protocol.js:291:23),
0|camera  |     at Parser._parsePacket (/shinobi/node_modules/mysql/lib/protocol/Parser.js:433:10),
0|camera  |     at Parser.write (/shinobi/node_modules/mysql/lib/protocol/Parser.js:43:10),
0|camera  |     at Protocol.write (/shinobi/node_modules/mysql/lib/protocol/Protocol.js:38:16),
0|camera  |     at Socket.<anonymous> (/shinobi/node_modules/mysql/lib/Connection.js:91:28),
0|camera  |     at Socket.<anonymous> (/shinobi/node_modules/mysql/lib/Connection.js:525:10),
0|camera  |     at emitOne (events.js:116:13),
0|camera  |     at Socket.emit (events.js:211:7),
0|camera  |     at addChunk (_stream_readable.js:263:12),
0|camera  |     at readableAddChunk (_stream_readable.js:250:11),
0|camera  |     at Socket.Readable.push (_stream_readable.js:208:10),
0|camera  |     at TCP.onread (net.js:607:20),
0|camera  |     --------------------,
0|camera  |     at Protocol._enqueue (/shinobi/node_modules/mysql/lib/protocol/Protocol.js:144:48),
0|camera  |     at Protocol.handshake (/shinobi/node_modules/mysql/lib/protocol/Protocol.js:51:23),
0|camera  |     at Connection.connect (/shinobi/node_modules/mysql/lib/Connection.js:119:18),
0|camera  |     at _bluebird.default (/shinobi/node_modules/knex/lib/dialects/mysql/index.js:82:18),
0|camera  |     at Promise._execute (/shinobi/node_modules/bluebird/js/release/debuggability.js:313:9),
0|camera  |     at Promise._resolveFromExecutor (/shinobi/node_modules/bluebird/js/release/promise.js:483:18),
0|camera  |     at new Promise (/shinobi/node_modules/bluebird/js/release/promise.js:79:10),
0|camera  |     at Client_MySQL.acquireRawConnection (/shinobi/node_modules/knex/lib/dialects/mysql/index.js:77:12),
0|camera  |     at create (/shinobi/node_modules/knex/lib/client.js:282:21),
0|camera  |     at utils_1.tryPromise (/shinobi/node_modules/tarn/lib/Pool.js:315:34),
0|camera  |     at Object.tryPromise (/shinobi/node_modules/tarn/lib/utils.js:53:24),
0|camera  |     at Promise (/shinobi/node_modules/tarn/lib/Pool.js:315:17),
0|camera  |     at new Promise (<anonymous>),
0|camera  |     at callbackOrPromise (/shinobi/node_modules/tarn/lib/Pool.js:306:12),
0|camera  |     at Pool._create (/shinobi/node_modules/tarn/lib/Pool.js:236:9),
0|camera  |     at Pool._doCreate (/shinobi/node_modules/tarn/lib/Pool.js:208:36),
0|camera  |   code: 'ER_BAD_DB_ERROR',,
camera  |   errno: 1049,,
0|camera  |   sqlMessage: 'Unknown database \'ccio\'',,
0|camera  |   sqlState: '42000',,
0|camera  |   fatal: true },
0|camera  | { Error: ER_BAD_DB_ERROR: Unknown database 'ccio',
0|camera  |     at Handshake.Sequence._packetToError (/shinobi/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14),
0|camera  |     at Handshake.ErrorPacket (/shinobi/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18),
0|camera  |     at Protocol._parsePacket (/shinobi/node_modules/mysql/lib/protocol/Protocol.js:291:23),
0|camera  |     at Parser._parsePacket (/shinobi/node_modules/mysql/lib/protocol/Parser.js:433:10),
0|camera  |     at Parser.write (/shinobi/node_modules/mysql/lib/protocol/Parser.js:43:10),
0|camera  |     at Protocol.write (/shinobi/node_modules/mysql/lib/protocol/Protocol.js:38:16),
0|camera  |     at Socket.<anonymous> (/shinobi/node_modules/mysql/lib/Connection.js:91:28),
0|camera  |     at Socket.<anonymous> (/shinobi/node_modules/mysql/lib/Connection.js:525:10),
0|camera  |     at emitOne (events.js:116:13),
0|camera  |     at Socket.emit (events.js:211:7),
0|camera  |     at addChunk (_stream_readable.js:263:12),
0|camera  |     at readableAddChunk (_stream_readable.js:250:11),
0|camera  |     at Socket.Readable.push (_stream_readable.js:208:10),
0|camera  |     at TCP.onread (net.js:607:20),
0|camera  |     --------------------,
0|camera  |     at Protocol._enqueue (/shinobi/node_modules/mysql/lib/protocol/Protocol.js:144:48),
0|camera  |     at Protocol.handshake (/shinobi/node_modules/mysql/lib/protocol/Protocol.js:51:23),
0|camera  |     at Connection.connect (/shinobi/node_modules/mysql/lib/Connection.js:119:18),
0|camera  |     at _bluebird.default (/shinobi/node_modules/knex/lib/dialects/mysql/index.js:82:18),
0|camera  |     at Promise._execute (/shinobi/node_modules/bluebird/js/release/debuggability.js:313:9),
0|camera  |     at Promise._resolveFromExecutor (/shinobi/node_modules/bluebird/js/release/promise.js:483:18),
0|camera  |     at new Promise (/shinobi/node_modules/bluebird/js/release/promise.js:79:10),
0|camera  |     at Client_MySQL.acquireRawConnection (/shinobi/node_modules/knex/lib/dialects/mysql/index.js:77:12),
0|camera  |     at create (/shinobi/node_modules/knex/lib/client.js:282:21),
0|camera  |     at utils_1.tryPromise (/shinobi/node_modules/tarn/lib/Pool.js:315:34),
0|camera  |     at Object.tryPromise (/shinobi/node_modules/tarn/lib/utils.js:53:24),
0|camera  |     at Promise (/shinobi/node_modules/tarn/lib/Pool.js:315:17),
0|camera  |     at new Promise (<anonymous>),
0|camera  |     at callbackOrPromise (/shinobi/node_modules/tarn/lib/Pool.js:306:12),
0|camera  |     at Pool._create (/shinobi/node_modules/tarn/lib/Pool.js:236:9),
0|camera  |     at Pool._doCreate (/shinobi/node_modules/tarn/lib/Pool.js:208:36),
0|camera  |   code: 'ER_BAD_DB_ERROR',,
camera  |   errno: 1049,,
0|camera  |   sqlMessage: 'Unknown database \'ccio\'',,
0|camera  |   sqlState: '42000',,
0|camera  |   fatal: true },

This is how I installed it.

docker run -d --restart always --name shinobi -h shinobi -p 8080:8080/tcp -v shinobi:/shinobi:rw -v shinobi:/var/lib/mysql:rw -v shinobi:/shinobi/videos:rw ulisses1478/shinobi

Install on Unraid


Installing Shinobi
*Note : Default install location is "/shinobi"
Opening Install Location : "/"
--------------------**---------------------
Installing Shinobi

fatal: destination path 'shinobi' already exists and is not an empty directory.
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

---------- Shinobi Systems ----------
Repository : https://gitlab.com/Shinobi-Systems/ShinobiCE
Product : Shinobi Community Editon (CE)
Branch : master
Version :

Date : Sun Apr 7 19:22:10 Europe 2019


-----------------------------------
chmod: cannot access 'INSTALL/start.sh': Not a directory
sudo: INSTALL/start.sh: command not found

Installing Shinobi
*Note : Default install location is "/shinobi"
Opening Install Location : "/"
--------------------**---------------------
Installing Shinobi

fatal: destination path 'shinobi' already exists and is not an empty directory.
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

---------- Shinobi Systems ----------
Repository : https://gitlab.com/Shinobi-Systems/ShinobiCE
Product : Shinobi Community Editon (CE)
Branch : master
Version :

Date : Sun Apr 7 19:23:22 Europe 2019


-----------------------------------
chmod: cannot access 'INSTALL/start.sh': Not a directory
sudo: INSTALL/start.sh: command not found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.