I wouldn’t recommend running SuiteCRM without command-line access. It’s something that many hosting already provide, even cheap, entry-level ones, and you can make good use of the command-line, not just for permissions, but many other things.
I definitely would never accept administering a SuiteCRM instance without SSH access…
But about your request - are you talking about command-line FTP or using an FTP client like Filezilla? We can’t possibly provide instructions for all of them…
Thank you for the fast reply Karma. I will see what I can do about learning command line.
In our case, yes, it is for FileZilla. Perhaps if trusted forum users could contribute to your documentation, it might take the burden off your shoulders? I know I would contribute at a later date as I become more known here.
Thanks Karma, I know how to change the permissions but when translating the command lines, one is not sure -R means all the files AND folders or just the files.
I actually did the command line instructions on the phone with my ISP, so they did it for me and still, there seems to be problems with the layouts of Suite and the JS files not working properly.
So ideally, if there were just some clearer instructions in translating what needs to be done if you are doing it in FTP, that would be great.
Example:
sudo chown -R www-data:www-data . - my ISP said we did not have to do anything with this line
sudo chmod -R 755 . - does this line mean change all files and folder’s permissions to 755 recursively?
sudo chmod -R 775 cache custom modules themes data upload - Once the above is done, the, recursively change all these folders (and their child folders) to 775
sudo chmod 775 config_override.php 2>/dev/null - and lastly, change config_override.php. And what does 2>/dev/null mean?
I hope that makes sense? I just think if it were documented a little better for people who don’t use command line, it might help.
Recursively sets file and folder ownership to the user www-data (should match the user under which your web server is running)
sudo chmod -R 755 .
Changes all files and folder’s permissions to 755 recursively
sudo chmod -R 775 cache custom modules themes data upload
Once the above is done, the, recursively change all these folders (and their child folders) to 775
sudo chmod 775 config_override.php 2>/dev/null
The same for config_override.php. Since this file doesn’t exist on new installations, this will be effective only for people re-setting permissions at a later moment. That 2>/dev/null just redirects the eventual error (if the file doesn’t exist yet) so that people don’t worry about it.
Can you run this command in the root of your SuiteCRM installation and post the results here?
ls -al
Also (sorry if I’ve asked you this before, I don’t remember) copy the instructions that appear in Admin / Schedulers, at the bottom, so I can have a look at them.
In order to run SuiteCRM Schedulers, edit your web server user’s crontab file with this command:
sudo crontab -e -u sftefdjgmtc
… and add the following line to the crontab file:
cd /usr/www/users/sftefdjgmtc/help.example.com; php -f cron.php > /dev/null 2>&1