Error uploading any video

So I've tried multiple ways of uploading video, different types, styles, length. But they simply won't upload. it come back with wanting me to upload again saying "Upload is essential" but yet i've upload already. so whats the issue. I've made any changes on server side. Max size is 99mb for instance. So why does it continuously as for a video when I have already put one in???

If i could upload images here, I would give an example of the error.

  • 508
  • More
Replies (29)
    • Hello James Zandreiatti !

      If you mean your site provided to me then it has several issues for the fine conversation of video:

      1) these parameter post_max_size = 8388608 means that you can't upload files with the size more than 8 Mb.

      2) this Cron Job is wrong:

      */24 * * * * /usr/bin/php -q [your path]periodic/cron.php 

      it should be launched every minute (* * * * *)

      3) this line

      Last cron jobs execution - None

      that even this delayed Cron hasn't been executed.

      So you may upload small videos but without running Cron Jobs it will be not converted to be played on the site.

      • Ok... I adjusted the Cron jobs, but still now fix.

        Here is the error I'm getting after uploading a 8mb Video, with proper credentials and media properties.

        image_transcoder.php?o=bx_froala_image&h=3410&dpx=1&t=1587134625

        This is my PHP.ini file

        image_transcoder.php?o=bx_froala_image&h=3411&dpx=1&t=1587134665

        • I assume you created this php.ini file yourself? Do these sizes you have in it also reflect in Studio > Dashboard > Click the down error at Host Tools and do a server audit. You will see what UNA is using for the upload sizes there. 

          • Yes the size you see in PHP. ini is been added about 2 weeks ago. Audio?Sound is working fine. It's ONLY when you upload a video. Files works good to

            • I did find that the ffmpeg.exe file was not active. Fixed that but still no go. Everything looks good from there, so What do you think??

              • So you can upload sounds and files that are over 8MB without any issues? The fact that you created a PHP.ini file with those sizes specified doesn't mean that UNA is using those settings. The best way to check is do what I explained above and see if the setting match in the Host Tools > Server Audit.
                If it is picking up your php.ini settings then, you will seem something like this in the server audit:
                upload_max_filesize = 103809024
                post_max_filesize  =  105906176

                • This is my current Hardware setting after a Cache clear

                  image_transcoder.php?o=bx_froala_image&h=3413&dpx=1&t=1587140418

                  image_transcoder.php?o=bx_froala_image&h=3414&dpx=1&t=1587140439

                  image_transcoder.php?o=bx_froala_image&h=3415&dpx=1&t=1587140465

                  image_transcoder.php?o=bx_froala_image&h=3416&dpx=1&t=1587140486

                  • Sounds, Files are working fine up to 99mb. No issues there.

                    ONLY video is not allowing anything whatsoever. I do the upload (With a 8mb video file) it works as you'd think, but once it goes back to video screen as pictured earlier, it shows that I didn't upload anything, and it says "a video is essential".

                    • Your post_max_size is 8MB according to your screenshot. Do you have shared hosting or are you running a dedicated or VPS server?

                      • It is shared., The server people were the ones who went in and made the PHP.ini file so I could increase files size upload. When they did that, files and sounds began working fine.

                        But... Video continues to have this issue.

                        • The difference is in "Uploading" versus "Posting". Videos need to go through a "Post" and as well being processed through ffmpeg.exe before it is visible and available to play. I would suggest having them look at that post_max_size again since it is not being picked up by your UNA as you saw in the screenshot. It "may" be that the post_max_size is set at the server level and cannot be over-written. I am not sure. 

                          You could try calling your php.ini directly in your Cron Job to see if that works too. You would need to change your cron job command to this, assuming your host put the php.ini file in the /public_html directly:

                          * * * * * /usr/bin/php -c /home2/discove4/public_html/php.ini -q /home2/discove4/public_html/periodic/cron.php

                          • Ok update on issue...

                            It seems that the "server people" did there checks and testing and they had NO issues whatsoever uploading any type of video. It seems the issue comes from my side somehow? I've tried from both Edge and Chrome, and neither will upload to site. 

                            So if they could upload video from there end, why am I not able to from my end? I've tried various attempts from computer. (Small/large) but still no upload. 

                            Doesn't make any sense...

                            • new update. I can upload video from phone, tablet....

                              but from PC it will not upload videos

                              • Also how long should a video conversion take for a 7mb file? It has already been almost 45 minutes and it still says its converting.

                                • I just tried to upload video to UNA.io. It does the same thing my site does. It will now upload, but.... When it comes to conversion of video, It just says its converting. It never finishes.

                                  • See my response here: https://una.io/page/view-discussion?id=5417 

                                    Also if "several people" are able to upload videos over 8MB without any issues and they work just fine, then the problem is on your side. 

                                    • I found that there file that they uploaded also continously said converting.

                                      • I am 4 for 4 on uploading videos and processing successfully on my site. James Zandreiatti Want me to log in and take a look?

                                        • Would ya bro. I've been at his all day. Still no answers.

                                          • Yeah, no problem.

                                            • Hi......

                                              Has this been resolver. I also have the problem......it stay stuck on  ""Scheduled for publishing as soon as video conversion is complete."" 

                                              I have been at it for 5 days now...…..

                                              I need this to work...…. The website is for a church community and we are in lockdown the pastor want to send his messing out on video

                                              Regards

                                              • i have also the problem

                                                after updated to una 11.02 i can not uplad pictures over 2 mb

                                                this is becaus the max data uplaos jumped after the una update to 2 mb

                                                before it was 256 mb. sorry i didn t find the place to change that

                                                where i change the max upload in the una studio?

                                                my big una problem since a long time is that i can t upload files over 40 mb

                                                and the upload limit was 256mb at the same time

                                                PHP:

                                                • Ausführung = 7.2.31 - OK
                                                • allow_url_fopen = On - OK
                                                • allow_url_include = Off - OK
                                                • magic_quotes_gpc = Off - OK
                                                • memory_limit = 134217728 - OK
                                                • post_max_size = 8388608 - OK
                                                • upload_max_filesize = 2097152 - 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:

                                                • Ausführung = 5.7.30 - OK

                                                Web-Server: LiteSpeed

                                                • rewrite_module - OK
                                                • Those parameters:

                                                  • post_max_size = 8388608 - OK
                                                  • upload_max_filesize = 2097152 - OK

                                                  don't depend form UNA, only form the settings of PHP used in your server. You need to increase both.

                                                  • thanks for reply

                                                    can you tell me the file where i can change that?

                                                    i changed my php.ini in the public_html folder

                                                    asp_tags = Off display_errors = Off max_execution_time = 422 max_input_time = 120 max_input_vars = 1000 memory_limit = 512M post_max_size = 800M session.gc_maxlifetime = 1440 session.save_path = "/var/cpanel/php/sessions/ea-php56" upload_max_filesize = 800M zlib.output_compression = Off

                                                    no change

                                                    • Need to find your php.ini file that's being used by server and modify it there.

                                                      • Ok it seems the situation we had before has returned. For some reason, Video, Sounds and viewing of Files is not working..

                                                        Video - Goes through the motions of acting like its uploading, but does not.

                                                        Sounds - Does the same as Video...

                                                        Files - Seems you cant open uploaded files for whatever reason.

                                                        All these files have proper permissions, size settings. So not sure why this is an issue again? Ive gone through server side and find everything to be set correctly.

                                                        • Hello James Zandreiatti !

                                                          What about your Cron Jobs? Please check via Studio->Dashboard->Server audit if they are running every minute.

                                                          • Hi LeonidS I checked my crons, and  I am not sure if "no crontab for web3" could cause troubles, what do u think?

                                                            image_transcoder.php?o=bx_froala_image&h=4088&dpx=1&t=1601938820

                                                            • Hi David Medina !

                                                              The more important info is below - the time when the cron jobs were executed. In your site it is OK now.

                                                              Login or Join to comment.