If it is better to just nuke the VPS and start over that is fine just tell me. I have spent far too long trying to figure this out. I got to the pre-install page and then decided to check the webserver settings and complete the performance guide before I moved on. After that I am getting a 500 error even after reverting all of the settings and restarting.
I installed SuiteCRM 8.6.1
Running on Ubuntu 22.04
PHP Version 8.2.24 with the following modules - bcmath, calendar, Core, ctype, curl, date, dom, exif, FFI, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, Phar, posix, random, readline, Reflection, session, shmop, SimpleXML, soap, sockets, sodium, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib
[Zend Modules] - Zend OPcache
Apache2 Version 2.4.52
MariaDB Version 10.6.18
I am not seeing anything in the Apache error log or the SuiteCRM install log other than the errors that I saw on the pre-install page:
The SuiteCRM Title cannot be found. This is not a valid SuiteCRM Page. [] []
[2024-09-30 01:45:41] install.log.ERROR: The url used for the call was: http://crm.vulcantx.com/ [] []
[2024-09-30 01:45:41] install.log.ERROR: The result of the call was: [] []
[2024-09-30 01:45:41] install.log.ERROR: <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta name="robots" content="noindex,nofollow,noarchive" /> <title>An Error Occurred: Internal Server Error</title> <style>body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; } .container { margin: 30px; max-width: 600px; } h1 { color: #dc3545; font-size: 24px; } h2 { font-size: 18px; }</style> </head> <body> <div class="container"> <h1>Oops! An Error Occurred</h1> <h2>The server returned a "500 Internal Server Error".</h2> <p> Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused. </p> </div> </body> </html> [] []
[2024-09-30 01:45:41] install.log.INFO: Running curl for Api [] []
[2024-09-30 01:45:41] install.log.INFO: Calling Graphql api [] []
[2024-09-30 01:45:41] install.log.ERROR: [] []
[2024-09-30 01:45:41] install.log.ERROR: Unable to retrieve System Configs on Graphql Page. Please refer to the install.log for more information. [] []
[2024-09-30 01:45:41] install.log.ERROR: The url used for the call was: http://crm.vulcantx.com/api/graphql [] []
[2024-09-30 01:45:41] install.log.ERROR: The result of the call was: [] []
[2024-09-30 01:45:41] install.log.ERROR: {"@context":"\/api\/contexts\/Error","@type":"hydra:Error","hydra:title":"An error occurred","hydra:description":"Internal Server Error"} [] []
There is also a a whole bunch of these in the prod.deprecations.log:
php.INFO: User Deprecated: Since api-platform/core 2.7: Use "ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface" instead of "ApiPlatform\Core\Metadata\Resource\Factory\ResourceMetadataFactoryInterface". {"exception":"[object] (ErrorException(code: 0): User Deprecated: Since api-platform/core 2.7: Use \"ApiPlatform\\Metadata\\Resource\\Factory\\ResourceMetadataCollectionFactoryInterface\" instead of \"ApiPlatform\\Core\\Metadata\\Resource\\Factory\\ResourceMetadataFactoryInterface\". at /var/www/html/crm/vendor/api-platform/core/src/Symfony/EventListener/DeserializeListener.php:63)"} []
I also set the permissions because I thought that may have been an issue using:
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
And got the following response chmod: cannot access 'bin/console': No such file or directory
Thanks in advance for any help.