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?!?