Unable to access websites

Dear Colleague,
when accessing the websites:
https://tbps-cms.web.cern.ch/
https://ep-dep-dt-eo.web.cern.ch/
i have got the following message: The website encountered an unexpected error. Please try again later.
Thanks for your help and support.
Joao

Hello Joao,

I took a look at both websites:

  • https://tbps-cms.web.cern.ch has been addressed temporarily, the website needed a module, context, that was removed from our distribution with the upgrade to PHP 8.1
  • https://ep-dep-dt-eo.web.cern.ch , indeed is broken, as well is the preview we made for PHP 8.1, ep-dep-dt-eo-php8-generated-preview.webtest.cern.ch . We are looking into it to quickly restore/fix it.

Thank you for your patience,
Francisco

Hi Joao

On the preview website, the following error is thrown:

2022/11/26 08:03:05 [error] 7#7: *3239 FastCGI sent in stderr: “PHP message: Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginNotFoundException: “The “view_inclusion” plugin does not exist. Valid plugin IDs for Drupal\Core\Condition\ConditionManager are: language, node_type, current_theme, request_path, user_role, webform, entity_bundle:block_content, entity_bundle:comment, entity_bundle:contact_message, entity_bundle:feeds_feed, entity_bundle:node, entity_bundle:redirect, entity_bundle:shortcut, entity_bundle:taxonomy_term, entity_bundle:webform_submission, entity_bundle:menu_link_content, entity_bundle:paragraph” at /app/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php line 53” while reading response header from upstream, client: 10.76.44.1, server: , request: “GET /cron/ HTTP/1.1”, upstream: “fastcgi://unix:/var/run/drupal.sock:”, host: “ep-dep-dt-eo-php8-preview”

If you require this as a dependency, or perhaps the module itself, it must be installed. I specifically note that the machine name view_inclusion does not resolve an actual module (https://www.drupal.org/project/view_inclusion returns 404, for instance). Is this a custom module you have developed yourself, or downloaded from outside the Drupal eco-system? In any case, you must either ensure it is available, or remove it and any dependent functionality followed by an update of the database configurations (you can do this by running drush updb).

Thanks!

Thanks Joachim.
the module was downloaded and can be removed. On other hand i do have use drush. is there any other way to remove it? On other hand i don’t understand why the preview was functional and now we have this error.
thanks for your support, Joao

Hi Joao

I might not be reading your post correctly; did you mean to say that you do not have access to drush? If yes, kindly refer to https://drupal.docs.cern.ch/development/oc for more information. In the meantime, I have gone ahead and executed the command drush updb on your pod, resulting in the following error message:

(Currently using Incompatible modules The following modules are installed, but they are incompatible with Drupal
9.4.8:

  • DraggableViews
  • Google QR Code

Review the suggestions for resolving this incompatibility [1] to repair your
installation, and then re-run update.php.

[1] https://www.drupal.org/docs/8/update/troubleshooting-database-updates
)
[error] (Currently using Missing or invalid modules The following modules are marked as installed in the core.extension
configuration, but they are missing:

  • context
  • context_ui
  • webform_analysis
  • webform_invitation
  • webform_invitation_cern
  • webform_node_analysis

Review the suggestions for resolving this incompatibility [1] to repair your
installation, and then re-run update.php.

This suggests that the DraggableViews and Google QR Code modules either have to be updated, if a compatible version is available, or deleted. Similarly, the list of missing or invalid modules is likely the result of incomplete (un)installations or outdated configurations. If you do not require these modules, I suggest we remove them entirely. If you do need these modules, I suggest we proceed by installing the newest available version for each.

Thanks!

Hi Joao

I will be following up with you directly via e-mail.

Thanks!