09-17-2020 04:15 AM
I was upgrading some older instance of Alfresco 5.0.d to version 5.2:
1. exported database of 5.0.d, configuration backup (alfresco-global.properties) etc.
2. installed 5.2
3. applied previous configuration
4. imported data into new database of 5.2
At the startup I got the following exception message:
2020-09-16 23:57:50,158 INFO [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] Applying patch 'patch.alfrescoModelAdministrators' (Adds the 'GROUP_ALFRESCO_MODEL_ADMINISTRATORS' group). 2020-09-16 23:57:50,888 ERROR [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] 08160002 org.alfresco.repo.security.authority.UnknownAuthorityException: 08160001 An authority was not found for admin at org.alfresco.repo.security.authority.AuthorityDAOImpl.addAuthority(AuthorityDAOImpl.java:353) at org.alfresco.repo.security.authority.AuthorityServiceImpl.addAuthority(AuthorityServiceImpl.java:487) at org.alfresco.repo.security.authority.AuthorityServiceImpl.addAuthority(AuthorityServiceImpl.java:479) at org.alfresco.repo.admin.patch.impl.AddGroupAuthorityPatch.applyInternal(AddGroupAuthorityPatch.java:92) at org.alfresco.repo.admin.patch.AbstractPatch$1.execute(AbstractPatch.java:455) at org.alfresco.repo.admin.patch.AbstractPatch$1.execute(AbstractPatch.java:1) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)
There is no authority admin in the alf_authority table which relates to the exception message. It seems that there was no admin user in the 5.0.d.
Any suggestions?
09-17-2020 05:22 AM
Resolved with setting alfresco_user_store.adminusername.
09-17-2020 05:22 AM
Resolved with setting alfresco_user_store.adminusername.
09-17-2020 12:13 PM
Hi @trmmnt
Thanks for updating your post - really helpful.
Cheers,
10-19-2023 05:12 AM
Hello, I'm also having the same problem as you when importing the site, can you tell me more about how to solve it? Thanks
Explore our Alfresco products with the links below. Use labels to filter content by product module.