full backup wizard error in cpanel all user

YasIT

Active Member
Jan 3, 2014
38
0
6
cPanel Access Level
Root Administrator
Hello.
Show errors in create a full backup with "full backup wizard" all user in cpanel.

check logs :

Code:
--------------------------------------------------------
pkgacct started.
pkgacct version 10 - user : user - tarball: 1 - target mysql : default - split: 0 - incremental: 0 - homedir: 1 - archive version: 3 - running with uid 0
pkgacct using '/usr/bin/gzip -6' to compress archives
pkgacct working dir : /home/backup-5.8.2014_22-36-09_user
Copying Reseller Config...Done
Copying Suspension Info (if needed)...Done
Copying SSL certificates, CSRs, and keys...Privilege de-escalation before loading datastore either failed or was omitted. at /usr/local/cpanel/Cpanel/SSLStorage.pm line 1159
    Cpanel::SSLStorage::_load_datastore('Cpanel::SSLStorage::User=HASH(0x3587b00)', 'lock', 1) called at /usr/local/cpanel/Cpanel/SSLStorage.pm line 1244
    Cpanel::SSLStorage::_load_datastore_rw('Cpanel::SSLStorage::User=HASH(0x3587b00)') called at /usr/local/cpanel/Cpanel/SSLStorage.pm line 329
    Cpanel::SSLStorage::_rebuild_records('Cpanel::SSLStorage::User=HASH(0x3587b00)') called at /usr/local/cpanel/Cpanel/SSLStorage.pm line 308
    Cpanel::SSLStorage::__ANON__() called at /usr/local/cpanel/Cpanel/AccessIds/ReducedPrivileges.pm line 93
    eval {...} called at /usr/local/cpanel/Cpanel/AccessIds/ReducedPrivileges.pm line 93
    Cpanel::AccessIds::ReducedPrivileges::call_as_user('CODE(0x3cac860)', 'user', 'user') called at /usr/local/cpanel/Cpanel/SSLStorage/User.pm line 670
    Cpanel::SSLStorage::User::_execute_coderef('Cpanel::SSLStorage::User=HASH(0x3587b00)', 'CODE(0x3cac860)') called at /usr/local/cpanel/Cpanel/SSLStorage.pm line 310
    Cpanel::SSLStorage::rebuild_records('Cpanel::SSLStorage::User=HASH(0x3587b00)') called at /usr/local/cpanel/scripts/pkgacct line 2818
    Script::Pkgacct::__ANON__('Cpanel::SSLStorage::User=HASH(0x3587b00)') called at /usr/local/cpanel/scripts/pkgacct line 2831
    Script::Pkgacct::backup_ssl_for_user('user', '/home/backup-5.8.2014_22-36-09_user') called at /usr/local/cpanel/scripts/pkgacct line 536
    Script::Pkgacct::script('Script::Pkgacct', 'user', '/home', 'userbackup') called at /usr/local/cpanel/scripts/pkgacct line 114
--------------------------------------------------------
how to fix this problem?

Backups Available for Download:

backup-5.8.2014_22-36-09_user.tar.gz (Thu May 8 22:36:09 2014) [in progress]
Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

Look for files within the account that are owned by a different UID than the account's own UID.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
It's not the permissions, but rather the ownership of the files. There are no quick scripts to resolve the issue as for the most part you should not have files within the accounts that are owned by another user or an alternate UID. The best way to resolve it is to move the files or update ownership values with the "chown" command. Could you provide an example of such a file?

Thank you.
 

YasIT

Active Member
Jan 3, 2014
38
0
6
cPanel Access Level
Root Administrator
ownership all files accounts cluttered!!.
change ownership to user:user by command chown and fix one account.

how to fix ownership to user:user files all accounts for fix issue by scripts?

Thanks you.

- - - Updated - - -

http://blog.shineservers.com/auto-fix-file-permissions-and-ownership-on-cpanel/

this post help me?
Thank you
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
I don't recommend using any script that recursively changes ownership values. Instead, you should inspect the accounts to see which type of files are owned by a different user and correct it on a case-by-case basis.

Thank you.