Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When updating 1.0.0-beta11 => 2.0.0-alpha5 I get an error running updates:
> [notice] Update started: rabbit_hole_update_8106
> [error] 'rh_action' not found
> [error] Update failed: rabbit_hole_update_8106
> [error] Update aborted by: rabbit_hole_update_8106
Comments
Comment #2
shiv_yadavHello cameron prince,
Add reproduces step. becuase install this module. i've not any issue.
Configuration:- drupal - 9.5.10
Php :-8.1.2
Comment #3
aarantes CreditAttribution: aarantes commentedDrupal: 10.1.3
PHP: 8.1.8 (local development environment)
I had the same issue when updating from 1.0.0-beta1 to 2.0.0-alpha5.
After update (successful), ran "drush updb" and got these messages:
> [notice] Update started: rabbit_hole_update_8103
> [notice] Update completed: rabbit_hole_update_8103
> [notice] Update started: rabbit_hole_update_8104
> [notice] Update completed: rabbit_hole_update_8104
> [notice] Update started: rabbit_hole_update_8105
> [notice] Update completed: rabbit_hole_update_8105
> [notice] Update started: rabbit_hole_update_8106
> [error] 'rh_action' not found
> [error] Update failed: rabbit_hole_update_8106
[error] Update aborted by: rabbit_hole_update_8106
[error] Finished performing updates.
No problem exporting (drush cex).
As of now, no visible issues on the site.
Comment #4
mikegodin CreditAttribution: mikegodin commentedConfirming exactly the same issue as observed by aarantes when updating from 1.0.0-beta1 to 2.0.0-alpha5, with Drupal: 10.1.5 and PHP: 8.1.16, while running
drush updb
:> [notice] Update started: rabbit_hole_update_8103
> [notice] Update completed: rabbit_hole_update_8103
> [notice] Update started: rabbit_hole_update_8104
> [notice] Update completed: rabbit_hole_update_8104
> [notice] Update started: rabbit_hole_update_8105
> [notice] Update completed: rabbit_hole_update_8105
> [notice] Update started: rabbit_hole_update_8106
> [error] 'rh_action' not found
> [error] Update failed: rabbit_hole_update_8106
> [notice] Copied modules/custom/content_type_theme/css/adminimal-custom.css to sites/default/files/adminimal-custom.css.
[error] Update aborted by: rabbit_hole_update_8106
[error] Finished performing updates.
Comment #5
cybercoda CreditAttribution: cybercoda commentedConfirming same problem. Install was on Drupal 9.5.11
[notice] Update started: rabbit_hole_update_8103
> [notice] Update completed: rabbit_hole_update_8103
> [notice] Update started: rabbit_hole_update_8104
> [notice] Update completed: rabbit_hole_update_8104
> [notice] Update started: rabbit_hole_update_8105
> [notice] Update completed: rabbit_hole_update_8105
> [notice] Update started: rabbit_hole_update_8106
> [error] 'rh_action' not found
> [error] Update failed: rabbit_hole_update_8106
Comment #6
jsweetack CreditAttribution: jsweetack commentedI have the exact same issue. In fact the 'rl_action' issue was breaking the database after trying to cleanup the rabbit hole entities that were showing in the status report. I tried updating in hopes it would fix the problem, but alas it still persists as others have attested to above.
Comment #7
PROMESI reported this also in https://www.drupal.org/project/rabbit_hole/issues/3415838 last januari.
Today, deinstalling a complete non-related module I got this exception:
RuntimeException: Adding non-existent permissions to a role is not allowed. The incorrect permissions are "rabbit hole bypass node". in Drupal\user\Entity\Role->calculateDependencies() (line 207 of /xxx/drupal/web/core/modules/user/src/Entity/Role.php).
PLEASE provide us with a solution. Regular database updates allways finish with an error about rabbit hole and do't do all updates!!!!!!!
Comment #8
Gomez_in_the_South CreditAttribution: Gomez_in_the_South commentedI also encountered this error updating from 1.0.0-beta11 to 2.0.0-alpha5.
I was able to resolve this by going to the Rabbit hole configuration (/admin/config/content/rabbit-hole) and then for each entity, clicking "Configure" and saving it again.
After doing this, and running the updates again, the `rabbit_hole_update_8106` step completed ok.
(I have seen another error further on, with `rabbit_hole_update_8112` - "[error] SQLSTATE[23000]: Integrity constraint violation", but I'll raise a separate issue for this)
Update: I was able to avoid both the update errors mentioned (8106 and 8112) by following these steps:
1. Whilst still on rabbit_hole 1.x, the Drupal status report showed "Mismatched entity and/or field definitions" (issue here)
2. I fixed these mismatched entities by running `drush entup` using the `devel_entity_updates` module (described here).
3. I was then able to update to rabbit_hole 2.x (tried with 2.0.0-alpha5), and the update process ran cleanly for all steps.
Comment #9
PROMES@Gomez_in_the_South: thanks for your input.
After enabling and disabling entities in the rabbithole settingspage and runnng update.php all my updates finished correct. Now I can also deinstall old modules. But NOT rabbithole node.
Since the problems exist in production site I cannot use the 'update part'.