-
Notifications
You must be signed in to change notification settings - Fork 57
Description
Quick summary
After updating WordPress Studio from v1.7.3 to v1.7.4 on macOS (Apple Silicon), existing local sites fail to start with Error connecting to the SQLite database. The db.php dropin file in wp-content/ is not regenerated during the update, breaking the SQLite connection for all pre-existing sites.
Steps to reproduce
- Run WordPress Studio v1.7.3 with an existing local site (SQLite-based)
- Apply the in-app update to v1.7.4
- Restart the app
- Try to start the existing local site
What you expected to happen
The existing site starts normally, as it did in v1.7.3.
What actually happened
The existing site starts normally, as it did in v1.7.3.
What actually happened
The site fails to start with the following error:
Error connecting to the SQLite database.
Failed to start site
Exit code: 1
Note: Newly created sites on v1.7.4 start without issues. Only pre-existing sites are affected. The SQLite database file itself is not corrupted (PRAGMA integrity_check; returns ok).
Impact
Most (> 50%)
Available workarounds?
Yes, easy to implement
Platform
Mac Silicon
Logs or notes
Workaround: Manually restore db.php from Studio's bundled files:
bashcp ~/Library/Application\ Support/Studio/server-files/sqlite-database-integration/db.copy \
~/Studio/<site-folder>/wp-content/db.php
Replace with your actual site directory name, then restart the site from the Studio app.
Error log:
[2026-02-19T09:12:52.069Z][erro][main] Error occurred in handler for 'startServer': CliCommandError:
[Last error message] WordPress サーバーを起動できませんでした: Error connecting to the SQLite database.
[Base message] Failed to start site
[Exit code] 1
at ChildProcess.<anonymous> (/Applications/Studio.app/Contents/Resources/app.asar/dist/main/index.js:26146:21)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1101:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
- App version: 1.7.4 (previous: 1.7.3)
- OS: macOS, Apple Silicon (arm64)
- Built from commit: c660abd
Metadata
Metadata
Assignees
Type
Projects
Status