Increase asset max file size

Understood, thanks. FWIW I’d be willing to pay for traffic

@Sebastian When will the limit be extended on the hosted version? Currently it’s still 5…

Yes, with the next deployment on Wednesday.

Done, increased to 50MB in the cloud.

this works, thank you very much!

1 Like

Hi Sebastian!

Can I increased to 50MB in docker image ?
I’m using a docker image (squidex/squidex:4.0.3).
Can I configure this in some environment variables in my squidex.yaml ?

Tks

I’m running into the same issue. I’m self-hosting using the squidex/squidex image and need to upload videos larger than 5mb.

Are you able to bump up the limit on the image?

Or is there a setting I can apply that will raise it?

Thanks,
Max

Hi @Max_M!
You can define limite in you file configuration.
See in squidex/appsettings.json at master · Squidex/squidex (github.com)

"assets": {
    /*
     * The default page size if not specified by a query.
     */
    "defaultPageSize": 200,

    /*
     * The maximum number of items to return for each query.
     * 
     * Warning: Use pagination and not large number of items.
     */
    "maxResults": 200,

    /*
     * The maximum file size in bytes. Default: 5MB
     */
    "maxSize": 5242880,

Or you can set a env in your yaml file like:
env:
- name: “assets__maxSize”
value: 5242880

Att

2 Likes

Hi @rhgs,

Thanks for the quick reply!

That did the trick!

Regards,
Max

2 Likes