https://bugzilla.wikimedia.org/show_bug.cgi?id=49254

       Web browser: ---
            Bug ID: 49254
           Summary: Get a PDOException after upgrading SQLite database
                    from 1.16.5 to 1.21.1 ('There is no active
                    transaction' )
           Product: MediaWiki
           Version: 1.21.1
          Hardware: PC
                OS: Windows Server 2003
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Database
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

I have a MediaWiki 1.16.5 up and running and tried to upgrade to 1.21.1. Steps
done :
* created a new directory in the Apache DocRoot (test-21)
* extracted the 1.21.1 tarball into this new directory
* copied all the additional extensions from the the old installation
(test-16/extensions)
* copied the LocalSettings.php from the old setup to the new one
* copied the one SQLite database container file from the old setup to a new
location
* adapted the LocalSettings.php ($wgScriptPath, wgSQLiteDataDir)
* opened the test-21/mw-config/ URL
* followed the instructions up to and including the database upgrade

Everything worked fine without any errors. When following the link to open the
Wiki itself, I get the following error:

Unexpected non-MediaWiki exception encountered, of type "PDOException"
exception 'PDOException' with message 'There is no active transaction' in
K:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\test-21\mediawiki-1.21.1\includes\db\DatabaseSqlite.php:665
Stack trace:
#0 K:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\test-21\mediawiki-1.21.1\includes\db\DatabaseSqlite.php(665):
PDO->commit()
#1 K:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\test-21\mediawiki-1.21.1\includes\db\Database.php(3032):
DatabaseSqlite->doCommit('SqlBagOStuff::s...')
#2 K:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\test-21\mediawiki-1.21.1\includes\objectcache\SqlBagOStuff.php(299):
DatabaseBase->begin('SqlBagOStuff::s...')
#3 K:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\test-21\mediawiki-1.21.1\includes\objectcache\BagOStuff.php(243):
SqlBagOStuff->set('factwikidb:mess...', 1, 10)
#4 K:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\test-21\mediawiki-1.21.1\includes\cache\MessageCache.php(576):
BagOStuff->add('factwikidb:mess...', 1, 10)
#5 K:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\test-21\mediawiki-1.21.1\includes\cache\MessageCache.php(330):
MessageCache->lock('factwikidb:mess...')
#6 K:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\test-21\mediawiki-1.21.1\includes\cache\MessageCache.php(710):
MessageCache->load('en')
#7 K:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\test-21\mediawiki-1.21.1\includes\cache\MessageCache.php(650):
MessageCache->getMsgFromNamespace('Mainpage', 'en')
#8 K:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\test-21\mediawiki-1.21.1\includes\Message.php(720):
MessageCache->get('mainpage', true, Object(Language))
[...]

I also tried the following:
* Installed the 1.21.1 and created a new SQLlite DB => was working fine
* Upgrading in the same way as described above from 1.16.5 to 1.19.7 => was
working fine
* Upgrading then from 1.19.7 to 1.20.6 => was working fine
* Upgrading then from 1.20.6 to 1.21.1 => FAILED AGAIN with the same type of
error.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to