Cannot login following upgrade - Permissions Error

Hi there,

When I log in as Admin user I am getting a permissions error following successful login. The error I am seeing is as folows:

Not Permitted

You are not permitted to perform this operation.

We are currently using Confluence 3.1 which was upgraded from Confluence 2.10.

We have migrated our Application Server from Weblogic in Confluence 2.10 to Apache Tomcat in Confluence 3.1.

To provide more clarity:

We have upgraded our two node database cluster in this environment from Oracle 10.2.0.4 to Oracle 11.2.0.1 RAC. The database was restored from a backup taken within our Production environment which is currently running Confluence 2.10.

I am also seeing the following error, which is related to the Apdaptavist plugin:

Unable to render content due to system error: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.adaptavist.confluence.builder.macros.LogoMacro': Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: com/atlassian/confluence/util/ResourceManager

However I cannot perform any edits to my Confluence site as a result of the Permissions error.

Regards,

Mervyn

1 answer

1 accepted

This widget could not be displayed.

There are two errors here. The adaptavist one is likely to be due to incompatible versions (upgrade the plugin)

The not permitted error is due to broken permissions. You'll need to look at the user's groups and settings and compare them with the general global permissions

Thanks for your reply.

Do you have instructions on how to compare the user groups and settings with the general global permissions without any admin access to Confluence?

Oh, heck, no, you can't do this. You'll need to fix the admin account access first.

https://confluence.atlassian.com/display/DOC/Restoring+Passwords+To+Recover+Admin+User+Rights details how to get admin access back.

I followed the documentation provided and replaced one of the administrators passwords using the steps listed in the documentation.

The password updated successfully. However when I attempt to log in into my Confluence site I receive the following error:

"Sorry, your username and password are incorrect. Please try again."

Ok. Did you have Confluence offline when you did the SQL change?

Also, what authentication method are you using? Internal? Crowd, LDAP etc?

And finally, what does your log say when you try to log in?

Yes, I had Confluence offline when I performed any SQL changes.

We are using LDAP as our authentication method in this environment. However the snapshot we used to restore our Database is taken from a Production system which uses SSO as it's authentication method. I am not sure whether this will have an impact on our login permissions problem.

Here is the Stack Trace taken from the 'atlassian-confluence.log' file.

Hmm. Ok, so your LDAP doesn't match your SSO. That could be interesting.

However, start with the LDAP. Are you 100% sure that the LDAP account you are using is valid? Can you log into other LDAP connected systems with that username and password?

Apologies, I failed to respond to this. I managed to find an admin user with sufficient prvileges to login. From here I was able to alter the user groups which allowed all admin users access to my Confluence site.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

137 views 12 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you