Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebDAV connections fail with Suspicious Login enabled [Flysystem] #509

Open
Fraggle-Kong opened this issue Jul 19, 2021 · 8 comments
Open

Comments

@Fraggle-Kong
Copy link

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

@ChristophWurst
Copy link
Member

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

@Fraggle-Kong
Copy link
Author

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. 😉

@Chr157i4n
Copy link

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.

@ChristophWurst
Copy link
Member

"External Storage: OneDrive" after disabling the app

👀

this conflicts with another app

bingo!

@Fraggle-Kong
Copy link
Author

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

@froid-san
Copy link

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

@ChristophWurst
Copy link
Member

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

@joshtrichards joshtrichards changed the title WebDAV connections fail with Suspicious Login enabled WebDAV connections fail with Suspicious Login enabled [Flysystem] Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@ChristophWurst @Chr157i4n @froid-san @Fraggle-Kong and others