Using Backup and Migrate module on a D7 site
- separate backups (data / files) give no problem (backup to nodesquirrel AND download)
- but backup entire site (data + files) generates "http error 500" (without "internal server error")
Error reporting
- I have no access to Apache error log
- Cpanel error: no error messages
- Drupal error log: no error messages
Shared hosting | db 10.1.21-MariaDB | php 5.6.30 | drupal 7.53 | backup and migrate 7.x-3.1 | civicrm 7.x-4.7.14
[update]
The web host provider received next message:
Uncaught exception 'PDOException'
with message 'SQLSTATE[HY000]:
General error: 2006 MySQL server has gone away'
in <drupal root>/includes/database/database.inc:2227
Stack trace:
#0 /includes/database/database.inc(2227): PDOStatement->execute(Array)
#1 /includes/database/database.inc(697): DatabaseStatementBase->execute(Array, Array)
#2 /includes/database/database.inc(2406): DatabaseConnection->query('SELECT expire, ...', Array, Array)
#3 /includes/lock.inc(167): db_query('SELECT expire, ...', Array)
#4 /includes/lock.inc(146): lock_may_be_available('schema:runtime:...')
#5 /includes/bootstrap.inc(433): lock_acquire('schema:runtime:...')
#6 /includes/bootstrap.inc(455): DrupalCacheArray->set(Array)
#7 [internal function]: DrupalCacheArray->__destruct()
#8 {main} in <drupal root>/includes/database/database.inc on line 2227
top
and try creating it. If it's not memory, maybe a timeout. For both, check your apache configuration.