US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting


Reply
 
Thread Tools
Old 12-17-2010, 01:23 AM   #1
Junior Member
 
Join Date: Dec 2010
Posts: 1
adamluz is on a distinguished road
Default Import from Plesk

How do I import from plesk. It talks about some xml file? Where do I find this on plesk? What is it called?

Does it import e-mail, web files, and all that or just users?

I am on ISP Manager Pro and we need to transfer everything from our plesk server over. I've tried to find documentation on this but there is very little.
adamluz is offline   Reply With Quote
Old 12-17-2010, 03:56 AM   #2
ISPsystem team
 
Join Date: Oct 2009
Posts: 118
vian is on a distinguished road
Default

It's possible by using our migration tool. You can find it under "Import user" section in main menu.
vian is offline   Reply With Quote
Old 01-12-2011, 05:25 PM   #3
Junior Member
 
Join Date: Jan 2011
Posts: 20
krisj is on a distinguished road
Default

OK, I just managed to import my first user...

I had to delete a certain folder (/dev/null) from the vhost tarball before it let me import (it was coming up with an error: "Failed to unpack domain's archive: /bin/tar: dev/null: Cannot mknod: Operation not permitted") and then there was another error.

It looks like the emails got important properly as well as DB, domain and FTP users.

However the "www domain" was not created automatically and the domain directory contains plesk file structure instead of what is standard for isp manager.

So the question is - is this by design?
Do I just manually change the main directory structure and create/map the www domain to the correct folder?

many thanks,
Kris
krisj is offline   Reply With Quote
Old 01-12-2011, 05:42 PM   #4
ISPsystem team
 
Join Date: Oct 2009
Posts: 118
vian is on a distinguished road
Default

Please provide us with log
vian is offline   Reply With Quote
Old 01-12-2011, 06:18 PM   #5
Junior Member
 
Join Date: Jan 2011
Posts: 20
krisj is on a distinguished road
Default

domain changed to a generic name.... but this is what it looks like...

Code:
Jan 12 14:47:21 [    0] [[1;32mINFO Lookup log level for '/usr/local/ispmgr/var/UserMove.log' in 'etc/UserMove.debug'[[0m
Jan 12 14:47:21 [30771] [[1;32mINFO sbin/usermove root [[0m
Jan 12 14:47:21 [30771] [[1;32mINFO [Starting] moving: 2011-01-12 14:47:21[[0m
Jan 12 14:47:21 [30771] [[1;32mINFO User: root, type: 7[[0m
Jan 12 14:47:21 [30771] [[1;32mINFO Fetching information from file name...[[0m
Jan 12 14:47:21 [30771] [[1;32mINFO Archiver: tgz[[0m
Jan 12 14:47:21 [30771] [[1;32mINFO Storage: local[[0m
Jan 12 14:47:21 [30771] [[1;32mINFO Storage path: /root/[[0m
Jan 12 14:47:21 [30771] [[1;32mINFO Rootdir: /[[0m
Jan 12 14:47:21 [30771] [[1;32mINFO Temp dir: /tmp/pbkp_30771/[[0m
Jan 12 14:47:21 [30771] [[1;32mINFO Unpacking archive /root/backup_user1_info_1101121424.xml.tgz...[[0m
Jan 12 14:47:21 [30771] [[1;36mEXTINFO Execute (/bin/cat /root/backup_user1_info_1101121424.xml.tgz | /bin/gzip -d | /bin/tar -x -p -f- -C /tmp/pbkp_30771/) return=0 exited[[0m
Jan 12 14:47:21 [30771] [[1;35mWARNING The archiver returned: /bin/tar: Read 7168 bytes from -
[[0m
Jan 12 14:47:21 [30771] [[1;32mINFO Initializing modules...[[0m
Jan 12 14:47:21 [30771] [[1;32mINFO Starting restore process...[[0m
Jan 12 14:47:21 [30771] [[1;32mINFO ... user[[0m
Jan 12 14:47:25 [30771] [[1;36mEXTINFO Execute (/bin/chown -R 517:0 /tmp/pbkp_30771/) return=0 exited[[0m
Jan 12 14:47:25 [30771] [[1;32mINFO Initializing modules...[[0m
Jan 12 14:47:25 [30771] [[1;32mINFO Starting restore process...[[0m
Jan 12 14:47:25 [30771] [[1;32mINFO ... mysql[[0m
Jan 12 14:47:25 [30771] [[1;32mINFO Restoring 'dbasedb' with status 'full'...[[0m
Jan 12 14:47:25 [30771] [[1;36mEXTINFO Execute (/bin/tar -x -z -f /tmp/pbkp_30771/domains/domainname.com/databases/dbasedb_1/backup_dbasedb_1_1101121424.tgz -C /tmp/pbkp_30771/) return=0 exited[[0m
Jan 12 14:47:25 [30771] [[1;32mINFO Restoring to DBMS 'MySQL'...[[0m
Jan 12 14:47:25 [30771] [[1;36mEXTINFO Execute (/usr/bin/mysql --defaults-extra-file=/tmp/pbkp_30771/mysql.30771 -h localhost -S /var/lib/mysql/mysql.sock mysql < /tmp/pbkp_30771/mysql_query.30771) return=0 exited[[0m
Jan 12 14:47:25 [30771] [[1;36mEXTINFO Execute (/usr/bin/mysql --defaults-extra-file=/tmp/pbkp_30771/mysql.30771 -h localhost -S /var/lib/mysql/mysql.sock dbasedb < /tmp/pbkp_30771/backup_dbasedb_1_1101121424) return=0 exited[[0m
Jan 12 14:47:25 [30771] [[1;36mEXTINFO Execute (/usr/bin/mysql --defaults-extra-file=/tmp/pbkp_30771/mysql.30771 -h localhost -S /var/lib/mysql/mysql.sock mysql < /tmp/pbkp_30771/mysql_query.30771) return=0 exited[[0m
Jan 12 14:47:25 [30771] [[1;32mINFO ... emaildomain[[0m
Jan 12 14:47:25 [30771] [[1;32mINFO Restoring 'domainname.com'...[[0m
Jan 12 14:47:30 [30771] [[1;36mEXTINFO Execute (/bin/tar -x -z -f /tmp/pbkp_30771/domains/domainname.com/backup_domainname.com_mn_1101121424.tgz -C /tmp/pbkp_30771/pbkp_mail_domainname.com/) return=0 exited[[0m
Jan 12 14:47:30 [30771] [[1;32mINFO ... emailgroup[[0m
Jan 12 14:47:30 [30771] [[1;32mINFO ... email[[0m
Jan 12 14:47:30 [30771] [[1;32mINFO Restoring 'info@domainname.com' with status 'full'...[[0m
Jan 12 14:47:34 [30771] [[1;32mINFO ... emailredirect[[0m
Jan 12 14:47:34 [30771] [[1;32mINFO ... emailresponder[[0m
Jan 12 14:47:34 [30771] [[1;32mINFO ... wwwdomain[[0m
Jan 12 14:47:34 [30771] [[1;32mINFO Restoring 'domainname.com'...[[0m
Jan 12 14:47:34 [30771] [[1;36mEXTINFO Execute (/bin/tar -x -z -f /tmp/pbkp_30771/domains/domainname.com/backup_domainname.com_vhost_1101121424.tgz -C /var/www/user1/data/domainname.com/) return=0 exited[[0m
Jan 12 14:47:34 [30771] [[1;35mWARNING Restoring 'domainname.com' failed: Failed to rename docroot: No such file or directory[[0m
Jan 12 14:47:34 [30771] [[1;32mINFO ... cert[[0m
Jan 12 14:47:34 [30771] [[1;32mINFO ... wwwredirect[[0m
Jan 12 14:47:34 [30771] [[1;32mINFO ... wwwerrpage[[0m
Jan 12 14:47:34 [30771] [[1;32mINFO ... ftp[[0m
Jan 12 14:47:34 [30771] [[1;32mINFO Restoring 'idftpusr'...[[0m
Jan 12 14:47:34 [30771] [[1;32mINFO Removing temprorary directory: /tmp/pbkp_30771/[[0m
Jan 12 14:47:34 [30771] [[1;32mINFO ----Restoring of user 'user1' successfully finished[[0m
Jan 12 14:47:34 [30771] [[1;32mINFO Removing temprorary directory: /tmp/pbkp_30771/[[0m
Jan 12 14:47:34 [30771] [[1;32mINFO Finishing ...[[0m
krisj is offline   Reply With Quote
Old 01-12-2011, 06:19 PM   #6
Junior Member
 
Join Date: Jan 2011
Posts: 20
krisj is on a distinguished road
Default

FYI I am importing from plesk 9.5.3 standard install
krisj is offline   Reply With Quote
Old 01-15-2011, 01:45 AM   #7
Junior Member
 
Join Date: Jan 2011
Posts: 20
krisj is on a distinguished road
Default

OK, I am doing good progress...

It turns out that you have to turn OFF the "chrooted chell acces" for the domain on the plesk machine (under webhosting setup) before creating the backup/dump, othervise the /dev/null symlink gets inserted into the archive together with the rest of the vhost structure and it messes things up when importing in ispmanager.

hope this saves someone a lot of headache.
krisj is offline   Reply With Quote
Old 01-15-2011, 03:30 AM   #8
Junior Member
 
Join Date: Jan 2011
Posts: 20
krisj is on a distinguished road
Exclamation another error

Jan 15 01:19:09 [20629] INFO Request [usermove][user1] 'out=xml&func=email.edit&elid=&name=info&domain=do mainname%2Ecom&confirm=*&quota=0&greylist=on&passw d=*&confirm=*&sok=ok&bkpforce=yes&su=user1'
Jan 15 01:19:09 [20629] ERROR Exception 3: 'domain' not exists.


any ideas?
krisj is offline   Reply With Quote
Old 01-16-2011, 04:46 AM   #9
ISPsystem team
 
Join Date: Oct 2009
Posts: 118
vian is on a distinguished road
Default

Email domain domainname.com does not exist
vian is offline   Reply With Quote
Old 01-17-2011, 05:10 AM   #10
Junior Member
 
Join Date: Jan 2011
Posts: 20
krisj is on a distinguished road
Default

I understand what it means, but why does it happen? I think it has something to do with the structure of the Plesk dump.

and i am having another problem with another client dump.

WARNING ----Restoring of user 'marco' failed: Failed to run function user.edit: code=4 Invalid value bandwidthlimit
krisj is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:55 PM.