-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meilisearch rejects gpx file due to size #4
Comments
Turns out SvelteKit has a body size limit that I didn't know about: You should be able to add a I'm currently not at my computer to test it. I'll add it to the docs later tonight if it works. Thanks for testing! |
With the env parameter set i still get an error
|
Same here but |
Updated to latest version and executed a shell in the web container. There i have these env variables present:
But still the upload failes with the error validation_file_size_limit. Where does the BODY_SIZE_LIMIT need to be set in the docker-compose.yaml? |
For now i wouldnt go so fare to modify PocketBase. That's something for Version 2.x ;) But this is the ideal moment for me to suggest some paradigm change. Would it hurt to much to store images and gpx files individually in the file system? This would have the benefit, that the database would not get out of hand. Imagine you have 200 trails after some years and have added a lot of images too. Then every backup would be very large because all of the images get backuped again and again. |
I politely disagree with the suggested paradigm change. PocketBase stores the database and the stored data separately. You can check that for yourself: in your |
I'm sorry. I was wrong. Didn't knew that PocketBase is storing files like that. So this is sorted but the upload limit problem remains and needs to be fixed on a later day. I found in an ticket (pocketbase/pocketbase#4067) that Migrations can change the MaxSize. Would it be possible to use environment variables in the migrations? I cant see the flomp/wanderer-db repository, so i can only make assumptions. |
I have a gpx file that is 528,6 kB large. When i try to upload it, i get the following error. In the browser i only get an "Internal Error"
Rename to .gpx without .txt to test with.
2021-10-24_536064034_Essen-Mitte nach Bochum-Hauptbahnhof.gpx.txt
The text was updated successfully, but these errors were encountered: