Could not download backup file; security policy on the remote server forbids it.

Jul 16, 2017
14
2
3
Athens
cPanel Access Level
Root Administrator
Hello.
I am trying to transfer accounts between VPS servers with Cpanel

The error log is this:

Trying to fetch cpmove file via cPanel API!
Fetching current backups from remote server … 1 backup found.
… done.
Starting the backup …
Done
… done.
Checking remote server for backups … 2 backups found.
The remote server is creating the backup file “backup-7.19.2018_16-17-13_papastavroushops.tar.gz”.
The backup file, backup-7.19.2018_16-17-13_papastavroushops.tar.gz, is still being generated on the remote server “173.249.30.153”.
…15…
Downloading “backup-7.19.2018_16-17-13_papastavroushops.tar.gz” …
Could not download backup file; security policy on the remote server forbids it.
Failed to fetch cpmove file via cPanel API.
Failed: Error while executing “/usr/local/cpanel/scripts/getremotecpmove”. The “/usr/local/cpanel/scripts/getremotecpmove” command (process 15711) reported error number 1 when it ended.:
 
Jul 16, 2017
14
2
3
Athens
cPanel Access Level
Root Administrator
Starting “RESTORE” for “Account” “mamalovegr”.
Restore File: /home/cpmove-mamalovegr-1532020379.tar.gz
Restore Reseller Privs: no
Restricted mode: no
Express mode: no
Target “/home” on host “vmi160040.contaboserver.net” has 508.1 GB free and requires at least 259.59 MB free, which includes space for temporary files.
The “Reseller” restore module has the following areas disabled by request: “all”
ArchiveManager
Preparing archive for restoration …
Calculating disk space needed …
Done.
Target “/home/cpanelpkgrestore.TMP.work.43925f68/unsafe_to_read_archive” on host “vmi160040.contaboserver.net” has 508.1 GB free and requires at least 259.59 MB free, which includes space for temporary files.
This archive’s payload appears to be in the archive’s “backup-7.19.2018_19-11-54_mamalovegr” directory.
ArchiveManager
The system successfully prepared the archive for restoration.
PreRestoreActions

PreRestoreActions

Account
Force Mode: no
Dedicated IP Address: no
Account
Failed to create the account: Missing DEFMOD Config Line in /etc/wwwacct.conf, please reconfigure with Edit Setup. at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 534.
Removing copied archive “/home/cpmove-mamalovegr-1532020379.tar.gz” from the local server …
Failed: Account Restore Failed: “Account failure: Failed to create the account: Missing DEFMOD Config Line in /etc/wwwacct.conf, please reconfigure with Edit Setup. at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 534. ”
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Hi @Costas Lazarou


The key part of the error is the following:
Code:
Missing DEFMOD Config Line in /etc/wwwacct.conf
The line should read as follows:

Code:
# grep DEFMOD /etc/wwwacct.conf
DEFMOD paper_lantern
Can you please add it to /etc/wwwacct.conf as shown and let me know if you continue to have issues?

Thanks!