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

Error in cleanup console command #652

Closed
hbugdoll opened this issue Jul 27, 2021 · 4 comments
Closed

Error in cleanup console command #652

hbugdoll opened this issue Jul 27, 2021 · 4 comments
Assignees

Comments

@hbugdoll
Copy link
Member

What steps will reproduce the problem?

Run ./vendor/bin/luya admin/storage/cleanup as per https://luya.io/guide/luya-console
i.e. after an unused block file was deleted.

What is the expected result?

Cleanup of db/storage

What do you get instead? (A Screenshot can help us a lot!)

'Error' with message 'Class 'luya\admin\importers\StorageImporter' not found'

in .../vendor/luyadev/luya-module-admin/src/commands/StorageController.php:25

StorageImporter was removed a few years ago (#268).

@nadar
Copy link
Contributor

nadar commented Jul 28, 2021

Yes indeed. I will remove anything related to storage cleanup system - or fix what should be kept. There i even a new issue regarding this #598

@nadar nadar self-assigned this Jul 28, 2021
@nadar nadar closed this as completed in f675018 Aug 10, 2021
@nadar
Copy link
Contributor

nadar commented Aug 10, 2021

The problem with this command is that it won't work for different filesystems (for example https://github.com/luyadev/luya-aws s3 storage).

@hbugdoll
Copy link
Member Author

Should we temporarily remove all admin/storage/... commands in the console command list of the guide (https://luya.io/guide/luya-console) ?

@nadar
Copy link
Contributor

nadar commented Aug 12, 2021

i removed the cleanup command luyadev/luya@a1feb69

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

2 participants