Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Zenarmor (Sensei)
»
Reinstall Sensei after Elasticsearch crash
« previous
next »
Print
Pages: [
1
]
Author
Topic: Reinstall Sensei after Elasticsearch crash (Read 3139 times)
Antaris
Full Member
Posts: 146
Karma: 13
Reinstall Sensei after Elasticsearch crash
«
on:
May 30, 2021, 12:59:19 pm »
I guess many of us have Elasticsearch stalled after update Sensei.
At least I had it on some of routers, managed by me. Reset reporting or reinstall Sensei not helping.
It is a pain in the @ss if we have to reinstall the entire OPNsense.
I found a simple solution in other place and want to share it, so we have it in the forums here:
1. Backup Sensei configuration, white and black lists first.
2. Connect to the router via SSH or local console and press 8 for Shell.
3. Run this in the console:
Code:
[Select]
pkg remove elasticsearch5
cd /usr/local/etc
rm -rf elasticsearch
4. When you click on some Sensei subnemu, it will demand install, but this time will work
5. Restore you white and blacklists.
6. Buy me a beer
If there a simpler way post it here.
«
Last Edit: May 30, 2021, 01:03:01 pm by Antaris
»
Logged
Proxmox enthusiast @home, bare metal @work.
mb
Hero Member
Posts: 941
Karma: 99
Re: Reinstall Sensei after Elasticsearch crash
«
Reply #1 on:
May 30, 2021, 05:52:52 pm »
@Antaris, thanks for the post. Very helpful.
Did you happen to have the elasticsearch from the community repo at some time?
Any chances you can reach out to support if you still have a system with the problem?
Logged
Antaris
Full Member
Posts: 146
Karma: 13
Re: Reinstall Sensei after Elasticsearch crash
«
Reply #2 on:
May 30, 2021, 06:11:26 pm »
I resolve it immediately when happen. Always checking after update. Otherwise the kids go porn and TikTok
Logged
Proxmox enthusiast @home, bare metal @work.
mb
Hero Member
Posts: 941
Karma: 99
Re: Reinstall Sensei after Elasticsearch crash
«
Reply #3 on:
May 30, 2021, 08:19:19 pm »
Got it, makes sense.
Quick note: filtering will be in effect even if you have problems with the reporting database. Just make sure you have the packet engine running. (Sensei -> Status). You'll only lose reporting.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Zenarmor (Sensei)
»
Reinstall Sensei after Elasticsearch crash