• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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