Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2013-04-29 13:43:33

fitboy
Member
Registered: 2013-01-14
Posts: 123

weird video dates after server move

Hi,

we finally managed to get our sites migrated to new hardware. What's odd is that the front end seems to re-populate all videos all over again. We had about 48.000 vids in the database, after the server move, most videos didn't show up but about 10-20 of the old videos keep reappearing in certain time intervals without doing anything. It looks like it's new uploads but in fact those are all old videos that step by step finally show up on the front-end again.
Is there some kind of automatic engine that does this? This behaviour is rather odd and the time-tag when videos were originally uploaded are now totally screwed up. Can you help me pointing out why this happens?

Offline

#2 2013-04-30 09:56:39

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: weird video dates after server move

This should not happen. There is no automatic engine included in the script that does this. Probably something went wrong during the site move. Here are the steps for a site move:
1. Dump the mysql database (usually with mysqldump or phpmyadmin).
2. Copy the site over to the new server (using rsync, the new server should be already setup)
3. Create a new database, username and password on the new server.
4. Load the mysql dump from the old server.
5. Edit config.php and make sure everything matches the new mysql settings.
6. Check Admin -> Tools -> System Check

Thats how we do a site move.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2013-05-02 12:13:49

fitboy
Member
Registered: 2013-01-14
Posts: 123

Re: weird video dates after server move

Ok, thank you, we narrowed down the problem to a cron job. We set-up a cron job to call cron/cron.php in certain intervals.
Reason we did this was that newly uploaded videos on the new server did not get converted at all. they just queued up and never got processed. After we called /cron.php it worked - but it also shuffled all existing videos.
We stopped the cron now but now videos don't get processed. How does the script do this please?

Offline

#4 2013-05-02 14:11:35

fitboy
Member
Registered: 2013-01-14
Posts: 123

Re: weird video dates after server move

got another piece of information: when set "Queue Uploads: No" - then conversion works, when I enable Queue, then videos never get converted. Do I need to make a cron for video queue or how does it work?

Offline

#5 2013-05-02 16:55:24

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: weird video dates after server move

Yes. Edit config/cron.php and set only the queue and history to 1. Disable the rest. After that add a cron for cron/cron.php (/usr/local/bin/php /where/script/is/installed/cron/cron.php).


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#6 2013-05-02 17:35:16

fitboy
Member
Registered: 2013-01-14
Posts: 123

Re: weird video dates after server move

ok, going to try this. thank you!
and another thing, what exact version of ffmpeg do we need for script 1.0.6? we tried several ffmpeg versions (on centos) but it doesn't convert to mp4, only flv. (even though admin panel is set to encode to mp4 only). Mobile conversion doesn't work either. Thumbs are okay though.

Offline

#7 2013-05-06 14:38:46

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: weird video dates after server move

You need ffmpeg version 1.0.6.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB