Nextcloud version (eg, 18.0.2): 20.0.5.2
Operating system and version (eg, Ubuntu 20.04): Debian 10.7 Buster
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.38 (Debian)
PHP version (eg, 7.1): PHP 7.3.19-1~deb10u1 (cli)
The issue we are facing:
After upgrade from 20.0.4.to 20.0.5.2 the logging gets flooded by 1.5 GB of junk on a daily basis. Presumably, the Nextcloud CompareVersion.php is broken.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Upgrade from 20.0.4.to 20.0.5.2
- Give the cron job a day to circle for the regular Apps update check
- Enjoy the show by listing the Log-file by help of CLI like
ls -la nextcloud.log
Some tiny snippet from the output of my Nextcloud log in Admin > Logging:
{\"name\":\"GpxPod\",\"summary\":\"Display, analyse, compare and share GPS track files\",
\"description\":\"# GpxPod Nextcloud application\\n\\nDisplay,
##### Mega-Junk of data comes here #####
\\/t5HqJSx1EjUCLYS4y\\n-----END CERTIFICATE-----\",
\"discussion\":\"https:\\/\\/help.nextcloud.com\\/c\\/apps\\/gpxpod\"}]",false]},
{"file":"/var/www/nextcloud/lib/private/Installer.php","line":411,
"function":"get","class":"OC\\App\\AppStore\\Fetcher\\Fetcher","type":"->","args":[false]},
{"file":"/var/www/nextcloud/apps/updatenotification/lib/Notification
/BackgroundJob.php","line":276,"function":"isUpdateAvailable","class":"OC\\Installer",
"type":"->","args":["accessibility"]},{"file":"/var/www/nextcloud/apps/updatenotification/lib/Notification/BackgroundJob.php","line":164,
"function":"isUpdateAvailable","class":"OCA\\UpdateNotification\\Notification\\BackgroundJob","type":"->","args":["accessibility"]},
{"file":"/var/www/nextcloud/apps/updatenotification/lib/Notification/BackgroundJob.php","line":88,
"function":"checkAppUpdates","class":"OCA\\UpdateNotification\\Notification\\BackgroundJob","type":"->","args":[]},
{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":
"OCA\\UpdateNotification\\Notification\\BackgroundJob","type":"->","args":[null]},
{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":59,
"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->",
"args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]},
{"file":"/var/www/nextcloud/cron.php","line":127,"function":"execute","class":
"OC\\BackgroundJob\\TimedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},
{"__class__":"OC\\Log"}]}],"File":"/var/www/nextcloud/lib/private
/App/CompareVersion.php","Line":49,"CustomMessage":"--"},"userAgent":"--","version":"20.0.5.2"}
The above line is quite long and I put in some line breaks for a better readability.
The content looks as if pre-loaded data from the Nextcloud App-Store gets copied into the Log-file repeatedly. The amount of junk data is around 1.5 GB of text.
The content seems to be compared to
However, the GpxPod App was not installed to this NC 20 entity.
Happy hacking!