Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm getting an error when trying to use zencoder and private files. The issue is:
Zencoder reports errors in postback for fid 723, job id 24084351: There was a problem resolving the host at http://default/system/files/videos/original/blahblah.mov. Please check that it is correct.
Comments
Comment #1
Jorrit CreditAttribution: Jorrit commentedWhat aystem are you using to submit jobs to Zencoder? Are you using cron, convert on save, video_scheduler.php or drush?
Comment #2
burgs CreditAttribution: burgs commentedI'm using video_scheduler.php either running as a cron job or manually. I think the files need to be publically accessible for zencoder to get access to them.
Comment #3
Jorrit CreditAttribution: Jorrit commentedNo, the error is related to the fact that your site is installed in
sites/default
. The video_scheduler script can't handle that. My recommendation is to use the drush command to run the video queue.Comment #4
Jorrit CreditAttribution: Jorrit commentedTry the latest 7.x-2.x-dev version for an updated version of the video scheduler script. Set the --site parameter to your sites hostname to fix your problem. Also see my last comment at #1691992: Update INSTALL.txt docs for video_scheduler.php.
Comment #6
selfsimilar CreditAttribution: selfsimilar commentedI'm also getting this error when running via drush. How can I pass the
--site
argument to drush?Comment #7
selfsimilar CreditAttribution: selfsimilar commentedDiscovered fix for drush - related to drush issue #1158144.
$drush video-scheduler --uri=http://foo.bar
or set in drushrc