PHP Fatal error: Uncaught sfInitializationException: arElasticSearchPlugin needs cURL PHP extension in /usr/share/nginx/atom/plugins/arElasticSearchPlugin/config/arElasticSearchPluginConfiguration.class.php:36
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/8b612738-4ea7-4c63-bfd7-e727ea24f9a8n%40googlegroups.com.
Hola Luis,
A bit more context about your environment and what led to this error message would be helpful. For example:
• What version are you upgrading from? What version are you trying to install now?
• After your upgrade attempt, what is the full version number listed in Admin > Settings?
• Did you follow all the recommended instructions for installing your new version? If no, what changes have you made?
• Did you remember in the upgrade process to drop and recreate the database before loading your backup (as in step 4 of this section of the docs), run the upgrade task (as per this section), and then run the recommended maintenance tasks after (clear cache, reindex, restart PHP-FPM, etc)?
• Does your installation include any local customization, such as custom development or a custom theme?
Regarding the PHP fatal error, you could try installing cURL and see if this resolves it:
• sudo apt update • sudo apt install curlHowever, what we really want is the cURL PHP extension. This will depend on what version of AtoM you are installing,... and this may be where the problem lies.
I can see from the first error message that you are using PHP-FPM version 7.2... which is fine if you are installing AtoM 2.6. However, if you are trying to install AtoM 2.7, then this may be the source of your issues - in which case, you will need to upgrade your PHP version to 7.4.
Keep in mind that:
• AtoM 2.6 uses Ubuntu 18.04, where the default PHP version included is 7.2, and
• AtoM 2.7 recommends Ubuntu 20.04, where the default PHP version included is 7.4.
If you have tried to upgrade AtoM without upgrading your Ubuntu version, then this might be the cause of the problem. Installing AtoM 2.7 into a fresh Ubuntu 20.04 VM, and then carefully following all upgrade instructions, will likely resolve all issues.
However, if that is not the case, we can still try fixing the dependency issues individually.
For the cURL PHP extension, try one of the following, depending on your target AtoM version:
• For AtoM 2.6 with PHP 7.2, try: sudo apt-get install php7.2-curl • For AtoM 2.7 with PHP 7.4: first, upgrade your PHP version to 7.4. Then, try: sudo apt-get install php7.4-curlNote that there are a number of other PHP extensions that we install - including php-apcu, which is mentioned in the other error message. Once you sort out the PHP version and have the right one installed, you may want to retry installing all the required PHP extensions, mentioned here:
• https://www.accesstomemory.org/docs/2.7/admin-manual/installation/ubuntu/#phpAgain, hopefully with more information we can provide better suggestions for you. Good luck!
Dan Gillean, MAS, MLISAtoM Program ManagerArtefactual Systems, Inc.604-527-2056@accesstomemoryhe / him
On Tue, Apr 25, 2023 at 4:46 AM Luis Fernando López Falagán <lu...@salesianos.es> wrote:
Hola...--
Después de actualizar y revisar varias conversaciones anteriores sobre este error no he sido capaz de solucionarlo. Adjunto alguna información de lo que he visto y pido ayuda para solucionarlo. Muchas Gracias.
Mensajes de error:
2023/04/25 07:56:21 [error] 1390#1390: *93 FastCGI sent in stderr: "PHP message: You must have APCu installed and enabled to use sfAPCCache class" while reading response header from upstream, client: 192.168.1.27, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php7.2-fpm.atom.sock:", host: "192.168.1.98:8888"
PHP Fatal error: Uncaught sfInitializationException: arElasticSearchPlugin needs cURL PHP extension in /usr/share/nginx/atom/plugins/arElasticSearchPlugin/config/arElasticSearchPluginConfiguration.class.php:36
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/8b612738-4ea7-4c63-bfd7-e727ea24f9a8n%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAC1FhZLgt_dwo2LEk%2BzCw97aTnhhGRhN6fm4pjCnG5s-P%2Bj_AQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/c5c5e58f-e8e8-4f50-ae93-a7dc05a48527%40Spark.