Topic on Project:Support desk

Johnywhy (talkcontribs)

/public_html/maintenance$ php dumpBackup.php

Notice: Undefined index: hideroot in /home/gunsywtx/public_html/LocalSettings.php on line 288

...

php dumpBackup.php --full > dump.xml

> 2021-01-26 22:44:52: gunsywtx_gunsens (ID 751163) 0 pages (0.0|0.0/sec all|curr), 100 revs (317.2|317.2/sec all|curr), ETA 2021-01-26 22:45:08 [max 5171]

2021-01-26 22:44:52: gunsywtx_gunsens (ID 751163) 0 pages (0.0|0.0/sec all|curr), 200 revs (477.3|964.1/sec all|curr), ETA 2021-01-26 22:45:02 [max 5171]

...

2021-01-26 22:44:55: gunsywtx_gunsens (ID 751163) 214 pages (65.4|2368.1/sec all|curr), 3100 revs (948.1|1106.6/sec all|curr), ETA 2021-01-26 22:44:57 [max 5171]

2021-01-26 22:44:55: gunsywtx_gunsens (ID 751163) 227 pages (68.6|5817.0/sec all|curr), 3151 revs (952.3|1306.9/sec all|curr), ETA 2021-01-26 22:44:57 [max 5171]

> Command `php dumpBackup.php --full > dump.xml` failed with return code 0 and error

Malyacko (talkcontribs)

See the notice message.

Johnywhy (talkcontribs)

Which notice message? i don't understand the problem. thx

Malyacko (talkcontribs)

@Johnywhy See Notice: Undefined index: hideroot in /home/gunsywtx/public_html/LocalSettings.php on line 288

Have you checked that file around its line 288? What is there, and why?

Johnywhy (talkcontribs)

i commented the problem line in LocalSettings.php. Not getting that error anymore.

But dumpBackup still failing.

php dumpBackup.php --full > dump.xml

> 2021-01-26 22:44:52: gunsywtx_gunsens (ID 751163) 0 pages (0.0|0.0/sec all|curr), 100 revs (317.2|317.2/sec all|curr), ETA 2021-01-26 22:45:08 [max 5171]

2021-01-26 22:44:52: gunsywtx_gunsens (ID 751163) 0 pages (0.0|0.0/sec all|curr), 200 revs (477.3|964.1/sec all|curr), ETA 2021-01-26 22:45:02 [max 5171]

...

2021-01-26 22:44:55: gunsywtx_gunsens (ID 751163) 214 pages (65.4|2368.1/sec all|curr), 3100 revs (948.1|1106.6/sec all|curr), ETA 2021-01-26 22:44:57 [max 5171]

2021-01-26 22:44:55: gunsywtx_gunsens (ID 751163) 227 pages (68.6|5817.0/sec all|curr), 3151 revs (952.3|1306.9/sec all|curr), ETA 2021-01-26 22:44:57 [max 5171]

> Command `php dumpBackup.php --full > dump.xml` failed with return code 0 and error

Bawolff (talkcontribs)

Failed with return code 0 is weird. 0 usually means success.

Johnywhy (talkcontribs)

i am getting the output file, and the file contains data. i don't know if it contains all the expected data, or stopped in the middle. The .xml appears to have proper closing tags. Here's the collapsed tree:

<?xml version="1.0"?>

+<mediawiki xml:lang="en" version="0.10" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.10/ http://www.mediawiki.org/xml/export-0.10.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.mediawiki.org/xml/export-0.10/">


Here's another example:

Reply to "dumpBackup.php Fails"