mediacms-io / mediacms

MediaCMS is a modern, fully featured open source video and media CMS, written in Python/Django and React, featuring a REST API.
https://mediacms.io
GNU Affero General Public License v3.0
2.7k stars 498 forks source link

"Upload failed" #467

Closed apfatzgo closed 1 year ago

apfatzgo commented 2 years ago

I tried uploading a video (4,5 GB, 4K, H.264). After the upload finished ("Processing") I got the message "Upload failed". I already increased the max upload in the config.

Screenshots: After upload:

Bildschirmfoto 2022-06-20 um 22 30 11

After "Processing":

Bildschirmfoto 2022-06-20 um 22 33 51

Environment:

Thank you!

Mozitux commented 2 years ago

Hello, I had the same issue on low specs server when media encoding is pending. Try to wait until the last encoding is done before uploading a new video if your server seem to be slow.

You can check the resources' consumption with htop command on Linux server.

mgogoulos commented 1 year ago

The default upload size should be enough, if not you can increase it from https://github.com/mediacms-io/mediacms/blob/main/deploy/local_install/nginx.conf and restart nginx

Also try uploading a small file and make sure whether it uploads without issues - in this case the problem here can be narrowed down to some size limit. If the small file fails as well this shows that uploads fail in general and probably not related to the size limit