Error trying to install shaarli

I have a problem trying to install shaarli on my fresh install of yunohost stable on amd64.

In the shell I get this error:

Attenzione: Job for fail2ban.service failed because the control process exited with error code.

The full log is available on https://paste.yunohost.org/raw/otelapovam

What does systemctl status fail2ban.service says after the failed install ?

This is the result of that command:

root@domain:~# systemctl status fail2ban.service
● fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset:
Active: active (running) (Result: exit-code) since Sat 2019-04-20 19:43:44 CE
Docs: man:fail2ban(1)
Process: 14740 ExecReload=/usr/bin/fail2ban-client reload (code=exited, status Main PID: 1326 (fail2ban-server)
Tasks: 19 (limit: 4915)
CGroup: /system.slice/fail2ban.service
└─1326 /usr/bin/python3 /usr/bin/fail2ban-server -s /var/run/fail2ban

apr 24 23:39:15 domain.org systemd[1]: Reloading Fail2Ban Service.
apr 24 23:39:26 domain.org fail2ban-client[13782]: ERROR NOK: (21, 'Is a dire
apr 24 23:39:27 domain.org systemd[1]: fail2ban.service: Control process exite
apr 24 23:39:27 domain.org systemd[1]: Reload failed for Fail2Ban Service.
apr 24 23:39:45 domain.org systemd[1]: Reloading Fail2Ban Service.
apr 24 23:39:56 domain.org systemd[1]: Reloaded Fail2Ban Service.
Warning: Journal has been rotated since unit was started. Log output is incomple

Ok, I have exactly the same, and I don’t understand why :confused:
Searching the net doesn’t give any clue…

Some days ago I installed shaarli normally on a raspberry and worked fine. Now I installed on a amd64 and I found this error

Hi,

Trying to install Shaarli on a OVH VPS, I get the same error:

$ sudo systemctl status fail2ban.service
● fail2ban.service - Fail2Ban Service
   Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset: enabled)
   Active: active (running) (Result: exit-code) since Tue 2019-04-30 15:14:43 CEST; 20min ago
     Docs: man:fail2ban(1)
  Process: 11002 ExecStop=/usr/bin/fail2ban-client stop (code=exited, status=0/SUCCESS)
  Process: 19832 ExecReload=/usr/bin/fail2ban-client reload (code=exited, status=0/SUCCESS)
  Process: 11036 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, status=0/SUCCESS)
 Main PID: 11040 (fail2ban-server)
   CGroup: /system.slice/fail2ban.service
           └─11040 /usr/bin/python3 /usr/bin/fail2ban-server -s /var/run/fail2ban/fail2ban.sock -p /var/run/fail2ban/fail2ban.pid -x -b

avril 30 15:20:38 ns3313695.ip-5-135-164.eu systemd[1]: Reloading Fail2Ban Service.
avril 30 15:20:44 ns3313695.ip-5-135-164.eu systemd[1]: Reloaded Fail2Ban Service.
avril 30 15:25:27 ns3313695.ip-5-135-164.eu systemd[1]: Reloading Fail2Ban Service.
avril 30 15:25:34 ns3313695.ip-5-135-164.eu systemd[1]: Reloaded Fail2Ban Service.
avril 30 15:30:57 ns3313695.ip-5-135-164.eu systemd[1]: Reloading Fail2Ban Service.
avril 30 15:31:04 ns3313695.ip-5-135-164.eu fail2ban-client[19358]: ERROR  NOK: (21, 'Is a directory')
avril 30 15:31:05 ns3313695.ip-5-135-164.eu systemd[1]: fail2ban.service: Control process exited, code=exited status=255
avril 30 15:31:05 ns3313695.ip-5-135-164.eu systemd[1]: Reload failed for Fail2Ban Service.
avril 30 15:31:07 ns3313695.ip-5-135-164.eu systemd[1]: Reloading Fail2Ban Service.
avril 30 15:31:15 ns3313695.ip-5-135-164.eu systemd[1]: Reloaded Fail2Ban Service.

You all use the current master version ? (=not another branch, just the normal install)

Yep. I use the classic sudo yunohost app install shaarli command.
Log 1 | log 2

I use the same command too with the same log from jln

Same here, impossible to reinstall Shaarli today. Same problemes as quoted / encoutered below.

Its fail2ban error. I will see why its failing tonight.

3 Likes

Thanks @kanhu :slight_smile:

Meanwhile, if someone needs to install Shaarli and doesn’t care about fail2ban support (warning: you will not be protected against brute force attacks), you can use this repository: yunohost app install https://github.com/lapineige/shaarli_ynh

I removed fail2ban as a temporary “fix”.

2 Likes

Hi,
I’m dealing with the similar issue when I update my Nextcloud application.
Is there any (safe) work around for updates?

This is ralated to this https://github.com/YunoHost/yunohost/pull/711/files and will get updated in yunohost soon, I guess.

1 Like