Shinobi/INSTALL
Moe 7ede7ef208 Emperor Claudius
### Changelog

#### May 2025

- Update Drop In Events (FTP)
  - Allow API Key ending only in @
  - Clean up file and folder processing for trigger
  - Better Uploaded content cleanup
- Fix memory leak possibility in camera thread
- Add extender for onOnvifEventTrigger (not enabled)
- Fix timelapse frame path builder in cron
- Fix too long column insertion on Videos table objects column
- Remove fps changer in simple mode changer api endpoint
- Update actCheck.js

#### April 2025

- Fix default object detection dimensions at 1280x720
- Merge branch 'dev' into 'dev'
  - Added pl language (translated by an LLM)
- Clean up central connector, prevents connecting multiple times at start
- Added pl language (translated by an LLM)
- Fix some npm vulnerabilities
- Fix event filters getting broken in cleanStringsInObject
  - Make Event Filters disable submit on save
  - Change region editor to use configureMonitor function
- Add some debugging code to createEventBasedRecording
- Fix refactored Central Connector when lost connection
- General fixes on monitor startup
- Add missing Custom Settings table creation
- Make central connector only get IPv4 and ignore internal
- Cleanup some logging and spacing
- Add bad cseq log drop to prevent browser log flooding
- Fix failing input_map parse on some monitors, modernize some details
- Update pairServer.js
- Allow Central Connection without SSH
- Refactor central management connector
- Make Max Storage Amount a human inputable/readable value
- Fix broken monitor utils
- Allow Commas in cleanStringsInObject function
- Add "Alarms" logging/actions and PTZ Updates
  - Fix Alarms tab preview video link
  - Update alarmPopup.ejs
  - Make form dark on Alarm Popup
  - Clean up Alarm gamepad
  - Add height to Alarm popup
  - Add download button to Alarm Popup video
  - Add details from first event to alarm
  - Use normal form instead of save on change in alarm popup
  - Remove console.log from getEventBasedRecordingUponCompletion
  - Make Alarms use normal Videos instead of Notification video + Gamepad PTZ
  - Add multiple monitors logged to Alarm and updating Alarm
  - Fix timezone in alarm popup, add limit query option to Alarms listing
  - Alarms and Event-Based PTZ (Working 80%)
  - Alarms (Framework only) and Event-Based PTZ and Utility updates
- Add Max Days for Cloud Video Uploaders
- Make fetch ptz command provide response data
- Change color of status progress bar
- Central SSH reconnect with delay
- Add SSH Proxy Capability to Central Management

#### March 2025

- Fix libs/ffmpeg in gitignore
- Add option to periodically reset management connection
- Add offline activator
- Remove language loaded from account settings
- Add WireGuard VPN scripts (server uses docker)
- Key manages camera count
- Allow "&" in monitor config strings
- Allow "?" in monitor config strings
- Add server ip parse for Central Connect
- Fix Branding by removing User-Level language selection
- Reverse Videos list when merging to ensure proper order
- Save Frame from FTP Trigger in Timelapse
- Reapply "Fix Cross-site scripting vulnerability in Monitor Edit" (Fixed)
- Revert "Fix Cross-site scripting vulnerability in Monitor Edit"
- Update getVideoSearchRequestQueries to have operators
- Clean up Videos Table Search Execution
- Fix Cross-site scripting vulnerability in Monitor Edit
- Remove DB_DISABLE_INCLUDED from Docker image

#### February 2025

- Make Monitor Settings post with websocket instead of ajax
- Clean up websocket callback on complete
- Ignore ffmpeg folder within Shinobi folder (ffbinaries download)
- Add a cmd tool to mass modify monitor configs with a template
- Update removeSenstiveInfoFromMonitorConfig
- Allow Connecting Multiple Central Servers
- API Key Management Upgrades
  - Add API Endpoint for getting a single row
  - Update Central API Key Creation
  - Fix Central API Key acquisition
  - Upgrade API Key Management: Edit User Settings and Permission Sets
  - Upgrade API Key Management: Permission to allow managing API
  - Upgrade API Key Management: Permissions and Editing
- Add Custom Settings API
- Clean up getMonitors API and add websocket method
- Permission Groups + Websocket API for Editing Monitor
  - Add or Edit Monitor over Websocket with callback
  - Add method to add/edit Monitors with websocket
  - Fix applyPermissionsToUser in createSession for API Keys
  - Void failed proc.stdin.write("q\\r\\n")
  - Allow API Key Management of Sub-Accounts by Admin
  - Clean up selecting Monitors in Permission Groups
  - Add User Permission Management by Group
  - Fix permissions to view and edit Permission Groups
  - Change Sub-Account Monitor select to Table
- Load Recent Videos once on Dashboard Ready
2025-06-03 13:19:41 +06:00
..
jetson Scripts for Jetson Nano 2019-07-01 10:56:33 -07:00
.gitignore Shinobi Pro Lands on Gitlab 2018-06-09 16:34:06 -07:00
CentOS - Quick Install.sh Dindai Hollow + : Critical Fixes+ 2023-09-05 11:12:23 -07:00
README.md Shinobi Pro Lands on Gitlab 2018-06-09 16:34:06 -07:00
autoinstall-ubuntu-latest.sh Add shebang line and follow best practices when using "cd" 2020-01-26 02:09:52 +00:00
autoinstall-ubuntu-stable.sh Add shebang and follow best practices when using "cd" 2020-01-26 02:12:13 +00:00
cuda-9-0.sh Add/Update CUDA Install scripts for 9.0,9.2,10.0,10.2 2020-04-25 12:20:44 -07:00
cuda-9-2.sh Add/Update CUDA Install scripts for 9.0,9.2,10.0,10.2 2020-04-25 12:20:44 -07:00
cuda-10-2.sh update cuda installers for 10.0 and 10.2 2023-08-20 09:46:51 -07:00
cuda-10.sh update cuda installers for 10.0 and 10.2 2023-08-20 09:46:51 -07:00
cuda-11.sh Update cuda-11.sh 2022-12-11 19:30:38 -08:00
cuda-12.sh Visigothic Kings 2024-10-06 00:15:22 +00:00
cuda.sh Update CUDA installer 2022-11-26 16:58:49 -08:00
cuda9-part1.sh Shinobi Pro Lands on Gitlab 2018-06-09 16:34:06 -07:00
cuda9-part2-after-reboot.sh Add shebang line 2020-01-26 02:16:21 +00:00
cuda_gl_interop.h.patch Create cuda_gl_interop.h.patch 2019-07-07 11:30:26 -07:00
ffmpeg.sh Shinobi Pro Lands on Gitlab 2018-06-09 16:34:06 -07:00
freebsd.sh Update SQL Queries on Startup 2022-12-17 00:07:23 +00:00
freenas.csh Update SQL Queries on Startup 2022-12-17 00:07:23 +00:00
getDistro.sh Some Updates and Fixes 2019-04-02 20:47:03 -07:00
jetson-libtensorflow-build.sh Update jetson-libtensorflow-build.sh 2020-12-22 21:23:41 -08:00
jetson-nano-convert-to-headless.sh Add shebang and use "read -r" for correctness 2020-01-26 02:24:36 +00:00
jetson-opencv3-4.sh Correct document typo 2020-01-02 21:01:40 +00:00
macos-part2.sh Update SQL Queries on Startup 2022-12-17 00:07:23 +00:00
macos.sh update version of PM2 installed 2022-05-17 18:14:33 -07:00
nodejs-redhat.sh install node 18 instead of node 16 2023-11-10 15:21:33 -08:00
nodejs-ubuntu.sh Alhambra 2024-09-28 16:55:50 +00:00
now.sh update node.js installation method 2023-09-05 11:00:47 -07:00
openalpr-cpu-easy.sh Some Updates and Fixes 2019-04-02 20:47:03 -07:00
openalpr-gpu-easy.sh Some Updates and Fixes 2019-04-02 20:47:03 -07:00
openbsd.sh Update SQL Queries on Startup 2022-12-17 00:07:23 +00:00
opencv-cuda.sh Update opencv-cuda.sh 2020-11-04 09:52:48 -08:00
opensuse.sh Update SQL Queries on Startup 2022-12-17 00:07:23 +00:00
rocky9-touchless.sh Dindai Hollow + : Critical Fixes+ 2023-09-05 11:12:23 -07:00
shinobi Update shinobi cmd 2022-12-02 19:54:30 -08:00
start.sh Emperor Claudius 2025-06-03 13:19:41 +06:00
terminalCommands.js Update Installers and Terminal Commander 2019-01-13 13:42:11 -08:00
ubuntu-easyinstall.sh Dindai Hollow + : Critical Fixes+ 2023-09-05 11:12:23 -07:00
ubuntu-touchless-iso.sh Dindai Hollow + : Critical Fixes+ 2023-09-05 11:12:23 -07:00
ubuntu-touchless.sh Alhambra 2024-09-28 16:55:50 +00:00
ubuntu.sh Dindai Hollow + : Critical Fixes+ 2023-09-05 11:12:23 -07:00

README.md

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)

More info can be found here. https://shinobi.video/docs/start