Coder Social home page Coder Social logo

migoller / docker-shinobi Goto Github PK

View Code? Open in Web Editor NEW
17.0 3.0 21.0 63 KB

These images are designed to be used in a micro-service environment. Many thanks to Shinobi Dev and MoeIsCool for their great work!

License: GNU General Public License v3.0

Shell 100.00%
docker docker-image shinobicctv ffmpeg cctv

docker-shinobi's Introduction

About this custom docker image for Shinobi Pro

This image is designed to be used in a micro-service environment. Many thanks to Shinobi Dev Team for their great work!

Shinobi Pro

(Creative Commons v4.0)

Shinobi is the Open Source CCTV Solution written in Node.JS. Designed with multiple account system, Streams by WebSocket, and Save to WebM. Shinobi can record IP Cameras and Local Cameras.

Key Aspects

For an updated list of features visit the official website. http://shinobi.video/features

  • Time-lapse Viewer (Watch a hours worth of footage in a few minutes)
  • 2-Factor Authentication
  • Defeats stream limit imposed by browsers
    • With Base64 (Stream Type) and JPEG Mode (Option)
  • Records IP Cameras and Local Cameras
  • Streams by WebSocket, HLS (includes audio), and MJPEG
  • Save to WebM and MP4
    • Can save Audio
  • Push Events - When a video is finished it will appear in the dashboard without a refresh
  • Region Motion Detection (Similar to ZoneMinder Zone Detection)
    • Represented by a Motion Guage on each monitor
  • "No Motion" Notifications
  • 1 Process for Each Camera to do both, Recording and Streaming
  • Timeline for viewing Motion Events and Videos
  • Sub-Accounts with permissions
    • Monitor Viewing
    • Monitor Editing
    • Video Deleting
    • Separate API keys for sub account
  • Cron Filters can be set based on master account
  • Stream Analyzer built-in (FFprobe GUI)
  • Monitor Groups
  • Can snapshot images from stream directly
  • Lower Bandwith Mode (JPEG Mode)
    • Snapshot (cgi-bin) must be enabled in Monitor Settings
  • Control Cameras from Interface
  • API
    • Get videos
    • Get monitors
    • Change monitor modes : Disabled, Watch, Record
    • Embedding streams
  • Dashboard Framework made with Google Material Design Lite, jQuery, and Bootstrap

Asking for help

Before asking questions it would nice if you read the docs :) http://shinobi.video

After doing so please head on over to the Discord community chat for support. https://discordapp.com/invite/mdhmvuH

The Issues section is only for bugs with the software. Comments and feature requests may be closed without comment. http://shinobi.video/docs/contribute

Please be considerate of developer efforts. If you have simple questions, like "what does this button do?", please be sure to have read the docs entirely before asking. If you would like to skip reading the docs and ask away you can order a support package :) http://shinobi.video/support

Making Suggestions or Feature Requests

You can post suggestions in the Discord #suggestions channel. Please do not treat this channel like a "demands" window. Developer efforts are limited. Much more than many alternatives.

when you have a suggestion please try and make the changes yourself then post a pull request to the dev branch. Then we can decide if it's a good change for Shinobi. If you don't know how to go about it and want to have me put it higher on my priority list you can order a support package :) Pretty Ferengi of me... but until we live in a world without money please support Shinobi :) Cheers!

http://shinobi.video/support

Help make Shinobi the best Open Source CCTV Solution.

Donate - http://shinobi.video/docs/donate

Ordering a License, Paid Support, or anything from here will allow a lot more time to be spent on Shinobi.

Order Support - http://shinobi.video/support

Why make this?

http://shinobi.video/why

What others say

"After trying zoneminder without success (heavy unstable and slow) I passed to Shinobi that despite being young spins a thousand times better (I have a setup with 16 cameras recording in FHD to ~ 10fps on a pentium of ~ 2009 and I turn with load below 1.5)."

A Reddit user, /r/ItalyInformatica

 

"I would suggest Shinobi as a NVR. It's still in the early days but works a lot better than ZoneMinder for me. I'm able to record 16 cams at 1080p 15fps continously whith no load on server (Pentium E5500 3GB RAM) where zm crashed with 6 cams at 720p. Not to mention the better interface."

A Reddit user, /r/HomeNetworking

How to Install and Run

FOR DOCKER USERS : Docker is not officially supported and is not recommended. The kitematic method is provided for those who wish to quickly test Shinobi. The Docker files included in the master and dev branches are maintained by the community. If you would like support with Docker please find a community member who maintains the Docker files or please refer to Docker's forum.

Fast Install (The Ninja Way)

  1. Become root to use the installer and run Shinobi. Use one of the following to do so.

    • Ubuntu 17.04, 17.10
      • sudo su
    • CentOS 7
      • su
    • MacOS 10.7(+)
      • su
  2. Download and run the installer.

bash <(curl -s https://raw.githubusercontent.com/ShinobiCCTV/Shinobi-Installer/master/shinobi-install.sh)

Elaborate Installs

Installation Tutorials - http://shinobi.video/docs/start

Troubleshooting Guide - http://shinobi.video/docs/start#trouble-section

Author

Moe Alam

Follow Shinobi on Twitter https://twitter.com/ShinobiCCTV

Join the Community Chat

Support the Development

Ordering a certificate or support package greatly boosts development. Please consider contributing :)

http://shinobi.video/support

Links

Documentation - http://shinobi.video/docs

Donate - https://shinobi.video/docs/donate

Tested Cameras and Systems - http://shinobi.video/docs/supported

Features - http://shinobi.video/features

Reddit (Forum) - https://www.reddit.com/r/ShinobiCCTV/

YouTube (Tutorials) - https://www.youtube.com/channel/UCbgbBLTK-koTyjOmOxA9msQ

Discord (Community Chat) - https://discordapp.com/invite/mdhmvuH

Twitter (News) - https://twitter.com/ShinobiCCTV

Facebook (News) - https://www.facebook.com/Shinobi-1223193167773738/?ref=bookmarks

docker-shinobi's People

Contributors

migoller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-shinobi's Issues

ftp server not accessible

Hi,
I'm using the shinobidocker:latest image.

I'm trying to use FTP based event triggering on one of my monitors per the following instructions (https://hub.shinobi.video/articles/view/LyCI3yQsUTouSAJ). I have enabled the FTP server and exposed port 21 in the container.

The FTP is running, I can connect to it momentarily but I can't access any directories and the FTP server kills the connection as a result. I tested it with an FTP client and I get "Error: Failed to retrieve directory listing" before it disconnects.

Anything I can do to get this working?

Can use " Add Camera" , but it doesn't work

Hellow, I use your docker images. I wan't to use "add Camera" API for automatic.
image
I test many thing but not work;
and result is i can push camera in Shinboi
image
but camera not work
but not work how can i do?
help me!
image
image
can you show me success example??

Feature request: ARM images

These microservice images looks awesome! Would be perfect to run on a raspberry pi.
Can these please be published as multiarch arm images?

- Hash super admin password (undefined)...

Btw. This is aws fresh guided installation Dock the "microservice" Shinobi Docker image from your page step by step
https://gitlab.com/MiGoller/ShinobiDocker

Trully cannot understand what should I do to make it work. Help please. I even changed all default passwords but couldn't succeed.
uname -a

Linux ip-172-31-44-76 4.15.0-1044-aws #46-Ubuntu SMP Thu Jul 4 13:38:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

((root@ip-172-31-44-76:/home/ShinobiDocker# docker-compose up
Starting shinobidocker_shinobi_1 ... 
shinobidocker_db_1 is up-to-date
Starting shinobidocker_shinobi_1 ... done
Attaching to shinobidocker_db_1, shinobidocker_shinobi_1
shinobi_1  | Copy custom configuration files ...
shinobi_1  | Waiting for connection to MariaDB server on db .mysqladmin: connect to server at 'db' failed
shinobi_1  | error: 'Access denied for user 'root'@'172.18.0.3' (using password: NO)'
shinobi_1  |  established.
shinobi_1  | Setting up MariaDB database if it does not exists ...
db_1       | Initializing database
db_1       | 
db_1       | 
db_1       | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
db_1       | To do so, start the server, then issue the following commands:
db_1       | 
db_1       | '/usr/bin/mysqladmin' -u root password 'new-password'
db_1       | '/usr/bin/mysqladmin' -u root -h  password 'new-password'
db_1       | 
db_1       | Alternatively you can run:
db_1       | '/usr/bin/mysql_secure_installation'
db_1       | 
db_1       | which will also give you the option of removing the test
db_1       | databases and anonymous user created by default.  This is
db_1       | strongly recommended for production servers.
db_1       | 
db_1       | See the MariaDB Knowledgebase at http://mariadb.com/kb or the
db_1       | MySQL manual for more instructions.
db_1       | 
db_1       | Please report any problems at http://mariadb.org/jira
db_1       | 
db_1       | The latest information about MariaDB is available at http://mariadb.org/.
db_1       | You can find additional information about the MySQL part at:
db_1       | http://dev.mysql.com
db_1       | Consider joining MariaDB's strong and vibrant community:
db_1       | https://mariadb.org/get-involved/
db_1       | 
db_1       | Database initialized
db_1       | MySQL init process in progress...
db_1       | 2019-07-22 15:58:20 0 [Note] mysqld (mysqld 10.4.6-MariaDB-1:10.4.6+maria~bionic) starting as process 107 ...
db_1       | 2019-07-22 15:58:20 0 [Note] InnoDB: Using Linux native AIO
db_1       | 2019-07-22 15:58:20 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db_1       | 2019-07-22 15:58:20 0 [Note] InnoDB: Uses event mutexes
db_1       | 2019-07-22 15:58:20 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
db_1       | 2019-07-22 15:58:20 0 [Note] InnoDB: Number of pools: 1
db_1       | 2019-07-22 15:58:20 0 [Note] InnoDB: Using SSE2 crc32 instructions
db_1       | 2019-07-22 15:58:20 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
db_1       | 2019-07-22 15:58:20 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
db_1       | 2019-07-22 15:58:20 0 [Note] InnoDB: Completed initialization of buffer pool
db_1       | 2019-07-22 15:58:20 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db_1       | 2019-07-22 15:58:21 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
db_1       | 2019-07-22 15:58:21 0 [Note] InnoDB: Creating shared tablespace for temporary tables
db_1       | 2019-07-22 15:58:21 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db_1       | 2019-07-22 15:58:21 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db_1       | 2019-07-22 15:58:21 0 [Note] InnoDB: Waiting for purge to start
db_1       | 2019-07-22 15:58:21 0 [Note] InnoDB: 10.4.6 started; log sequence number 139827; transaction id 21
db_1       | 2019-07-22 15:58:21 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db_1       | 2019-07-22 15:58:21 0 [Note] Plugin 'FEEDBACK' is disabled.
db_1       | 2019-07-22 15:58:21 0 [Warning] 'user' entry 'root@6084ad4d5b1a' ignored in --skip-name-resolve mode.
db_1       | 2019-07-22 15:58:21 0 [Warning] 'user' entry '@6084ad4d5b1a' ignored in --skip-name-resolve mode.
db_1       | 2019-07-22 15:58:21 0 [Warning] 'proxies_priv' entry '@% root@6084ad4d5b1a' ignored in --skip-name-resolve mode.
db_1       | 2019-07-22 15:58:21 0 [Note] Reading of all Master_info entries succeeded
db_1       | 2019-07-22 15:58:21 0 [Note] Added new Master_info '' to hash table
db_1       | 2019-07-22 15:58:21 0 [Note] mysqld: ready for connections.
db_1       | Version: '10.4.6-MariaDB-1:10.4.6+maria~bionic'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  mariadb.org binary distribution
db_1       | 2019-07-22 15:58:21 0 [Note] InnoDB: Buffer pool(s) load completed at 190722 15:58:21
db_1       | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
db_1       | 2019-07-22 15:58:45 10 [Warning] 'proxies_priv' entry '@% root@6084ad4d5b1a' ignored in --skip-name-resolve mode.
db_1       | 
db_1       | 2019-07-22 15:58:45 0 [Note] mysqld (initiated by: unknown): Normal shutdown
db_1       | 2019-07-22 15:58:45 0 [Note] Event Scheduler: Purging the queue. 0 events
db_1       | 2019-07-22 15:58:45 0 [Note] InnoDB: FTS optimize thread exiting.
db_1       | 2019-07-22 15:58:45 0 [Note] InnoDB: Starting shutdown...
db_1       | 2019-07-22 15:58:45 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
db_1       | 2019-07-22 15:58:45 0 [Note] InnoDB: Buffer pool(s) dump completed at 190722 15:58:45
db_1       | 2019-07-22 15:58:46 0 [Note] InnoDB: Shutdown completed; log sequence number 139836; transaction id 24
db_1       | 2019-07-22 15:58:46 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
db_1       | 2019-07-22 15:58:46 0 [Note] mysqld: Shutdown complete
db_1       | 
db_1       | 
db_1       | MySQL init process done. Ready for start up.
db_1       | 
db_1       | 2019-07-22 15:58:46 0 [Note] mysqld (mysqld 10.4.6-MariaDB-1:10.4.6+maria~bionic) starting as process 1 ...
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: Using Linux native AIO
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: Uses event mutexes
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: Number of pools: 1
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: Using SSE2 crc32 instructions
db_1       | 2019-07-22 15:58:47 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: Completed initialization of buffer pool
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: Creating shared tablespace for temporary tables
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: Waiting for purge to start
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: 10.4.6 started; log sequence number 139836; transaction id 21
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db_1       | 2019-07-22 15:58:47 0 [Note] Plugin 'FEEDBACK' is disabled.
db_1       | 2019-07-22 15:58:47 0 [Note] Server socket created on IP: '::'.
db_1       | 2019-07-22 15:58:47 0 [Warning] 'proxies_priv' entry '@% root@6084ad4d5b1a' ignored in --skip-name-resolve mode.
db_1       | 2019-07-22 15:58:47 0 [Note] Reading of all Master_info entries succeeded
db_1       | 2019-07-22 15:58:47 0 [Note] Added new Master_info '' to hash table
db_1       | 2019-07-22 15:58:47 0 [Note] InnoDB: Buffer pool(s) load completed at 190722 15:58:47
db_1       | 2019-07-22 15:58:47 0 [Note] mysqld: ready for connections.
db_1       | Version: '10.4.6-MariaDB-1:10.4.6+maria~bionic'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
db_1       | 2019-07-22 15:58:48 8 [Warning] Access denied for user 'root'@'172.18.0.3' (using password: NO)
db_1       | 2019-07-22 15:58:48 9 [Warning] Access denied for user 'rot'@'172.18.0.3' (using password: YES)
db_1       | 2019-07-22 15:58:48 10 [Warning] Access denied for user 'rot'@'172.18.0.3' (using password: YES)
db_1       | 2019-07-22 15:58:48 11 [Warning] Access denied for user 'rot'@'172.18.0.3' (using password: YES)
db_1       | 2019-07-22 15:59:25 12 [Warning] Access denied for user 'root'@'172.18.0.3' (using password: NO)
shinobi_1  |  - Set database name: ccio
shinobi_1  | - Create database schema if it does not exists ...
shinobi_1  | ERROR 1045 (28000): Access denied for user 'rot'@'172.18.0.3' (using password: YES)
shinobi_1  | - Fix user table for LDAP auth issues ...
db_1       | 2019-07-22 15:59:25 13 [Warning] Access denied for user 'rot'@'172.18.0.3' (using password: YES)
shinobi_1  | ERROR 1045 (28000): Access denied for user 'rot'@'172.18.0.3' (using password: YES)
db_1       | 2019-07-22 15:59:25 14 [Warning] Access denied for user 'rot'@'172.18.0.3' (using password: YES)
shinobi_1  | - Create database user if it does not exists ...
shinobi_1  | ERROR 1045 (28000): Access denied for user 'rot'@'172.18.0.3' (using password: YES)
db_1       | 2019-07-22 15:59:25 15 [Warning] Access denied for user 'rot'@'172.18.0.3' (using password: YES)
shinobi_1  | Updating Shinobi's configuration to match your environment ...
shinobi_1  | - Set MariaDB configuration from environment variables ...
shinobi_1  |   - MariaDB username: majesticflamee
shinobi_1  | db.user: majesticflamee
shinobi_1  |   - MariaDB password.
shinobi_1  | db.password: pswd
shinobi_1  |   - MariaDB server host: db
shinobi_1  | db.host: db
shinobi_1  |   - MariaDB database name: ccio
shinobi_1  | db.database: ccio
shinobi_1  | - Set keys for CRON and PLUGINS from environment variables ...
shinobi_1  | cron.key: b59b5c62-57d0-4cd1-b068-a55e5222786f
shinobi_1  | pluginKeys.Motion: 49ad732d-1a4f-4931-8ab8-d74ff56dac57
shinobi_1  | pluginKeys.OpenCV: 6aa3487d-c613-457e-bba2-1deca10b7f5d
shinobi_1  | pluginKeys.OpenALPR: 59859194-847chbv
shinobi_1  | Set configuration for motion plugin from environment variables ...
shinobi_1  | host: localhost
shinobi_1  | port: 8080
shinobi_1  | key: 49ad732d-1a4f-4931-8ab8-d74ff56dac57
shinobi_1  | - Set the super admin credentials ...
shinobi_1  |   - Hash super admin password (undefined)...
shinobi_1  | Unsupported password type undefined. Set to md5, sha256 or sha512.
shinobidocker_shinobi_1 exited with code 1
^CGracefully stopping... (press Ctrl+C again to force)
Stopping shinobidocker_db_1 ... done
root@ip-172-31-44-76:/home/ShinobiDocker# ^C
root@ip-172-31-44-76:/home/ShinobiDocker# docker-compose -f ./docker-compose.yml create
WARNING: The create command is deprecated. Use the up command with the --no-start flag instead.
root@ip-172-31-44-76:/home/ShinobiDocker# ^Ccker-compose -f ./docker-compose.yml create
root@ip-172-31-44-76:/home/ShinobiDocker# ^C
root@ip-172-31-44-76:/home/ShinobiDocker# docker-compose -f ./docker-compose.yml up
Starting shinobidocker_shinobi_1 ... 
Starting shinobidocker_db_1 ... 
Starting shinobidocker_shinobi_1
Starting shinobidocker_db_1 ... done
Attaching to shinobidocker_shinobi_1, shinobidocker_db_1
shinobi_1  | Copy custom configuration files ...
shinobi_1  | Waiting for connection to MariaDB server on db .mysqladmin: connect to server at 'db' failed
shinobi_1  | error: 'Can't connect to MySQL server on 'db' (111 "Connection refused")'
shinobi_1  | Check that mysqld is running on db and that the port is 3306.
shinobi_1  | You can check this by doing 'telnet db 3306'
db_1       | 2019-07-22 16:00:31 0 [Note] mysqld (mysqld 10.4.6-MariaDB-1:10.4.6+maria~bionic) starting as process 1 ...
db_1       | 2019-07-22 16:00:31 0 [Note] InnoDB: Using Linux native AIO
db_1       | 2019-07-22 16:00:31 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db_1       | 2019-07-22 16:00:31 0 [Note] InnoDB: Uses event mutexes
db_1       | 2019-07-22 16:00:31 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
db_1       | 2019-07-22 16:00:31 0 [Note] InnoDB: Number of pools: 1
db_1       | 2019-07-22 16:00:31 0 [Note] InnoDB: Using SSE2 crc32 instructions
db_1       | 2019-07-22 16:00:31 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
db_1       | 2019-07-22 16:00:31 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
db_1       | 2019-07-22 16:00:31 0 [Note] InnoDB: Completed initialization of buffer pool
db_1       | 2019-07-22 16:00:31 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db_1       | 2019-07-22 16:00:32 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
db_1       | 2019-07-22 16:00:32 0 [Note] InnoDB: Creating shared tablespace for temporary tables
db_1       | 2019-07-22 16:00:32 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db_1       | 2019-07-22 16:00:32 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db_1       | 2019-07-22 16:00:32 0 [Note] InnoDB: Waiting for purge to start
db_1       | 2019-07-22 16:00:32 0 [Note] InnoDB: 10.4.6 started; log sequence number 139845; transaction id 21
db_1       | 2019-07-22 16:00:32 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db_1       | 2019-07-22 16:00:32 0 [Note] Plugin 'FEEDBACK' is disabled.
db_1       | 2019-07-22 16:00:32 0 [Note] Server socket created on IP: '::'.
db_1       | 2019-07-22 16:00:32 0 [Warning] 'proxies_priv' entry '@% root@6084ad4d5b1a' ignored in --skip-name-resolve mode.
db_1       | 2019-07-22 16:00:32 0 [Note] Reading of all Master_info entries succeeded
db_1       | 2019-07-22 16:00:32 0 [Note] Added new Master_info '' to hash table
db_1       | 2019-07-22 16:00:32 0 [Note] mysqld: ready for connections.
db_1       | Version: '10.4.6-MariaDB-1:10.4.6+maria~bionic'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
db_1       | 2019-07-22 16:00:32 0 [Note] InnoDB: Buffer pool(s) load completed at 190722 16:00:32
db_1       | 2019-07-22 16:00:32 8 [Warning] Access denied for user 'root'@'172.18.0.2' (using password: NO)
shinobi_1  | .mysqladmin: connect to server at 'db' failed
shinobi_1  | error: 'Access denied for user 'root'@'172.18.0.2' (using password: NO)'
shinobi_1  |  established.
shinobi_1  | Setting up MariaDB database if it does not exists ...
shinobi_1  |  - Set database name: ccio
shinobi_1  | - Create database schema if it does not exists ...
db_1       | 2019-07-22 16:00:32 9 [Warning] Access denied for user 'rot'@'172.18.0.2' (using password: YES)
shinobi_1  | ERROR 1045 (28000): Access denied for user 'rot'@'172.18.0.2' (using password: YES)
shinobi_1  | - Fix user table for LDAP auth issues ...
db_1       | 2019-07-22 16:00:32 10 [Warning] Access denied for user 'rot'@'172.18.0.2' (using password: YES)
shinobi_1  | ERROR 1045 (28000): Access denied for user 'rot'@'172.18.0.2' (using password: YES)
shinobi_1  | - Create database user if it does not exists ...
db_1       | 2019-07-22 16:00:32 11 [Warning] Access denied for user 'rot'@'172.18.0.2' (using password: YES)
shinobi_1  | ERROR 1045 (28000): Access denied for user 'rot'@'172.18.0.2' (using password: YES)
shinobi_1  | Updating Shinobi's configuration to match your environment ...
shinobi_1  | - Set MariaDB configuration from environment variables ...
shinobi_1  |   - MariaDB username: majesticflamee
shinobi_1  | db.user: majesticflamee
shinobi_1  |   - MariaDB password.
shinobi_1  | db.password: pswd
shinobi_1  |   - MariaDB server host: db
shinobi_1  | db.host: db
shinobi_1  |   - MariaDB database name: ccio
shinobi_1  | db.database: ccio
shinobi_1  | - Set keys for CRON and PLUGINS from environment variables ...
shinobi_1  | cron.key: b59b5c62-57d0-4cd1-b068-a55e5222786f
shinobi_1  | pluginKeys.Motion: 49ad732d-1a4f-4931-8ab8-d74ff56dac57
shinobi_1  | pluginKeys.OpenCV: 6aa3487d-c613-457e-bba2-1deca10b7f5d
shinobi_1  | pluginKeys.OpenALPR: 59859194-847chbv
shinobi_1  | Set configuration for motion plugin from environment variables ...
shinobi_1  | host: localhost
shinobi_1  | port: 8080
shinobi_1  | key: 49ad732d-1a4f-4931-8ab8-d74ff56dac57
shinobi_1  | - Set the super admin credentials ...
shinobi_1  |   - Hash super admin password (undefined)...
shinobi_1  | Unsupported password type undefined. Set to md5, sha256 or sha512.
shinobidocker_shinobi_1 exited with code 1)
)

Memory leak latest version of shinobi

Hey @MiGoller,

Thank you for your work. I think that the latest image has a memory leak as it chews through my ram (was requesting 30GB!).

Perhaps a shinobi issue and thus not your concern but wanted to raise in case.

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.