youngmon/atlassian-qna huggingface dataset:
Confluence - Custom LDAP Authenticator
Asked by Manikandan Jayaraman:

Hi,

We use a custom ldap authenticator to facilitate single-signon for Confluence. This custom authenticator does the below:  
**a:** Relies on LDAP for user authentication  
**b:** Retrieves the groups for the user from Crowd to facilitate authorization.  
**c:** If the user is authenticated by LDAP but doesnt exist in Crowd, it adds the user to crowd and associates "confluence-users" group for that user in Crowd's confluence directory

This piece of functionality works fine in Confluence 3.5, that uses Crowd's crowd-integration-client-2.3.3.jar under confluence/web-inf/lib directory.

Our new Crowd version is 2.5.1 and new confluence version is 4.3.5. In this confluence, functionalities "a" and "b" mentioned above works. But "c" doesnt work.

**Observations:**  

1.  
When I add "crowd-integration-client-2.3.3.jar" \[originally used in my confluence 3.5\] to confluence/web-inf/lib, the "User Directories" link under confluence -\> admin is missing.

2.  
When I add "crowd-integration-client-2.5.1.jar" to confluence/web-inf/lib, Confluence doesnt start at all. There is a unix process running as Confluence, but confluence doesnt come up. And no logs populate under ConfluenceHome/log. Essentially Confluence doesnt come up.

3.  
When I \*dont\* add this crowd-integration-client-x.x.x.jar at all, "a" and "b" still works fine. BUt when a scenario of "c" happens \[User authenticated in LDAP but not existing in crowd\], my custom LDAP authenticator tried to add the user to Crowd, finds this jar missing and reports the following error in logs:  
===  
java.lang.NoClassDefFoundError: com/atlassian/crowd/service/soap/client/SecurityServerClientFactory  
===

Code Snip of the part that fails:  
===  
SecurityServerClient securityServerClient = SecurityServerClientFactory  
.getSecurityServerClient();  
// Try creating new user  
if (log.isDebugEnabled())
{ log.debug("Creating User record in Crowd repository."); }

SOAPPrincipal principal = new SOAPPrincipal();  
principal.setActive(true);  
...  
...  
===

The first line on the snip fails due to absence of JAR.

NOTE: We are in the UAT phase and migrating to this new version of Crowd and Confluence by Mid March. This is a blocker and I would be happy and pleased to receive a fast reply on this.

Please Help. Many Thanks in advance!

-Mani


Answers:
author: Manikandan Jayaraman
body: locally installed version within my organization

comments: author: Manikandan Jayaraman
body: This link talks of the same problem that I face : [https://answers.atlassian.com/questions/45726/user-directory-page-lost-after-upgrade-to-confluence-4-1-9](/questions/45726/user-directory-page-lost-after-upgrade-to-confluence-4-1-9)


author: Paul Greig
body: Hi Mani,

Is this issue related to a locally installed version of Confluence or the OnDemand hosted solution?


Tags: ldap
when new confluence user sign up and logged in, is said not permitted
Asked by Stanley Zhang:

When new user in my company sign up for a new confluence accout and when they logged in, it said "not permittent" at the top of the screen. I know they have the right password, because it shows their name at the top of the page. This happen to 2 of my newest user. And I verified that I have enough license.

What is the solution?


Answers:
author: Ghnomia
body: Stanley, could you please share with us how ecatly you solved the problem? I'm having the same issue.

Thanks,

Serena


author: C. Faysal
body: What about opening a new topic?Feel free to accept the answer if it was helpful and open up a new request to reach more possible helpers by showing the related info in the questions summary ;)


author: Stanley Zhang
body: I figured it out. The global setting and permission setting seems to changed after the confluence software upgrade. with your help and some reading I've got it figured out now.

However, I do have a second question. Is there a way to assign the space permission to all spaces? Instead of going to every single space and grant the permission. I do have a lot of spaces on my wiki.


author: C. Faysal
body: What about global permissions. Are the new users in the correct group that is permitted?

comments: author: Nic Brough -Adaptavist-
body: Assuming it's the dashboard, the not-permitted here means that the users do not have the right to use Confluence. The login process lets them authenticate, but if they don't have "use confluence", then their login knowa that they won't be permitted to do anything


Tags: permission
Confluence not allowing or blocking set focus on text area on html form
Asked by Julio Mugabe:

I created an html form page that has some javascript embedded in it. When I run it independently, all the form controls on it work correctly e.g. I can click in the text area and type some content.

However when I embed the above html file via Bob Swift's html macro, it renders correctly, I'm able to select radio button option etc but when I click in the text area "abc" and try to type something it immediately places the cursor(sets focus) in the comment text field and the typying instead appears in the comment text area. I suspect there is some javascript that is native to Confluence that is stealing this setfocus.

I created a usermacro that disables the comment from showing up automatically on this page, I appiled it to this page and it comments dont show up now but when I click and try to type in my text area "abc", it does not work.

How do I resolve this issue? Thnks in advance.


Answers:
author: Sean King
body: Confluence comes with an HTML macro already in the system plugins. Perhaps you need to disable it first before the Bob swift macro will work as they're interfiering with each other.


Tags: html

javascript
Not able to access the wiki web page.
Asked by CF:

When trying to access the webpage, we receive a system error, which I have attached. We have done research on the problem which has led us to remove the plugin-cache directories, restart the service, check postgreSQL, rebooting the box, checked permissions, etc. But we are still getting the error. To give a little more background, we have confluence hosted on a VM running CentOS6 and it was working fine until two days ago when we reduced some of the memory and a cpu due to overallocation of resources. We performed the reduction of resources on all of our VMs, including Jira, and they are all running fine now except for Confluence. Also, we cloned the VM and reallocated the memory and cpu just to see if that would help, but it did not. We have spent the last day or so trying to get it back up for our performers, but have had no luck.


Answers:
author: C. Faysal
body: hi

have you already tried purging ${confluence_install}/work/\* directory?

cheers


Tags: centos

error

linux
Unable to add user
Asked by David Adair:

I cannot manually add a new user. I get the following error: The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. I've added users before with no problem. I see that the Left Hand Navigation macro can cause this problem, but I do not have that installed. Anything else?


Answers:
author: David Adair
body: The group Confluence-users had been deleted and that prevented me adding additional users. After adding the group, I was able to add new users.


author: Tiago Comasseto
body: Hi Dave,

I see that this message is refering to unsupported cimpression, in this case you may check if you have HTTP compresion enable.

If it's enabled, you may try to disable it. Please check this page for more details: <https://confluence.atlassian.com/display/CONF43/Compressing+an+HTTP+Response+within+Confluence>

Cheers

comments: author: David Adair
body: Thanks for the input. As it turned out, I needed to add the group Confluence-users.


author: fsim
body: Hey Dave,

That error is also sometimes thrown when there is an error in the Confluence logs (database exceptions etc) after adding the user. Possible for you to reproduce the issue, then immediately attach the last lines in atlassian-confluence.log from ConfluenceHomeDirectory/logs here so that we can see what's the exception?

comments: author: David Adair
body: Thanks for the input. As it turned out, I needed to add the group Confluence-users.


Tags: user-management
Not able to access the wiki web page.
Asked by CF:

When trying to access the webpage, we receive a system error, which I have attached. We have done research on the problem which has led us to remove the plugin-cache directories, restart the service, check postgreSQL, rebooting the box, checked permissions, etc. But we are still getting the error. To give a little more background, we have confluence hosted on a VM running CentOS6 and it was working fine until two days ago when we reduced some of the memory and a cpu due to overallocation of resources. We performed the reduction of resources on all of our VMs, including Jira, and they are all running fine now except for Confluence. Also, we cloned the VM and reallocated the memory and cpu just to see if that would help, but it did not. We have spent the last day or so trying to get it back up for our performers, but have had no luck.


Answers:
author: rrudnicki
body: Hi Christina,

For some reason, your message error wasn't attached. Do you mind to try to attach it again?

```
Also, we cloned the VM and reallocated the memory and cpu just to see if that would help, but it did not.
```

Are you also changed the java memory from Confluence? You can find more details [on this link](https://confluence.atlassian.com/display/CONFKB/How+to+Fix+Out+of+Memory+Errors+by+Increasing+Available+Memory#HowtoFixOutofMemoryErrorsbyIncreasingAvailableMemory-Linux).

Regards,

Renato Rudnicki


author: David Kirchner
body: What question did this duplicate?


Tags: centos
Upgrading from 2.10 to 4.3
Asked by Bron:

Hi,

I am upgrading from confluence cluster 2.10 to 4.3. I have to migrate from weblogic to tomcat, then upgrade from 2.10 to 3.5, then 3.5 to 4.3 and then upgrade oracle 10g to 11g.

Are these steps correct and in the right order? How do I minimise downtime? Should I upgrade the database first, as the database is Oracle 10g it is not compatible with 4.3, will this be an issue?


Answers:
author: Nic Brough -Adaptavist-
body: I'd stick with the compatible route. 10g and 4.3 probably will work, but the combination is not supported, and if you run into problems, you'll need to go back.

So, I'd step through

* 2.10 + 10g
* 3.5 + 10g
* 3.5 + 11g
* 4.3 + 11g

comments: author: Bron
body: Thanks Nic,

Would you suggest doing all of this at the one time, so one long downtime or in stages over a few days?


author: Nic Brough -Adaptavist-
body: I would do it in test first, get a feel for each step, and then you'll know how long a downtime it is. It depends on your organisation and when you can arrange it all more than the technical bits.

I'd tend towards one long downtime because it means less overhead - you know you're going to be in the office for the duration, you only need to do one change-control, etc etc etc, but if it doesn't fit into one window, then it's not a problem to step through it. Stepping has the advantage that if one step goes wrong, you only have to roll back one step and re-plan, rather than the whole lot.


Tags: upgrade
FishEye or Subversion
Asked by Kiran Kumar:

Hi

We are planning to move our online help from Robohelp to Confluence. How good is confluence in Context Sensitive. While doing my side of research I came accross FishEye and Subversion. I have few doubts on this:

Can I use Subversion of context sensitive help?

How good is FishEye for CSH?

We are planning to port the content ASAP. So please help me out in this?

Thanks

Kiran Neel


Answers:
author: TylerA
body: Hi Kiran.

I'm not sure I understand exactly, but Confluence is a wiki. It is not a content management system, nor is it publishing software. Robohelp appears to be a manual/help-publishing program rather than a collaborative content system. Depending on how you've been using Robohelp up to this point, the collaborative Wiki (via Confluence) may be a better system for you to track and maintain documentation.

Fisheye and Subversion are two entirely separate products. Subversion is owned by Apache and is a Version Control System (VCS). Fisheye is designed to process versioned data (i.e. a subversion repository) and provide statistics and analysis of that versioned data. Fisheye does not provide "help" or documentation like Robohelp or Confluence, only statistical analysis and review data.

Does that answer your questions?

comments: author: Kiran Kumar
body: Thanks Davis. But we are planning to use wiki based documentation for our application and I have found that we use FishEye for Context Sensitive Help:

<http://blogs.atlassian.com/2007/12/using_a_wiki_fo/>

The above link has all the details. I need to come up with a plug-in for context sensitive help conflunece ASAP :(


author: Stefan Kleineikenscheidt _K15t_
body: That blog post takes the FishEye documentation as an example.

Confluence is the tool you want to look at.

If you need enhanced functionality context-sensitive help, you might want to look at Scroll Versions (<http://www.k15t.com/software/scroll-versions/overview>). It let's you manage page keys, which can be used to link UIs in the software with help topics.


author: Kiran Kumar
body: Can Subversion be any helpful as we are using it with Jira and its free too.
HTML import to Confluence
Asked by Volkan Akdere:

Hi,

My company has been evaluating Confluence for documentation purposes. Currently, our documentation is based on html files which have hyper links to Doxygen generated html output. I would like to ask what would be the best way to import all of our html doc folders to Confluence.  

Is there an off-the-shelf solution for this purpose? All I could find is some scripts / plugins stated in the following links which do not seem to be straightforward to use:  

[https://confluence.atlassian.com/pages/viewpage.action?pageId=151106#](https://confluence.atlassian.com/pages/viewpage.action?pageId=151106)  
<http://colonelpanic.net/2010/10/integrating-doxygen-and-confluence/#nirvana>  

Thanks


Answers:
author: Matthew J. Horn
body: After some investigation and attempts, we decided not to bring the generated HTML files into Confluence. I'd be happy to discuss in depth. In the mean time, I can link you to a blog entry I wrote about what we DID do to mix Confluence and Doxygen/JSDoc HTML pages:

<http://www.confluenza.com/2013/01/04/protect-static-html-pages-using-crowd-and-confluence/>

To create links from Confluence to the generated HTML, I created a macro that takes the classpath and classname.

hth,

matt
Confluence and Bamboo unable to send emails
Asked by Glyn Bowden:

I have configured a number of Atlassian products including JIRA, Confluence and Bamboo on a single server. I have configure the SMTP mail host in the same way for all three to use a [gmail.smtp.com](http://gmail.smtp.com) account.

Also all three applications are accessed via and https link which is then redirected using apache proxy_mod to the local app and port. This is working perfectly well for all apps on there. However, if I try to send a test email from either Confluence or Bamboo I receive a 502 Proxy error. No other email appears to be getting sent although there is nothing in the mail queue or in the mail errors.

Proxy Error

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request POST /admin/mail/dosendtestemail.action.

Reason: Error reading from remote server

Apache/2.2.15 (CentOS) Server at [confluence.lucr.com](http://confluence.lucr.com) Port 443


Answers:
author: Stanislav Spiridonov
body: I had the same issue after Confluence update (I am using JNDI). The update revert all configuration about JNDI. So I updated the server xml after but FORGOT mail and activation JARs. After fixing it the problem was solved.


author: Pankaj Jangid
body: I am also getting the same issue. I have upgraded from confluence 4.3.2 to 4.3.7. And the emails have stopped working. No error in atlassian logs, confluence logs. Mail queue / error empty in Administration \> Mail Queye.


Tags: email

proxy
Disabling email autowatch for all users
Asked by Frode Haugland:

Is there a way for me as an administrator to disable email autowatch for all my users in one go?


Answers:
author: Grzegorz Dlugoszewski
body: Hi Frode,

It's already been answered here. See these topics for details:

[https://answers.atlassian.com/questions/54126/can-jira-s-autowatch-be-disabled](/questions/54126/can-jira-s-autowatch-be-disabled)

[https://answers.atlassian.com/questions/49971/how-do-i-disable-jira-autowatch-by-default](/questions/49971/how-do-i-disable-jira-autowatch-by-default)


author: Abdoulaye Kindy Diallo
body: While searcing on this concern, I came across the following:

* [How to set Autowatch globally off](/questions/50454/how-to-set-autowatch-globally-off)
* [Turning autowatch off](https://confluence.atlassian.com/display/CONFKB/Confluence+Sends+Email+Notifications+despite+Autowatch+is+Turned+Off)

Hope that helps !!!


Tags: watcher
Question on migrating spaces between two different confluence instances
Asked by Lionel Moore:

I will be attempting to export multiple spaces from one Confluence instance and importing them into a different Confluence instance. Both instances will have the same OS and confluence version (4.3.2), however the target has pre-existing spaces that can't be overwritten and the target has a different user management. The source Confluence uses the built-in user management, and the destination Confluence uses LDAP (POSIX user schema). Some of the source usernames are the same as the LDAP usernames. Some of the source usernames have equivalent LDAP usernames (for example Han.Solo in Source Confluence might be the same person as soloh in LDAP). Other source usernames are role users (e.g. qa-engineers) which we won't be allowed to create in LDAP.

We are working with the idea that we could do an XML export, then use sed to search and replace the equivalent usernames. Is this feasible? What happens with usernames that can't exist in the new system? Also, none of the user groups from the Source instance will be created on the destination instance. Will that be a problem?

<br />


Answers:
author: Bruna Griebeler
body: We are working with the idea that we could do an XML export, then use sed to search and replace the equivalent usernames. Is this feasible?

Yes!

What happens with usernames that can't exist in the new system?

If you import a space wich creator doesn't exist, the user will not be created. However if only this user is restricted to see and or edit a page, it will be unacessible.

So I suggest your first approach to change all the usernames to another username (that exists in your Confluence).

You can, as an example, create an a test user and put all on his behaf.

Hope it helps!


Tags: migration
How can I get atlassian to email my issues to me?
Asked by john dieter:

I can't find anything anywhere to get atlassian to email issues to me, either when they change, or when they are new etc...


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: You can configure notifications.

<https://confluence.atlassian.com/display/JIRA/Creating+a+Notification+Scheme>

Or subscribe to search results:

<https://confluence.atlassian.com/display/JIRA/Receiving+Search+Results+via+Email>


Tags: email
Confluence Latex plugin
Asked by Derek Page:

I installed the following plugin

<https://marketplace.atlassian.com/plugins/com.atlassian.latex.confluence.macro-latex>

When I add the code from the example into my latex block

x = frac{-b pm sqrt{b\^2 - 4ac}}{2a}

I does not render properly. The result on the saved page is in:

x = frac{-b pm sqrt{b\^2 - 4ac}}{2a}

Are the dependency for this plugin?

I also don't see the latex icon in the top left corner of the my macro latex block


Answers:
author: Kayhan Karatekeli
body: It's 2018 and the LaTeX plugin still isn't working...


author: Steven Parsons
body: Have you tried using this plugin to see if its any better.

<https://marketplace.atlassian.com/plugins/com.cityinthesky.plugins.mathjax>


author: Kyle Conti
body: Example does not work for me either. I'm on version 4.3.1.

Please help. I can only get the latex math paid plugin to work..not this free one.


author: Derek Page
body: Yeah that does not seem to work

Results look like this:

\\\[ x = \\frac{-b \\pm \\sqrt{b\^2 - 4ac}}{2a} \\\]


author: Bruna Griebeler
body: Hi Derek

Have you tried "skiping" special characters using "/" ?

```
\[x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}\]
```


Tags: calculation

latex
Mobile site home page to show dashboard
Asked by Thomas Sherman:

We recently upgraded to Confluence 4.3.0. This supports mobile browsers natively. Our organization uses Confluence for our end user documentation. We would like to have the mobile homepage display our Dashboard by default. Instead it shows a Popular/Recent Blogs/Network trio.

How are users supposed to know that they need to tap icon and click Search to find anything?


Answers:
author: Thomas Sherman
body: There is no mobile optimized version of the documentation theme. The default page shown is in the left of the trio below. It only shows Popular pages. Otherwise you need to use the menu/search button to find anything useful. There is no way to view your documentation navigation tree. There is no way to search directly from the front page.

![](../../upfiles/atlassianMobile.png)


author: William Zanchet [Atlassian]
body: Hi Tom,  

Actually the Popular/Recent Blogs/Network trio is the 'default' Dashboard for the mobo version, however you can easily switch to 'Desktop Version' when you click on that button in the very upper left side, you will be able to see your 'standard' dashboard.  

I hope this clarify your thoughts.  

Cheers,  

WZ

comments: author: Thomas Sherman
body: Thank you for the suggestion William. I was aware of the 'full site' option, but unsurprisingly it is completely unoptimized for mobile devices. It seems that if you are using Confluence as a documentation product you do not offer an optimized mobile solution.


Tags: mobile
Creation of Confluence Cluster
Asked by Stephen Gramm:

We are setting up a test enviroment with the Confluence 3.5.16 cluster and ran into issues when copying approx 650gb of attachments to the Oracle database from the file system. We have the following questions for you:

# Exactly what is happening during the copy attachments process and when is the COMMIT issued? (After 29 hours there are no records in the Attachments data table)

# Have any other customer's been successfull or reported problems when moving a large number of attachments into the database?

# Can the attachments be copied from the file system into the database using any other method?

# What recommendations or work arounds can you provide for the creation of the Confluence cluster.


Answers:
author: Stephen Gramm
body: Has anyone been successful with the migration of attachments from the file system to the database? If so, how long did it take you and what was the approximate size or number of attachments you migrated?