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?
Solved! Go to Solution.
Resolved with setting alfresco_user_store.adminusername.
Resolved with setting alfresco_user_store.adminusername.
Hi @trmmnt
Thanks for updating your post - really helpful.
Cheers,
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
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.