Error when run script purge_user.sh
Marcus1Pierce opened this issue · comments
Environment & Version
Docker Compose version v2.26.1
- Version:
2.0
If you are not using docker compose do not file any new issue here.
Kubernetes related issues belong to https://github.com/Mailu/helm-charts/issues
If you are not using docker compose or kubernetes, create a new thread on user support in disussions.
Non-bug reports (or bug reports that do not follow the template) are moved to disussions.
Description
I read how to delete user on https://mailu.io/master/faq.html#how-to-delete-users. I have disable user and want to delete all of them but when i run script purge_user.sh
Replication Steps
- Go to Web Administration interface (/admin)
- Disable selected user
- Download .\scripts\purge_user.sh from the github project
- Copy the script purge_user.sh to the Mailu folder that contains the docker-compose.yml file
- Run as root: purge_user.sh (try with non root too)
- Error shows up
Observed behaviour
jq: error (at <stdin>:1): Cannot index string with string "ID"
Sorry, can't find running mailu admin container.
You need to start this in the path containing your docker-compose.yml.
Expected behaviour
Deleting all user data using given command for each disabled user like what on this FAQ says
I found solution
from #2858 (comment) and maybe related too
Maybe update this to docs?