# 2.2.1 An error occurred while attempting to create the admin user

**URL:** <https://forum.mautic.org/t/2-2-1-an-error-occurred-while-attempting-to-create-the-admin-user/6681>\
**Category:** Product Support\
**Created:** [November 28, 2016, 9:34pm UTC](https://forum.mautic.org/t/2-2-1-an-error-occurred-while-attempting-to-create-the-admin-user/6681 "2016-11-28T21:34:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgreen](https://avatars.discourse-cdn.com/v4/letter/j/43a26b/32.png) [@jgreen](https://forum.mautic.org/u/jgreen)\
**Post date:** [November 28, 2016, 9:34pm UTC](https://forum.mautic.org/t/2-2-1-an-error-occurred-while-attempting-to-create-the-admin-user/6681/1 "2016-11-28T21:34:22Z")

</div>

having a issue with a new installation of 2.2.1  
  
“An error occurred while attempting to create the admin user: Entity of type ‘MauticUserBundleEntityRole’ for IDs id(1) was not found”  
  
any idea where to start?  
  
  
  
I have tried:  
  
changing permission on files apps/(config , cache, logs)  
  
imported old user list  
  
changed id of admin user to 1  
  
updated roles from older version.  
  
Nothing above worked.  
  
  
  
this started with a updat to 2.2.1 from 2.0.0  
  
any ideas I have seen other post but no solution.  
  
  
  
Thanks

---

<div class="post-metadata">

**Author:** ![jgreen](https://avatars.discourse-cdn.com/v4/letter/j/43a26b/32.png) [@jgreen](https://forum.mautic.org/u/jgreen)\
**Post date:** [November 28, 2016, 9:34pm UTC](https://forum.mautic.org/t/2-2-1-an-error-occurred-while-attempting-to-create-the-admin-user/6681/2 "2016-11-28T21:34:22Z")

</div>

having a issue with a new installation of 2.2.1  
“An error occurred while attempting to create the admin user: Entity of type ‘MauticUserBundleEntityRole’ for IDs id(1) was not found”  
any idea where to start?

I have tried:  
changing permission on files apps/(config , cache, logs)  
imported old user list  
changed id of admin user to 1  
updated roles from older version.  
Nothing above worked.

this started with a updat to 2.2.1 from 2.0.0  
any ideas I have seen other post but no solution.

Thanks
