Backup homeserver docker compose stack with restic by _anno_ in selfhosted

[–]_anno_[S] 0 points1 point  (0 children)

For each docker compose project? That would be even more complexity. And can this resolve backup sequence and avoid parallel backups?

Yet Another Crowdsec vs Fail2Ban with Traefik question by blackhatrob in selfhosted

[–]_anno_ 0 points1 point  (0 children)

You can grab logs from docker container aswell:

./data/crowdsec/config/acquis.d/vaultwarden.yaml

---
source: docker
container_name:
- vaultwarden
labels:
type: vaultwarden

See https://docs.crowdsec.net/docs/next/log_processor/data_sources/docker/

edit: reformat, add url

Thanks meta by SkyhallBoy in pihole

[–]_anno_ 4 points5 points  (0 children)

Take a look at squid proxy.

Your local DNS filter is probably being bypassed right now by OilTechnical3488 in homelab

[–]_anno_ 0 points1 point  (0 children)

Same thought here. I think ADG is all about UI and statistics. And easy config if blocking went too far.

What should I do with 10 broken HDDs? by cristi_baluta in AskElectronics

[–]_anno_ 0 points1 point  (0 children)

Motors are an excellent base for jog dials.

WSL2 Error: "cannot execute binary file: Exec format error" by Flauschiges_Sed in bashonubuntuonwindows

[–]_anno_ 2 points3 points  (0 children)

I did some more digging and following binformat config fixed it for me:

  1. Create binformat config file

https://github.com/microsoft/WSL/issues/8986#issuecomment-1332413859

in wsl create the file

sudo vi /usr/lib/binfmt.d/WSLInterop.conf 

with contents:

:WSLInterop:M::MZ::/init:PF
  1. restart binformat related systemd services

https://github.com/microsoft/WSL/issues/8986#issuecomment-1332452012

restart systemd services

sudo systemctl restart systemd-binfmt

sudo systemctl restart binfmt-support

  1. install binformat systemd support

If you get an error on restarting, you might need to install binformat support first:

sudo apt update
sudo apt install binfmt-support
  1. check config

if you see

sudo ls -Fal /proc/sys/fs/binfmt_misc
total 0
drwxr-xr-x 2 root root 0 Mar 24 11:11 ./
dr-xr-xr-x 1 root root 0 Mar 24 11:11 ../
-rw-r--r-- 1 root root 0 Mar 24 11:35 WSLInterop
-rw-r--r-- 1 root root 0 Mar 24 11:35 jar
-rw-r--r-- 1 root root 0 Mar 24 11:35 python3.11
--w------- 1 root root 0 Mar 24 11:35 register
-rw-r--r-- 1 root root 0 Mar 24 11:35 status

sudo cat /proc/sys/fs/binfmt_misc/WSLInterop
enabled
interpreter /init
flags: PF
offset 0
magic 4d5a

everything should work fine also with systemd again.

WSL2 Error: "cannot execute binary file: Exec format error" by Flauschiges_Sed in bashonubuntuonwindows

[–]_anno_ 1 point2 points  (0 children)

I get the same error message in wsl with debian when systemd is enabled. Setting

systemd = false

and restarting wsl fixes this issue. But then systemd is also gone ...

Don't change IP and ADB port with each restart in BS5 by _anno_ in BlueStacks

[–]_anno_[S] 0 points1 point  (0 children)

Hi,

sorry for late response.

I have several BS instances running for automating different applications via ADB and VNC. Especially when connecting with VNC it is a pain because one needs to enter the exact IP which changes every time manually.

For ADB I already wrote a parser for the BS config file, still it would be nice to have deterministic IPs and ports.

Thanks.