Automattic / Automattic/studio

Studio causing issues with database

Open
#4,518 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
517
Forks
95
Avg merge
1d 23h
Merged PRs (30d)
172

Description

### Quick summary

- Yesterday Studio caused a random error where suddenly the dev site gave the error message about the database needing to be repaired. Clicking repair caused it to break more. Site had to be completely deleted and recreated in Studio

- Today while updating to 7.0.4 in dev site, it hung for about a minute at the updating database step.

- Then I tried the beta tester plugin to force another update, and it once again hangs at the updating database step for about 1min

There seems to be some issue in Studio in working with databases

### Steps to reproduce

Sporadic

### What you expected to happen

On my live webhosts I've never had these issues

### What actually happened

Database corruption or something

### App or CLI?

Studio App

### Version

1.17

### Impact

All

### Available workarounds?

Yes, difficult to implement

### Platform

Update: Mac OS 15

### Architecture

Update: Unsure what architecture means?

### Logs or notes

Unfortunately the logs were deleted when I removed the entire folder yesterday and started fresh

Contributor guide

Open the contributing guide

Research direction

Start with the Studio App's database update and repair workflow described in the report, reproducing the hang or repair failure on Mac OS 15. Capture logs before removing the site and narrow down whether the database corruption and one-minute update hang share a cause; done means the failure is reproducible and the workflow completes without corruption.

Written by the indexing model from the issue text.

Assessment

Domain
database, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.