New Install... nothing looks like the guides?!?

I’m just trying to muddle my way through a fresh install of suitecrm. I have a debian 12 vm with PHP 8.2 and mariadb 15.1 and apache 2.4.62 installed with (I believe) all the needed php modules and configs enabled/set. In /etc/apache2/sites-available/default-ssl.conf I set DocumentRoot /var/www/html/public/

I’m happy to provide more details if needed, but it’s a pretty generic lamp stack we’re working with here!

For install I basically ran these commands (all run as root, because I live dangerously!):

cd /var/www/html/
wget https://suitecrm.com/download/165/suite88/565090/suitecrm-8-8-0.zip
unzip suitecrm-8-8-0.zip

So with everything where it belongs, I simply opened my browser (firefox v136) and pointed it at the servers fqdn (suitecrm.mydomain.com)

nothing appears… just a blank screen. So I point the address to https://suitecrm.mydomain.com/install.php… I get the preinstall check page! …ONE error:

Warning

**Curl Request on Api:**

* The result of the curl call to the graphql page was empty.
* The url used for the call was: https://suitecrm.mydomain.com/api/graphql
* The result of the call was:
* <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL was not found on this server.</p> <hr> <address>Apache/2.4.62 (Debian) Server at suitecrm.mydomain.com Port 443</address> </body></html>

Now I’ve looked and it seems the API directory it’s looking for is NOT in the webroot, but in the legacy directory, so that’s broken! It seemed trivial as I don’t need API access, so I rolled the dice and clicked “IGNORE WARNINGS AND PROCEED”

It asked if I’m sure I want to continue, I clicked “OK”

Promptly get “URL NOT FOUND” and the server is redirected to https://suitecrm.mydomain.com/public/install.php#/install … so WTF?!? The document root IS public… there is no public/public. why the heck is the installer redirecting to a sub-folder like this?!?

Hello,

Set the web root still public folder:

Then,


Set the required permissions

If you are using the terminal you can do this by running:

find . -type d -not -perm 2755 -exec chmod 2755 {} \;

find . -type f -not -perm 0644 -exec chmod 0644 {} \;

find . ! -user www-data -exec chown www-data:www-data {} \;

chmod +x bin/console

Please have in mind that:

  • The user and group name (in the above example www-data ) needs to be replaced by the actual system user and group that your webserver runs under. This varies depending on your operating system. Common web server users are as follows:

    • www-data (Ubuntu Linux/Apache)
    • apache (Linux/Apache)

I tried everything recommended and nothing worked. I ended up nuking the vm (restored to the initial snapshot) then ran through this guide. Issue resolved.

it’s possible my php config was messed up, and permissions weren’t set cleanly. I did a LOT of blind troubleshooting.

1 Like