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.

Still having cron job issues

7 years 11 months ago
  • Laurie's Avatar
    Topic Author
  • Laurie
  • Offline
  • Fresh Boarder
  • Posts: 34
  • Thank you received: 1
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

I once had a functioning cron job. Then it stopped working. Now, after the cron attempts to run, I get an error reading, "Unable to set uids."

My current cron is:

<songxxxx@xxxxxx> wget -O /dev/null "https://songxxxxxxxxxxld.com/xxxxx/index.php?option=com_community&task=cron" >/dev/null 2>&1

This worked previously.

I tried your suggestions of updating JomSocial (I'm now using 4.3.4). I also checked my AWS credentials. Nothing there has changed. If I manually run the cron, it will process. Videos are still able to be uploaded. However, there is no automatic processing of activity AND some activity never shows up in my Activity area within JomSocial.

Can you help?

7 years 11 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

I tried run cron job manually, and still get the issue like this,
0 - S3::putObject(): [SignatureDoesNotMatch] The request signature we calculated does not match the signature you provided. Check your key and signing method.

which this is coming from amazon S3

if you have issue on cron configuration
<songxxxx@xxxxxx> wget -O /dev/null " songxxxxxxxxxxld.com/xxxxx/index.php?opt..._community&task=cron " >/dev/null 2>&1

I suggest you use 3rd party cron job services like easycron.com

thank you!

7 years 11 months ago
  • Laurie's Avatar
    Topic Author
  • Laurie
  • Offline
  • Fresh Boarder
  • Posts: 34
  • Thank you received: 1
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Thank you for the feedback. Can you tell me why I would be getting an issue with Amazon S3? Have you seen anything like this before? Would creating new credentials be a possible fix? Is there something else I should try on the Amazon end?

Also, if I use a third-party option to run a cron... will Amazon S3 still work? Seems I need to cure the Amazon issue for things to work. Also, I would like to try to add a forum to the JomSocial site and it appears I will need a working site (working cron) for a forum to work.

Laurie

7 years 11 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

I am not sure it related with Amazon S3 or from our code itself, but please you try new credentials and let me know how it goes..

the 3rd party cron job is not related with amazon s3 itself, this is different issue, so to avoid the confusing with cron job code, you can use 3rd party cron services like easycron.com, it will be easier, you just need to put the URL address and set the time :)

thank you

7 years 11 months ago
  • Laurie's Avatar
    Topic Author
  • Laurie
  • Offline
  • Fresh Boarder
  • Posts: 34
  • Thank you received: 1
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

UPDATE: After changing Amazon credentials I can now run a manual cron from Mail Queue as I wrote, below. However, over on my e-mail where I receive an email each time the cron runs, I am getting this message:

/usr/local/cpanel/bin/jailshell: dev/null: No such file or directory

Do you have anything to cure this?



I don't quite understand what is happening now but here are my results after creating new Amazon S3 credentials.

After adding the new credentials to the Remote Storage portion of JomSocial, I made a test upload of a video (since that is what I am storing on Amazon).

The video was fairly large (just under 50 mb). I can view it when I click on it from the backend of JomSocial under Activity. I can also view it from the front end of JomSocial -- under my activity stream.

However, I never received an email saying the video had uploaded. So I went into the mail queue and did a manual cron process. Here is the message that I received in the browser window after I ran the manual cron:

No videos pending for conversion.No temporary videos to delete.No files to transfer.0 video file(s) transferredNo avatars or cover of users needed to be transferredNo avatars or cover of groups needed to be transferredNo avatars or cover of events needed to be transferredRemoved Pending Invitation for Past Event

Is this what I should receive? Do you think the cron is working? If so, why do I get no notification in my e-mail that a cron job has run? Also, why do I get no confirmation email that the video has finished processing?

I will attach a screen capture showing the test video is there. There should be no personal information attached in it.

Confused. Hoping you can clarify. Thanks!

Dimas wrote: Hi,

I am not sure it related with Amazon S3 or from our code itself, but please you try new credentials and let me know how it goes..

the 3rd party cron job is not related with amazon s3 itself, this is different issue, so to avoid the confusing with cron job code, you can use 3rd party cron services like easycron.com, it will be easier, you just need to put the URL address and set the time :)

thank you

Attachments:
7 years 11 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Laurie,

Seems you are still using cron from your cPanel right ? please you change the code to be like this

lynx -source "https://songxxxxxxxxxxld.com/xxxxx/index.php?option=com_community&task=cron" > /dev/null


I always have problem to connect your backend, and always get this, so hard for me to inspect the issue further



thank you!

Attachments:
7 years 11 months ago
  • Laurie's Avatar
    Topic Author
  • Laurie
  • Offline
  • Fresh Boarder
  • Posts: 34
  • Thank you received: 1
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Not certain why you had this problem. Did you go to the correct directory? I don't have the site in the root directory.

I will test the credentials I left you and see if I made an error.

In the meantime, I've given up on Cpanel and gone to cron-job.org for the cron.

Dimas wrote: Hi Laurie,

Seems you are still using cron from your cPanel right ? please you change the code to be like this

lynx -source "https://songxxxxxxxxxxld.com/xxxxx/index.php?option=com_community&task=cron" > /dev/null


I always have problem to connect your backend, and always get this, so hard for me to inspect the issue further



thank you!

7 years 11 months ago
  • Laurie's Avatar
    Topic Author
  • Laurie
  • Offline
  • Fresh Boarder
  • Posts: 34
  • Thank you received: 1
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

This was my error. I gave you a bad password. Sorry.

I will make sure to provide more accurate information in the future.

For now, the cron issue is solved. Thanks!

Laurie wrote: Not certain why you had this problem. Did you go to the correct directory? I don't have the site in the root directory.

I will test the credentials I left you and see if I made an error.

In the meantime, I've given up on Cpanel and gone to cron-job.org for the cron.

Dimas wrote: Hi Laurie,

Seems you are still using cron from your cPanel right ? please you change the code to be like this

lynx -source "https://songxxxxxxxxxxld.com/xxxxx/index.php?option=com_community&task=cron" > /dev/null


I always have problem to connect your backend, and always get this, so hard for me to inspect the issue further



thank you!

7 years 11 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Glad to know that, you can open this ticket again if this issue still happens, and in the future please make sure the password is correct :)

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