Skip to content

Commit 9c4cbb0

Browse files
committed
TCR-700: update how-to handle database issue
1 parent 7e50416 commit 9c4cbb0

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

docs/faq_and_known_issues/README.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -850,16 +850,31 @@ or some lines with
850850
```
851851
</div>
852852

853-
The `imunify360.db` file is an sqlite3 database the Imunify360 relies on; it contains incidents, malware hits/lists, settings, etc. Using this workaround will force the database recreation:
853+
Imunify360 relies on several sqlite3 database files: `imunify360.db`, `imunify360-resident.db`, and `imunify360-ipsetlists.db`. They contain incidents, malware hits/lists, settings, etc.
854+
In case any of the databases are missing, they will be recreated upon service start:
854855

855-
<div class="notranslate">
856+
```
857+
# systemctl stop imunify360-agent
858+
# systemctl restart imunify360
859+
# systemctl start imunify360-agent
860+
```
861+
862+
Alternatively, if `imunify360-resident.db` and `imunify360-ipsetlists.db` are missing, they can be recreated using the following command:
856863

857864
```
858-
# service imunify360 stop
865+
# systemctl stop imunify360-agent imunify360
866+
# imunify360-agent checkdb --recreate-schema
867+
# systemctl start imunify360 imunify360-agent
868+
```
869+
870+
To force database recreation:
871+
```
872+
# systemctl stop imunify360-agent imunify360
859873
# mv /var/imunify360/imunify360.db /var/imunify360/imunify360.db_backup
860-
# service imunify360 start
874+
# mv /var/imunify360/imunify360-resident.db /var/imunify360/imunify360-resident.db_backup
875+
# mv /var/imunify360/imunify360-ipsetlists.db /var/imunify360/imunify360-ipsetlists.db_backup
876+
# systemctl start imunify360 imunify360-agent
861877
```
862-
</div>
863878

864879
If you face any difficulties during the progress or simply cannot make the agent start, please run
865880

0 commit comments

Comments
 (0)