[Bug]: Docker Unable to Start (Sqlite Error) #1753

Closed
opened 2026-02-28 19:53:49 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @x-radeon on GitHub (Jan 7, 2025).

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

Docker auto updated to 25.1.0 overnight, now docker fails to start. Rolling back to v24.12.0 shows the same error. Rolling even further back to 24.11.0 allows docker to start and you can get to the webgui but you cannot login (http 500).

Error is:

/app/node_modules/better-sqlite3/lib/methods/wrappers.js:9
        this[cppdb].exec(sql);
                    ^
SqliteError: no such column: password
    at Database.exec (/app/node_modules/better-sqlite3/lib/methods/wrappers.js:9:14)
    at WrappedDatabase.exec (file:///app/src/db.js:30:20)
    at Migration.up (file:///app/migrations/1718889148000-openid.js:4:24)
    at next (/app/node_modules/migrate/lib/migrate.js:35:45)
    at migrate (/app/node_modules/migrate/lib/migrate.js:76:3)
    at MigrationSet.migrate (/app/node_modules/migrate/lib/set.js:123:3)
    at MigrationSet.up (/app/node_modules/migrate/lib/set.js:107:8)
    at file:///app/src/migrations.js:23:23
    at /app/node_modules/migrate/index.js:62:5
    at /app/node_modules/migrate/lib/load-migrations.js:97:7 {
  code: 'SQLITE_ERROR'
}

Node.js v18.20.5
Checking if there are any migrations to run for direction "up"...

How can we reproduce the issue?

Install v25.1.0 or v24.12.0 docker and try to start using existing server and client files.

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Firefox

Operating System

Linux

Originally created by @x-radeon on GitHub (Jan 7, 2025). ### Verified issue does not already exist? - [X] I have searched and found no existing issue ### What happened? Docker auto updated to 25.1.0 overnight, now docker fails to start. Rolling back to v24.12.0 shows the same error. Rolling even further back to 24.11.0 allows docker to start and you can get to the webgui but you cannot login (http 500). Error is: ``` /app/node_modules/better-sqlite3/lib/methods/wrappers.js:9 this[cppdb].exec(sql); ^ SqliteError: no such column: password at Database.exec (/app/node_modules/better-sqlite3/lib/methods/wrappers.js:9:14) at WrappedDatabase.exec (file:///app/src/db.js:30:20) at Migration.up (file:///app/migrations/1718889148000-openid.js:4:24) at next (/app/node_modules/migrate/lib/migrate.js:35:45) at migrate (/app/node_modules/migrate/lib/migrate.js:76:3) at MigrationSet.migrate (/app/node_modules/migrate/lib/set.js:123:3) at MigrationSet.up (/app/node_modules/migrate/lib/set.js:107:8) at file:///app/src/migrations.js:23:23 at /app/node_modules/migrate/index.js:62:5 at /app/node_modules/migrate/lib/load-migrations.js:97:7 { code: 'SQLITE_ERROR' } Node.js v18.20.5 Checking if there are any migrations to run for direction "up"... ``` ### How can we reproduce the issue? Install v25.1.0 or v24.12.0 docker and try to start using existing server and client files. ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Firefox ### Operating System Linux
GiteaMirror added the bug label 2026-02-28 19:53:49 -06:00
Author
Owner

@x-radeon commented on GitHub (Jan 7, 2025):

Note, docker is running on Unraid, installed via the community apps plugin, but the docker is pulling from docker hub.

ActualServer
stopped
Container ID: c3e4b7438d27
By: [actualbudget/ac...server](https://hub.docker.com/r/actualbudget/actual-server)
@x-radeon commented on GitHub (Jan 7, 2025): Note, docker is running on Unraid, installed via the community apps plugin, but the docker is pulling from docker hub. ``` ActualServer stopped Container ID: c3e4b7438d27 By: [actualbudget/ac...server](https://hub.docker.com/r/actualbudget/actual-server) ```
Author
Owner

@clayauld commented on GitHub (Jan 7, 2025):

Can second this. I have the exact same behavior. I was running v24.12.0, performed the upgrade and ran into the error. In order to get back online I had to roll back to v24.11.0.

@clayauld commented on GitHub (Jan 7, 2025): Can second this. I have the exact same behavior. I was running v24.12.0, performed the upgrade and ran into the error. In order to get back online I had to roll back to v24.11.0.
Author
Owner

@matt-fidd commented on GitHub (Jan 7, 2025):

This is a known issue, the steps to fix are in:

https://github.com/actualbudget/actual/issues/3957

@matt-fidd commented on GitHub (Jan 7, 2025): This is a known issue, the steps to fix are in: https://github.com/actualbudget/actual/issues/3957
Author
Owner

@clayauld commented on GitHub (Jan 8, 2025):

Can confirm this fix in #3957 works for UnRAID.

@clayauld commented on GitHub (Jan 8, 2025): Can confirm this fix in #3957 works for UnRAID.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#1753