Comments (5)
Oh, you’re proxying via Nginx. That may have a lower body size limit (1 MiB by default per this Stack Overflow post). Actual has its own limits but at present the largest supported body size of any content type is 50 MB, so you should set client_max_body_size
to at least that big. Closing the issue since this isn’t related to Actual’s server directly but happy to reopen if there’s something we can do to clarify/avoid this!
from actual-server.
This was indeed the problem, thanks!
By the way my nginx config ends up being a lot simpler than the one in your example in the docs, might be easier for someone who hasn't set up their own server before:
server {
root /var/www/html;
server_name my.site www.my.site;
client_max_body_size 50m;
listen [::]:443 ssl ipv6only=on; # managed by Certbot
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/my.site/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/my.site/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
location / {
proxy_pass http://127.0.0.1:5006;
}
}
from actual-server.
Interesting, thanks for reporting! We should probably increase this limit. If you go to the Network tab, can you send a screenshot of the failing request’s request headers (or at least tell me the value of Content-Length
in the request headers if you’re not comfortable sharing the whole screen)? I’m curious how far we need to bump the limit (which I believe is currently 20 MB).
from actual-server.
Oh, also this probably isn't the place for it but while I'm here making documentation suggestions, I found it confusing that I had to click server
> sign out
to get out of an instance of the app to import a file, as the docs don't make that obvious and the label around the Export data button seems to imply the button should be on that very page:
Export your data as a zip file containing db.sqlite and metadata.json files. It can be imported into another Actual instance by clicking the “Import file” button and then choosing “Actual” on the Files page.
PS Thanks for building this & making it open source
PPS fyi I'm primarily using this as a tool to mark transactions from various bank accounts/credit cards with category labels, exporting the data, and then using sqliteviz.com to analyze my finances. I'm not using the "budget" features at all and if there's any kind of "getting started" guide for developers I might find the motivation to build some data analysis tools for myself in one of the pages and PR them :)
from actual-server.
By the way my nginx config ends up being a lot simpler than the one in your example in the docs, might be easier for someone who hasn't set up their own server before:
Interesting! Maybe we should update that section of the docs.
Oh, also this probably isn't the place for it but while I'm here making documentation suggestions, I found it confusing that I had to click
server
>sign out
to get out of an instance of the app to import a file, as the docs don't make that obvious and the label around the Export data button seems to imply the button should be on that very page:
That’s a good point! the process is now [file name] → “Close file” to get to the import dialog. Will open a PR to fix that.
I'm not using the "budget" features at all and if there's any kind of "getting started" guide for developers I might find the motivation to build some data analysis tools for myself in one of the pages and PR them :)
We currently don’t have a super thorough getting started guide but if you clone the frontend repo you should be able to run yarn
and then yarn start:browser
to start the frontend locally. (We should also put this in the docs!)
from actual-server.
Related Issues (20)
- Fresh Install won't load HOT 1
- Changing order of budget categories by drag and drop seems to be broken with 23.7.0 HOT 3
- Need a provider for US bank account data HOT 1
- Rename Nordigen to GoCardless HOT 1
- Post schedule transaction before due date HOT 1
- [Bug]: no such table: files HOT 3
- [Tech Debt] Ability to run DB migrations
- Default data dir on Windows HOT 2
- Remove Express "x-powered-by" header HOT 1
- GoCardless American Express HOT 3
- Deposits in expense category create issue with all future budget balances HOT 4
- [Schedules] Add category to entry
- [Feature request] Add end date to repeated Schedules HOT 2
- #Alienvault Administration HOT 1
- Api endpoint suggestion to match payee rule HOT 1
- Flip amount option with GoCardless HOT 5
- Error thrown during qfx import HOT 2
- Proposal: progress bars and targets HOT 2
- READ ME BEFORE OPENING AN ISSUE
- [Bug]: Unable to authenticate with server -> Syncing has been reset on this cloud file. HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from actual-server.