• 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

new server - Plesk license transfer

kadoudal

Regular Pleskian
I am going to start a brand new server ( Debian 6 Squeeze) and I want to transfer my Plesk licence to this new server
currently it's running on the previous server Debian 5 , Plesk 10.1
how should I proceed to avoid any service interruption ? ( should I copy the licence ? from where ? to where ? or start with a brand new license and cancel the previous one ?

thanks for your help
 
Just move all content of /etc/sw/ directory from old server to new server.
 
licence transfer

Hi Igot

did it .. but upon trying to open the console again via browser :

ERROR: SWKeyExFatalError
Repository is not opened

0: common_func.php3:4831
of_get_key_by_product(string 'plesk-unix')
1: common_func.php3:4831
getPleskKey()
2: common_func.php3:4906
getKeyProp(string 'demo')
3: auth.php3:88
 
licence transfer

I tried to put back the previous sw folder .. and restart /etc/init.d/psa stop /etc/init.d/psa start
restarted in console ..

but cannot get anymore the login via browser ... stuck .. hope no need to re-install !
 
Got it .. permissions issue... hopefully I took note of them before transfer .... so changed them back and it's running again to previous temporary license.
going to move again my license and this time setting correctly permissions

thanks
 
Yes, error related to wrong permissions for files in this directory.
 
Hi Igor .. I changed the permissions and could run the console .. then ( I don't know why ..) after exit and back again this morning .. I get the same error message :

ERROR: SWKeyExFatalError
Repository is not opened

0: common_func.php3:4831
of_get_key_by_product(string 'plesk-unix')
1: common_func.php3:4831
getPleskKey()
2: common_func.php3:4906
getKeyProp(string 'demo')
3: auth.php3:88

why does this change back ?
 
I reset again the permissions .. accessed the console , but this time I see
Error: The license key is invalid. In order to use the Panel, please obtain and install a new valid license key.
The amount of currently used resources overrides the limits defined by your license.
The number of websites hosted on the server exceeds the limits defined by your license. You have 4 sites hosted; your license allows hosting only 0 sites.
The number of served e-mail accounts exceeds the limits defined by your license. You have 3 e-mail accounts currently served; your license allows serving only 0 e-mail accounts.

I 'm tired of not being able to get my license running ...
I received this morning an email form Plesk :

Your lease payment for the next month has been processed successfully.
Your new unique Parallels Plesk Panel license key number is:

PLSK.(xxxx.my number xxxx)

The Parallels Plesk Panel license key has the following properties:

with a zipped xml file , which I uploaded into the License manager ( should I upload the zip file or the non-zipped file ?)



Parallels Plesk Panel 10 and Later (Lease):
License update date (GMT): 20110821 **
100 Domains w/1 yr SUS (Lease) (expiration date: valid while the key is valid)
 
I had to modify back the permission .. the keys folder was 660 and should be ( I guess) 770 to allow uploading and installing correctly the license key file ... hope permissions will stick to that ..
uploaded the newly received license update and that's up and running again
 
Hi Igor, tried your trick but did not resolved this issue.. It seem that after each license update the registry.xml ownership is set to wrong root:root

I can see :
# cd /etc/sw
# cd keys
# ls -l
drwxrwxrwx 2 psaadm swkey-data 4096 2011-07-24 07:38 backup
-rwxrwx--- 1 psaadm swkey-data 22 2011-07-19 06:54 info
drwxrwx--- 2 psaadm swkey-data 4096 2011-07-19 06:54 instances
drwxrwxrwx 2 root swkey-data 4096 2011-07-24 07:38 keys
drwxrwxrwx 2 psaadm swkey-data 4096 2011-07-20 17:31 lock
-rw-rw---- 1 root root 11363 2011-07-25 05:25 registry.xml
drwxrwxrwx 2 psaadm swkey-data 4096 2011-07-19 06:54 restart

so I did :
# chown root:swkey-data registry.xml
# chmod 660 registry.xml
and it runs well...

I'll check iy it's back to root:root upon next license update and will let you now



I did :
cd /etc/sw
chown root:swkey-data registry.xml
chmod 660 registry.xml
 
Back
Top