account transfer bug ftp user logins fail

wolfy

Well-Known Member
Jul 20, 2005
45
0
156
Canada
durring transfer of an account from one server to another via root password method, child ftp user account login data seems to become corrupted or missing.

changing password for account does not resolve the issue.

account must be deleted and recreated at ftp manager area in cpanel to correct the issue.

cpanel ftp login seems to be unaffected. only ftp users such as [email protected] are affected.

both servers run WHM 11.15.0 cPanel 11.18.6-R24654
CENTOS Enterprise 4.6 i686 on standard - WHM X v3.1.0

source server has mysql 4, target server runs mysql5.

anyone else have any similar issues?
 
Last edited:

wolfy

Well-Known Member
Jul 20, 2005
45
0
156
Canada
ok i found out why this is happening, when cpanel transferrs accounts, it does not update htaccess files or any other script installs (fantastico or not) also it breaks frontpage fuction authentication and a bunch of other things im sure.

reproduce error:

1. create site dom1.com on partition /home3
2 transfer site dom1.com to another server onto a different partition like /home2 for instance.

note: it is assumed there are several ftp/mail accounts created on dom1.com to be transferred to the new server and partition

all htaccess files will still contain references to /home3 when they should all point to the new partition /home2

I hope this is fixed soon. alot of websites broken now :(
 
Last edited:

wolfy

Well-Known Member
Jul 20, 2005
45
0
156
Canada
this is a list of files affected that i could find so far:

/[PARTITON]/[USER]/tmp/awstats/awstats.[DOMAINNAME].conf
/[PARTITON]/[USER]/public_html/_vti_*/*.cnf
/[PARTITON]/[USER]/public_html/*/.ht*
/[PARTITON]/[USER]/etc/[DOMAINNAME]/passwd,v
/[PARTITON]/[USER]/tmp/webalizerftp/usage_*.html
/[PARTITON]/[USER]/tmp/awstats/awstats*.[DOMAINNAME].txt

possably more, I will post them here if i notice any. :)

and a large number of cached files, config files for several different CMS instalations created by fantastico or some other part of cpanel script addon system
 
Last edited:

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
A feature to symlink to the old path will be added in 11.23 - 24833+ (you must have this build on both ends of the transfer)
 

wolfy

Well-Known Member
Jul 20, 2005
45
0
156
Canada
ok i tried transferring an account again after updating, now passwd,v file gets changed from using /home3/ to /home/ when it should be /home2/ ... whats goin on with this?
 
Last edited: