Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Back up restoration warnings

Discussion in 'Data Protection' started by psytanium, Nov 21, 2017.

  1. psytanium

    psytanium Well-Known Member

    Joined:
    Jun 6, 2014
    Messages:
    103
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hello,

    Whenever I restore a backup from WHM > Backup Restoration, I receie the following warning :

    Code:
    Skipped: The “MailRouting” restore module failed because of an error: Bad address length for Socket::inet_ntop on AF_INET6; got 4, should be 16 at /usr/local/cpanel/Cpanel/Ips.pm line 49.
    Starting “RESTORE” for “Account” “account_name”.
    Restore File: /backup/2017-11-21/accounts/account_name.tar.gz
    Restore Reseller Privs: yes
    Restricted mode: no
    Express mode: no
    Target “/backup/2017-11-21/accounts” on host “server.insight-lb.com” has 149.6 GB free and requires at least 2.94 GB free, which includes space for temporary files.
    The “Account” restore module has the following areas disabled by request: “all”
    ArchiveManager
    Preparing archive for restoration …
    Calculating disk space needed …
    Done.
    Target “/backup/2017-11-21/accounts/cpanelpkgrestore.TMP.work.XTI6bOGf/unsafe_to_read_archive” on host “server.insight-lb.com” has 149.6 GB free and requires at least 2.94 GB free, which includes space for temporary files.
    This archive’s payload appears to be in the archive’s “account_name” directory.
    ArchiveManager
    The system successfully prepared the archive for restoration.
    PreRestoreActions
    Temporarily lifting quota for existing user to ensure that all data is transferred.
    PreRestoreActions
    Account
    Account
    The “Account” restore module has been skipped because it was disabled by request.
    CpUser
    Restoring cPanel user file.
    Updating Caches …
    CpUser
    CpUser data restored
    Package
    Package
    The package exists on the system.
    FeatureList
    FeatureList
    Feature list exists.
    IPAddress
    IPAddress
    Homedir
    Restoring Homedir…
    Homedir
    Homedir restored
    Domains
    Retrieving and sanitizing main userdata …
    Parsing domain databases …
    …Subdomains…
    …ParkedDomains…
    …AddonDomains…
    Restoring Domains …
    Domains
    Domains restored
    OldHomedirs
    Linking old home directories
    The system will restore the old home directory link “/home2/account_name” …
    Done.
    OldHomedirs
    Roundcube
    The system will create a temporary database named “cptmpdb_account_name_bQaIYL0” to import the Roundcube data.
    Restoring the database “roundcube” as “cptmpdb_account_name_bQaIYL0” …
    The system has created a new database named “cptmpdb_account_name_bQaIYL0”.
    Granting “account_name” access to “cptmpdb_account_name_bQaIYL0” with temporary password …
    Spawning restoration subprocess for “cptmpdb_account_name_bQaIYL0” …
    Connecting to MySQL server as “account_name” in order to restore “cptmpdb_account_name_bQaIYL0” …
    Releasing objects in preparation for database restore for “cptmpdb_account_name_bQaIYL0” …
    Cleaning up in preparation for database restore for “cptmpdb_account_name_bQaIYL0” …
    Restoring database data for “cptmpdb_account_name_bQaIYL0” …
    The database restoration subprocess for “cptmpdb_account_name_bQaIYL0” is running …
    The database restoration subprocess for “cptmpdb_account_name_bQaIYL0” has opened the SQL archive.
    The database restoration subprocess for “cptmpdb_account_name_bQaIYL0” has closed the SQL archive.
    The database restoration subprocess for “cptmpdb_account_name_bQaIYL0” has ended.
    The system has restored the contents of the database “cptmpdb_account_name_bQaIYL0”.
    Merging grants from the temporary database named “cptmpdb_account_name_bQaIYL0” into Roundcube …
    Merging data from the temporary database named “cptmpdb_account_name_bQaIYL0” into Roundcube.
    Resolving Roundcube uids.
    Dropping the temporary database named “cptmpdb_account_name_bQaIYL0”.
    Roundcube
    Mysql
    Preparing MySQL restore …
    Databases will be overwritten on conflict.
    Restoring MySQL databases
    Restoring the database “database_name” as “database_name” …
    The system will overwrite account_name’s existing database “database_name”.
    [2017-11-21 10:17:35 +0200] info [transfer_session] Dropping MySQL database “database_name” for user “account_name” …
    The system has created a new database named “database_name”.
    Granting “account_name” access to “database_name” with temporary password …
    Spawning restoration subprocess for “database_name” …
    Connecting to MySQL server as “account_name” in order to restore “database_name” …
    Releasing objects in preparation for database restore for “database_name” …
    Cleaning up in preparation for database restore for “database_name” …
    Restoring database data for “database_name” …
    The database restoration subprocess for “database_name” is running …
    The database restoration subprocess for “database_name” has opened the SQL archive.
    The database restoration subprocess for “database_name” has closed the SQL archive.
    The database restoration subprocess for “database_name” has ended.
    The system has restored the contents of the database “database_name”.
    Restoring MySQL database mappings
    Restoring MySQL privileges
    Database users will be overwritten on conflict.
    Restoring MySQL grants
    [2017-11-21 10:17:36 +0200] info [transfer_session] Changing password for MySQL virtual user database_name as system user account_name...
    [2017-11-21 10:17:36 +0200] info [transfer_session] Creating MySQL virtual user database_name for user account_name
    [2017-11-21 10:17:36 +0200] info [transfer_session] Changing password for MySQL virtual user woodandg_operate as system user account_name...
    [2017-11-21 10:17:36 +0200] info [transfer_session] Creating MySQL virtual user woodandg_operate for user account_name
    Restoring MySQL access hosts
    Storing MySQL Grants
    Mysql
    Logs
    Logs
    Mail
    Restoring Mail files
    Resetting Quotas to sane values
    Mail
    DKIM
    DKIM
    DKIM restored
    Password
    Restoring password …
    Password for “account_name” has been changed.
    Password
    Counter
    Restoring Counter Data
    Counter
    PublicHtmlSymlinks
    PublicHtmlSymlinks
    SSL
    This certificate was already installed on this host. The system made no changes.
    SSL
    VhostIncludes
    Restoring custom virtualhost templates…
    VhostIncludes
    Postgres
    Preparing PostgreSQL restore …
    This system does not have PostgreSQL.
    Postgres
    Reseller
    Restoring reseller packages and features (if any)
    Restoring reseller privileges (if any)
    Reseller
    PublicContact
    PublicContact
    Horde
    Restoring Horde (if any)
    Updating the horde configuration.
    Running database checks for 1 account(s) … Starting update of 1 user in parallel … ------------------------------------------------------------------------ Summary: Ran database checks on 1 account(s). There were 0 accounts with failures during this process (see above): n/a There were 1 accounts successfully processed: account_name There were 0 accounts that did not need any work done: n/a
    Horde
    FileProtect
    FileProtect
    CustomLocale
    CustomLocale
    OK
    userdata
    Restoring userdata…
    Restoring userdata for “domain.com” …
    userdata
    Integration
    Integration
    DigestShadow
    DigestShadow
    WebDiskHomedir
    WebDiskHomedir
    Shell
    Restoring shell
    The user’s shell is already set to “/usr/local/cpanel/bin/noshell”.
    Shell
    NobodyFiles
    NobodyFiles
    Unsuspend
    Unsuspending .htaccess files for domains domain.com.
    Unsuspend
    Cron
    Restoring crontab
    Cron
    Ftp
    Restoring ftp password file
    Resyncing FTP Passwords
    1
    Ftp
    AutoSSL
    AutoSSL
    BackupConfig
    Restoring backup config …
    Updated backup config for “account_name”.
    Restoring legacy backup config …
    Updated legacy backup config for “account_name”.
    BackupConfig
    Mailman
    Restoring Mailman lists
    Mailman
    Mailman Restored
    MailFix
    Fixing mail permissions
    Converting to maildir if needed
    Rescanning mailboxes for full text search (FTS) if needed
    Rescanning mailboxes for full text search indexing for 'account_name'......5 rescanned... Done
    MailFix
    Tomcat
    Tomcat
    Htaccess
    Htaccess
    EasyApache4 was repaired in .htaccess files.
    Subaccount
    Subaccount
    Ran Subaccount database checks
    ZoneFile
    Restoring DNS zones
    Fetching existing zones.
    Restoring zone: “domain.com”.
    Cluster Zone Updates: “domain.com”
    ZoneFile
    SPF
    Updating SPF Records
    SPF
    MailRouting
    Update mail routing
    MailRouting
    Bad address length for Socket::inet_ntop on AF_INET6; got 4, should be 16 at /usr/local/cpanel/Cpanel/Ips.pm line 49.
    ProxySubdomains
    Update Proxy subdomains for “account_name”.
    domain.com [domain.com, 132.148.68.109, no changes needed]
    ProxySubdomains
    PostRestoreActions
    Updating Caches …
    Updating Nameserver IP Address Report
    Syncing contact information
    Refreshing vhosts and restarting apache
    PostRestoreActions
    Quota
    Restoring quota
    Quota
    APITokens
    APITokens
    AuthnLinks
    AuthnLinks
    BandwidthData
    Restoring Bandwidth Data
    Importing legacy RRD data …
    BandwidthData
    Success.
     
    #1 psytanium, Nov 21, 2017
    Last edited by a moderator: Nov 29, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,344
    Likes Received:
    1,852
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. psytanium

    psytanium Well-Known Member

    Joined:
    Jun 6, 2014
    Messages:
    103
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Ok, I called Godaddy support, they told me the VPS servers at Godaddy don't support IPv6, because it's virtuozzo.

    I was using this feature for a year without any problem, I don't know what happened now. Could the support agent missing some knowledge ?
     
  4. psytanium

    psytanium Well-Known Member

    Joined:
    Jun 6, 2014
    Messages:
    103
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    This is the final response from Godaddy :

    I'm sorry to relay this news. While IPv6 is an important product feature, due to the low demand I previously mentioned it is not something we currently support in these environments. However, this is under consideration on our future VPS offerings and will be prioritized on the development roadmap. Keep an eye out for further announcements.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,344
    Likes Received:
    1,852
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    This is more noticeable in cPanel version 68 because various parts of the product will fail to work properly (whereas the may have worked in cPanel version 66). We're introducing an upgrade blocker as part of internal case CPANEL-17054 to prevent servers using non-IPv6 enabled servers from upgrading to cPanel version 68, however this won't help existing servers that have already upgraded to the newer version. In cases where your provider is unable to accommodate IPv6-enabled kernels, you may want to see if they can setup a new VPS running a LTS version of cPanel (e.g. cPanel version 62) so you can then migrate your accounts to it.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. psytanium

    psytanium Well-Known Member

    Joined:
    Jun 6, 2014
    Messages:
    103
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Its not easy to migrate to another server, I don't have free days for this. If I wait few weeks, are you going to release new update including a fix ?
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,344
    Likes Received:
    1,852
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Unfortunately, this isn't something we can fix as the product has been developed for IPv6-enabled kernels only. You can find it listed on our system requirements page at:

    Installation Guide - System Requirements - Version 68 Documentation - cPanel Documentation

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. psytanium

    psytanium Well-Known Member

    Joined:
    Jun 6, 2014
    Messages:
    103
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    you suggest i migrate to another VPS server (2 days of work) and keep an old cPanel at version 62 ? this is the best solution ?
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,344
    Likes Received:
    1,852
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hi @psytanium,

    Unfortunately, outside of intervention from your VPS provider, migrating the accounts to another server running an older version of cPanel is really the only way to avoid the error messages you are seeing. I mentioned cPanel version 62 because it's the most recent LTS version:

    cPanel Long-Term Support

    Note that we've required an IPv6-enabled kernel since cPanel version 54. I recommend reaching out to your provider again to explain the situation and see if there are any other options they can offer to ensure your VPS is using an IPv6-enabled kernel.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. psytanium

    psytanium Well-Known Member

    Joined:
    Jun 6, 2014
    Messages:
    103
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Is it alright to ignore the error ? is this problem preventing the restore procedure to complete successfully ? what is the negative return of this problem ? thanks
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,344
    Likes Received:
    1,852
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The error message you referenced shouldn't prevent the restore from succeeding, but note that you may also face similiar error messages with functions such as creating accounts, transferring accounts, or editing DNS zones. You are essentially using cPanel on an environment it's not intended for or tested with, so there's a chance you will face additional errors with other features as well.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice