Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
More info: With empty file permission list, its possible to upload .jpg for example, but not .mp3
So something else must be stopping it? Its not file size, as it wasn't big file
Did you restart NodeBB after making the settings change?
Also check your nodebb/webserver error logs, a generic error message might be from nginx if upload file size is too big.
@julian yes restarted and rebuilt. where on the server is the error log for this? I will look
The nodebb logs are in logs/output.log in the nodebb folder. The nginx logs are usually at /var/log/nginx/error.log
logs/output.log
/var/log/nginx/error.log
ok there is error in nginx
client intended to send too large a body: 1058854 bytes
The file is 1MB and I had set upload limit to 4096kb
so does nginx have its own upload limit, and how do I change that?
Yes nginx does have its own limit you can increase it by adding client_max_body_size 5M; in your nginx config.
client_max_body_size 5M;
Thanks @baris that has fixed the issue