• 1 Post
  • 15 Comments
Joined 3 months ago
cake
Cake day: February 8th, 2025

help-circle

  • Taking a look at your docker-compose.yml I see this volume mount:

    volumes: 
    - /volume1/SN/Docker/searxng-stack/searxng:/etc/searxng:rw
    

    Whereas /volume1/SN/Docker/searxng-stack/searxng is the directory on your system docker is attempting to use to store the files inside the container from /etc/searxng.

    Example of a volume mount that’ll likely work better for you;

    volumes:
    - ~/docker/config/searxng:/etc/searxng:rw
    

    The tilde (~) acts as your current users home directory (aka: /home/YourUser) not owned by root and where docker persistent volumes should be stored.

    After making the change over to that directory and configuring SearXNG how you like re-create your docker container with sudo docker compose up -d —force-recreate

    Apologies for the poor formatting, typing this on mobile.

    Edit:

    Note: if you want to expose the port do not add the 127.0.0.1 like how I have in my docker-compose.yml.


  • have you checked the directory & file permissions with ls -la /Your/SearXNG/WorkingDir ?

    The error in your log is telling you that the container does not have permission to that directory/file, you can essentially bypass this with sudo chmod 777 /Your/SearXNG/WorkingDir/* and sudo chown 1000:1000 /Your/SearXNG/WorkingDir/*

    However, if you’re looking for security best practices this is not advisable but if all you care about is that it works it should be fine.



  • My ASUS WRT router running Merlin firmware offers to host a WireGuard server, I simply use the WireGuard app, dump the config file in and hit connect.

    Took a little configuration but eventually got it working how I want it.

    Edit: Reason for the Merlin Firmware is because I can route my VPN server through my VPN provider, goes a little like this;

    5G/LTE > WireGuard to my router > Router routes that connection to ProtonVPN

    This gives me access to the resources in my home while also reaping the benefits of my VPN provider.






  • This was maybe 2-3ish years ago;

    I started with a raspberry pi 4 bundle from Amazon, played around with the Linux filesystem, bash shell, APT package manager and just kept reinstalling the headless Debian 12 OS if I believed to have bricked it beyond repair.

    Eventually learned about the Docker Engine & Docker Compose and that essentially gave access to a plethora of software I would’ve have never have used before.

    The raspberry pi 4 started to show sluggishness as I started piling more and more services on it so, Instead of buying traditional server grade hardware I liked the small form factor of the Pi so I opted for a 13th gen Asus Nuc with an 12 core i7.

    Everything runs beautifully now and I even run Debian 12 on my desktop as well!




  • I think something else may be wrong if it breaks for 20 minutes.

    When I originally setup my PiHole many, many, many months ago when I was still learning the Docker engine I had little to no issue.

    I don’t know what caused it either being a power-outage or network loss but ever since I’ve been experiencing DNS related issues (I suspect it’s NTP not syncing), some days I’ll wake up before work realizing “oh shit I have no internet access” frantically trying to fix the issue.

    I think i might take the advice of other commenters here and host two PiHole servers on separate devices/stacks, just got to hope my router supports it.