Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Amazon S3 and Cron

10 years 10 months ago
  • Eric's Avatar
    Topic Author
  • Eric
  • Offline
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

Hi,

I have set up an Amazon S3 storage account and bucket, and have set this up in the Jomsocial Remote Storage configuration page exactly as described in the video tutorial.

I have set a Cron job using Webmin on my VPS host using the following command:

wget -O /dev/null " www.rurallondoner.com/index.php?option=com_community&task=cron " > /dev/null

No media is getting transferred across to Amazon S3. The output from the Cron job which appears in Webmin is listed below:

Output from command wget -O /dev/null " www.rurallondoner.com/index.php?option=com_community&task=cron " > /dev/null ..

--2014-06-24 21:30:09-- www.rurallondoner.com/index.php?option=com_community&task=cron
Resolving www.rurallondoner.com ... 212.67.220.28
Connecting to www.rurallondoner.com|212.67.220.28|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]
Saving to: `/dev/null'

0K 85.8M=0s

2014-06-24 21:30:12 (85.8 MB/s) - `/dev/null' saved [514]

Clearly there is something not working, and I can't determine what - so can you please help?

Also, there appears to be a bug when I save the Remote Storage Configuration in the backend, I get the following message:

Warning
Error loading component: com_kunena, Component not found

I do not use Kunena on my site, so don't know what is going on here.

Regards,

Eric.

10 years 10 months ago
Licenses:

Hi, Eric.

I assign developer to this thread.

EDIT:

Error notice is a bug and I reported it.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 10 months ago
Licenses:

Hi, Eric.

Here is fix for Kunena notice:

Temporary fix

Open:
ROOT/components/com_community/libraries/notificationtypes.php
ROOT/components/com_community/libraries/emailtypes.php

Find:
if (JComponentHelper::getComponent('com_kunena', true)->enabled && $plugin_enabled)

Change to
if (class_exists('KunenaForum') && $plugin_enabled)


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 10 months ago
  • Eric's Avatar
    Topic Author
  • Eric
  • Offline
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

Hi,

Thanks for that. Will you get back to me when you have an answer on the Cron/Amazon S3 issue?

Thanks,

Eric.

10 years 10 months ago
Licenses:

Hi, Eric.

A developer will respond regarding cron issue.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 10 months ago
  • Eric's Avatar
    Topic Author
  • Eric
  • Offline
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

Hi,

I have also tested video rendering using the cron - this is also not working. I have tried executing the cron manually, and I get the message "Could not Convert Video".

I have installed ffmpeg and flvtool2 to my VPS - I have checked to see that they are present on the server. I have never done this before so I am not able to check that this is working.

When you are looking at the Amazon S3 issue already reported, can you please also investigate why video rendering is also not working via the cron job?

Thanks,

Eric.

10 years 10 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Eric,

Can you make sure the access and secret key is correct? I think there is wrong configuration there, please check again..

Regrading video converting issue, I suggest you create new topic because that part should be handled differently.

thank you

10 years 10 months ago
  • Eric's Avatar
    Topic Author
  • Eric
  • Offline
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

Hi,

I have checked the Access Key and the Secret Key and they are both correct. The format for the URL on Amazon S3 seems to be different to the format specified in the Jomsocial tutorial. I have entered the Bucket Name in the first part of the URL as per the tutorial. Is this still correct.

Can you please have another look at this issue for me? I'd like to get this working as soon as possible.

Thanks,

Eric.

10 years 10 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

HI Eric,

I found this issue cause by the transfer processing, which caused by s3 library issue not Jomsocial side.. can you make sure your already have and enabled fsockopen and cURL library please?

thank you

10 years 10 months ago
  • Eric's Avatar
    Topic Author
  • Eric
  • Offline
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Licenses:
JomSocial Expired Socialize Expired

Hi,

I checked. cURL is enabled, and fsockopen is also enabled. Can you please investigate further?

Thanks,

Eric.

10 years 10 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Eric,

I just saw again your website, and seems every images already transfered to amazon S3, right?

Thank you

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW