mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 11:05:41 +00:00
feat(backend): Add check to cli tools to confirm the right commands for deployment method are used (#9687)
* refactor * rename functions * move checking for a package install out * [FR] Add check to cli tools to confirm the right commands for deployment method are used Fixes #9684 * also log pkg enviroment detection * vendor is_true * ensure content is loaded in pkg enviroment * fix tests and imporve error message * cleanup * simplify * ensure runs in misconfed enviroment
This commit is contained in:
@ -99,6 +99,13 @@ There are database migrations waiting to be applied. This might lead to integrit
|
||||
Some deployment methods support [auto applying of updates](../start/config.md#auto-update). See also [Perform Database Migrations](../start/install.md#perform-database-migrations).
|
||||
Steps very between deployment methods.
|
||||
|
||||
#### INVE-W9
|
||||
**Wrong Invoke Environment - Backend**
|
||||
|
||||
The command that was used to run invoke is not the one that is recommended. This might be caused by a wrong PATH variable or by thinking you are using a different deployment method.
|
||||
The warning text will show the recommended command for intended use.
|
||||
|
||||
|
||||
### INVE-I (InvenTree Information)
|
||||
Information — These are not errors but information messages. They might point out potential issues or just provide information.
|
||||
|
||||
|
Reference in New Issue
Block a user