Unable to upload videos
I have install the latest UNA and I have problem with the video upload. when using the link site. com /s/bx_videos_videos/76psxhp7ad62s26hmfhyxez5baizj9lh.mp4 I can see the video, but its not working on site com/ page/view-video?id=5
Things I did
- Went to sys_transcoder_queue and clear it
- Went to /site/plugins/ffmpeg and ffmpeg.exe it is 777
- Try reupload it same problem
What I'm I seeing
- Scheduled for publishing as soon as video conversion is complete.
- Path: /site/logs no error
- Active awaiting
- /.htaccess
- RewriteEngine OnRewriteBase /
- Web Server - UNDEFINED
- RequirementsPHP:
- version = 7.3.27 - OK
- allow_url_fopen = On - OK
- allow_url_include = Off - OK
- magic_quotes_gpc = Off - OK
- memory_limit = -1 bytes - OK
- post_max_size = 64 MB - OK
- upload_max_filesize = 64 MB - OK
- register_globals = Off - OK
- safe_mode = Off - OK
- disable_functions - OK
- php module: curl = curl - OK
- php module: gd = gd - OK
- php module: mbstring = mbstring - OK
- php module: json = json - OK
- php module: fileinfo = fileinfo - OK
- php module: zip = zip - OK
- php module: openssl = openssl - OK
- php module: exif = exif - OK
- MySQL:
- version = 5.7.32 - OK
- Web-server: Apache
- rewrite_module - UNDEFINED
-
-
- · Jose Sadel
- ·
Check Baloo's BKM https://una.io/page/view-discussion?id=7424
Especially your php.ini setting
On the server side (php.ini) side, these 3 values are important and ideally like this:
max_execution_time = 360
max_input_time = 360
memory_limit = 512M (minimum)
Important: The "upload_max_filesize" and "post_max_size" values of your server (php.ini) will always take precedence over the UNA settings.
-
- · lance
- ·
Changed hosting still no luck with new installation😅
Video isn't published because video conversion failed, edit video to fix the issue.
failed - cron jobs working
- told my host to change settings in php.ini setting
max_execution_time = 360
max_input_time = 360
memory_limit = 512M (minimum)
post_max_size =512 MB
upload_max_filesize = 512 MB- Tried : Default cURL timeout 10 also tried and 120
- Host ToolsPHP - OKMySQL - OKWeb Server - OK
Requirements
PHP:- version = 7.4.12 - OK
- allow_url_fopen = On - OK
- allow_url_include = Off - OK
- magic_quotes_gpc = Off - OK
- memory_limit = 512 MB - OK
- post_max_size = 512 MB - OK
- upload_max_filesize = 512 MB - OK
- register_globals = Off - OK
- safe_mode = Off - OK
- disable_functions - OK
- php module: curl = curl - OK
- php module: gd = gd - OK
- php module: mbstring = mbstring - OK
- php module: json = json - OK
- php module: fileinfo = fileinfo - OK
- php module: zip = zip - OK
- php module: openssl = openssl - OK
- php module: exif = exif - OK
- version = 10.2.33 - OK
- rewrite_module - OK
- Linux us15.tmd.cloud 3.10.0-962.3.2.lve1.5.32.el7.x86_64 #1 SMP Fri Feb 28 07:18:51 EST 2020 x86_64
- Hardware requirements can not be determined automatically - manual server audit may be required.
Site setup
- UNA version = 12.0.0 - OK
- Files and folders permissions - please click here to find out if permissions are correct.
- ffmpeg -
ffmpeg version 4.2-static https johnvansickle com/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516 configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
if you don't know if output is correct then manual server audit may be required.
Use -h to get full help or, even better, run 'man ffmpeg' - Mail sending - click here to send test email
- Cron jobs -
SHELL="/bin/bash" * * * * * /usr/bin/php -q /home/somethingt/public_html/periodic/cron.php
if you are unsure if output is correct then manual server audit may be required - Last cron jobs execution - 27 Feb 2021 2:27:01 pm
Site optimization
PHP:- PHP accelerator = - WARNING (The script can be much faster if you install some PHP accelerator)
- PHP setup = litespeed - OK
- key_buffer_size = 1 GB - OK
- max_heap_table_size = 16 MB - OK
- tmp_table_size = 16 MB - OK
- thread_cache_size = 256 - OK
- User-side caching for static content - click here to check it in Google Page Speed
If it is not enabled then please consider implement this optimization, since it improve perceived site speed and save the bandwidth, refer to this tutorial on how to do this.
To apply this optimization you need to have expires_module - Array - Server-side content compression - can be checked manually or in "Page Speed" tool build-in into browser.
If it is not enabled then please consider implement this optimization, since it improve perceived site speed and save the bandwidth, refer to this tutorial on how to do this.
To apply this optimization you need to have deflate_module - Array
- DB cache = On (File based cache engine) - WARNING (installing PHP accelerator will speed-up file cache)
- Pages cache = On (File based cache engine) - WARNING (installing PHP accelerator will speed-up file cache)
- Page blocks cache = On (File based cache engine) - WARNING (installing PHP accelerator will speed-up file cache)
- Templates Cache = On (FileHtml based cache engine) - OK
- CSS files cache = On - OK
- JS files cache = On - OK
- Compression for CSS/JS cache = On - OK
-
- · lance
- ·
So I talked to my hosting provider and they help me to fix the problem / find out what the problem is.
Could this be right ?
+--Below that they said +++
Hello,
Thank you for your patience!
We would like to inform you that we have checked our error logs and it seems your application doesn't enough resources.
We increased temporary the Input/Output usage resources and CPU for your account temporary and we were able to upload the test video for your website.
You can confirm it via the following URL:
( Yes it was working )
Considering this we recommend you upgrade your current package Starter Package - sitename to an Enterprise Shared package or to an Enterprise Cloud Shared package.
More information about each of them you can find via URLs provided below:
Link here
Link here
Please, do not hesitate to contact us again if we could be of any further assistance!
Best Regards,
-
We had an easier time too with videos when we upgraded our hosting from a shared hosting package to a powerful VPS solution
-
Thank you!
-
- · James Prince
- ·
My problem with our hosting is the vps solution has half the cpus and memory than our cloud hosting and costs twice as much. Since we are creating videos averaging 200-250MiB and want to delivery them in different formats we are looking to off load our videos to video sharing site where we will not have these problems for less than upgrading our hosting. We will see how it goes.