Error keeps flooding my log file and eating my resources

Nextcloud version: 20.0.0
Operating system and version: Linux (my CPanel info doesn’t specify beyond this… sorry)
Apache or nginx version: Apache 2.4.46
PHP version: 7.4.9

The issue: I have the below error flooding my log file constantly, which is making my log file large enough that it maxes out my disk space (my NC is hosted by a provider.) I have to delete the log file to free enough disk space so I can log in, but this is only a temporary workaround. Once a new log is generated, it just continues to fill up with the error all over again. I spoke to my provider’s support and they said it was a software issue that needed to be addressed by a developer. EDIT: I’ve turned off writing permissions for my log file for now… but I definitely don’t want to keep it this way!

Is this the first time you’ve seen this error? Yes

Steps to replicate it:

  1. Deleted nextcloud.log file, a new log file generated and continued to fill up with the same error

The output of your Nextcloud log in Admin > Logging:

OC\Log\ErrorHandler::onError(2, "XMLReader:: ... d", "/home/USERNAME ... p", 63, { previousEn ... ]})

/home/USERNAME/public_html/3rdparty/sabre/xml/lib/Reader.php - line 63:

XMLReader->read()

/home/USERNAME/public_html/3rdparty/sabre/xml/lib/Service.php - line 128:

Sabre\Xml\Reader->parse()

/home/USERNAME/public_html/3rdparty/icewind/searchdav/src/DAV/SearchPlugin.php - line 111:

Sabre\Xml\Service->parse("", "/remote.php/dav/", null)

/home/USERNAME/public_html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:

SearchDAV\DAV\SearchPlugin->searchHandler(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})

/home/USERNAME/public_html/3rdparty/sabre/dav/lib/DAV/Server.php - line 474:

Sabre\DAV\Server->emit("method:SEARCH", [ Sabre\HTTP ... }])

/home/USERNAME/public_html/3rdparty/sabre/dav/lib/DAV/Server.php - line 251:

Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})

/home/USERNAME/public_html/3rdparty/sabre/dav/lib/DAV/Server.php - line 319:

Sabre\DAV\Server->start()

/home/USERNAME/public_html/apps/dav/lib/Server.php - line 325:

Sabre\DAV\Server->exec()

/home/USERNAME/public_html/apps/dav/appinfo/v2/remote.php - line 35:

OCA\DAV\Server->exec()

/home/USERNAME/public_html/remote.php - line 167:

require_once("/home/USERNAME ... p")

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'REMOVED',
  'passwordsalt' => 'REMOVED',
  'secret' => 'REMOVED',
  'trusted_domains' => 
  array (
    0 => 'MYDOMAIN.COM',
  ),
  'datadirectory' => '/home/USERNAME/nextclouddata',
  'dbtype' => 'mysql',
  'version' => '20.0.0.9',
  'overwrite.cli.url' => 'https://MYDOMAIN.COM',
  'dbname' => 'REMOVED',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'REMOVED',
  'dbpassword' => 'REMOVED',
  'installed' => true,
);

Please note I just set up my NC yesterday and I’m still pretty new at this and learning, but I’d like to think I can be decent at figuring this out if I’m pointed in the right direction. Even though the errors are all completely foreign to me, I did notice HTTP was mentioned a lot… so in my digging through the KB I found this. Can someone confirm if I’m on the right track or not? Any other suggestions would be very helpful!

Thanks. :slight_smile: