• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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