Page MenuHomePhabricator

"DB connection was already closed" when installing and the SQLite data directory does not exist
Open, LowPublic

Description

When installing Mediawiki using SQLite on Linux, and the SQLite data directory does not exist.

[8bb61e9e] /mediawiki/mw-config/index.php?page=Install
Exception from line 1138 of /srv/http/mediawiki/includes/db/Database.php: DB connection was already closed.

Backtrace:

#0 /srv/http/mediawiki/includes/db/Database.php(1895): DatabaseBase->query(string, string)
#1 /srv/http/mediawiki/includes/installer/DatabaseInstaller.php(184): DatabaseBase->tableExists(string, string)
#2 /srv/http/mediawiki/includes/installer/DatabaseInstaller.php(218): DatabaseInstaller->stepApplySourceFile(string, string, boolean)
#3 /srv/http/mediawiki/includes/installer/SqliteInstaller.php(252): DatabaseInstaller->createTables()
#4 [internal function]: SqliteInstaller->createTables(SqliteInstaller)
#5 /srv/http/mediawiki/includes/installer/Installer.php(1600): call_user_func(array, SqliteInstaller)
#6 /srv/http/mediawiki/includes/installer/WebInstallerPage.php(1402): Installer->performInstallation(array, array)
#7 /srv/http/mediawiki/includes/installer/WebInstaller.php(280): WebInstallerInstall->execute()
#8 /srv/http/mediawiki/mw-config/index.php(79): WebInstaller->execute(array)
#9 /srv/http/mediawiki/mw-config/index.php(38): wfInstallerMain()
#10 {main}

Event Timeline

Latios raised the priority of this task from to Medium.
Latios updated the task description. (Show Details)
Latios subscribed.
Latios set Security to None.
Aklapper renamed this task from DB connection was already closed. to "DB connection was already closed" when installing and the SQLite data directory does not exist.Apr 13 2015, 9:20 AM
Aklapper lowered the priority of this task from Medium to Low.
Aklapper added a project: MediaWiki-Installer.