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

[Bug]: occ files:scan can't be cancelled #42562

Closed
5 of 8 tasks
mio-19 opened this issue Jan 3, 2024 · 2 comments
Closed
5 of 8 tasks

[Bug]: occ files:scan can't be cancelled #42562

mio-19 opened this issue Jan 3, 2024 · 2 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 27-feedback bug

Comments

@mio-19
Copy link

mio-19 commented Jan 3, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

ooc files:scan can't be cancelled

Steps to reproduce

  1. docker exec --user www-data -it nextcloud-aio-nextcloud php occ files:scan --all
  2. press Ctrl+C
^CError during scan: Invalid callback OCA\Files\Command\Scan::cancelOperation, cannot access protected method OCA\Files\Command\Scan::cancelOperation()
^CError during scan: Invalid callback OCA\Files\Command\Scan::cancelOperation, cannot access protected method OCA\Files\Command\Scan::cancelOperation()
^CError during scan: Invalid callback OCA\Files\Command\Scan::cancelOperation, cannot access protected method OCA\Files\Command\Scan::cancelOperation()
^C^CError during scan: Invalid callback OCA\Files\Command\Scan::cancelOperation, cannot access protected method OCA\Files\Command\Scan::cancelOperation()
^CError during scan: Invalid callback OCA\Files\Command\Scan::cancelOperation, cannot access protected method OCA\Files\Command\Scan::cancelOperation()
^CError during scan: Invalid callback OCA\Files\Command\Scan::cancelOperation, cannot access protected method OCA\Files\Command\Scan::cancelOperation()
^C^C^CError during scan: Invalid callback OCA\Files\Command\Scan::cancelOperation, cannot access protected method OCA\Files\Command\Scan::cancelOperation()
^CError during scan: Invalid callback OCA\Files\Command\Scan::cancelOperation, cannot access protected method OCA\Files\Command\Scan::cancelOperation()
^CError during scan: Invalid callback OCA\Files\Command\Scan::cancelOperation, cannot access protected method OCA\Files\Command\Scan::cancelOperation()
^CError during scan: Invalid callback OCA\Files\Command\Scan::cancelOperation, cannot access protected method OCA\Files\Command\Scan::cancelOperation()
^C^C^C^C^CError during scan: Invalid callback OCA\Files\Command\Scan::cancelOperation, cannot access protected method OCA\Files\Command\Scan::cancelOperation()

Expected behavior

It can be cancelled so that I can run the command in a screen instead of unstable bare ssh.

Installation method

Official All-in-One appliance

Nextcloud Server version

27

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@mio-19 mio-19 added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jan 3, 2024
@solracsf
Copy link
Member

solracsf commented Jan 3, 2024

@kesselb maybe backport #40067?

@kesselb
Copy link
Contributor

kesselb commented Jan 3, 2024

I have no opinion about it.

Because of its low impact, I didn't backport it back then.

@solracsf solracsf changed the title [Bug]: ooc files:scan can't be cancelled [Bug]: occ files:scan can't be cancelled Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 27-feedback bug
Projects
None yet
Development

No branches or pull requests

4 participants