I should have looked into the nginx logs as well in the first place, my bad and I apologize for this.
Increase the file size for an uploaded presentation
The default maximum file upload size for an uploaded presentation is 30 MB.
To increase this size, edit /var/www/bigbluebutton/client/conf/config.xml and edit maxFileSize` to the new value (note: if you have the development environment you need to edit ~/dev/bigbluebutton/bigbluebutton-client/src/conf/config.xml and then rebuild the client).
Next, change the corresponding limit in nginx. Edit /etc/bigbluebutton/nginx/web.nginx and modify the value for client_max_body_size
location /bigbluebutton {
proxy_pass http://127.0.0.1:8080;
proxy_redirect default;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# Allow 30M uploaded presentation document.
client_max_body_size 30m;
Following the documentation, do the "/var/www/bigbluebutton/client/conf/config.xml" config file refers to the flash client only?
And can you confirm that the nginx location which (also) needs to have the correct client_max_body_size parameter is the
location = /bigbluebutton/presentation/checkPresentation {
proxy_pass http://127.0.0.1:8090;
....
# Allow 30M uploaded presentation document.
client_max_body_size 100m;
client_body_buffer_size 128k;
.....
and not the location
location /bigbluebutton {
...
as mentioned above in the documentation?
I adjusted the client_max_body_size parameter of the "/bigbluebutton/presentation/checkPresentation" and now I can upload the presentation successfully!
So to summarize:
1. The "app.presentationUploder.upload.413": "File is too large, maximum of 200 pages reached" message refers to the file size being returned by nginx and not the number of pages.
2. The following are the configuration that needs to be changed to change the maximum size of the uploaded presentation:
- /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (html5)
- /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml (html5)
- /var/www/bigbluebutton/client/conf/config.xml (flash)
- /etc/bigbluebutton/nginx/web.nginx (/bigbluebutton/presentation/checkPresentation nginx location)
Is this correct?