Merge pull request #207 from Wachizungu/add-faq-question-on-how-to-set-baseurl-via-cli

chg: [faq] Add FAQ question on setting baseurl via CLI
pull/209/head
Alexandre Dulaunoy 2021-02-20 10:33:13 +01:00 committed by GitHub
commit a162c61a6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
`/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
### How can I see all the deleted events in a MISP instance?