FoxRomeo / rpi-privoxy

Dockerfile for a basic container with a privoxy
https://www.intrepid.de/index.php/projects/git-docker/5-intrepidde-rpi-privoxy
GNU General Public License v3.0
1 stars 0 forks source link

Privoxy Fatal error: can't load re_filterfile '/etc/privoxy/default.filter': Invalid argument #1

Open Louisina-TSS opened 7 months ago

Louisina-TSS commented 7 months ago

Hello,

When starting Privoxy, I have this error.

2023-11-15 10:45:29.275 f7d6e558 Info: Privoxy version 3.0.34 2023-11-15 10:45:29.275 f7d6e558 Info: Program name: /usr/sbin/privoxy 2023-11-15 10:45:29.277 f7d6e558 Fatal error: can't load re_filterfile '/etc/privoxy/default.filter': Invalid argument

I saw the same issue on another Privoxy Docker, to help: https://github.com/vimagick/dockerfiles/issues/209

Running on Rpi4

Thanks.

edsaavedra84 commented 4 months ago

hey! I ran into the same issue, I figured the base config files were missing. So in the end I did this:

  1. Installed privoxy in my raspi nativelly (to take the config files from it)
  2. Saved the config files generated in 1. (/etc/privoxy)
  3. Ran the docker image from this container using the following: docker run -d --restart=unless-stopped --name rpi-privoxy -v <full_path_of_your_saved_config>:/etc/privoxy/:ro -v <full_path_of_a_log_folder>:/var/log/privoxy:rw -p 8118:8118
  4. Unnisnstalled what I installed in step 1

After that it rans perfectly fine and does it's job :)