Skip to content

I/O error on XFS #230

@pfactum

Description

@pfactum

(@tsmethurst asked me to file this bugreport here.)

Hello.

I'm upgrading my GoToSocial instance from v0.17.4 to v0.18.0. During the SQLite DB migration process the following error occurs:

2025/02/22 21:45:42 error executing command: error creating dbservice: db migration error: ]: error dropping old column: sqlite3: disk I/O error (code=10 extended=778)

This happens with db-sqlite-journal-mode set to WAL (it's a default value in GtS) and on XFS filesystem.

If I set db-sqlite-journal-mode to OFF, the migration succeeds on XFS filesystem.

If I keep db-sqlite-journal-mode set to WAL, but use Btrfs filesystem, the migration succeeds too.

Playing with db-sqlite-synchronous values didn't make any difference.

I didn't have this issue during previous migrations on GtS v0.17.x and earlier.

I assume GtS had go-sqlite3 updated in v0.18.0. I do not have any other details, but as I've got a reliable reproducer, I can collect any additional info as needed.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions