Installed Shinobi with the Ninja Way (or Git)

1. If your Shinobi is installed in the default location then you can open a terminal window and navigate to the Shinobi folder in /home.

cd /home/Shinobi

2. Run the following commands to run the update process with Git.


This will overwrite any changes you have made to the core files. Your configuration files will not be affected. Sample configuration files may change.

2a. Clear old Logs. This should be done every time an update is done but is not a requirement. It only serves to make debugging any potential problems easier.

pm2 flush

3. Then restart Shinobi to activate the changes.

pm2 restart camera
pm2 restart cron

Updating from Dashboard v2 to  Dashboard v3

It's easy to migrate to the new framework. Once you run the update steps once you will have a new file in your Shinobi root folder called Run the following to execute it.

Dashboard v3 is only found in the dev branch. Learn to switch branches here.


This will update your Node.js version to v16 as well.

How to turn your Shinobi folder into a Git folder

If you do not have Git you can do this on Ubuntu

apt install git

or this on CentOS

yum install git

1. Run the following inside your Shinobi folder to convert it to a Git repo folder.

cd ..
git clone temp
mv temp/.git Shinobi/.git
rm -rf temp

2.  You don't need to restart Shinobi unless you decide to update.