Topic on Project:Support desk

Migrating to new server with SQlite DB

2
2A02:8084:6A00:E80:250C:F771:7A0C:BCE4 (talkcontribs)

Hello,

I'm migrating from a Windows box to an Linux box, but I'm encountering difficulty connecting the sqlite DB

I'm using MW 1.27.4 and have no issues doing a vanilla install on the Linux box, but when I replace

My steps:

  • Install vanilla 1.27.4 on new linux box
  • Add my extensions and images into the respective folders on new linux box
  • Update LocalSettings.php file to include configuration for extensions
  • Replace vanilla sqlite DB with my existing sqlite DB from old windows box
    • Issue: This breaks the wiki. I see a page saying:
    • Sorry! This site is experiencing technical difficulties. Try waiting a few minutes and reloading. (Cannot access the database)

Settings on Windows mediawiki

Version: 1.27.4

PHP: 5.6.22 (cgi-fcgi)

SQLite: 3.8.10.2 with full-text search support

Lua: 5.1.4

Settings on vanilla Linux mediawiki:

Version: 1.27.4

PHP: 5.6.25 (apache2handler)

SQLite: 3.7.17 with full-text search support

Lua: 5.1.5

Thoughts?

87.123.197.0 (talkcontribs)
Reply to "Migrating to new server with SQlite DB"