• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Domain created via command line is locked

LarsenD

Regular Pleskian
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Plesk 10.4.4 Update #31
Ubuntu 10.04.4 LTS
x86_64

PROBLEM DESCRIPTION
When I create a domain via command line it is locked.


STEPS TO REPRODUCE
Have a client "testowner" and a template "Domain only"

export PLESK_IP="enter your IP here"
/opt/psa/bin/domain --create test.test -owner testowner -dns false -www false -hosting true \
-hst_type phys -ip ${PLESK_IP} -login ftp_test -passwd test -ssl true -same_ssl true \
-webstat none -php true -mail_service false -template "Domain only"


ACTUAL RESULT
The domain is created and locked

EXPECTED RESULT
The domain should be unlocked and synched with the service plan.

ANY ADDITIONAL INFORMATION
It would even be better if you could specify the wanted state (locked/unlocked) via command line options.
 
Hi,

Yes i think Plesk domains are in locked state after creation. If you need to change the locked state for changing the domain settings. I think the following steps will work.

If you are trying to unlock the domain. Please log in to Plesk panel and go subscriptions >> Click the domain >> From the top navigation menu, click Unlock & Sync.
 
Yes, I know that, but the purpose of a command line tool is that you don´t have to use the GUI therefore easing the process.
 
I can't reproduce it on my test environment.
Did you try it with default Service Plan "Default Domain"? Maybe problem in your Service Plan?
 
I have already deleted the default plan so I cannot test it anymore and I don´t think it´s a problem with my service plan as otherwise I guess the domain would not have been created at all or I would have seen some errors somewhere.

Please test for yourself:
/opt/psa/bin/domain_template --create "Domain only" -webmail horde -overuse normal -hosting true -max_maillists 0 \
-max_webapps 0 -webstat webalizer -webstat_protdir true -log_rotate true -log_bytime monthly -log_max_num_files 1 \
-log_compress true -no_usr reject -quota 5M -disk_space 5M -max_box 1 -mbox_quota 2500K \
-max_db 0 -max_traffic 500M -max_wu 5 -php false
 
I have created Service Plan according to your example and corresponding subscription for test domain without any problems.
 
Back
Top