upload file not add queue into table plugin_mediaconverter_q

pullvideos

Member
YetiShare User
Dec 15, 2013
88
1
8
Hi,
upload file not add queue into table plugin_mediaconverter_queue when use upload remote direct server storage (but woking fine for local storage).So file can't convert
I spending long time on this problem but can not solved
Please help!
Thanks much!
 

coffee

New Member
Jul 23, 2014
83
0
0
Re: upload file not add queue into table plugin_mediaconvert

Line 74 of convert.php on the file server in the converter plugin needs to be uncommented and filled out for the file server info. Line 60 needs the main site database info as well.

In the converter plugin in the admin section you need to fill in the main site ssh info as well.

Lastly make a cron on the file server to run every minute to the convert.php file.
 

pullvideos

Member
YetiShare User
Dec 15, 2013
88
1
8
Re: upload file not add queue into table plugin_mediaconvert

thanks your help!
Line 74 uncommented and filled out for the file server info => i stuck on this because I filled out for the file server info but i didn't uncommented

Now i get it working but it's strange:

line 60 I don't fill main site database info because converter same main script server

I don't uncomment but insert follow line with my remote direct file server:
$directFileServers[] = array(
'file_server_id' => 2,
'ssh_host' => 'fs1.yourhost.com',
'ssh_username' => 'username',
'ssh_password' => 'password',
'file_storage_path' => '/path/to/your/files',
);

Final i delete line82 : $directFileServers = array();

And it's working fine now

It's strange because:
if i don't delete line82 : $directFileServers = array(); it will not working and I put cron job on main site not on the file server

Thanks!