I receive the output:
"While the cleanup process should be safe there is still a risk involved in bulk deleting filecache entries like this.
It is strongly recommended to ensure that a proper database backup is in place before running this process.
Note that this process involves some fairly heavy database queries and can take a long time on large instances.
Continue? [y/N] " after which the CLI is closed.
How to send confirmation "y" to "occ root_cache_cleaner:clean"?
I use docker-compose to run Nextcloud All-in-One: nextcloudapp, nextclouddb and onlyoffice containers.
When I run the command:
docker exec --user www-data nextcloudapp php occ root_cache_cleaner:clean
I receive the output: "While the cleanup process should be safe there is still a risk involved in bulk deleting filecache entries like this. It is strongly recommended to ensure that a proper database backup is in place before running this process. Note that this process involves some fairly heavy database queries and can take a long time on large instances. Continue? [y/N] " after which the CLI is closed.
How to send confirmation "y" to "occ root_cache_cleaner:clean"?