SuiteCRM no longer starts: "Composer autoloader not found. please run "composer install"

After having had no problems in the past, my local server no longer serves my instance of suiteCRM. I can’t get any further than the above dialogue :unsure:

I originally successfully installed the package onto my MacBookPro laptop when it ran El Capitan. I subsequently upgraded the OS to High Sierra. I’m not certain but I think that I’ve not been able to access SuiteCRM since the upgrade. Can somebody please suggest appropriate trouble-shooting steps so that I try to regain functionality? Thanks in advance!

My particular details are as follows:
SuiteCRM Version 7.10.7
Server OS: MacOS 10.13.6

First, create a full backup.

Do you have a composer.lock file the root of your SuiteCRM system?

If it’s not installed, install with something like

sudo apt install composer

(or whatever is the equivalent on Mac)

And then

composer install --no-dev

Thanks for the tip! Alas, I’m no further ahead as Composer had already been installed (version 1.7.3) Furthermore, when running the curl command I was greeted by the following: “All settings correct for using Composer” :frowning:

Are there any other suggestions to help me get out of this unfortunate situation?

By the way, my server seems to be working properly; In addition to the apache and mySQL configs being indicated as okay, I can access phpmyadmin without problem.

Can you check both your logs?

There should be some clue there.

You can also investigate ways to reset your composer installation, after the proper backups. You should be able to remove the entire vendor directory and rebuild. But please check composer documentation/forums before attempting this.

As per “pgr”'s suggestion, I reviewed my log files again (this time after first flushing both before attempting to start SuiterCRM). I hope that I’m not pushing my luck by asking somebody to have a look at the access log (error log is surprisingly empty); it’s a quite a bit beyond me :S …

::1 - - [22/Nov/2018:13:01:25 -0500] "GET /~heviiguy/heviioms/index.php HTTP/1.1" 200 60
::1 - - [22/Nov/2018:13:01:26 -0500] "GET /favicon.ico HTTP/1.1" 404 209
::1 - - [22/Nov/2018:13:01:32 -0500] "GET /~heviiguy/heviioms/index.php HTTP/1.1" 200 60
::1 - - [22/Nov/2018:13:01:32 -0500] "GET /favicon.ico HTTP/1.1" 404 209
127.0.0.1 - - [22/Nov/2018:13:01:57 -0500] "GET / HTTP/1.1" 200 60
127.0.0.1 - - [22/Nov/2018:13:01:57 -0500] "GET /favicon.ico HTTP/1.1" 404 209
127.0.0.1 - - [22/Nov/2018:13:02:06 -0500] "GET / HTTP/1.1" 200 60
127.0.0.1 - - [22/Nov/2018:13:02:06 -0500] "GET /favicon.ico HTTP/1.1" 404 209
127.0.0.1 - - [22/Nov/2018:13:03:54 -0500] "GET / HTTP/1.1" 200 60
127.0.0.1 - - [22/Nov/2018:13:03:55 -0500] "GET /favicon.ico HTTP/1.1" 404 209
::1 - - [22/Nov/2018:13:04:22 -0500] "GET /~heviiguy/phpmyadmin/index.php HTTP/1.1" 200 3261
::1 - - [22/Nov/2018:13:04:22 -0500] "GET /~heviiguy/phpmyadmin/themes/pmahomme/jquery/jquery-ui.css HTTP/1.1" 200 36566
::1 - - [22/Nov/2018:13:04:22 -0500] "GET /~heviiguy/phpmyadmin/js/codemirror/lib/codemirror.css?v=4.7.5 HTTP/1.1" 200 8132
::1 - - [22/Nov/2018:13:04:22 -0500] "GET /~heviiguy/phpmyadmin/js/codemirror/addon/hint/show-hint.css?v=4.7.5 HTTP/1.1" 200 623
::1 - - [22/Nov/2018:13:04:22 -0500] "GET /~heviiguy/phpmyadmin/js/codemirror/addon/lint/lint.css?v=4.7.5 HTTP/1.1" 200 2999
::1 - - [22/Nov/2018:13:04:22 -0500] "GET /~heviiguy/phpmyadmin/phpmyadmin.css.php?nocache=3017154698ltr&server=1 HTTP/1.1" 200 20133
::1 - - [22/Nov/2018:13:04:22 -0500] "GET /~heviiguy/phpmyadmin/js/get_scripts.js.php?scripts%5B%5D=jquery/jquery.ba-hashchange-1.3.js&scripts%5B%5D=jquery/jquery.debounce-1.0.5.js&scripts%5B%5D=menu-resizer.js&scripts%5B%5D=cross_framing_protection.js&scripts%5B%5D=rte.js&scripts%5B%5D=tracekit/tracekit.js&scripts%5B%5D=error_report.js&scripts%5B%5D=config.js&scripts%5B%5D=doclinks.js&scripts%5B%5D=functions.js&v=4.7.5 HTTP/1.1" 200 77087
::1 - - [22/Nov/2018:13:04:22 -0500] "GET /~heviiguy/phpmyadmin/js/messages.php?l=en&v=4.7.5 HTTP/1.1" 200 8692
::1 - - [22/Nov/2018:13:04:22 -0500] "GET /~heviiguy/phpmyadmin/js/get_image.js.php?theme=pmahomme&v=4.7.5 HTTP/1.1" 200 1841
::1 - - [22/Nov/2018:13:04:23 -0500] "GET /~heviiguy/phpmyadmin/js/get_scripts.js.php?scripts%5B%5D=jquery/jquery.min.js&scripts%5B%5D=jquery/jquery-migrate-3.0.0.js&scripts%5B%5D=sprintf.js&scripts%5B%5D=ajax.js&scripts%5B%5D=keyhandler.js&scripts%5B%5D=jquery/jquery-ui.min.js&scripts%5B%5D=jquery/jquery.cookie.js&scripts%5B%5D=jquery/jquery.mousewheel.js&scripts%5B%5D=jquery/jquery.event.drag-2.2.js&scripts%5B%5D=jquery/jquery-ui-timepicker-addon.js&v=4.7.5 HTTP/1.1" 200 138876
::1 - - [22/Nov/2018:13:04:24 -0500] "GET /~heviiguy/phpmyadmin/js/get_scripts.js.php?scripts%5B%5D=codemirror/addon/lint/lint.js&scripts%5B%5D=codemirror/addon/lint/sql-lint.js&scripts%5B%5D=console.js&v=4.7.5 HTTP/1.1" 200 13176
::1 - - [22/Nov/2018:13:04:24 -0500] "GET /~heviiguy/phpmyadmin/js/get_scripts.js.php?scripts%5B%5D=navigation.js&scripts%5B%5D=indexes.js&scripts%5B%5D=common.js&scripts%5B%5D=page_settings.js&scripts%5B%5D=shortcuts_handler.js&scripts%5B%5D=codemirror/lib/codemirror.js&scripts%5B%5D=codemirror/mode/sql/sql.js&scripts%5B%5D=codemirror/addon/runmode/runmode.js&scripts%5B%5D=codemirror/addon/hint/show-hint.js&scripts%5B%5D=codemirror/addon/hint/sql-hint.js&v=4.7.5 HTTP/1.1" 200 135447
::1 - - [22/Nov/2018:13:04:25 -0500] "GET /~heviiguy/phpmyadmin/js/whitelist.php?v=4.7.5 HTTP/1.1" 200 475
::1 - - [22/Nov/2018:13:04:30 -0500] "POST /~heviiguy/phpmyadmin/index.php HTTP/1.1" 302 25
::1 - - [22/Nov/2018:13:04:30 -0500] "GET /~heviiguy/phpmyadmin/index.php HTTP/1.1" 200 13689
::1 - - [22/Nov/2018:13:04:31 -0500] "GET /~heviiguy/phpmyadmin/phpmyadmin.css.php?nocache=4560064568ltr&server=1 HTTP/1.1" 200 20133
::1 - - [22/Nov/2018:13:04:31 -0500] "GET /~heviiguy/phpmyadmin/themes/pmahomme/img/s_collapseall.png HTTP/1.1" 200 170
::1 - - [22/Nov/2018:13:04:31 -0500] "GET /~heviiguy/phpmyadmin/themes/pmahomme/img/ajax_clock_small.gif HTTP/1.1" 200 1810
::1 - - [22/Nov/2018:13:04:31 -0500] "GET /~heviiguy/phpmyadmin/themes/pmahomme/img/logo_left.png HTTP/1.1" 200 2827
::1 - - [22/Nov/2018:13:04:31 -0500] "GET /~heviiguy/phpmyadmin/themes/pmahomme/img/left_nav_bg.png HTTP/1.1" 200 257
::1 - - [22/Nov/2018:13:04:31 -0500] "POST /~heviiguy/phpmyadmin/navigation.php?ajax_request=1 HTTP/1.1" 200 2147
::1 - - [22/Nov/2018:13:04:31 -0500] "POST /~heviiguy/phpmyadmin/version_check.php HTTP/1.1" 200 64

Does anything obvious jump out?

Whereas the error log which I had configured for SuiteCRM is indeed empty, the general error log for Apache shows the following:

[Thu Nov 22 13:00:57.707935 2018] [mpm_prefork:notice] [pid 68235] AH00169: caught SIGTERM, shutting down
[Thu Nov 22 13:00:58.140730 2018] [so:warn] [pid 31141] AH01574: module php7_module is already loaded, skipping
[Thu Nov 22 13:00:58.226846 2018] [mpm_prefork:notice] [pid 31141] AH00163: Apache/2.4.33 (Unix) PHP/7.1.16 configured -- resuming normal operations
[Thu Nov 22 13:00:58.226925 2018] [core:notice] [pid 31141] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' 

I hope that this can shed further light.

Actually those look web server “access logs”, not “error logs”.

You should be looking at your suitecrm.log at the root of your SuiteCRM installation, and if you can find your php.ini, inside that you can define your web server error log, or find out what it is called (so you can look for it), usually it’s php_errrors.log or errors.log