I found that no matter what I change in SYSTEM SETTINGS, the setting restore to the default value after I saved it.
I checked the log and there’s something wrong as below:
Wed May 31 08:58:07 2017 [13426][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/Suite7/modules is not a file or a dir.
Wed May 31 08:58:07 2017 [13426][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteR/modules is not a file or a dir.
What’s wrong? All system settings can not be changed.
(notice the dots “.” in the end of some of those commands)
But you have to change that www-data:www-data to match your web server user. So the first task is to find out which user your web server runs under, if you don’t know yet.
What is your SuiteCRM version? In newer versions it’s easier to find this out (after v 7.8.3)
Sure. Go to Admin / Schedulers and at the bottom of the list you will find some instructions about configuring cron jobs. Paste that information here so I can look at it.
Hi,
The information you mentioned is as below:
In order to run SuiteCRM Schedulers, edit your web server user’s crontab file with this command:
sudo crontab -e -u www
… and add the following line to the crontab file:
cd /data/wwwroot/default/CRM; php -f cron.php > /dev/null 2>&1
Hi,
I have run the commands you mentioned step by step.
when run ‘nano /etc/crontab’ , there shows “no nano command”;
when run ‘crontab -e -u www’, there shows “no crontab for www - using an empty one”;
Is the corntab setting problem cause the problem “Can not change value in SYSTEM SETTINGS” ?
Hi, it would be nice to know which Linux you’re using so I can advise you better.
“nano” is just a text editor that ships with Ubuntu. You can use any other text editor (“vi” surely exists, if know how to use it!)
The permissions issues have many different manifestations. I believe your system settings problems will be solved by the permissions fix, but the only way to find is to try.
The cron tab issue is important for permissions. If crontab runs as user “root”, it will start messing with permissions because any file it writes will get root ownership (you had plenty of files like this). So if you don’t fix cron running as root problem, you fix permissions today but they will degrade again tomorrow…
It’s ok to start a new crontab for “www” and add that line there.
Thanks for your help.
I’m using Linux CentOS 7.2 .
So what can I do next? And how can I start a new crontab for “www”?
Sorry, I’m new here , there’re so many questions for me.
I have try to do what you mentioned , but it seem that there’s nothing help to the problem “System Setting can not be changed”.
I have restored the CRM to another server with the same data, the System Setting can be changed normally. even though there’s the same error in log. Do you have any other idea? Thanks!
No, I don’t have any more suggestions before you try these easy fixes. There is no point in looking for issues in SuiteCRM before you are sure your permissions set up (including cron jobs user) is working properly.
95% of problems with SuiteCRM come from that (which is actually a sysadmin failure, not the fault of the app), and the manifestations are pretty random. So it’s always worth checking, and nothing else is worth checking until that is guaranteed to be working well.