[GH-ISSUE #5030] [Bug]: PayloadTooLargeError: request entity too large #16383

Closed
opened 2026-04-14 19:29:54 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @sMiter911 on GitHub (May 19, 2025).
Original GitHub issue: https://github.com/actualbudget/actual/issues/5030

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

Of late I have been getting the following:

Image

My current setup:
I run Actual Budget from a docker image and point the server to my Pikapod instance. I checked if my pod is still running and it is.
Even on Pikapod I have the same issue. On my phone however I don't seem to have the isssue (I used the option to "install" Actual Budget on my phone"

How can we reproduce the issue?

  1. Log unto either Docker instance or Pikapod
  2. Auto sync or self sync
  3. Check logs:
    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:79:3)
    at rawParser (/app/node_modules/body-parser/lib/types/raw.js:81:5)
    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)
    at /app/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)
    at next (/app/node_modules/express/lib/router/index.js:280:10)
    at jsonParser (/app/node_modules/body-parser/lib/types/json.js:122:7)

Where are you hosting Actual?

Pikapods

What browsers are you seeing the problem on?

Chrome

Operating System

Windows 11

Originally created by @sMiter911 on GitHub (May 19, 2025). Original GitHub issue: https://github.com/actualbudget/actual/issues/5030 ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? Of late I have been getting the following: ![Image](https://github.com/user-attachments/assets/a18d883a-ec9e-4342-b1e3-acc10a513f7c) My current setup: I run Actual Budget from a docker image and point the server to my Pikapod instance. I checked if my pod is still running and it is. Even on Pikapod I have the same issue. On my phone however I don't seem to have the isssue (I used the option to "install" Actual Budget on my phone" ### How can we reproduce the issue? 1. Log unto either Docker instance or Pikapod 2. Auto sync or self sync 3. Check logs: 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:79:3) at rawParser (/app/node_modules/body-parser/lib/types/raw.js:81:5) at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13) at /app/node_modules/express/lib/router/index.js:286:9 at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12) at next (/app/node_modules/express/lib/router/index.js:280:10) at jsonParser (/app/node_modules/body-parser/lib/types/json.js:122:7) ### Where are you hosting Actual? Pikapods ### What browsers are you seeing the problem on? Chrome ### Operating System Windows 11
GiteaMirror added the bug label 2026-04-14 19:29:54 -05:00
Author
Owner

@matt-fidd commented on GitHub (May 19, 2025):

It sounds like PikaPods might have a limit set for uploads. Can you check the settings and if it's not configurable, contact them for help?

<!-- gh-comment-id:2891246583 --> @matt-fidd commented on GitHub (May 19, 2025): It sounds like PikaPods might have a limit set for uploads. Can you check the settings and if it's not configurable, contact them for help?
Author
Owner

@nycterent commented on GitHub (May 24, 2025):

had same issue with self hosting, but setting for the environment in docker-compose:

  • ACTUAL_UPLOAD_FILE_SYNC_SIZE_LIMIT_MB=50
  • ACTUAL_UPLOAD_SYNC_ENCRYPTED_FILE_SYNC_SIZE_LIMIT_MB=50
  • ACTUAL_UPLOAD_FILE_SIZE_LIMIT_MB=50

has helped.

<!-- gh-comment-id:2906802891 --> @nycterent commented on GitHub (May 24, 2025): had same issue with self hosting, but setting for the environment in docker-compose: - ACTUAL_UPLOAD_FILE_SYNC_SIZE_LIMIT_MB=50 - ACTUAL_UPLOAD_SYNC_ENCRYPTED_FILE_SYNC_SIZE_LIMIT_MB=50 - ACTUAL_UPLOAD_FILE_SIZE_LIMIT_MB=50 has helped.
Author
Owner

@sergio-atios commented on GitHub (Nov 6, 2025):

--------------------------------------------------------------------

🧾 ACTUAL BUDGET - SELF-HOSTED SERVER (Stable and Fixed Version)

--------------------------------------------------------------------

This file runs the Actual Budget server inside a Docker container.

It also fixes the "PayloadTooLargeError" that occurs when syncing

large files between devices, by increasing upload limits.

Access in your browser:

http://:5006

Example:

http://192.168.0.23:5006

--------------------------------------------------------------------

services:
actual:
# Use the official Actual Budget Docker image
image: actualbudget/actual-server:latest

# Container name (as shown in `docker ps`)
container_name: actual-server

# Environment variables to increase upload limits
environment:
  # Max upload size for regular sync (in MB)
  - ACTUAL_UPLOAD_FILE_SYNC_SIZE_LIMIT_MB=200

  # Max upload size for encrypted sync (in MB)
  - ACTUAL_UPLOAD_SYNC_ENCRYPTED_FILE_SYNC_SIZE_LIMIT_MB=200

# Mount a local folder for persistent data storage
# IMPORTANT: Do not change this path or you’ll lose your data
volumes:
  - "C:\\Actual\\data:/data"

# Expose the server port
ports:
  - "5006:5006"

# Automatically restart the container if it stops unexpectedly
restart: unless-stopped

--------------------------------------------------------------------

💡 TIPS:

- Stop the service: docker compose down

- Start the service: docker compose up -d

- View logs: docker logs actual-server

- Update the image: docker compose pull && docker compose up -d

🧰 Data location:

C:\Actual\data\account.sqlite → main database

C:\Actual\data.migrate → migration history

--------------------------------------------------------------------

<!-- gh-comment-id:3498722108 --> @sergio-atios commented on GitHub (Nov 6, 2025): # -------------------------------------------------------------------- # 🧾 ACTUAL BUDGET - SELF-HOSTED SERVER (Stable and Fixed Version) # -------------------------------------------------------------------- # This file runs the Actual Budget server inside a Docker container. # It also fixes the "PayloadTooLargeError" that occurs when syncing # large files between devices, by increasing upload limits. # # Access in your browser: # http://<server-ip>:5006 # Example: # http://192.168.0.23:5006 # -------------------------------------------------------------------- services: actual: # Use the official Actual Budget Docker image image: actualbudget/actual-server:latest # Container name (as shown in `docker ps`) container_name: actual-server # Environment variables to increase upload limits environment: # Max upload size for regular sync (in MB) - ACTUAL_UPLOAD_FILE_SYNC_SIZE_LIMIT_MB=200 # Max upload size for encrypted sync (in MB) - ACTUAL_UPLOAD_SYNC_ENCRYPTED_FILE_SYNC_SIZE_LIMIT_MB=200 # Mount a local folder for persistent data storage # IMPORTANT: Do not change this path or you’ll lose your data volumes: - "C:\\Actual\\data:/data" # Expose the server port ports: - "5006:5006" # Automatically restart the container if it stops unexpectedly restart: unless-stopped # -------------------------------------------------------------------- # 💡 TIPS: # - Stop the service: docker compose down # - Start the service: docker compose up -d # - View logs: docker logs actual-server # - Update the image: docker compose pull && docker compose up -d # # 🧰 Data location: # C:\Actual\data\account.sqlite → main database # C:\Actual\data\.migrate → migration history # --------------------------------------------------------------------
Author
Owner

@sergio-atios commented on GitHub (Nov 6, 2025):

Recommended Folder Structure

C:\Actual

├── data\ ← Persistent data (database, settings, etc.)
│ ├── account.sqlite
│ ├── .migrate
│ └── ...

└── docker-compose.yml ← This configuration file

<!-- gh-comment-id:3498725686 --> @sergio-atios commented on GitHub (Nov 6, 2025): Recommended Folder Structure C:\Actual\ │ ├── data\ ← Persistent data (database, settings, etc.) │ ├── account.sqlite │ ├── .migrate │ └── ... │ └── docker-compose.yml ← This configuration file
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#16383