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
Return to the default flat view Create a new topic Submit Reply
Can't backup - admdump [message #187284] Tue, 09 May 2017 19:03 Go to previous message
xupetas is currently offline  xupetas   Portugal
Messages: 10
Registered: March 2014
Karma:
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

[Message index]
 
Read Message
Read Message
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: Sun Apr 28 10:14:41 GMT 2024

Total time taken to generate the page: 0.05887 seconds