Before I jump into actions according to your instruction. I would like to express my deep gratitude to you for your great help. And I would like to tell you that I love the first line most because I can feel your deep passion in helping others as well as in your profession. You deserve what your signature says “SuiteCRM Is My Life.” And I feel extremely happy and lucky getting you to help me.
I will following your instructions and will let you know the results.
(I went to both these paths and the first, which is the one you used, does not seem to exist)
I also executed http://lms.softpowerworks.com/cron.php which seems to have worked fine.
I don’t understand your permissions scheme. You have some files owned by user “www”, group “www”, others by user “nginx”, group “nginx”.
Depending on exactly how these groups are constituted, your web server (which we’re guessing operates as “nginx”, but we’re not really sure) might not be getting access to the file.
Note that some of those commands end with a space followed by a dot (.)
Also, the correct line in /etc/crontab should reference the /a/domains/lms.softpowerworks.com/public_html directory, so if you had changed that, please change it back.
If that doesn’t work (it might even break your entire application), try setting things up for the other user:
sudo chown -R www:www .
then change the username in crontab from “nginx” to “www”.
When I tried to see your website I noticed that the crm was working from the root folder and not the folder called public_html. However the files are in this latter folder.
I am not the right person to help on this but I believe that there may be something in your php.ini or in .htaccess or elsewhere to cater for this. You should check if that is the cause of your problem.
I did strictly according to your post. I also read very carefully this line “If that doesn’t work (it might even break your entire application), try setting things up for the other user:” as it contains “it might even break your entire application”.
Because all the command before
sudo chown -R www:www .
did not work. I applied the above command and the system turned down.
Afterward I did the following:
sudo chown -R nginx:nginx .
And the system came back again.
It seems the whole application can be run under user “nginx”, not “www”
But even SuiteCRM works with “nginx” user but the workflow automation still not working.
What do I need to do next? Do I need to restore the whole system? If I need to change php.ini or anything else, can you please help me?
1.set ownership to nginx and try it.
2. then IF it didn’t work, change it to www.
What you did:
set ownership to nginx
change it to www
complain it’s not working
change it back to nginx
say it’s working (but not the workflows).
Anyway, i think we now have our ownerships and permissions right, which is a great achievement after 35 replies in this thread!
Now, I wonder what you currently have in /etc/crontab?
I wonder what the cron logs say about cron execution?
I wonder what suitecrm.log has related to Scheduler jobs?
I wonder what you see in the screen Admin/Schedulers, do jobs appear as executing correclty?
I do NOT wonder about whether your Workflows are working, that’s something that only becomes relevant later…
I did not do the following steps one by one. What I did is:
set ownership to nginx and try it.
But I see nothing happened. Then I did the next step:
change ownership to www.
What I did wrong is not reporting to you before doing step 2.
Anyway thanks so much and I would like to bother you to move forward:
Now, I wonder what you currently have in /etc/crontab?
this is what I have:
I wonder what the cron logs say about cron execution?
this is what I got.
I wonder what suitecrm.log has related to Scheduler jobs?
in suitecrm.log I have the following:
[ERROR] convert: Conversion of 2017-05-03 00:00 from m/d/Y H:i to Y-m-d failed
Thu May 4 13:02:44 2017 [42637][6aed3cad-88d0-621b-81f4-58f5788d11b1][ERROR] convert: Conversion of 2017-05-03 00:00 from m/d/Y H:i to Y-m-d failed
Thu May 4 13:03:00 2017 [42638][6aed3cad-88d0-621b-81f4-58f5788d11b1][ERROR] convert: Conversion of 2017-05-03 00:00 from m/d/Y H:i to Y-m-d failed
Thu May 4 13:34:55 2017 [42637][6aed3cad-88d0-621b-81f4-58f5788d11b1][ERROR] convert: Conversion of 2017-05-03 00:00 from m/d/Y H:i to Y-m-d failed
Thu May 4 18:17:53 2017 [45409][6aed3cad-88d0-621b-81f4-58f5788d11b1][/i]
I wonder what you see in the screen Admin/Schedulers, do jobs appear as executing correclty?