• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

Video Uploads

Drifter

Chevereto Member
Pro
Curious on this and not sure where to post but anyway its a simple question regarding uploading video. Simply, right now I can only upload a video file of less than 30 seconds before the upload fails. I know its due to the lack of "chunked" uploads. Is progress being made in this area or is it something that we won't see?
 
Video is a new feature and it is still settling.

It will be required to support chunked uploads before going with big video files. It will also require background processing.

At this time it works great for medium sized files, will take a bit to work great with bigger files.
 
Video is a new feature and it is still settling.

It will be required to support chunked uploads before going with big video files. It will also require background processing.

At this time it works great for medium sized files, will take a bit to work great with bigger files.
Been able to upload files 1Gb or less (server requirements) with videos longer than 30 mins on my hosting service.

Even able to upload multiple files (faster on ftp vs local) and the ftp simply connects directly to the same file server as the website.
 
Been able to upload files 1Gb or less (server requirements) with videos longer than 30 mins on my hosting service.

Even able to upload multiple files (faster on ftp vs local) and the ftp simply connects directly to the same file server as the website.

I'm far above 1 GB.
 
I'm far above 1 GB.
Pretty sure it's possible to upload more than 1GB of video, just depends on your server configuration and the maximum capacity


I know with my host, you can upload a Max of 2GB and if I had my custom server and its configuration, I could allow more.
 
I've tested videos up to 4GB in local dev with zero issues, this is all about network handling.

Video uploading issues refer to large files over the network, if you use CloudFlare it will fail above 100MB. If you don't use CloudFlare there could be a limitation imposed by the web server (in apache the config key is LimitRequestBody) which can yield 413 Request Entity Too Large when not configured for large file uploads. Same goes for nginx or any other web server, there are default limits on how big a client post request can be processed.

At this time I don't recommend tweaking your servers to allow bigger file uploads, we still need to see "how it goes" and all that won't matter if I add chunked uploads anyway as that doesn't require you to tweak your servers.

Chunked uploads should be added in the next video-related update (TBD). Keep in mind that 4.2 will address tags and general performance issues so it could take some time to get chunked uploads added to Chevereto.
 
I’ve not messed with it much lately except for static images. I do suspect its related to max execution time but stopped trying to resolve the issue when the conversation about chunked uploads entered discussion. I’ll get back to it in the fall.
 
Make sure your PHP is configured to allow uploads of this size, as well as the max execution time.
So my settings appear to be part of the issue at least. Max Upload size seems fine.
  • Max. upload file size: 2 GB
Could set it larger I suppose.

Max Execution is the likely culprit but I cannot seem to get it to change. This is a Docker install so I am sure I am doing it wrong.
  • Max. execution time: 30 seconds
Where should I be looking and what commands can I use to resolve the issue?
 
Make sure your PHP is configured to allow uploads of this size, as well as the max execution time.
This is what I have:
  • Max. execution time: 30 seconds
  • Memory limit: 512 MB
  • Max. upload file size: 2 GB
In which file can I edit this in a docker installation? I am using Digital Ocean but have no idea how to fix this if its even possible. Everything I have tried at this point has failed which is on me but it's rather frustrating. I prefer to do and host my own video and get away from the "tube" but it isn't looking like I am going to be able to at this point.
 
So my settings appear to be part of the issue at least. Max Upload size seems fine.
  • Max. upload file size: 2 GB
Could set it larger I suppose.

Max Execution is the likely culprit but I cannot seem to get it to change. This is a Docker install so I am sure I am doing it wrong.
  • Max. execution time: 30 seconds
Where should I be looking and what commands can I use to resolve the issue?
The execution time is %100 your issue I believe. It would take more than 30 seconds for FFMPEG to process the video.

Within the container, find php.ini, edit the variable, and restart the webserver.
 
The execution time is %100 your issue I believe. It would take more than 30 seconds for FFMPEG to process the video.

Within the container, find php.ini, edit the variable, and restart the webserver.
Barry, I cannot find its location. It seems due to the Docker container and searching the server I cannot find the correct location nor change effectively the locations I do find. I've given up on this and will stay with using my forum and the "tube" as a host. I have another software I am testing on a new vps that seems to be working well but time will tell. Setup and modification for this software is not user friendly nor is the documentation clear. For those with significant understanding of the system I am sure its fine but for the rest of us it isn't. Thank you for the attempt at least. Shared hosting is easier but limited.
 
Docker container
Under Docker you can to use ENV to configure the system:


Docker works under the premise of a persistent system storage (call it app disk) and any filesystem change, including editing some php.ini file must be mounted. If you edit the file inside the container the change will happen, but it will be reversed to the original app filesystem on re-start.

As I wanted to make your life easier, I added a php.ini override using ENV directly at container start. That way you don't need the filesystem change and just pass what you need.

The settings you need are documented here:
https://v4-docs.chevereto.com/application/configuration/environment.html#file-upload

How it works here (just for reference):

The usage is trivial, for docker compose:

Also trivial under docker run:

Hope it helps.
 
Back
Top