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

Cannot use with league/flysystem-sftp:^3.0 #274

Closed
nhung-le opened this issue Dec 17, 2022 · 2 comments · Fixed by #272
Closed

Cannot use with league/flysystem-sftp:^3.0 #274

nhung-le opened this issue Dec 17, 2022 · 2 comments · Fixed by #272
Labels
Milestone

Comments

@nhung-le
Copy link

nhung-le commented Dec 17, 2022

Bug Report

Q A
BC Break yes
Version 4.5.0

Summary

Package league/flysystem-sftp is abandoned, you should avoid using it. Use league/flysystem-sftp-v3 instead.

So I installed league/flysystem-sftp-v3 using composer. But I can't do last step cache clear anymore because it keeps saying:

In getOneupFlysystem_MediaFsFilesystemService.php line 25:

  Class "League\Flysystem\PhpseclibV2\SftpAdapter" not found

How to reproduce

        <service id="oneup_flysystem.adapter.sftp" class="League\Flysystem\PhpseclibV2\SftpAdapter" abstract="true" public="false">

  • that OneupFlysystemBundle still load League\Flysystem\PhpseclibV2\SftpAdapter which will cause this issue. because in the new bundle league/flysystem-sftp-v3 it should be League\Flysystem\PhpseclibV3\SftpAdapter.
  • Other file paths should be the same since the biggest problem is flysystem-sftp-v3 requires phpseclib/phpseclib: ^3.0

If you could support this, thank you very much!! 🙏

@bytehead bytehead added the bug label Dec 19, 2022
@bytehead bytehead added this to the 4.x milestone Dec 19, 2022
@bytehead
Copy link
Member

It will be fixed with #272

@bytehead bytehead linked a pull request Dec 19, 2022 that will close this issue
@bytehead
Copy link
Member

Duplicate of #270.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants