• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue /usr/local/psa/bin/domain -u _.domain.tld Wrong syntax for command's '-update' parameter

There's no such thing as a wildcard subdomain in this context.

You can use all the domains and subdomains that you're able to see when you select "Domains" in the Plesk interface.

The command
Code:
ls -1 /var/www/vhosts/system

will also give you a list of domains you can use with that command.
 
Last edited:
hello Mr-Wolf,
ls -1 /var/www/vhosts/system gibe me the same outut like the SQL Command. I cannot use this output because _.domain.tld is Wrong syntax for command's '-update' parameter.

this are not just a Subdomain, it's a wildcard Subdomain and for this I have not all Logrotation files under ./psa/etc/logrotate.d/
 
You mean the command
Code:
ls -1 --color=never /usr/local/psa/etc/logrotate.d | grep _
gives you output?

[EDIT]
Well, I never knew one could create a wildcard subdomain.
It seems if you do, you will indeed get a file there with an underscore....
I will do some more tests...

Well, I now also have a file with an underscore there and I have no problem whatsoever with that command....

ls -1 --color=never /usr/local/psa/etc/logrotate.d | grep _
_.sub.wolf.com

/usr/local/psa/bin/domain -u _.sub.wolf.com -log-bytime weekly
SUCCESS: Update of domain '_.sub.wolf.com' completed.
 
Last edited:
Back
Top