Cron Jobs - Migrations/Videos

 

 

 

 

Quote · 14 Dec 2009

I have seen alot of questions regarding migrations stuck in "queued" and videos not processing. So I figured I would give some of most common reason why this happens. It is normally due to Cron Jobs!

Here are some helpful tips regarding Cron Jobs-

Most common configurations:

* * * * * /usr/local/bin/php -q /home/sitedir/public_html/periodic/cron.php

* * * * * /usr/bin/php -q /home/sitedir/public_html/periodic/cron.php

(to find your exact /home/sitedir/public_html/ edit your /inc/header.inc.php and look for $dir['root'])

I have also found that some Crons (depending on your host) have difficulties "calling" the cron job to run. I have been able to resolve this by specifying the location of the php configurations and manually entering it into the cron job command: (See below)

* * * * * /usr/bin/php -c /home/sitedir/public_html/php.ini -q /home/sitedir/public_html/periodic/cron.php

There is a way to manually execute the cron job also, by renaming the .htaccess file located in the /periodic folder to something like .htaccess.old. You can then manually run the cron job by physically typing in the location in your browsers address bar. Example: www.mysite.com/periodic/cron.php

Please note that you should allow sufficient time for the video to process. When you upload videos, they may not play instantly. Some videos can take at least 4-5 minutes before they display on your home page or video albums.

If you attempt to view a video (like from the Admin Panel) BEFORE it has time to process, YOU WILL get an error of "File not Found".

** Before manually running your cron job, please verify that your cron job settings are correct.

I hope this helps with some questions regarding the Cron Job configurations. Also, if anyone else has any additional information they would like to add, you are more than welcome.

UPDATED (1/7/2010):

- Make sure your host has Shell_Exec and POPEN enabled in the Server's PHP configuration

- Make sure when making changes, you clear your /cache (except the .htaccess file) and the /public_cache directories

- Remove the option to cache template files except for the HTML files in Settings>Advanced Settings>Template

Chris

Nothing to see here
Quote · 14 Dec 2009

Bumping for all to read :)

Nothing to see here
Quote · 14 Dec 2009

Hi Zarcon.

 

I have another problem that is different to the cronjob.

 

When I try to upload any video/sound it either just sits there with progress circle rotating and nothing else happening (regular uploader) or in flash mode it apears to upload and then screen goes completely white and just sits there blank. When i refresh. it goes back to upload menu and nothing has been uploaded.

 

Any ideas?

 

 

Jim

 

Quote · 14 Dec 2009

You can look at a couple of things here:

- Is your /flash/modules/global/app/ffmpeg.exe set to 777 permissions?

- Are you using a different template than the default UNI? If so, try switching back to Uni and try again

- Are you currently running RC3?

Chris

Nothing to see here
Quote · 14 Dec 2009

Hi Chris. Standard uni template. rc3 and yes 777 for ffmpeg.exe

 

I also tried to run the cron manually as per your intructions to see what happened and that shows me a white screen as well.

 

Thanks for your quick response.

 

 

Jim

Quote · 14 Dec 2009

When you navigate to manually run your cron job. It will be a blank screen, thats normal. But if you actually uploaded tje video, it should have processed it. BTW, Who is your web host?

Chris

Nothing to see here
Quote · 14 Dec 2009

Hi Chris

 

Its hostgator. I uploaded the video and a sound but when the progress bar finishes, thats when a blank white screen appears and it just stays on that screen unless you refresh the page

 

Jim

 

Quote · 14 Dec 2009

You need to contact your host and make sure that they DO NOT have the following 2 php functions disabled:

Shell_Exec

POPEN


Chris

Nothing to see here
Quote · 14 Dec 2009

Hi Chris,

 

Checked with host and both are switched on. I checked the host params under admin tools and the file limit was smaller than the files i was uploading, thats what was causing the problem. Strange how Dolphin doesnt show or warn you that file is too big.

 

I  have setup on another hosting company with larger file uploads.

 

This now seems to work to an extent. The files upload, show in sounds and videos, but dont actually play. Play button comes up but no sound or pic. Have a feeling its to do with the cron. I keep getting an error via email as below

 

/bin/sh: /usr/lib/php: is a directory

 

this is what php.info shows

 

Configuration file (php.ini) path /usr/lib

 

Loaded configuration file    /usr/local/lib/php.ini

 

this is my cron usr/lib/php -q /home/mysite/public_html/periodic/cron.php

 

Any clearer?

 

 

Jim

 

 

Hi Chris,

 

Just a quick update.

 

I can now upload files and they are processed via the cron. It was the path that was incorrect and re-reading ur earlier post helped me solve it, thanks.

 

Only issue now is that neither the sounds or videos actually play. soon as you press the play button, the sound or video just sits there without any output. This is the same if its uploaded via flash or regular.

 

Jim

Quote · 14 Dec 2009

I did as said and I still get file not found.

Quote · 16 Dec 2009

I did as said and I still get file not found.

Would need to know some more information such as:

- How big is the video file

- Are your php limits set to allow larger files over 2MB?

- Who is your web host?

Chris

Nothing to see here
Quote · 16 Dec 2009

Its like 6mb

Godaddy is my host.

and im not sure how much it allows to me upload because I dont know were to check for that.

Quote · 16 Dec 2009

dangioffre, there is your problem. You cannot run all of Dolphin's features on Godaddy because they will not allow you Exec() function to use ffmpeg. Sorry to be the bearer of bad news,

Chris

Nothing to see here
Quote · 16 Dec 2009

Dolphin 6 worked well. They let me upload videos and music.

Dolphin 7 Songs only work. Just not video

Quote · 16 Dec 2009

dangioffre, there is your problem. You cannot run all of Dolphin's features on Godaddy because they will not allow you Exec() function to use ffmpeg. Sorry to be the bearer of bad news,

Chris

Exec() function

i'm with godaddy and it works fine(grid hosting)

Quote · 16 Dec 2009

Ok, I may stand corrected but I thought I read that on their "shared" hosting, they do not allowing the use of ffmpeg. I would have to take a look into it further to find out why this is happening.

Chris

Nothing to see here
Quote · 16 Dec 2009

I have a problem ?

http://www.boonex.com/unity/forums/topic/Dolphin-7-error.htm#topic/Dolphin-7-error.htm

Quote · 29 Dec 2009

* * * * * /usr/bin/php -c /home/xxxx/public_html/php.ini -q /home/xxxx/public_html/periodic/cron.php

Hi Chris,

I applied the above code on my cpanel cron section (Advanced) and now I receive email with the below error. Am I missing something on your instruction?

<br />
<b>Fatal error</b>: Allowed memory size of 8388608 bytes exhausted (tried to allocate 30720 bytes) in <b>/home/xxxx/public_html/modules/boonex/videos/classes/BxVideosSearch.php</b> on line <b>52</b><br />
Quote · 31 Dec 2009

Figured out. I need to increase my memory limit size in php.ini

* * * * * /usr/bin/php -c /home/xxxx/public_html/php.ini -q /home/xxxx/public_html/periodic/cron.php

Hi Chris,

I applied the above code on my cpanel cron section (Advanced) and now I receive email with the below error. Am I missing something on your instruction?

<br />
<b>Fatal error</b>: Allowed memory size of 8388608 bytes exhausted (tried to allocate 30720 bytes) in <b>/home/xxxx/public_html/modules/boonex/videos/classes/BxVideosSearch.php</b> on line <b>52</b><br />

Quote · 31 Dec 2009

and this cron should be set to */10

right?

Quote · 31 Dec 2009

where can i find a list of what the cron jobs should be set to ??

Quote · 31 Dec 2009

Cron job should be set to * * * * *

Every minute, every day, every month, etc..

Chris

Nothing to see here
Quote · 31 Dec 2009

Hi,

Im getting the same error while playing the video file. could anyone say where i want to change the cron commands

* * * * * /usr/local/bin/php -q /home/sitedir/public_html/periodic/cron.php

* * * * * /usr/bin/php -q /home/sitedir/public_html/periodic/cron.php

In which file i need to change.

By default the php path in the header.inc file is /usr/local/bin/php

and the cronjob path of the cpanel is /web/cgi-bin/php5 "$HOME/html/Dolphin/periodic/cron.php" (godaddy hosting)

Could anyone help me to fix this issue.

Thank you

Quote · 5 Jan 2010

Zarcon,

I have some questions about the migration:

1) The path to the homedir is to the new D7 install or to the old D6? (if you set up cron jobs as per D7 and D6 there should not be a problem with cron jobs if they were working prior, correct?)

2) Does the migration move users over as well?

3) What does "PLEASE INSTALL THE PROFILES BEFORE" mean after clicking "Move data"? Does this mean migrate profiles over before doing anything else?

4) You mentioned that the cron job needs to run * * * * * is there a way to direct these emails to null so that the inbox is not full of notifications? This is a minor annoying feature but I understand if it has to be this way. Is there any other way to deal with a inbox full of notifications?

Thanks!

Quote · 5 Jan 2010

Hello Guys

Thank you Zarcon for your help , I've followed your way and setup cron as this : 

/usr/local/bin/php -c /home/gowawcom/public_html/php.ini -q /home/gowawcom/public_html/periodic/cron.php

 

Now I am Able to upload Video but the video not play , no sound or pic play !!!!

My php.ini file in the route is as follows:

register_globals Off
upload_max_filesize=300M
post_max_size=300M
max_input_time=3000
max_execution_time=3000
memory_limit=128M
AddType x-mapp-php5 .php

embading youtube work fine

I receive the following E-mail from Cron after uploading :

-----------

 

FFmpeg version SVN-r19066, Copyright (c) 2000-2009 Fabrice Bellard, et al.

  configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static --enable-avfilter --enable-nonfree --disable-ffplay --disable-ffserver --extra-ldflags='-L/usr/lib -static'

  libavutil     50. 3. 0 / 50. 3. 0

  libavcodec    52.30. 1 / 52.30. 1

  libavformat   52.34. 0 / 52.34. 0

  libavdevice   52. 2. 0 / 52. 2. 0

  libavfilter    0. 5. 0 /  0. 5. 0

  libswscale     0. 7. 1 /  0. 7. 1

  built on Jul  1 2009 10:40:54, gcc: 4.1.2 (Gentoo 4.1.2 p1.0.2)

 

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001) Input #0, asf, from '/home/gowawcom/public_html/flash/modules/video/files/241':

  Duration: 00:01:12.03, start: 3.100000, bitrate: 303 kb/s

    Stream #0.0: Video: wmv2, yuv420p, 320x240, 29.97 tbr, 1k tbn, 1k tbc

    Stream #0.1: Audio: wmav2, 22050 Hz, mono, s16, 64 kb/s [ffmpeg_output @ 0x8ec5a40]auto-inserting filter 'scale'

Output #0, image2, to '/home/gowawcom/public_html/flash/modules/video/files/1262892302.jpg':

    Stream #0.0: Video: mjpeg, yuvj420p, 320x240, q=2-31, 200 kb/s, 90k tbn, 29.97 tbc Stream mapping:

  Stream #0.0 -> #0.0

Press [q] to stop encoding

frame=    1 fps=  0 q=0.0 Lsize=      -0kB time=0.03 bitrate=  -5.3kbits/s   

video:3kB audio:0kB global headers:0kB muxing overhead -100.651852% FFmpeg version SVN-r19066, Copyright (c) 2000-2009 Fabrice Bellard, et al.

  configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static --enable-avfilter --enable-nonfree --disable-ffplay --disable-ffserver --extra-ldflags='-L/usr/lib -static'

  libavutil     50. 3. 0 / 50. 3. 0

  libavcodec    52.30. 1 / 52.30. 1

  libavformat   52.34. 0 / 52.34. 0

  libavdevice   52. 2. 0 / 52. 2. 0

  libavfilter    0. 5. 0 /  0. 5. 0

  libswscale     0. 7. 1 /  0. 7. 1

  built on Jul  1 2009 10:40:54, gcc: 4.1.2 (Gentoo 4.1.2 p1.0.2)

 

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001) Input #0, asf, from '/home/gowawcom/public_html/flash/modules/video/files/241':

  Duration: 00:01:12.03, start: 3.100000, bitrate: 303 kb/s

    Stream #0.0: Video: wmv2, yuv420p, 320x240, 29.97 tbr, 1k tbn, 1k tbc

    Stream #0.1: Audio: wmav2, 22050 Hz, mono, s16, 64 kb/s Output #0, flv, to '/home/gowawcom/public_html/flash/modules/video/files/241.flv':

    Stream #0.0: Video: flv, yuv420p, 480x360, q=2-31, 200 kb/s, 1k tbn, 25 tbc

    Stream #0.1: Audio: libmp3lame, 44100 Hz, mono, s16, 64 kb/s Stream mapping:

  Stream #0.0 -> #0.0

  Stream #0.1 -> #0.1

Press [q] to stop encoding

frame=  107 fps=  0 q=0.0 size=     301kB time=4.10 bitrate= 601.1kbits/s   

frame=  210 fps=209 q=0.0 size=    1126kB time=8.28 bitrate=1114.0kbits/s   

frame=  277 fps=184 q=0.0 size=    1624kB time=10.97 bitrate=1212.5kbits/s   

frame=  333 fps=164 q=0.0 size=    2060kB time=13.17 bitrate=1282.0kbits/s   

frame=  442 fps=175 q=0.0 size=    2861kB time=17.48 bitrate=1340.9kbits/s   

frame=  537 fps=177 q=0.0 size=    3702kB time=21.29 bitrate=1424.3kbits/s   

frame=  582 fps=164 q=0.0 size=    4052kB time=23.09 bitrate=1437.5kbits/s   

frame=  606 fps=146 q=0.0 size=    4270kB time=24.09 bitrate=1452.3kbits/s   

frame=  649 fps=139 q=0.0 size=    4626kB time=25.78 bitrate=1469.7kbits/s   

frame=  744 fps=124 q=0.0 size=    5395kB time=29.65 bitrate=1490.5kbits/s   

frame=  752 fps=114 q=0.0 size=    5455kB time=29.94 bitrate=1492.8kbits/s   

frame=  786 fps=111 q=0.0 size=    5692kB time=31.27 bitrate=1491.2kbits/s   

frame=  866 fps=114 q=0.0 size=    6257kB time=34.53 bitrate=1484.2kbits/s   

frame=  995 fps=123 q=0.0 size=    7202kB time=39.63 bitrate=1488.7kbits/s   

frame= 1075 fps=125 q=0.0 size=    7806kB time=42.84 bitrate=1492.6kbits/s   

frame= 1204 fps=133 q=0.0 size=    8724kB time=47.99 bitrate=1489.4kbits/s   

frame= 1303 fps=136 q=0.0 size=    9443kB time=51.98 bitrate=1488.2kbits/s   

frame= 1418 fps=140 q=0.0 size=   10464kB time=56.58 bitrate=1515.0kbits/s   

frame= 1503 fps=142 q=0.0 size=   11150kB time=59.98 bitrate=1522.9kbits/s   

frame= 1584 fps=142 q=0.0 size=   11831kB time=63.22 bitrate=1533.2kbits/s   

frame= 1663 fps=143 q=0.0 size=   12520kB time=66.38 bitrate=1545.2kbits/s   

frame= 1742 fps=144 q=0.0 size=   13140kB time=69.49 bitrate=1549.2kbits/s   

frame= 1842 fps=146 q=0.0 size=   13905kB time=73.53 bitrate=1549.1kbits/s   

frame= 1879 fps=147 q=0.0 Lsize=   14148kB time=75.16 bitrate=1542.0kbits/s    

video:13485kB audio:588kB global headers:0kB muxing overhead 0.530327% FFmpeg version SVN-r19066, Copyright (c) 2000-2009 Fabrice Bellard, et al.

  configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static --enable-avfilter --enable-nonfree --disable-ffplay --disable-ffserver --extra-ldflags='-L/usr/lib -static'

  libavutil     50. 3. 0 / 50. 3. 0

  libavcodec    52.30. 1 / 52.30. 1

  libavformat   52.34. 0 / 52.34. 0

  libavdevice   52. 2. 0 / 52. 2. 0

  libavfilter    0. 5. 0 /  0. 5. 0

  libswscale     0. 7. 1 /  0. 7. 1

  built on Jul  1 2009 10:40:54, gcc: 4.1.2 (Gentoo 4.1.2 p1.0.2)

 

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001) Input #0, asf, from '/home/gowawcom/public_html/flash/modules/video/files/241':

  Duration: 00:01:12.03, start: 3.100000, bitrate: 303 kb/s

    Stream #0.0: Video: wmv2, yuv420p, 320x240, 29.97 tbr, 1k tbn, 1k tbc

    Stream #0.1: Audio: wmav2, 22050 Hz, mono, s16, 64 kb/s Output #0, mpeg, to '/home/gowawcom/public_html/flash/modules/video/files/241.mpg':

    Stream #0.0: Video: mpeg1video, yuv420p, 480x360, q=2-31, 200 kb/s, 90k tbn, 25 tbc

    Stream #0.1: Audio: libmp3lame, 44100 Hz, mono, s16, 64 kb/s Stream mapping:

  Stream #0.0 -> #0.0

  Stream #0.1 -> #0.1

Press [q] to stop encoding

frame=  145 fps=  0 q=0.0 size=     606kB time=5.64 bitrate= 879.8kbits/s   

frame=  269 fps=267 q=0.0 size=    1600kB time=10.61 bitrate=1235.9kbits/s   

frame=  376 fps=249 q=0.0 size=    2428kB time=14.89 bitrate=1335.8kbits/s   

frame=  434 fps=216 q=0.0 size=    2892kB time=17.21 bitrate=1376.2kbits/s   

frame=  492 fps=189 q=0.0 size=    3432kB time=19.57 bitrate=1436.9kbits/s   

frame=  566 fps=182 q=0.0 size=    4048kB time=22.49 bitrate=1474.4kbits/s   

[mpeg1video @ 0x8e83060]warning, clipping 1 dct coefficients to -255..255

frame=  637 fps=177 q=0.0 size=    4696kB time=25.36 bitrate=1516.6kbits/s   

frame=  730 fps=178 q=0.0 size=    5478kB time=29.05 bitrate=1544.9kbits/s   

frame=  782 fps=170 q=0.0 size=    5862kB time=31.14 bitrate=1542.2kbits/s   

frame=  831 fps=163 q=0.0 size=    6252kB time=33.10 bitrate=1547.5kbits/s   

frame=  882 fps=157 q=0.0 size=    6600kB time=35.19 bitrate=1536.6kbits/s   

frame=  977 fps=160 q=0.0 size=    7334kB time=38.97 bitrate=1541.5kbits/s   

frame= 1106 fps=167 q=0.0 size=    8338kB time=44.09 bitrate=1549.1kbits/s   

frame= 1230 fps=173 q=0.0 size=    9248kB time=49.06 bitrate=1544.3kbits/s   

frame= 1261 fps=165 q=0.0 size=    9490kB time=50.31 bitrate=1545.2kbits/s   

frame= 1337 fps=164 q=0.0 size=   10130kB time=53.34 bitrate=1555.7kbits/s   

frame= 1462 fps=169 q=0.0 size=   11206kB time=58.31 bitrate=1574.5kbits/s   

frame= 1562 fps=171 q=0.0 size=   12074kB time=62.35 bitrate=1586.3kbits/s   

frame= 1680 fps=174 q=0.0 size=   13114kB time=67.03 bitrate=1602.7kbits/s   

frame= 1784 fps=176 q=0.0 size=   13978kB time=71.26 bitrate=1606.9kbits/s   

frame= 1862 fps=175 q=0.0 size=   14540kB time=74.32 bitrate=1602.7kbits/s   

frame= 1879 fps=175 q=0.0 Lsize=   14664kB time=75.12 bitrate=1599.1kbits/s   

video:13982kB audio:588kB global headers:0kB muxing overhead 0.647145% FFmpeg version SVN-r19066, Copyright (c) 2000-2009 Fabrice Bellard, et al.

  configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static --enable-avfilter --enable-nonfree --disable-ffplay --disable-ffserver --extra-ldflags='-L/usr/lib -static'

  libavutil     50. 3. 0 / 50. 3. 0

  libavcodec    52.30. 1 / 52.30. 1

  libavformat   52.34. 0 / 52.34. 0

  libavdevice   52. 2. 0 / 52. 2. 0

  libavfilter    0. 5. 0 /  0. 5. 0

  libswscale     0. 7. 1 /  0. 7. 1

  built on Jul  1 2009 10:40:54, gcc: 4.1.2 (Gentoo 4.1.2 p1.0.2)

 

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001) Input #0, asf, from '/home/gowawcom/public_html/flash/modules/video/files/241':

  Duration: 00:01:12.03, start: 3.100000, bitrate: 303 kb/s

    Stream #0.0: Video: wmv2, yuv420p, 320x240, 29.97 tbr, 1k tbn, 1k tbc

    Stream #0.1: Audio: wmav2, 22050 Hz, mono, s16, 64 kb/s

WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s

WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s Output #0, mp4, to '/home/gowawcom/public_html/flash/modules/video/files/241.mp4':

    Stream #0.0: Video: mpeg4, yuv420p, 176x144, q=2-31, 0 kb/s, 25 tbn, 25 tbc

    Stream #0.1: Audio: libmp3lame, 44100 Hz, mono, s16, 0 kb/s Stream mapping:

  Stream #0.0 -> #0.0

  Stream #0.1 -> #0.1

Press [q] to stop encoding

frame=  297 fps=  0 q=0.0 size=     521kB time=11.78 bitrate= 362.0kbits/s   

frame=  580 fps=565 q=0.0 size=    1200kB time=23.09 bitrate= 425.9kbits/s   

frame=  848 fps=544 q=0.0 size=    1827kB time=33.78 bitrate= 443.1kbits/s   

frame= 1089 fps=529 q=0.0 size=    2354kB time=43.44 bitrate= 443.9kbits/s   

frame= 1359 fps=531 q=0.0 size=    2962kB time=54.26 bitrate= 447.2kbits/s   

frame= 1524 fps=498 q=0.0 size=    3386kB time=60.81 bitrate= 456.1kbits/s   

frame= 1709 fps=480 q=0.0 size=    3859kB time=68.23 bitrate= 463.4kbits/s   

frame= 1879 fps=484 q=0.0 Lsize=    4266kB time=75.16 bitrate= 465.0kbits/s   

video:3639kB audio:588kB global headers:0kB muxing overhead 0.921292%

-------------

 

Please help

 

Quote · 7 Jan 2010

@reason8:

- the path to set in the migration is to your OLD dolphin install (D6)

- Yes, it will move the users too.

- Yes, you need to move profiles first BEFORE anything else since everything else ties to the user.

- Yes, remove the email address from the Cron Job in your cPanel (where you set the actual cron job)

@gowaw:

Im hearing alot other people having issues where the mp4 file is not being created and/or videos not working during the conversion process. Will your cron job not run if you DO NOT put the path to your php.ini file in there? Make sure the ffmpeg.exe is set to 777 or 755 permission (try both).

Chris

Nothing to see here
Quote · 7 Jan 2010

 

@gowaw:

Im hearing alot other people having issues where the mp4 file is not being created and/or videos not working during the conversion process. Will your cron job not run if you DO NOT put the path to your php.ini file in there? Make sure the ffmpeg.exe is set to 777 or 755 permission (try both).

 

Chris

 

----

Dear Chris

Thanks a million for your quick reply

My Cron set as follow:

/usr/local/bin/php -c /home/gowawcom/public_html/php.ini -q /home/gowawcom/public_html/periodic/cron.php

 

is this right ?

the ffmpeg.exe is set to 777

xml permissions set to 666

i don't know where is wrong !! anyway I truly appreciate your reply , thank you

 

 

Quote · 7 Jan 2010

gowaw, it is not always needed to add the location of your php.ini file in your cron job (it actually depends on the hosting type you have). Under MOST hosting packages your cron command would look like this:

/usr/local/bin/php -q /home/gowawcom/public_html/periodic/cron.php

Or Possibly:

/usr/bin/php -q /home/gowawcom/public_html/periodic/cron.php

Also, please note the update in the very first post of this topic.

Chris

Nothing to see here
Quote · 7 Jan 2010

@reason8:

- the path to set in the migration is to your OLD dolphin install (D6)

- Yes, it will move the users too.

- Yes, you need to move profiles first BEFORE anything else since everything else ties to the user.

- Yes, remove the email address from the Cron Job in your cPanel (where you set the actual cron job)

@gowaw:

Im hearing alot other people having issues where the mp4 file is not being created and/or videos not working during the conversion process. Will your cron job not run if you DO NOT put the path to your php.ini file in there? Make sure the ffmpeg.exe is set to 777 or 755 permission (try both).

Chris

Gotcha. How long is a migration supposed to take? I had 35 users, a few photos, no messages, groups and a few songs. It took over 24hrs for most of the items on the migration list to complete and I am still waiting on customized profiles to complete.  Also, refreshing the screen to see the status is is not intuitive enough. It seems that when you refresh, the status does not change but if you click "move data" again, it says that the items are being moved. Checking hours later (for say non video or sound files) the status has not changed.

Also which ffmpeg.exe are you referring to? The one in dolphin web directory or the one in the RMS directory?

Quote · 7 Jan 2010

@reason8, it definitely shouldnt take 24 hours to move them. You should try clearing your /cache (except for the .htaccess file) directory and navigate back to your site (out of the admin panel) and browse around. Then go back and check. Sometimes simply refreshing the migration page with not change.

btw, I was talking about the ffmpeg.exe in the flash/modules/global/app directory.

Chris

Nothing to see here
Quote · 7 Jan 2010

@reason8, it definitely shouldnt take 24 hours to move them. You should try clearing your /cache (except for the .htaccess file) directory and navigate back to your site (out of the admin panel) and browse around. Then go back and check. Sometimes simply refreshing the migration page with not change.

btw, I was talking about the ffmpeg.exe in the flash/modules/global/app directory.

Chris

I mean to ask you this before: How do you clear your cache (except for the .htaccess file)? I see the clear cache link in the D7 admin panel but nothing mentioning exceptions.

Quote · 7 Jan 2010

Now I am having problems with videos being played after successful uploads. When using the cron job command that is mentioned in the "detailed install70" docs, I get the error "Error! File not Found!" when I use the command Zarcon mentioned I get an message of "Video is being process" (which never changes". In either case, I am getting cron job notifications at the bottom of the email stating the following:

require_once(BX_DIRECTORY_PATH_INC . "security.inc.php");
require_once(BX_DIRECTORY_PATH_ROOT . "flash/modules/global/inc/header.inc.php");
require_once(BX_DIRECTORY_PATH_ROOT . "flash/modules/global/inc/content.inc.php");
require_once(BX_DIRECTORY_PATH_CLASSES . "BxDolService.php");
require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolAlerts.php');
$oZ = new BxDolAlerts('system', 'begin', 0);
$oZ->alert();
?>PHP Warning:  require_once(BX_DIRECTORY_PATH_INCutils.inc.php): failed to open stream: No such file or directory in /srv/www/clients/client7/web34/web/d7/periodic/cron.php on line 24
PHP Fatal error:  require_once(): Failed opening required 'BX_DIRECTORY_PATH_INCutils.inc.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/clients/client7/web34/web/d7/periodic/cron.php on line 24

The PHP Warning message is what I am interested in. Why is it giving this error? Is anyone else receiving this?

Quote · 7 Jan 2010

Thank you everybody for your help

 

I've contacted my hosting company Cirtex hostng any they solved the problem to me , I have no idea how they did it!!!

 

I'm here just to thank you for helping me.

 

Quote · 14 Jan 2010

Thank you everybody for your help

I've contacted my hosting company Cirtex hostng any they solved the problem to me , I have no idea how they did it!!!

I'm here just to thank you for helping me.

That is great! I am glad you got it working. If you would be so kind as to find out from your host how they resolved the issue, that would be great. Thens hare that tid bit of information with the rest of us.


Thanks!

Quote · 15 Jan 2010

Thank you everybody for your help

I've contacted my hosting company Cirtex hostng any they solved the problem to me , I have no idea how they did it!!!

I'm here just to thank you for helping me.

That is great! I am glad you got it working. If you would be so kind as to find out from your host how they resolved the issue, that would be great. Thens hare that tid bit of information with the rest of us.


Thanks!

In my case they have restarted the cron daemon. That solved my problem after 3 days pf trying everything on my side Laughing

Quote · 20 Jan 2010

Sir,

My cron job is

* * * * * cd /home/friends1/public_html/periodic; /usr/local/bin/php -q cron.php

The error mail i am getting is

/bin/sh: access-logs: command not found
Could not open input file: cron.php

 

the other cron job is

* * * * */usr/local/bin/php/home/friends1/public_html/perodic/cron.php

the error mail is

/bin/sh: access-logs: command not found

 

cron.php....permissions 777

Quote · 20 May 2011

Hi.  I have browsed these forums for a possible fix, but haven't found what would help me so far, so I'm posting a new forum entry about this.

For the record, I DID have a problem with the cron job, but now it's fixed and working.  What happens is that when I upload videos, they move from "Pending" to "Processing" and stay there for 24 hours before ending up in "Failed".

I am being hosted on hostgator.com, and do believe that I have fixed all configuration glitches that needed to be fixed from what I've read in the forums (permissions on ffmpeg, cron jobs, etc...).

I have looked at my cron e-mail for my last attempt, and the mail ends up like this :

 

(...snip...)

frame=  633 fps= 11 q=38.0 size=    1597kB time=19.75 bitrate= 662.5kbits/s dup=104 drop=0   
frame=  639 fps= 11 q=38.0 size=    1609kB time=19.95 bitrate= 660.4kbits/s dup=105 drop=0   
<br />
<b>Fatal error</b>:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 47 bytes) in <b>/home/kebek20/public_html/kebek20/plugins/moovrelocator/lib/Moovrelocator.class.php</b> on line <b>720</b><br />

 

This does appear to be due to a memory allocation setting, but don't know which one and/or where to change it.  Any help would be MUCH appreciated.

Thanks

Quote · 23 Nov 2011

You'll need to edit a php.ini file and change the directive for memory_limit to a higher value, like 256M.  Your hosting provider should be able to help you out.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 23 Nov 2011

I think I have found my problem while investigating a problem I had with Video Comments : ffmpeg and RMS are supported by hostgator only in VPS or dedicated server hosting, not the regular one.  So I assume that any further fighting in trying to resolve my issues with videos on Dolphin is pointless untill I upgrade my hosting solution.

 

Hope this info will be useful to future Dolphin users on Hostgator.

Quote · 23 Nov 2011

Like many users, at first the video would stay forever with a 'Processing' status. I have followed the instructions at Boonex Guide and changed the cronjob, and the video was processed and is playing now.

BUT.... now I keep getting the cronjob email message every minute:

 

/bin/sh: access-logs: command not found

 

This is the way cron was before:

cd /home/xxxxxxx/public_html/xxxxxxx/periodic; /usr/local/cpanel/3rdparty/bin/php -q cron.php

 

And this is what it is now (video working, getting email error message):

MAILTO=noreply@(...)
* * * * * /usr/local/bin/php -q m:/home/xxxxxxx/public_html/xxxxxxx/periodic/cron.php

 

help, please?

 

Quote · 27 Nov 2012

 

Like many users, at first the video would stay forever with a 'Processing' status. I have followed the instructions at Boonex Guide and changed the cronjob, and the video was processed and is playing now.

BUT.... now I keep getting the cronjob email message every minute:

 

/bin/sh: access-logs: command not found

 

This is the way cron was before:

cd /home/xxxxxxx/public_html/xxxxxxx/periodic; /usr/local/cpanel/3rdparty/bin/php -q cron.php

 

And this is what it is now (video working, getting email error message):

MAILTO=noreply@(...)
* * * * * /usr/local/bin/php -q m:/home/xxxxxxx/public_html/xxxxxxx/periodic/cron.php

 

help, please?

 

 Are you on a shared, VPS, or dedicated hosting? What does your cron job statement look like now? Are you saying that your video uploads are processing and working but get an email? Not sure if I understand your request completely.

Nothing to see here
Quote · 27 Nov 2012

 

 

And this is what it is now (video working, getting email error message):

MAILTO=noreply@(...)
* * * * * /usr/local/bin/php -q m:/home/xxxxxxx/public_html/xxxxxxx/periodic/cron.php

 

help, please?

 

 Are you on a shared, VPS, or dedicated hosting? What does your cron job statement look like now? Are you saying that your video uploads are processing and working but get an email? Not sure if I understand your request completely.

 I'm on a shared hosting.

The cron job looks like the last line I wrote on my post now (I left it on the 'quote' above).

And yes, that's what I'm saying :) The video uploads are processing and working but I'm getting the email with the  "/bin/sh: access-logs: command not found" message. Weird, eh? Undecided

Quote · 27 Nov 2012

Look at your cron statement in cPanel > Cron Jobs and see if you see that MAILTO:noreply@ (...) in there, then try removing it.What you should see is something like this:

 

/usr/local/bin/php -q /home/xxxxxxx/public_html/xxxxxxx/periodic/cron.php
Nothing to see here
Quote · 27 Nov 2012

 Wouldn't that just make the system stop sending me emails instead of correcting the error? My complaint is not about getting the messages, but that it clearly indicates that there is a problem (command not found) and I don't know how to fix it! Frown

Look at your cron statement in cPanel > Cron Jobs and see if you see that MAILTO:noreply@ (...) in there, then try removing it.What you should see is something like this:

Quote · 27 Nov 2012

@ boonex, Oops, how about putting the report button in a different place than beside the quote button.

Anyway, some shared hosts will frown on a process being run every minute, every five minutes is good enough for processing videos.

Another area that can prevent a cron job from running is that the user of the cron job has to have correct rights to run the cron job.  This is usually not a problem on a shared host since one will have rights to their directory but can be something that one must remember on certain configurations.

Geeks, making the world a better place
Quote · 27 Nov 2012

 

 Wouldn't that just make the system stop sending me emails instead of correcting the error? My complaint is not about getting the messages, but that it clearly indicates that there is a problem (command not found) and I don't know how to fix it! Frown

Look at your cron statement in cPanel > Cron Jobs and see if you see that MAILTO:noreply@ (...) in there, then try removing it.What you should see is something like this:

 No. There is a box at the top of the cron job page that you can enter an email address where you want the 'system emails' sent to.

Nothing to see here
Quote · 27 Nov 2012

 

 

 Wouldn't that just make the system stop sending me emails instead of correcting the error? My complaint is not about getting the messages, but that it clearly indicates that there is a problem (command not found) and I don't know how to fix it! Frown

Look at your cron statement in cPanel > Cron Jobs and see if you see that MAILTO:noreply@ (...) in there, then try removing it.What you should see is something like this:

 No. There is a box at the top of the cron job page that you can enter an email address where you want the 'system emails' sent to.

 Ok, that solved it, it seems! Smile

I already had the email set and it must have been the duplicity that was causing the problem. 

 

Thanks!

Quote · 27 Nov 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.