u/3WolfTShirt

Crowdsec Dashboard install on Unraid

Crowdsec Dashboard install on Unraid

Hey guys - quick question.

Edit/Update: I'm leaving my original post/question below as-is, but in a moment of clarity, I realized what the directions were probably saying was that 99:99 wasn't key:variable but was <crowdsec_value>:<crowdsec-dashboard value>.
I had gotten it working earlier by manually changing permissions with chmod on the crowdsec.db file but after a restart of my containers a few days later the permissions returned to what it was before and dashboard was no longer able to read crowdsec.db.
Resolution:
In the crowdsec container I set key:variable to UID:99, GID:98.
The crowdsec-dashboard container has MUID:99, MGID:98 so it looks like these variables map between the containers like:
crowdsec UID = crowdsec-dashboard MUID, value is 99 for both.
crowdsec GID = crowdsec-dashboard MGID, value is 98 for both.

Once I updated crowdsec with UID:99, GID:98, crowdsec-dashboard can now read crowdsec.db again.

Original Post where my understanding of the directions wasn't correct:
I'm new to crowdsec and just got it up and running on Unraid. Now I'm following up with the metabase crowdsec-dashboard container install on Unraid.

Under "Additional Requirements" it states:

>Add the following to your Crowdsec container as enviroment variables to give the dashboard appropriate permisions to read data:
UID: 99:99
GID: 98:98

Is that format in <variable name>: <key>:<value> ?

So I would go back to the crowdsec config and add this variable as shown in my screenshot and repeat for GID: 98:98, right? It just seemed a bit strange adding a numeric key so just wanted to double-check.

https://preview.redd.it/wdip584zlxzg1.png?width=532&format=png&auto=webp&s=6aa2e630087a25919e20b7563189d27ef64c5eb4

reddit.com
u/3WolfTShirt — 13 days ago
▲ 12 r/Dewalt

Update/Edit: Thanks for all the input, guys. In the meantime I have just about completed the struts - and sway bar links since I'm there and they're cheap. It sounds like the DCF891 would be the best to start out with and go up from there if necessary.

I'm getting up there in age and I'm the middle of replacing struts on my SUV. Every nut and bolt has been a struggle. I think the last shop to do the tires must've used an impact wrench and I've had a hard time getting the lug nuts off. Eventually I had to use a hydraulic jack to push my breaker bar up for all of them. And that's just to get the tire off so I can start replacing the struts.

I started to complain here about how many joints in my body hurt afterwards but I'll just get to the point.

I don't do this work often but it's caused me to start looking at impact wrenches. I have a good shop compressor so an air tool would be fine. I'm on the DeWalt 20v and flexvolt platform so that would probably be a better option since it's more portable than dragging an air hose out.

Are you guys happy with DeWalt impact wrenches for this kind of work?

I'm tired, boss.

reddit.com
u/3WolfTShirt — 23 days ago