- Issue created by @albertho425
I'm using the webform on my Drupal 10 multisites. Got it to work on 3 multisites, but the original multisite just won't work despite uninstalling, reinstalling, updb, cr.
It looks like the configuration is mangled on that site. Have you tried
drush webform:repair
?Thank you.
drush webform:repair
did the trick. The main site and all 12 multisites are working now. Thanks.- Status changed to Fixed
5 months ago 8:31pm 29 June 2024 Sorry, I spoke too soon. The repair command works on local, but not on staging. On staging, the config form is still missing for the main site.
It still gives this message when running drush en web
In Role.php line 210:
Adding non-existent permissions to a role is not allowed. The incorrect permissions are "execute node_assign_owner_action node",
"execute node_unpublish_by_keyword_action node".When running
drush ws
it says----------------------
3067837 29/Jun 12:05 update Warning Schema information for module webform was missing from the database. You should
manually review the module updates and your database to check if any updates
have been skipped updrush updb, drush cr, drush webform:repair, and drush pmu webform doesn't work on staging. There are 3 other multisites on staging that are running webform without issue.
Is there a SQL query I could run?
The update functions the error cites are in https://git.drupalcode.org/project/webform/-/blob/6.2.x/includes/webform....
I read this link: https://git.drupalcode.org/project/webform/-/blob/6.2.x/includes/webform... and referenced webform_update_8637() but couldn't figure what I'm supposed to do.
Today I ran
drush pm-uninstall webform
drush en webformand it says In Role.php line 210:
Adding non-existent permissions to a role is not allowed. The incorrect permissions are "execute node_assign_owner_action node", "execute node_unpublish_by_key
word_action node".In the logs, it doesn't log webform as installing. When I try to install again, it says webform already enabled.
Next I tried the following commands which didn't help:
drush php-eval 'node_access_rebuild();'
drush updb
drush crAutomatically closed - issue fixed for 2 weeks with no activity.
- 🇳🇿New Zealand ericgsmith
@albertho425 I believe your issue is unrelated to webform and is related to the node_assign_owner_action action plugin moving from node to the deprecated actions ui module.
You can enable the actions module (part of core) if you need these plugins.
I've opened 📌 Undo deprecation of UnpublishByKeyword and AssignOwnerNode action plugins Active to undo that move