Skip to content
www.linuxonlinehelp.eu
Professional Linux PC & Server Support since 2004
  • Index
  • Blog
  • Hotline & Contact
  • GDPR
  • Legal Notice
www.linuxonlinehelp.eu
  • Index
  • Blog
  • Hotline & Contact
  • GDPR
  • Legal Notice

NEXTCLOUD OWNCLOUD BUG FAIL2BAN

Posted on 8. March 2018

FAIL2BAN blocks access to “.ocdata” file!

Apache Error Log:

..AH01630: client denied by server configuration: ... cloud/data/.ocdata

create with a Custom Rule for FAIL2BAN do:
 $sudo nano /etc/fail2ban/filter.d/apache-auth.local

insert:
[apache-auth]
ignoreregex = nextcloud/data/.ocdata

do:
$sudo service fail2ban restart

Check Log:
tail -f n50 /var/log/apache2/error.log

Remark:
Sometimes the Login take long time after Enter the Password
this indicates a filled up “oc_bruteforce_attempts” Table!!

login into mysql:

$mysql -u user -p

select database:
USE Nextcloud;

show all values from the oc_bruteforce_attempts table, use:
SELECT * FROM oc_bruteforce_attempts;

remove “ALL” IP’s from the table, do step by step:
DELETE FROM oc_bruteforce_attempts WHERE IP="xxx.xxx.xxx.xxx";

Logout of mysql with exit..

Login into nextcloud as Admin and delete first the App Bruteforce Login cause FAIL2BAN works WITHOUT MYSQL!!

Filed under: apache, cloud, Howto, news, nextcloud, OSS Bug Reports, Support, sustainability

← Previous PostNext Post →
Klick to Search on Index

Job Recruiters

Exploring new opportunities as an International Senior IT Analyst or IT Product-Manager. Open to exciting roles worldwide – let’s connect!

Bookmark me..

qrcode bookmark www.linuxonlinehelp.eu

Categories

Affiliate Android apache Archiving avm AWS Backup Blogging Cleanup cloud Collaboration Tools Console debian Firewall FreeBSD Hardware Bugs Howto Internet Planetary Filesystem IT-Security Laptop Linux News luks Maintenance Micro Server MySQL Newbie Info news nextcloud Openmips Openwrt OSS Bug Reports Raspian Router samba Socialmedia Software Bugs Support sustainability Technic ubuntu Webserver Webui Windows Wordpress Workarounds

Social Media

  • GitHub
  • Instagram
  • Linkedin Profile
  • Weatherstation
  • Wiki (PW needed)
  • Xing Profile

Bookmarks

  • DSGVO GDPR
  • Internetrecht-Laws

IT Security Bookmarks

  • DSA Debian Security Bugs
  • Kali Linux Tool OS
  • Privoxy Proxy NoAds
  • Tails Ram OS Secure
  • Tor Net Anonymous
  • USN Ubuntu Security Bugs
  • Vulnerability Database

Linux Bookmarks

  • Debian Forum
  • Debian Linux Home
  • Devuan NEW!
  • Download Ubuntu
  • Elementary OS Linux
  • Linux Kernel Bugs Library
  • LXDE Window Manager
  • Openbox Windowmanager
  • Openmips Multimedia OS
  • Openwrt LEDE Bugs
  • Openwrt Router OS
  • Raspberry Pi Project
  • Tiny Core Linux
  • Ubuntu Forum German
  • Ubuntu Linux Home
  • Xfce4 Desktop Home

Unix Bookmarks

  • Forum DesktopBSD
  • FreeBSD Unix OS
  • FreeBSD Wiki
  • Monowall Firewall OS 32bit
  • OPN Sense (mOnOWall)
  • PF Sense Firewall OS BSD 64bit
© 2026 - www.linuxonlinehelp.eu | All rights reserved
Powered by Linuxonlinehelp