YunoHost-Apps / freshrss_ynh

FreshRSS package for YunoHost
https://freshrss.org
GNU Affero General Public License v3.0
28 stars 20 forks source link

Restore Freshrss on a clean server break fail2ban #172

Open gwen-lg opened 7 months ago

gwen-lg commented 7 months ago

Describe the bug

After restoring a full backup of yunohost with freshrss app installed, fail2ban don't start.

Context

Steps to reproduce

Fix the problem

To fix the problem, the file /var/log/${domaine}-access.log should be re-created (or restored)

Expected behavior

The freshrss app shouldn't break the fail2ban service. The file /var/log/${domaine}-access.log should be available

What is the best solution ?

croulibri commented 6 months ago

Hello, In my case, the logfile exists but FreshRSS indicate the wrong location. In the restore script, log file is indicated at /var/log/ but the real location of the logfile is at /var/log/nginx/ A SymLink corrects this situation temporarily but a restore script correction would be better 🙂