FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Can't backup - admdump
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Can't backup - admdump [message #187284] Tue, 09 May 2017 19:03 Go to next message
xupetas is currently offline  xupetas   Portugal
Messages: 10
Registered: March 2014
Karma: 0
Junior Member
Hello All,

I've installed fudforum and now i was trying to do the backup via CLI using admdump.php and it fails miserably:

... backup WWW_ROOT_DISK/images/message_icons/ (0 MB)
... backup WWW_ROOT_DISK/adm/ (0.54 MB)
... backup WWW_ROOT_DISK/adm/style/ (0.03 MB)
Backup database tables:
PHP Warning: mysqli::query(): MySQL server has gone away in /mnt/netcore/appz/kb.net.xpto.com/datadir/include/theme/default/db.inc on line 110

Warning: mysqli::query(): MySQL server has gone away in /mnt/netcore/appz/kb.net.xpto.com/datadir/include/theme/default/db.inc on line 110
PHP Warning: mysqli::query(): Error reading result set's header in /mnt/netcore/appz/kb.net.xpto.com/datadir/include/theme/default/db.inc on line 110

Warning: mysqli::query(): Error reading result set's header in /mnt/netcore/appz/kb.net.xpto.com/datadir/include/theme/default/db.inc on line 110
PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 130968 bytes) in /mnt/netcore/appz/kb.net.xpto.com/datadir/include/theme/default/db.inc on line 54

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 130968 bytes) in /mnt/netcore/appz/kb.net.xpto.com/datadir/include/theme/default/db.inc on line 54

What have i tried:

Changed the php.ini settings:

cat /etc/php5/cli/php.ini| grep -i memory
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit = 4096M

Changed the memory_limit inside adm/admdump.php:

# grep -ir memory_limit *
adm/admimport.php: @ini_set('memory_limit', '-1');
adm/admdump.php: @ini_set('memory_limit', '-1');
adm/consist.php: @ini_set('memory_limit', '128M');
adm/indexdb.php: @ini_set('memory_limit', '128M');
adm/compact.php: @ini_set('memory_limit', '128M');
adm/admgeoip.php: @ini_set('memory_limit', '256M');

What am i missing? Like i said, i run on a cli based system. Can anyone shed some light on the matter?

[Updated on: Tue, 09 May 2017 19:04]

Report message to a moderator

Re: Can't backup - admdump [message #187320 is a reply to message #187284] Fri, 28 July 2017 19:35 Go to previous message
naudefj is currently offline  naudefj   United States
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Unfortunately this is not a forum problem, but rather a database problem.

This link may help: https://stackoverflow.com/questions/10474922/error-2006-hy000-mysql-server- has-gone-away

Good luck.
Frank
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Template Editor fails when copying all template files (3.0.7)
Next Topic: Page links still contain HTTP instead of HTTPS
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 22:01:38 GMT 2024

Total time taken to generate the page: 0.02447 seconds