CLI command to delete all user domains

I am missing a command to delete all user domains. There is a great command to delete all user databases

v-delete-databases USER

How about making a similar command for domains?

v-delete-web-domains and v-delete-mail-domains

1 Like

to be honest, I was having some problems in creating a site, and the install failed. it kept saying that the files were already present.

I mean, Iā€™m constantly looking for a domain name, or a username.
I was having constant failures on one of the applications yesterday, I think that it was mediawiki that wouldnā€™t complete successfully, and I wasnā€™t that impressed by dokuwiwk just YET.

How about you ALSO make a plugin that merely searches the filesystem using locate command (without needing to deal with updatedb, and logging in as a superuser).

v-search-by-user user
or
v-search-by-domain domain

I would use that ALLLL the time. that command ā€˜locateā€™ is the #1 reason I ever login via SSH

1 Like

I suggest to do a minimal research of the available commands, just visit github.com/hestiacp/hestiacp switch to bin folder, press ctrl+f and enter search. Youā€™ll find some usefull commands there already:
hestiacp/v-search-domain-owner at main Ā· hestiacp/hestiacp Ā· GitHub
hestiacp/v-search-object at main Ā· hestiacp/hestiacp Ā· GitHub
hestiacp/v-search-user-object at main Ā· hestiacp/hestiacp Ā· GitHub

1 Like

to be honest, I was having some problems in creating a site, and the install failed. it kept saying that the files were already present.

I mean, Iā€™m constantly looking for a domain name, or a username.
I was having constant failures on one of the applications yesterday, I think that it was mediawiki that wouldnā€™t complete successfully, and I wasnā€™t that impressed by dokuwiwk just YET.

I think this message is more relatated to

Yes it is a know issue even we show a big warning

It does only check if the index.html / index.php exists and deletes it. Still need to improve that partā€¦

Mediawiki has currently issues when you set up an https site as it tries to use http. Or the other way around. It has been resolved for 1.6.0 release. How ever 1.6.0 alpha contains still a ā€œhugeā€ bug with sending / receiving emails so wait with installing it.

Same with Prestashop that doesnā€™t even want to install (See Github issues)

and

Hesita is opensource it means all the development is done for for free and that there is not a company behind it that funds the development so accept that there are might be bugs with Hestia or that development may be slower at some point.

1 Like

again I could not find this command in the documentation Getting Started | Hestia Control Panel
thanks for the support.

https://docs.hestiacp.com/cli_commands/commands.html#v-delete-web-domains

And

https://docs.hestiacp.com/cli_commands/commands.html#v-delete-mail-domains

Donā€™t know why the search isnā€™t working

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.