Fail2ban fails to start

touch: cannot touch '/home/yunohost.app/nextcloud/data/nextcloud.log': No such file or directory

I kind of messed up different things on my Nextcloud install before this. Here we go :confused:

  • I changed nextcloud’s storage to a external ssd drive (Déplacement données Nextcloud sur disque externe : erreur au scan du nouveau répertoire). It went OK.

  • Then I had an unexpected Errror 504 “bad gateway” when trying to reach the Nextcloud URL. I figured out that it was related to a failed OnlyOffice install (OnlyOffice fails to install). I manually deleted the OnlyOffice folder in in /var/www/nextcloud/apps (this might be the biggest mistake I did…), but then my Freebox died and everything was offline for a few days !

  • I received the new Freebox yesterday, and restarted my Pi Yunohost server. Now I can reach Nextcloud, sync works fine, everything’s OK, fail2ban failing to start is the last error I see.