All logins reported as suspicious - underlying DataLoader.php bug
billgertz opened this issue · 1 comments
billgertz commented
Any login attempt results in a nextcloud.log entry with the following details:
InvalidArgumentException
Datasets must have the same number of columns, 48 expected, but 16 given.
/usr/local/lib/owncloud/apps/suspicious_login/lib/Service/DataLoader.php
line 131
Rubix\ML\Datasets\Labeled->merge()
/usr/local/lib/owncloud/apps/suspicious_login/lib/Service/TrainService.php
line 72
OCA\SuspiciousLogin\Service\DataLoader->generateRandomShuffledData()
/usr/local/lib/owncloud/apps/suspicious_login/lib/BackgroundJob/TrainJobIpV4.php
line 70
OCA\SuspiciousLogin\Service\TrainService->train()
/usr/local/lib/owncloud/lib/public/BackgroundJob/Job.php
line 81
OCA\SuspiciousLogin\BackgroundJob\TrainJobIpV4->run()
/usr/local/lib/owncloud/lib/public/BackgroundJob/TimedJob.php
line 102
OCP\BackgroundJob\Job->start()
/usr/local/lib/owncloud/lib/public/BackgroundJob/TimedJob.php
line 92
OCP\BackgroundJob\TimedJob->start()
/usr/local/lib/owncloud/cron.php
line 152
OCP\BackgroundJob\TimedJob->execute()
This probably related to issue #860
How to replicate:
- Login into nextcloud as any user
- Login into nextcloud as Admin
- Goto Adimistrative Settings > Administration > Logging
- Find the suspicious_login entry and click on the hamburger ( '...')
- Select Show details
joshtrichards commented
Duplicate of #860