[Bug]: Migrating from one server to another causes Payload Too Large error #2968

Closed
opened 2026-02-28 20:33:36 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @Fryuni on GitHub (Feb 26, 2026).

What happened?

I exported my budget file from a managed Actual instance (on PikaPod) and tried to import it an instance running on my VPS.

It has about 2 years worth of data. Apparently that is too much to sync in a single call to the new server, so it doesn't get synced at all.

PayloadTooLargeError: request entity too large
    at readStream (/app/node_modules/raw-body/index.js:163:17)
    at getRawBody (/app/node_modules/raw-body/index.js:116:12)
    at read (/app/node_modules/body-parser/lib/read.js:114:3)
    at rawParser (/app/node_modules/body-parser/lib/types/raw.js:41:5)
    at Layer.handleRequest (/app/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/app/node_modules/router/index.js:342:13)
    at /app/node_modules/router/index.js:297:9
    at processParams (/app/node_modules/router/index.js:582:12)
    at next (/app/node_modules/router/index.js:291:5)
    at read (/app/node_modules/body-parser/lib/read.js:63:5)

How can we reproduce the issue?

  1. On the old instance:
  2. Open the budget file
  3. Go to Settings
  4. Click on "Export data"
  5. On the new instance:
  6. Click on "Import file"
  7. Pick the file exported from the old instance

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Safari

Operating System

Mac OSX

Originally created by @Fryuni on GitHub (Feb 26, 2026). ### What happened? I exported my budget file from a managed Actual instance (on PikaPod) and tried to import it an instance running on my VPS. It has about 2 years worth of data. Apparently that is too much to sync in a single call to the new server, so it doesn't get synced at all. ``` PayloadTooLargeError: request entity too large at readStream (/app/node_modules/raw-body/index.js:163:17) at getRawBody (/app/node_modules/raw-body/index.js:116:12) at read (/app/node_modules/body-parser/lib/read.js:114:3) at rawParser (/app/node_modules/body-parser/lib/types/raw.js:41:5) at Layer.handleRequest (/app/node_modules/router/lib/layer.js:152:17) at trimPrefix (/app/node_modules/router/index.js:342:13) at /app/node_modules/router/index.js:297:9 at processParams (/app/node_modules/router/index.js:582:12) at next (/app/node_modules/router/index.js:291:5) at read (/app/node_modules/body-parser/lib/read.js:63:5) ``` ### How can we reproduce the issue? 1. On the old instance: 1. Open the budget file 2. Go to Settings 3. Click on "Export data" 2. On the new instance: 1. Click on "Import file" 2. Pick the file exported from the old instance ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Safari ### Operating System Mac OSX
GiteaMirror added the bug label 2026-02-28 20:33:36 -06:00
Author
Owner

@youngcw commented on GitHub (Feb 26, 2026):

You either need to increase the upload size settings in your server or a reverse proxy if you have one. The docs show the env vars for the actual server upload sizes.

@youngcw commented on GitHub (Feb 26, 2026): You either need to increase the upload size settings in your server or a reverse proxy if you have one. The docs show the env vars for the actual server upload sizes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#2968