suspicious_login icon indicating copy to clipboard operation
suspicious_login copied to clipboard

WebDAV connections fail with Suspicious Login enabled [Flysystem]

Open Fraggle-Kong opened this issue 2 years ago • 8 comments

Hi all,

when Suspicious Login is enabled, all WebDAV connection attempts fail and following fatal log message is generated:

TypeError: Argument 1 passed to League\Flysystem\Filesystem::__construct() must be an instance of League\Flysystem\AdapterInterface, instance of League\Flysystem\Local\LocalFilesystemAdapter given, called in /var/www/nextcloud/apps/suspicious_login/vendor/rubix/ml/src/Persisters/Filesystem.php on line 32

Could someone please give me a clue for a workaround or is this really something that needs to be fixed? I'm not a coder, unfortunately, I cannot address the problem on my own.

Kind regards,

christian

Fraggle-Kong avatar Jul 19 '21 02:07 Fraggle-Kong

Sounds like this app ships flysystem and this conflicts with another app or nextcloud server dependencies

ChristophWurst avatar Jul 19 '21 08:07 ChristophWurst

The problem did not occur with nextcloud 20. Since Nextcloud 21.0.1, it came up. So, I will have to leave Suspicious Login disabled until someone can show me the way. 😉

Fraggle-Kong avatar Jul 19 '21 10:07 Fraggle-Kong

I had the same error today. In my case it was the app "External Storage: OneDrive" after disabling the app, i could login again. Try disabling your nextcloud apps, that you installed when the error first occured and then try to login.

Chr157i4n avatar Jul 21 '21 00:07 Chr157i4n

"External Storage: OneDrive" after disabling the app

:eyes:

this conflicts with another app

bingo!

ChristophWurst avatar Jul 26 '21 06:07 ChristophWurst

Yeah! That's the solution. Thanks a bunch. I really prefer Suspicious Login over External Storage: One Drive. 😉 Have a great day!

Fraggle-Kong avatar Jul 27 '21 05:07 Fraggle-Kong

Duplicati is also being blocked by this, any solutions? or just disable the app?

froid-san avatar Nov 03 '21 18:11 froid-san

Right now there is no real workaround as long as Flysystem is a hard requirement of this app's dependencies.

ChristophWurst avatar Nov 03 '21 19:11 ChristophWurst