The website encountered an unexpected error. after "composer update "

Created on 5 October 2024, about 2 months ago

"The website encountered an unexpected error. Try again later." page showing after composer update to the latest drupal 10. ( my previous version was 10.2.x )

I see this in the server error log : Sat Oct 05 04:13:04.777218 2024] [access_compat:error] [pid 18239:tid 24097] [remote 20.42.10.183:21434] AH01797: client denied by server configuration: /home/xxx/public_html/web/index.php
[Sat Oct 05 04:13:04.776883 2024] [access_compat:error] [pid 18239:tid 24097] [remote 20.42.10.183:21434] AH01797: client denied by server configuration: /home/xxx/public_html/web/robots.txt
[Fri Oct 04 20:32:28.061895 2024] [authz_core:error] [pid 3684:tid 3728] [client 194.163.184.179:41684] AH01630: client denied by server configuration: /home/xxx/public_html/web/.aws
[Fri Oct 04 20:32:25.267674 2024] [authz_core:error] [pid 3684:tid 3735] [client 194.163.184.179:41678] AH01630: client denied by server configuration: /home/xxx/public_html/web/.env.bak
[Fri Oct 04 20:32:23.925373 2024] [authz_core:error] [pid 3684:tid 3720] [client 194.163.184.179:41670] AH01630: client denied by server configuration: /home/xxx/public_html/web/aws.yml
[Fri Oct 04 19:02:10.732703 2024] [authz_core:error] [pid 21660:tid 21668] [remote 154.213.185.247:35630] AH01630: client denied by server configuration: /home/xxx/public_html/web/.git
[Fri Oct 04 18:05:00.328972 2024] [access_compat:error] [pid 14029:tid 14076] [client 31.13.224.102:55494] AH01797: client denied by server configuration: /home/xxx/public_html/web/xmlrpc.php

please advise what to do to fix this problem ? Thanks

๐Ÿ› Bug report
Status

Active

Version

10.3 โœจ

Component

other

Created by

๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom freelylw

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @freelylw
  • What exact commands did you type to upgrade and what was their ouput?

    index.php is "denied by server configuration". What is the server configuration?

  • ๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom freelylw

    I used the command " composer update! , there was on problem during the update.
    my site was there for year without problem, no change on any server configuration, so I don't know what server configuration means here. what can I do to check the problem ?

  • โ€œServerโ€ means โ€œthe web serverโ€ in this situation. The web server is misconfigured.

  • ๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom freelylw

    I don't know where to check the problem since the site completely dead. but my hosting support providing me with this ( I don't know where he got this since there is nothing showing on the screen ) :

    Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginNotFoundException: "The "entity_bundle:node" plugin does not exist. Valid plugin IDs for Drupal\rules\Core\ConditionManager are: rules_list_contains, rules_user_is_blocked, rules_entity_is_of_type, rules_data_is_empty

  • That is probably ๐Ÿ› upgrading from D10.1.8 to D10.3.0 .. "entity_bundle:node Closed: duplicate .

    When an update fails you should have a plan and a procedure to restore from a backup.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States rclemings

    When I've seen this it's usually been an issue with file permissions. I don't know why an upgrade would have changed them but it's worth checking.

Production build 0.71.5 2024