How to change upload limit by command line

Good day,

There seems to be a bug with the video upload system, have set max file upload size to 75 mb for .mp4 but when attempting to upload a 36.1 MPEG-4 error reports:

I know video uploading isn’t really recommended/supported for discourse anyway but just reporting this seems to be a bug for if this is supposed to be able to work.

Is this a self-hosted site?

Yeah not discourse hosted 2gb memory server in Sydney:

server

Did you perform the steps in Change the maximum attachment/upload size?

1 Like

Didn’t know about that requirement to change settings by command line, have set than now to 40 mb:

Hope that formatting is correct will rebuild now.

Edit: works

1 Like