- 🇧🇪Belgium mario.vandewalle@telenet.be
thx, i created a new issue 3497312
fingers crossed to get some help there - 🇬🇧United Kingdom catch
The roles not existing is a different issue to this one - that update shouldn't be relying on roles that may not exist on the site - would re-open that issue or open a new one explaining the problem.
- 🇧🇪Belgium mario.vandewalle@telenet.be
@joseph.olstad
thx, but i tried both patchs and each time i get message about an other missing user rolesEntity user.role.content_admin does not exist (so i created an role content_admin)
next trie to update
Entity user.role.seo_admin does not exist
seems endless like this
maybe this has something todo with the permisssions in the user stats?
with an update.php
varbase_media module
• 100005 - Issue #3470979: Grant Access to Entity Usage Statistics. For Site Admins and Editorial Team.
when trie to update:
#100005 bijwerken
• Failure: Drupal\Core\Config\Action\ConfigActionException: Entity user.role.content_admin does not exist in Drupal\Core\Config\Action\Exists->returnEarly() (regel 39 van /home/brumaricolen/test.maricolenbrugge.be/secundair-onderwijs/core/lib/Drupal/Core/Config/Action/Exists.php).thx
- 🇨🇦Canada joseph.olstad
@mario , ok yes you likely require the core patch from this issue, have you tried applying patch #11 → OR patch #36 → (apply the patch to core) and then re-try after a cache rebuild?
See my notes from a similar situation.
#3358586-61: RuntimeException: Adding non-existent permissions to a role is not allowed → - 🇧🇪Belgium mario.vandewalle@telenet.be
thx Joseph,
i already tried to create the editor role manually, no succes with it.
with the editor role i get:
[error] Adding non-existent permissions to a role is not allowed. The incorrect permissions are "access entity usage statistics".so:
> [notice] Update started: varbase_media_update_100005
[error] Adding non-existent permissions to a role is not allowed. The incorrect permissions are "access entity usage statistics".
> [error] Update failed: varbase_media_update_100005
[error] Update aborted by: varbase_media_update_100005
[error] Finished performing updates.indeed i will open an issue about the varbase_media-update
- 🇨🇦Canada joseph.olstad
@mario , just a hunch, create the editor role manually, (log into your site as admin user and create a role 'editor') or do so using a drush command (have to look that up). Then re-run your updates again and see what happens.
With that said, look at the code in varbase_media.install. You will find function varbase_media_update_100005(). In there you'll see what varbase_media is doing. I suggest looking at the varbase and more specifically the varbase_media issue queue → . Open a new issue if you do not see or find any solution.The normal procedure for a first upgrade/update is to run all the updb /update.php first, then export your updated configuration.
- 🇧🇪Belgium mario.vandewalle@telenet.be
Hi i'm running on 10.4 and get these issues while upgrading the database?
> [notice] Update started: varbase_media_update_100005
> [error] Entity user.role.editor does not exist
> [error] Update failed: varbase_media_update_100005
[error] Update aborted by: varbase_media_update_100005
[error] Finished performing updates.