Confirmed. Thanks, you found a bug. Update of ufdbguard is not working too.
Transaction check error: file /var/log/ufdbguard from install of ufdbGuard-1.34.5-2.el7.x86_64 conflicts with file from package nethserver-squidguard-1.9.2-1.ns7.noarch
I think ufdbguard uses it’s own logfile now and it conflicts with the dir /var/log/ufdbguard but my dev machine has some problems, I need to fix that first but I don’t have time now.
Indeed this is a bug: the package has been added to EPEL, it wasn’t present before.
We use packages from: https://www.urlfilterdb.com/downloads/packages.html
I do not know if we can switch to EPEL package, we should make some tests.
In the meanwhile, if you want to workaround the problem, you could try this:
Total size: 79 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction check error:
file /var/log/ufdbguard from install of ufdbGuard-1.34.5-2.el7.x86_64 conflicts with file from package nethserver-squidguard-1.9.2-1.ns7.noarch
OK, so we have a bug…it happens
I tried the workaround, to no avail.
What is the process now and how do we fix our servers? Is it just a case of wait till a new upgrade is made and try again, or will there be an announcement? Sorry for my lack of experience, never had to deal with a bug like this before…all info gratefully recieved!
Substitute install with update to test a machine where the URL filter is already installed.
Pay attention to ufdbGuard version: it should be 1.34.6-2.el7 (some EPEL mirrors are still serving 1.34.6-1.el7).
nethserver-squidguard version is 1.9.2-1.7.g186a20a.ns7.
in the services appear stopped ufdb process, and when I try to restart show these error:
2020-08-12 13:12:28 [3520] The directory ‘/var/run/ufdbguard’ where the pid file is stored, does not exist. creating it.
2020-08-12 13:12:28 [3520] ERROR: Cannot create directory /var/run/ufdbguard: Permission denied
2020-08-12 13:12:28 [3520] ERROR: make sure that /var/run/ufdbguard exists and has the correct permissions
2020-08-12 13:12:28 [3520]
2020-08-12 13:12:28 [3520] FATAL ERROR: cannot write my PID to the pidfile (see previous lines) *****
Now appear running in services, but filtering is not working