• 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

MGC

New Pleskian
Hi,

I am really struggling with the plesk migration tool, wondering if anyone has had this problem before?

I have 2 dedicated servers, one of which the disk are failing on so I need to move the sites from one to the other. There is quite a few and doing it manually will take a long time. Heard about the migration so giving this a try.

I have it running through the process and it migrated the site from one server to the other great. The subscription was setup, database in place etc. But once there all css, images, links etc are not working.

When checking the source code I have noticed that during the migration it has added this "D:/Plesk/VHOSTS/webpointsolutions.co.uk/httpdocs/" to the start of all links, images, css, js.

The site is now sitting on the live domain and is totally broken.

This is how the script was called and was working fine before the migration

<script type="text/javascript" src="app/themes/classic/scripts/jquery.cookie.js"></script>

This is how it is now after the migration

<script type="text/javascript" src="D:/Plesk/VHOSTS/webpointsolutions.co.uk/httpdocs/app/themes/classic/scripts/jquery.cookie.js"></script>

My question is why is it adding this extra text, and how can I stop it from adding it.

Thanks in advance for any help you can give me.
 
Hello!

Probably you have an issue with adjusting of file paths after migration... Plesk Migrator tries to find text files with occurrences of absolute paths on source file system and replace it automatically with absolute paths on target file system, because it is fairly often case when location of Plesk vhost dir is different on source and target.

We don't have known issues with this feature, but maybe there are some specific cases... could you please check my suggestion and try to migrate this domain again with disabled application adjusting feature? This could be done using corresponding check box in GUI (step #10 of this manual: http://docs.plesk.com/en-US/12.5/mi...lesk/migrating-via-the-plesk-interface.75721/) or using configuration file via CLI:

[GLOBAL]
...
adjust-applications: true
...

Also would be better to remove this subscription (previously migrated) on target server before migration to avoid side-effects.

And one another thing: could you please check, is this an application installed via Plesk applications catalog (APS) or it is a custom web-application?
 
Hi,

I have tried this with and without the configuration option selected.

server ending in .241 doesn't have a copy of the subscription on it, I checked this before I done it and deleted it after the first attempt failed.

I am just trying a third attempt now.

1. deleted subscription from .241
2. enter passwords, un check boxes in .77
3. it checks the subscriptions in .241
4. select the website
5. define ip address mapping
6. migrated over fine.
7. check the subscription in .77 make sure its all come across ok from .241
8. checked live site

still broken, check source code for site and it still has

The site was written by us in house, its our own CMS system. It works fine on the other dedicated with plesk but as soon as its migrated using the tool it adds these so everything is now broken again

<link href="D:/Plesk/VHOSTS/webpointsolutions.co.uk/httpdocs/app/themes/classic/css/main.css" type="text/css" rel="stylesheet" media="screen" />
<link href="D:/Plesk/VHOSTS/webpointsolutions.co.uk/httpdocs/app/themes/classic/css/style.css" type="text/css" rel="stylesheet" media="screen" />
 
Looks strange... could you please send me a info.log of your last migration via private conversation (it could contain private data)?
 
Back
Top