chg: [faq] Add FAQ question on setting baseurl via CLI

pull/207/head
Jeroen Pinoy 2021-02-19 23:50:12 +01:00
parent 9cd79aa118
commit e43bd4e595
1 changed files with 8 additions and 0 deletions

View File

@ -315,7 +315,15 @@ You can reset the password via the console.
See [Issue #1160](https://github.com/MISP/MISP/issues/1160) See [Issue #1160](https://github.com/MISP/MISP/issues/1160)
`/var/www/MISP/app/Console/cake Password [email] [password]` `/var/www/MISP/app/Console/cake Password [email] [password]`
### How do I set the baseurl from the command line?
You can change the baseurl via the console.
sudo -u www-data /var/www/MISP/app/Console/cake Baseurl [baseurl]
You can confirm the baseurl is updated correctly by checking the config.php file
grep baseurl /var/www/MISP/app/Config/config.php
*** ***
## Usage questions ## Usage questions
### How can I see all the deleted events in a MISP instance? ### How can I see all the deleted events in a MISP instance?