after installation ..al was ok .. but all sto and I have 500 Internal Error

I have a Hosting Server Linux with
Versione Apache 2.4.25
Versione PHP 5.6.30
Versione MySQL 5.6.35

Downloaded and Installed SuiteCrm
Check was OK (1st step of installation)
I got a last window where was written ā€œDONEā€ …but I don’t remember what was written

After that …nothing :frowning:
I cannot access to site crm.idblab.com and not to install.php anymore.
500 Internal Error

I have read around and in forum about files permission …
I have tried in FileZilla and changed permission in this way
All files 644 execpt for config_ovveride.php that is 775
All folder 775 execpt cgi-bin that is 755
I have installed it in ROOT public_html that is 755

I have tried to cancel …whole files …and add …a new DB …but …in this case event don’t start the istallation program.
So I deleted all the server …installed again clean …and …I have the same problem.

Who can helps me?
thanks
Mirco

Hi,

clear cache and change the file permissions to:

sudo chown -R apache:apache *
sudo find . -type d -exec chmod 775 {} ;
sudo find . -type f -exec chmod 664 {} ;

Pavan Verma
Redian Software
www.rediansoftware.com

Hi Pavan!
I don’t have access to the script for the machine, I can do it trought filezilla ?

Actually:

  • root folder is 755
  • 775 /ā€œWebRootā€/cache custom modules themes data upload config_override.php

I have cleared all and re-installed all. After Installation the message was:

  • The setup of SuiteCRM is now complete! and all was ok

but …still address me to instal page
http://www.crm.idblab.com/SuiteCRM/install.php
and gives me 500 internal server error

Any suggestion?
Mirco

  1. I don’t understand how you can say " After Installation the message was: - The setup of SuiteCRM is now complete! and all was ok" and then say tha tyou can’t access ā€œinstall.phpā€, which is the first step of the installation… are you using some automated installer in CPanel, like Softaculous? If so, please say it explicitly.

  2. The correct recommended permissions are these (in this example, web server user is www-data)


    sudo chown -R www-data:www-data .
    sudo chmod -R 755 .
    sudo chmod -R 775 cache custom modules themes data upload config_override.php 

That means everything 755 except ā€œcache custom modules themes data upload config_override.phpā€ which get 775.

  1. But none of this makes any sense by itself, it is entirely dependent on the ownership of the files. You need to make sure they are owned by the username that is running your web server.

  2. If the errors persist, note that if you have 500 errors, you likely have something in your logs explaining what went wrong.

Hi, guys and thanks to all!
How I did solve :slight_smile:

  1. check that mod_rewrite was active on the server => was OK
  2. check all the permissions on folder and files (as you mentioned above) => OK
    the real problem was (checking the error_log) that ā€œFollowSymLinksā€ written in .htaccess by default was not allowed on my VPS server.
    I solved with those command in .htaccess

Options +FollowSymLinks

Options +SymLinksIfOwnerMatch

Now works perfectly! hope it helps for someone else!

Mirco

1 Like