-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to upgrade #65
Comments
Hi, thank you to open this one! I think the problem comes from: etherpad_mypads_ynh/scripts/_common.sh Line 77 in c895bdf
Found in logs:
Can you give us the result of this command please?
In any case, I think a quick fix on our side would be to replace this: |
Hi @kay0u ;) journalctl -u fail2ban -n10
the app rolled-back on the previous version and is availlable, where do you think i should replace the |
for information , fail2ban is running without any action on my side :
|
Nowhere, it was on our side :-), at this place: etherpad_mypads_ynh/scripts/_common.sh Line 77 in c895bdf
I don't know, but if it is, we should handle this case anyway |
yep our != your, it's not my day ^^ |
https://github.com/YunoHost/yunohost/blob/stretch-testing/data/helpers.d/backend#L421 Already fixed on the incoming testing. Anyway, I don't think the problem was about the reload itself, but more probably because of this timeout that has killed the service. |
Also, this is not the log of the crash !
Fail2ban's log is about a crash at 10:41
|
humm, |
No, just remove |
damn :/
/var/log/fail2ban.log (extract) is here : https://krashboyz.org/zerobin/?7870be00a8e608ec#HpNFrfGQCtBDOE6TPxiAbjZh8mvZYy8U9eT6Z1h59fM= i think fail2ban was reloading and fetching banned ip , |
!!! First thing would be to retry to update, if it was just because of fail2ban being busy, it could work this time. |
when
perhaps we should flush all the banned ip before restarting the fail2ban / before the whole upgrade ? |
Probably the unban of all IP is a internal process of fail2ban before stopping. |
yep |
Could you provide the full log, captured with tail -f ? |
yes sure, |
the full log of the tail -f /var/log/fail2ban.org : https://krashboyz.org/zerobin/?ee4f8ff93bc7a403#MLFPGGEw39+N1A0H5Ksp8Ine/xc9tZl4V4fx7y/E+qY= the output of the cli upgrade : https://krashboyz.org/zerobin/?51d32205b1964b61#EK2BvpnSYSdVmhn6eSffosL6c9RXXHEXL5lyQh4mNZ4= the log of the first fail during this operation : the second one : the service fail2ban status (right now)
|
do you want i remove all banned ip by fail2ban, relaunch fail2ban and start the upgrade again ? |
Yes please try that. Maybe for this specific service, in this helper, we should stop , then start to be sure it have all the time it needs. |
ok, it worked,
then i used : upgrade is OK perhaps we should flush the |
I'd rather prefer to let time to fail2ban to do its job. An app upgrade shouldn't remove banned IP from fail2ban. Anyway, thanks or this bug, we now know that it could happen with fail2ban. |
Hi, etherpad_mypads_ynh is in fail when trying to upgrade,
there is two logs :
https://paste.yunohost.org/raw/rucoqajeji
https://paste.yunohost.org/raw/dihilivuxa
i don't understand what's happen,
Feel free to ask for more details,
thx for your help
The text was updated successfully, but these errors were encountered: