Yunohost installed but cannot be reached - NGINX broken

mkdir /var/log/nginx
touch /var/log/nginx/error.log

did it!

I could then yunohost service start nginx
and the webadmin was once again available! Thank you!

The diagnosis shows on the other hand other problems: fail2ban, redis-server and rspamd can not be started. Here’s the log for redis:

journalctl:
  - Journal file /var/log/journal/a1a69568ac1c4ed09dfbcf7c5e474a22/system@71b88c42112248f78fe5a411185f9e98-00000000000005e8-000606f71f02ce09.journal is truncated, ignoring file.
  - -- Journal begins at Fri 2023-10-06 00:00:17 CEST, ends at Fri 2023-10-06 09:02:06 CEST. --
  - Oct 06 09:02:03 redis-server[8488]: >>> 'logfile /var/log/redis/redis-server.log'
  - Oct 06 09:02:03 redis-server[8488]: Can't open the log file: No such file or directory
  - Oct 06 09:02:03 systemd[1]: redis-server.service: Main process exited, code=exited, status=1/FAILURE
  - Oct 06 09:02:03 systemd[1]: redis-server.service: Failed with result 'exit-code'.
  - Oct 06 09:02:03 systemd[1]: Failed to start Advanced key-value store.
  - Oct 06 09:02:04 systemd[1]: redis-server.service: Scheduled restart job, restart counter is at 1.
  - Oct 06 09:02:04 systemd[1]: Stopped Advanced key-value store.
  - Oct 06 09:02:04 systemd[1]: Starting Advanced key-value store...
  - Oct 06 09:02:04 redis-server[8500]: *** FATAL CONFIG FILE ERROR (Redis 6.0.16) ***
  - Oct 06 09:02:04 redis-server[8500]: Reading the configuration file, at line 260
  - Oct 06 09:02:04 redis-server[8500]: >>> 'logfile /var/log/redis/redis-server.log'
  - Oct 06 09:02:04 redis-server[8500]: Can't open the log file: No such file or directory
  - Oct 06 09:02:04 systemd[1]: redis-server.service: Main process exited, code=exited, status=1/FAILURE
  - Oct 06 09:02:04 systemd[1]: redis-server.service: Failed with result 'exit-code'.
  - Oct 06 09:02:04 systemd[1]: Failed to start Advanced key-value store.
  - Oct 06 09:02:04 systemd[1]: redis-server.service: Scheduled restart job, restart counter is at 2.
  - Oct 06 09:02:04 systemd[1]: Stopped Advanced key-value store.
  - Oct 06 09:02:04 systemd[1]: Starting Advanced key-value store...
  - Oct 06 09:02:05 redis-server[8511]: *** FATAL CONFIG FILE ERROR (Redis 6.0.16) ***
  - Oct 06 09:02:05 redis-server[8511]: Reading the configuration file, at line 260
  - Oct 06 09:02:05 redis-server[8511]: >>> 'logfile /var/log/redis/redis-server.log'
  - Oct 06 09:02:05 redis-server[8511]: Can't open the log file: No such file or directory
  - Oct 06 09:02:05 systemd[1]: redis-server.service: Main process exited, code=exited, status=1/FAILURE
  - Oct 06 09:02:05 systemd[1]: redis-server.service: Failed with result 'exit-code'.
  - Oct 06 09:02:05 systemd[1]: Failed to start Advanced key-value store.
  - Oct 06 09:02:05 systemd[1]: redis-server.service: Scheduled restart job, restart counter is at 3.
  - Oct 06 09:02:05 systemd[1]: Stopped Advanced key-value store.
  - Oct 06 09:02:05 systemd[1]: Starting Advanced key-value store...
  - Oct 06 09:02:05 redis-server[8524]: *** FATAL CONFIG FILE ERROR (Redis 6.0.16) ***
  - Oct 06 09:02:05 redis-server[8524]: Reading the configuration file, at line 260
  - Oct 06 09:02:05 redis-server[8524]: >>> 'logfile /var/log/redis/redis-server.log'
  - Oct 06 09:02:05 redis-server[8524]: Can't open the log file: No such file or directory
  - Oct 06 09:02:05 systemd[1]: redis-server.service: Main process exited, code=exited, status=1/FAILURE
  - Oct 06 09:02:05 systemd[1]: redis-server.service: Failed with result 'exit-code'.
  - Oct 06 09:02:05 systemd[1]: Failed to start Advanced key-value store.
  - Oct 06 09:02:06 systemd[1]: redis-server.service: Scheduled restart job, restart counter is at 4.
  - Oct 06 09:02:06 systemd[1]: Stopped Advanced key-value store.
  - Oct 06 09:02:06 systemd[1]: Starting Advanced key-value store...
  - Oct 06 09:02:06 redis-server[8533]: *** FATAL CONFIG FILE ERROR (Redis 6.0.16) ***
  - Oct 06 09:02:06 redis-server[8533]: Reading the configuration file, at line 260
  - Oct 06 09:02:06 redis-server[8533]: >>> 'logfile /var/log/redis/redis-server.log'
  - Oct 06 09:02:06 redis-server[8533]: Can't open the log file: No such file or directory
  - Oct 06 09:02:06 systemd[1]: redis-server.service: Main process exited, code=exited, status=1/FAILURE
  - Oct 06 09:02:06 systemd[1]: redis-server.service: Failed with result 'exit-code'.
  - Oct 06 09:02:06 systemd[1]: Failed to start Advanced key-value store.
  - Oct 06 09:02:06 systemd[1]: redis-server.service: Scheduled restart job, restart counter is at 5.
  - Oct 06 09:02:06 systemd[1]: Stopped Advanced key-value store.
  - Oct 06 09:02:06 systemd[1]: redis-server.service: Start request repeated too quickly.
  - Oct 06 09:02:06 systemd[1]: redis-server.service: Failed with result 'exit-code'.
  - Oct 06 09:02:06 systemd[1]: Failed to start Advanced key-value store.

EDIT : resolved thanks to Services rspamd et redis-server hors service - #13 by hibar84