• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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