Cannot login following upgrade - Permissions Error Edited

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 to Oracle 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.



1 answer

1 accepted

Accepted Answer
0 votes

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. 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
Community showcase
Posted Thursday in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

165 views 0 3
Join discussion

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