• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

domain aliases creation from CLI

J

JarekG

Guest
Hi,

I've got a problem with creating domain alias from CLI. I've checked on Plesk 8.6 it works but doesn't on mine 9.2 (Linux) and 9.0 (Windows).

I do:
# ./domalias -c test.com -domain domain_already_in_plesk.com -status enabled -mail true
I have:
Requested domain was not found.Invalid ID value: -1

When do exactly the same syntax to Plesk 8.6 it works perfect.

Any ideas ?

I also tried other possible command syntax, all giving the same error.

Regards,
Jarek
 
Hello,

We were unable to reproduce this issue. The result of this command on our test server is the following:

===

-bash-3.2# locate domalias
/usr/local/psa/admin/plib/api-cli/domalias.php
/usr/local/psa/bin/domalias
/usr/local/psa/bin/domalias.sh
-bash-3.2# /usr/local/psa/bin/./domalias --create exam.net -domain tipodomain.com -status enabled -mail true

===

You can find more information on this utility in the following article:

http://download1.parallels.com/Plesk/PPP9/Doc/en-US/plesk-9.2-unix-cli/38962.htm
 
Obviously after reporting an issue it started working by such a miracle! Argghh...

Sorry for being stupid ;).

Regards,
Jarek
 
Back
Top