By User on Tuesday, 19 February 2019
Posted in Technical Issues
Likes 0
Views 1.6K
Votes 0
Hello. I have related problem:
https://stackideas.com/forums/liveleak-com-embed-videos-doesn-t-works

but with group’s liveleak videos. Videos available at the liveleak, but not available at site.
Related added videos works OK, but old videos, added before migration doesn’t work.

ReSaving videos helps. But can it be done automatically? Thanks.


Examples:
https://crimson-land.ru/groups/13-adult/videos/23616-siski-iz-bmw?from=group
https://www.liveleak.com/view?t=sUbXC_1533745469

https://crimson-land.ru/groups/13-adult/videos/23694-prishel-vykidyvat-musor-a-tam?from=group
https://www.liveleak.com/view?t=nGuj_1534332362

Thanks.
Can you do the full backup so I will run a PHP script to update your existing video to have store the correct oembed HTML content?
·
Tuesday, 19 February 2019 17:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello. Sorry, I can’t do backup at the moment. Also it’s life site and we are in different time zone, so it will be difficult for support to run PHP instantly after backup.

It is a nought to download database only?
Can you please download DB directly before run script? If it possible, I’lol add ISPmanager acces. Thanks.
·
Tuesday, 19 February 2019 19:22
·
0 Likes
·
0 Votes
·
0 Comments
·
I think you can just export this #__social_videos table for backup purpose.

Because the PHP script only make it automatic re-save the existing video, so it will store correctly for the oembed HTML data.
·
Tuesday, 19 February 2019 19:39
·
0 Likes
·
0 Votes
·
0 Comments
·
I can do it only later, when support is offline. Than members will add more videos and backup will be outdated? May be you can please export table for me and than run script? Thanks.
·
Tuesday, 19 February 2019 19:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Sure, I will do it tomorrow.
·
Tuesday, 19 February 2019 19:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Just now I did tried run PHP script on your site, but it seems like your server return this following error :


504 Gateway Time-out
nginx/1.14.1


May i know is it possible to increase timeout value from your server temporary?
·
Tuesday, 19 February 2019 23:07
·
0 Likes
·
0 Votes
·
0 Comments
·
May i know is it possible to increase timeout value from your server temporary?
Hello. How can I do it? At the moment site use PHP - 7.2.10 (alt) and it has this big values:

max_execution_time 600
post_max_size 4096M
upload_max_filesize 4096M
default_socket_timeout 60
hard_timeout 2


What kind of value should be increased? Thanks.

P.S: Can ypu please try again. Maybe this time there will be no error 504?
·
Tuesday, 19 February 2019 23:24
·
0 Likes
·
0 Votes
·
0 Comments
·
I think you can take a look this article which timeout value need to increase from the server configuration file.

https://asdqwe.net/blog/solutions-504-gateway-timeout-nginx/

But I will run this PHP script again tomorrow morning when I reach office.
·
Tuesday, 19 February 2019 23:44
·
0 Likes
·
0 Votes
·
0 Comments
·
It seems like I still hitting that time out error, but I already run the PHP script in my locally because I did imported your video table in my site, now only leave 4000 videos haven't store the correct oembed HTML content.

Once it done in my locally, this is the step I will do on your site :

1. Update you I already done in my locally
2. Need to set your site offline for 5 - 10 minute.
3. At the same time, I will rename this table `e2gr3_social_videos` from your database then import back the same video table with the latest data.
4. Once import finish, then make the site to online.
·
Wednesday, 20 February 2019 15:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks you very much. I agree.
·
Wednesday, 20 February 2019 15:37
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome, I will update you later, it might be need 3 hour more then only can complete it.

Perhaps you can share with us some of the video page which having this issue, so when i import the data into your site, I can quickly to check it.
·
Wednesday, 20 February 2019 15:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Can I straight away set your site to offline later on? Because it almost done, just leave 100 videos.
·
Wednesday, 20 February 2019 18:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes. You can. Thank.
·
Wednesday, 20 February 2019 18:37
·
0 Likes
·
0 Votes
·
0 Comments
·
I already backup your current video table to this name `#__social_videos_bak` and import back those correct oembed HTML content for those migrated video, can you give it a check is it work fine now?
·
Wednesday, 20 February 2019 18:54
·
0 Likes
·
0 Votes
·
0 Comments
·
It works fine now. Thanks
·
Wednesday, 20 February 2019 19:25
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome, glad that your issue is resolved now.
·
Wednesday, 20 February 2019 21:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post