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

Home » FUDforum Development » Bug Reports » Can't backup - admdump
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Return to the default flat view Create a new topic Submit Reply
Can't backup - admdump [message #187284] Tue, 09 May 2017 15:03 Go to previous message
xupetas is currently offline  xupetas   Portugal
Messages: 3
Registered: March 2014
Karma:
Junior Member
add to buddy list
ignore all messages by this user
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 15:04]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Previous Topic: The /e modifier is deprecated
Goto Forum:
  

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

Current Time: Wed Oct 18 23:53:59 EDT 2017

Total time taken to generate the page: 0.00670 seconds