"nobody" files not copied - account transfers

Kurieuo

Well-Known Member
Dec 13, 2002
106
0
166
Australia
Does anyone know why images set to "nobody" are not copied across in account transfers. This a bug or on purpose?

I've just copied 300+ accounts and now find this out? Hmm.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
I don't think this is correct. It is my understanding that the nobody files should have been copied... at least they have been for me in the past.
That is correct. Files owned by the 'nobody' user should still be copied. My suggestion is to open a support ticket at https://tickets.cpanel.net/submit/ to determine what went wrong and have it resolved.
 

Kurieuo

Well-Known Member
Dec 13, 2002
106
0
166
Australia
That is correct. Files owned by the 'nobody' user should still be copied. My suggestion is to open a support ticket at https://tickets.cpanel.net/submit/ to determine what went wrong and have it resolved.
Although I believe 'nobody' files were predominantly not copied, I believe other files were missing too. Likewise some 'nobody' files were copied in some account transfers.

I filed a ticket request (#265334) about accounts in multiple accounts transfers randomly failing due to password failed messages. Perhaps this issue is related. The outcome of that ticket was the suggestion that an older version of OpenSSL installed on the old server being copied from (version 0.9.7a) was either badly configuring (I am doubtful of this) or incompatible in some way with a newer version on the new server (OpenSSL 0.9.8b). Perhaps this was the cause for my file copying problems too.

At the end of the day I wrote two Perl scripts. One script I ran to archive all public_html files for each account into a folder. I then transferred them all via SCP to the new server and then ran a script to extract all the files without overwriting pre-existing files in user accounts. This resolved the issues with missing files.

If anyone has a similar issue, I have attached these scripts in case you wish to use them. Although I recommend adjusting the folders copied to/from within each.
 

Attachments

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
Depending upon the specific versions of cPanel involved, there was a bug, fixed late in the 11.23 cycle, where accounts with many files (e.g. 30,000+) would have files skipped, often the entire public_html directory.
 

Kurieuo

Well-Known Member
Dec 13, 2002
106
0
166
Australia
Depending upon the specific versions of cPanel involved, there was a bug, fixed late in the 11.23 cycle, where accounts with many files (e.g. 30,000+) would have files skipped, often the entire public_html directory.
Ahh ok. These were big accounts so that might explain it.