youngmon/atlassian-qna huggingface dataset:
Confluence with apache
Asked by saurabh bhagat:

i have tried this <https://confluence.atlassian.com/display/DOC/Using+Apache+with+virtual+hosts+and+mod_proxy>

But it is not working


Answers:
author: CelsoA
body: Hi there,

What happens when you try to access Confluence?

Could you please try this Virtual Host and tell me how it goes?

```
<VirtualHost *:80>    #Creating virtual host    ServerAdmin admin@domain.com    ServerName confluence.example.com    ServerAlias confluence.example.com    ProxyRequests Off    ProxyPreserveHost On    <Proxy *>        Order deny,allow        Allow from all    </Proxy>    ProxyPass / http://your_confluence_original_url:8080/    ProxyPassReverse / http://your_confluence_original_url:8080/    <Location />        Order allow,deny        Allow from all    </Location>    ErrorLog /path/to/example.com-error.log    LogLevel debug    CustomLog /path/to/example.com-access.log combined</VirtualHost>
```

```
?
```

```
?
```

```
Regards,
```

```
Celso Yoshioka
```


author: saurabh bhagat
body: Chages done are

**1)Server.xml**

\<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8090" minProcessors="5"  
maxProcessors="75"  
enableLookups="false" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000"  
useURIValidationHack="false" URIEncoding="UTF-8"  
proxyName="confluence.example.com" proxyPort="80"/\>

\<Context path="/confluence" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true"\>  
\<!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties --\>  
\<Manager pathname="" /\>  
\</Context\>

**2)httpd-vhost.conf**

NameVirtualHost \*

\<VirtualHost \*\>  
ServerName confluence.example.com  

ProxyRequests Off  
ProxyPreserveHost On  
\<Proxy \*\>  
Order deny,allow  
Allow from all  
\</Proxy\>  

ProxyPass / [http://127.0.0.1:8090/confluence\<br\< a=""\>\> ProxyPassReverse /](http://127.0.0.1:8090/confluence%3Cbr)[http://127.0.0.1:8090/confluence\<br\< a=""\>\> \<Location /\>
Order allow,deny
Allow from all
\</Location\>
\</VirtualHost\>](http://127.0.0.1:8090/confluence%3Cbr)
[**3)httpd.conf**
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_html_module modules/mod_proxy_html.so
LoadModule proxy_http_module modules/mod_proxy_http.so
------------------------------------3-Files-Changed----------------------------------------------------------
**mod_proxy_html is commented is this can be a problem**](http://127.0.0.1:8090/confluence%3Cbr)


author: Nic Brough -Adaptavist-
body: You're going to need to give us a lot more detail on what you have done. The problem is that the documentation is correct, but for generalised cases. So either you've not followed it correctly, or you have something we don't know about that the guide does not cover (99.99% of cases where someone says "I've tried the docs" turn out to be that they have something that the doc can't cover because it's a specific case for them)


Tags: apache

mod_proxy
License in testenvironment
Asked by KentGran:

Hi!

We have a test environment where we have a clone of our production environment containing both JIRA and Confluence. I am about to upgrade Confluence but our testenvironment does not have a valid license (since our license is used in the production env.) Do we need 2 licenses to perform a testinstallation before we upgrade our production environment or is there some other solution to this?


Answers:
author: Nic Brough -Adaptavist-
body: Yes you need separate licences, but it's not too painful.

If you log into your "my atlassian" account and find your confluence licence, look beneath it and you'll find a link to "Generate developer licence". The developer licence must NOT be used for production, but it IS there for testing upgrades, failover, development work and even getting you through an upgrade if you have licence issues. Most importantly, the development licences do not cost you anything more than a few mouse clicks.


author: Ivan Maduro
body: Hi Kent,

All of our Licenses above the $10 starter licenses have acces to a Developer license, which can be used for staging servers or cold stand-by servers. To generate your Developer license simply follow these steps:

1. Log in to [My Atlassian](https://my.atlassian.com/).
2. Click the '+' sign of your Atlassian product, your account management screen will display.
3. In the Actions section click "View Developer License."
4. Review the Developer License agreement.
5. Finally click "View" to agree. A license key will be presented. Copy and paste this key into your development server.

If you have a $10 start license, you will need to use a trial license for staging purposes!

Cheers,

Ivan.


author: KentGran
body: Excellent replies guys.

Thanks a lot for this
Confluence CLI with Confluence HTTP Authenticator in 5.1?
Asked by Dan Hawke:

I'm trying to get two add-ons to play nice together:

- Confluence HTTP Authenticator (working fine for normal users and authenticating against Shibboleth)

- Confluence CLI

These worked fine together back on 4.0.3, but I just upgraded to 5.1.3, and now when I use the Space Export command, however, I get a stack trace in my atlassian-confluence.log:

```
java.lang.StackOverflowError        at net.sf.hibernate.impl.SessionImpl.&lt;init&gt;(SessionImpl.java:543)        at net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:314)        at net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:327)        at net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:335)        at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:412)        at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:374)        at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)        at sun.proxy.$Proxy43.requiresElevatedSecurityCheck(Unknown Source)        at com.atlassian.confluence.security.seraph.ConfluenceElevatedSecurityGuard.performElevatedSecurityCheck(ConfluenceElevatedSecurityGuard.java:62)        at com.atlassian.seraph.auth.DefaultAuthenticator.getUserFromBasicAuthentication(DefaultAuthenticator.java:507)        at shibauth.confluence.authentication.shibboleth.RemoteUserAuthenticator.login(RemoteUserAuthenticator.java:699)        at com.atlassian.seraph.auth.DefaultAuthenticator.getUserFromBasicAuthentication(DefaultAuthenticator.java:525)        at shibauth.confluence.authentication.shibboleth.RemoteUserAuthenticator.login(RemoteUserAuthenticator.java:699)        at com.atlassian.seraph.auth.DefaultAuthenticator.getUserFromBasicAuthentication(DefaultAuthenticator.java:525)        at shibauth.confluence.authentication.shibboleth.RemoteUserAuthenticator.login(RemoteUserAuthenticator.java:699)[...more of the same...]
```

The client gets a 500 error back.

Any hints as how to get these two to play nice?


Answers:
author: Ryan Goodwin
body: We've created a bug report regarding the information provided here and from the add-on developers report:

<https://github.com/chauth/confluence_http_authenticator/issues/9>

<https://jira.atlassian.com/browse/CONF-32580>


Tags: addon-shibauth.confluence.authentication.shibb

confluence-app
How can I see who moved a page from one space to another?
Asked by Dan Mabee:

A page I was working on moved from one space to another. It's very possible that I moved the page while in "automatic mode" without thinking about it, but I don't think I did.

Is there a way to see who moved a page from one space to another and when?

It's going to be very embarassing if it was me.

Thanks,

John


Answers:
author: AndrewA
body: Hello,

The short answer is no but there is a feautrue request in to thave this functionality added to Confluence which may be found at the following link.

[Page history should show when a page has been moved from one space to another](https://jira.atlassian.com/browse/CONF-5231)

I would advise voting for the request to show interst to the developers.

Cheers,  
Andrew

comments: author: John Parente
body: Done and done!

Thanks Andrew!


author: John Parente
body: That's a great quesiton Dan. I'm having the same problem. I hope someone can help us.
Zen Foundation
Asked by Roman Ilyukhov:

How can I cancel evaluation of Zen Foundation add-on as I use on-demand Confluence setup which is not compatible with the add-on?


Answers:
author: MJ
body: If you log in on the [my.atlassian.com](http://my.atlassian.com) account of either the main technical or main billing contact, you can disable the license from there.


author: Paul Greig
body: Hi Roman,

I would recommend contacting the add-on developer, Stepstone Technologies Inc, they are available via support@stepstonetech.com.

Cheers,

Paul


Tags: cloud

confluence-cloud
Cross organizational sharing
Asked by Loren Rothmann:

I just attended an annual technical conference where several others mentioned they use Confluence. We were wondering if we could create a collaboration space for the conference attendees that could also feed into our organizations' private Confluence wikis. We would like the ability to tag/share spaces and pages in our private Confluence wikis that could be publically helpful/shared.


Answers:
author: Jeremy Largman
body: You can make Confluence public by allowing public signup (see [setting up public access](https://confluence.atlassian.com/display/DOC/Setting+Up+Public+Access)), but you'll have to be careful to make private every space that you don't want to be publicly visible, and you'll have to account for the number of users who sign up.

Another choice might be to use our not so well-known[Confluence User Community space](https://confluence.atlassian.com/display/DISC/Home). Not sure what the future of that space is, but for the time being I think it's open to public signup and contribution.

comments: author: Loren Rothmann
body: I had envisioned it like OneNote where you sync/share notebooks to a SkyDrive and invite people (giving them the access level you desire) to share/edit/access those notebooks.

Here's a screen shot: <https://picasaweb.google.com/108323677617624700595/20130625#5893421551570385410>

(Sorry for using my google album. Is there a way to upload/share files on Answers?)


author: Loren Rothmann
body: I had envisioned it like OneNote where you sync/share notebooks to a SkyDrive and invite people (giving them the access level you desire) to share/edit/access those notebooks.

Here's a screen shot: <https://picasaweb.google.com/108323677617624700595/20130625#5893421551570385410>

(Sorry for using my google album. Is there a way to upload/share files on Answers?)


Tags: community
Can you embed a google doc with Confluence widget macro without making doc public?
Asked by Brittany Walker:

Does the option 'anyone with a link' work? I don't want to make my doc public.


Answers:
author: Jeff Curry
body: Looks like the Widget connector regarding Google Docs is broken currently: <https://jira.atlassian.com/browse/CONF-24927>

However you can utilize the {iframe} macro which will achieve the desired result. You're Google doc won't have to be public but only people with access to the Google doc will be able to see it within your Confluence page


Tags: cloud

confluence-cloud
Confluence breaks when setting up master replication
Asked by Andre Branchizio:

I am trying to setup replication of anothter database (not confluence) and I have already succeeded in doing so. However, confluence datbase is on the master mysql server and I get this message after I start the master server.

Non Clustered Confluence: Database is being updated by another Confluence instance

I am not trying to replicate confluence at all, i am replicating a completely different database. How do I fix this?


Answers:
author: Kirby Russell
body: We saw
> caused by: java.sql.SQLException: Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. InnoDB is limited to row-logging when transaction isolation level is READ COMMITTED or READ UNCOMMITTED.

and it wouldn't work until we set binlog_format = row. We didn't test it heavily, however.


author: Margit Falk
body: the error is still present, when I tell mysql to only replicate a specific db and let confluence as is:

server-id = 1

log-bin = /var/log/mysql/xxxxx-mysql-bin.log

replicate-do-db=xxxxx

replicate-ignore-db=confluence

comments: author: Kirby Russell
body: having same problem - confluence breaks when set up Master/Slave

log-bin=mysql-bin  
server-id=1

What is the solution to this problem? We've followed the instructions for Master/Slave \>\> [](http://dev.mysql.com/doc/refman/5.1/en/replication-howto-masterbaseconfig.html)<http://dev.mysql.com/doc/refman/5.1/en/replication-howto-masterbaseconfig.html> and no joy


author: Margit Falk
body: I have the same problem.

as soon as I add server-id=1 to my.cnf and restart mysql, Confluence breaks. The confluence document you mention above does not exist.

I would really appreciate some help.


author: Andre Branchizio
body: I set up replication with that exact link. I tried addiing only the specific database but no luck. Really as soon as server-id=0 is added to master my.cnf confluence breaks.


author: JohnA
body: Hi Andre,

The error you are getting there is how a "normal", (non-clustered), Confluence panics when it thinks that more than one node is updating its database, as described in this document: https://confluence.atlassian.com/display/CONFKB/'Database+is+being+updated+by+an+instance+which+is+not+part+of+the+current+cluster'+Error+Message

However, as I understand it the database shouldn't be being updated in anyway as part of the mirroring process because it should only be copying the contents so what you willl need to look into is why this is occurring because it sounds like the mirroring configuration is wrong and so I'd recommend reviewing the documentation here to ensure that the replication process is correctly configured: <http://dev.mysql.com/doc/refman/5.1/en/replication-howto.html>

All the best,  
John
Filter Result Gadget is not Working Properly in confluence
Asked by Sreeni MCA:

We are using Confluence and Jira \& trying to show jira gadgets in confluence using external gadgets.

Using filter result gadgets,trying to display selected columns. This gadget is working properly when we access the application in side of Intranet(office network).

Whenever we are trying to from out side of the network, it is behaving differently.

**Filter Statistics \& Pie chart gadgets are working fine both internally and externally**   
If we use default columns(key,summary,..etc), gadget is working fine.  
If we select only one column(any custom field), then also the gadget is working fine.

**If we configure more than column using filter result, the gadget does n't load properly. It will keep processing.**

**Any Idea on this**


Answers:
author: William Zanchet [Atlassian]
body: Sreenu, I think this is a problem related with the GZIP, could you please try the following on JIRA side? Then try to replicate the problem.

1. Go to Administration \> System \> General Configuration \> Edit Configuration
2. Disable **Use gzip compression** \> Update

comments: author: Sreeni MCA
body: tried this option , but no user. Logged Support request with Atlassian, still didn't get the resolution for this.


Tags: confluence-administration
dont see where to configure the forms - how do you get started ?
Asked by Trevor North:

I installed the demo version of this plugin and it creates a single macro called Jiraforms.

I already have the links defined between Confluence and Jira (e.g. can use the jiraissues macro in confluence) and i'm running as a confluence admin.

The only config in the addons page for JiraForms is related to the link.

The only field in the jiraforms macro asks for config or id in a single line text field.

Whatever i put in here, it says it "has no value"

Sorry if i'm being thick but where do i define the form itself ?

The code examples show a large block of text with several parameters per definition so i'm hoping its not expected to type that into the single line called config in the jiraforms macro ?

I tried this also and just get an error saying **Variable "config" has no value (row 1).**

It looks like this plugin will provide the functionality i need (managing the issue creation from confluence) but the documentation has a big gap between installing the plugin and providing the syntax - how do you get started ?


Answers:
author: Trevor North
body: OK - so yes, i have to enter all the key/value pairs in the single line - ok can live with having to write it in an external editor and then paste it in if thats what is required.


author: Will
body: Same question here.


Tags: confluence-administration
Linking to a local file
Asked by Andrew Honacker:

Is there a way to link to a local file?

I've tried adding a web link to:

file://server/library/testFile.mov

But it doesn't work. Putting that link directly into the browser however works fine.

We have a lot of large quicktimes and other files on our local file servers that we would like our users to be able to open from the page links.

Thanks

-andrew


Answers:
author: fsim
body: Hey Andrew, this is explained here: <https://confluence.atlassian.com/display/CONFKB/Can%27t+Link+to+Local+Files+from+within+Confluence>

A number of resolution in there depending on your browser, as this seems to be a browser restriction (even if you put the link via the HTML macro with the following, it will still not work):

```
&lt;a href = "file://path/to/file"&gt;test&lt;/a&gt;
```

Foogie


author: Sebastien Berat [Dontnod Entertainment]
body: Regarding Firefox, please note the documentation page still mentions LocalLink while there is a much more efficient solution available : [**Local Filesystem Links**](https://addons.mozilla.org/fr/firefox/addon/local-filesystem-links/) by austrALIENsun

This plug-in allows Firefox users to open the links directly ++within the OS explorer++. I'd like to find the same for Chrome (which unfortunately is the main browser used by my teams)!


Tags: cloud

confluence-cloud
Tabbed Page Content
Asked by Trevor Hunt:

Is it built in or does it require add-ons or special HTML/Code?


Answers:
author: CelsoA
body: Hi there,

Please check this plugin:

<https://marketplace.atlassian.com/plugins/ch.bitvoodoo.confluence.plugins.navitabs>

I think that it's what you are looking for.

Regards.

comments: author: Trevor Hunt
body: Actually, I'm looking for something more like what you guys have done here:

<http://www.atlassian.com/licensing/purchase-licensing>


Tags: page

tab
How to populate PageContext for rendering
Asked by Ben Duffin:

I am working on integrating our Confluence content into a custom search index. To facilitate this, I am listening for various events (e.g. PageCreateEvent)- when the listener method fires off, I need to render the page content and put it into a custom table. Later, this table's contents will be pulled into the search index. I'm spring injecting the wikiStyleRenderer into my manager. I then call wikiStyleRenderer.convertWikiToXHtml to get the rendered content.

An issue I'm encountering is the rendering of attached images on the page. The markup

```
!test.png|border=1!
```

is rendered as:

```
&lt;span class="error"&gt;Unable to render embedded object: File (test.png) not found.&lt;/span&gt;
```

The convertWikiToXHtml method needs a RenderContext, which I get from contentEntityObject.toPageContext(). I bet that this RenderContext needs to be passed a value from which it can retrieve the image attachment. I set the attachment path on the renderContext via this code:

```
renderContext.setAttachmentsPath(contentEntityObject.getAttachmentsUrlPath());
```

but that doesn't seem to be helping either. Any ideas?


Answers:
author: Ben Duffin
body: Debugging the code, the attachment is found, but I don't have permission to view it. This is because the authenticated user in the ThreadLocal is null, since I spawned off a new thread for this processing via a ThreadPoolExecutor.

My PageContext is working just fine, but I need to make sure I'm performing my processing while the ThreadLocal's user is set.


Tags: image

render
Does Sharepoint connector 1.7 work with sharepoint 2010?
Asked by Jonathan McCarthy:

I am trying to connect to Sharepoint 2010 from confluence using the Sharepoint Connector Addin v1.7   
From the confluence document editor screen I press Insert -\> Sharepoint Document and this brings up the search form. No matter what I put in the search box it always returns an error:  
SharePoint Document Search Error!  
An error prevented the search from completing.  
Note, the test on the configure page works okay indicating it is configured correctly.  
From browsing your website, one page indicates that Sharepoint Connector does not work yet with Sharepoint 2010   
(link: <https://confluence.atlassian.com/display/SPCON011/Planning+your+Environment>)   
However, looking at the version history for the addin it appears it goes up to 1.8 with support for Sharepoint 2013!  
Can you please advise on whether this addin works with Sharepoint 2010 and if so, any help on what is causing the search to fail would be greatly appreciated. For example, is there any config to be done on the sharepoint side - I can't see any indication from the docs here that there is.  
thanks in advance.


Answers:
author: Amalia
body: Jonathan,

The documentation that you referred to is outdated. Please refer to the following documentation instead: <https://confluence.atlassian.com/display/SPCON/Planning+your+Environment+with+SP+2010>

To answer your question, yes, SharePoint 2010 is compatible with SharePoint Connector 1.7. However, please ensure that you are using Confluence 5.x in order to use SharePoint Connector 1.7.

Anyway, it's very hard to know why you are seeing this error without looking at the logs. So I'd advise you to raise a new support ticket at [support.atlassian.com](http://support.atlassian.com) so that we can investigate about this matter.


author: Jonathan McCarthy
body: Thank you very much for your reply.I raised a ticket here: <https://support.atlassian.com/browse/CSP-104478>   

Note although I am using evaluation versions of JIRA \& Confluence, we have a full installation of both. I am trying to prototype some new features without interfering with our production system.