Upload file size limit 10 MB

Hello,

I’ve edited site_config.json to try to allow attachments bigger than 10 MB with this line:

“max_file_size”: 50000000

But I still get the same 10.00 MB limit.

Can anybody point me in the right direction?

Thank you.

Have you restarted your bench? Very often, changes to site_config.json are not picked up until it’s restarted. What version of Frappe are you running?

Yes I’ve restarted it and also restarted the server.

I’m using bench 5.0.0-dev

Thank you for your help.

What is the output of bench version (not bench --version)?

Confirm you are able to see your changes in site_config.json:

bench use {{ site name }}
bench console
[1] frappe.conf
{'background_workers': 1, 'file_watcher_port': 6824, ...

This is the output of bench version:

erpnext 13.x.x-develop
frappe 13.x.x-develop

This is an unmaintained branch. Run bench switch-to-branch and choose something that’s supported - I’d recommend either version-13 or version-14

OK, thank you. Will do.