Command-Line Utilities
Snipe-IT comes with several command-line utilities to allow system admins to easily manage certain aspects of their Snipe-IT installation.
These should not be run as root, and should always be run from the Snipe-IT project directory.
All built-in app commands will start with php artisan
, for example:
Snipe-IT Commands
Many of these tools are meant for one-time data correction/syncing, however be sure to read the documentation for each tool to fully understand what it does.
Additionally, some tools such as alerts and backups, and LDAP user syncing can be set to run on a cron individually, or through the scheduler.
To see a full list of Snipe-IT commands from the command-line, run:
Laravel Built-In Commands
Laravel (the framework Snipe-IT is built on) comes with several built-in utilities that are worth knowing.
If things are acting funny in your Snipe-IT install, running the above commands will often clear up your issues.
Database Utilities
Snipe-IT (by way of Laravel) also provides some basic database utilities from the command line.
Data-Destructive Commands
These are available but should generally not be run unless you're willing to lose all of your data.
Updated 10 days ago