Mailu / Mailu

Insular email distribution - mail server as Docker images

Home Page:https://mailu.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Go to Web Administration interface (/admin)
  2. Disable selected user
  3. Download .\scripts\purge_user.sh from the github project
  4. Copy the script purge_user.sh to the Mailu folder that contains the docker-compose.yml file
  5. Run as root: purge_user.sh (try with non root too)
  6. 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?