[Mediawiki-l] MediWiki from backups...

Michael Dale dale at ucsc.edu
Wed Oct 25 04:37:16 UTC 2006


did you restore your mysql data? It appears the tables are missing...

John Hawthorne wrote:
> Hi. I had to back up everything on my server the other day and wipe the
> whole system due to some corrupted system files.
>
> Anyway, I just got the system back up and running today, but when I
> copied
> all my mediawiki stuff over to the original locations, it refuses to come
> up.
>
> I don't know if I can attach files here or not, but I am going to try to
> attach a copy of the output. Perhaps someone can help me to resolve this
> problem. I would rather not have to start my two wikis from scratch.
> ------------------------------------------------------------------------
>
> MediaWiki internal error.
>
> Original exception: exception 'DBQueryError' with message 'A database
> error has occurred
> Query: SELECT value,exptime FROM `alphawolf_objectcache` WHERE
> keyname='wikidb-alphawolf_:messages-hash'
> Function: MediaWikiBagOStuff::_doquery
> Error: 1146 Table 'wikidb.alphawolf_objectcache' doesn't exist (localhost)
> ' in /var/www/html/includes/Database.php:695
> Stack trace:
> #0 /var/www/html/includes/Database.php(652):
> Database->reportQueryError('Table 'wikidb.a...', 1146, 'SELECT
> value,ex...', 'MediaWikiBagOSt...', false)
> #1 /var/www/html/includes/BagOStuff.php(389): Database->query('SELECT
> value,ex...', 'MediaWikiBagOSt...')
> #2 /var/www/html/includes/BagOStuff.php(289):
> MediaWikiBagOStuff->_doquery('SELECT value,ex...')
> #3 /var/www/html/includes/BagOStuff.php(236):
> SqlBagOStuff->_query('SELECT value,ex...', 'wikidb-alphawol...')
> #4 /var/www/html/includes/MessageCache.php(189):
> SqlBagOStuff->get('wikidb-alphawol...')
> #5 /var/www/html/includes/MessageCache.php(430): MessageCache->load()
> #6 /var/www/html/includes/GlobalFunctions.php(423):
> MessageCache->get('mainpage', true, true)
> #7 /var/www/html/includes/GlobalFunctions.php(382):
> wfMsgGetKey('mainpage', true, true, true)
> #8 /var/www/html/includes/GlobalFunctions.php(331):
> wfMsgReal('mainpage', Array, true, true)
> #9 /var/www/html/includes/Wiki.php(74): wfMsgForContent('mainpage')
> #10 /var/www/html/index.php(29): MediaWiki->checkInitialQueries(NULL,
> 'view', Object(StubObject), Object(WebRequest), Object(StubContLang))
> #11 {main}
>
> Exception caught inside exception handler: exception 'DBUnexpectedError'
> with message 'Error in fetchObject(): Table 'wikidb.alphawolf_page'
> doesn't exist (localhost)' in /var/www/html/includes/Database.php:812
> Stack trace:
> #0 /var/www/html/includes/MessageCache.php(310):
> Database->fetchObject(false)
> #1 /var/www/html/includes/MessageCache.php(234): MessageCache->loadFromDB()
> #2 /var/www/html/includes/MessageCache.php(430): MessageCache->load()
> #3 /var/www/html/includes/GlobalFunctions.php(423):
> MessageCache->get('databaseerror', true, false)
> #4 /var/www/html/includes/GlobalFunctions.php(382):
> wfMsgGetKey('databaseerror', true, false, true)
> #5 /var/www/html/includes/Exception.php(18): wfMsgReal('databaseerror',
> Array)
> #6 /var/www/html/includes/Database.php(213):
> MWException->msg('databaseerror', 'Database error')
> #7 /var/www/html/includes/Exception.php(108): DBQueryError->getPageTitle()
> #8 /var/www/html/includes/Exception.php(75): MWException->htmlHeader()
> #9 /var/www/html/includes/Exception.php(94): MWException->reportHTML()
> #10 /var/www/html/includes/Exception.php(170): MWException->report()
> #11 /var/www/html/includes/Exception.php(204):
> wfReportException(Object(DBQueryError))
> #12 [internal function]: wfExceptionHandler(Object(DBQueryError))
> #13 {main}
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>   




More information about the MediaWiki-l mailing list