youngmon/atlassian-qna huggingface dataset:
Atlassian Google Doc Plugin error - solved
Asked by AJ Hawks:

I've installed this on a staging site and it works fine. I created a production site, restored our information to the production site. When I try to connect using Google Docs OAuth it says:

You have successfully authorized access to Google Docs. Please go back to your previous page and refresh.

When I refresh the page, it says:

Unable to authorise access to Google Docs

The inserted Google doc on the production site says:

Error rendering macro 'gdocument' : : com.appfusions.confluence.googledoc.bean.OAuthTokenPair ---- Debugging information ---- message : : com.appfusions.confluence.googledoc.bean.OAuthTokenPair line number : 1 path : /com.appfusions.confluence.googledoc.bean.OAuthTokenPair cause-message : : com.appfusions.confluence.googledoc.bean.OAuthTokenPair class : com.appfusions.confluence.googledoc.bean.OAuthTokenPair cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException required-type : com.appfusions.confluence.googledoc.bean.OAuthTokenPair -------------------------------

Where is a good place to start looking for the cause?  


Answers:
author: Colin Goudie
body: Hey Cyberhawks, you might be better posting it direct to AppFusions (us) here..

<http://www.appfusions.com> or [info@appfusions.com](mailto:info@appfusions.com)

Thanks..

comments: author: AJ Hawks
body: Thank you :)


author: Ellen Feaheny [AppFusions]
body: Did you recreate your configs on the prod server, including getting a new Consumer key and secret ?

From what you have written, sounds like you just moved it and used the same credentials - and if server is different, then it is not the same.

Support for AppFusions is through our Website forms or [info@appfusions.com](mailto:info@appfusions.com)

comments: author: AJ Hawks
body: Thank you Ellen. I did as a matter of fact create new config files for the new server, but I admit I hadn't thought of that. I only transfered the database and data files.

I installed Java 1.6.0_29 and re-linked it. That fixed a lot of issues with logging, and with Google Docs. It now works fine and so does the logging system. Ryan Goodwin from Atlassian sent me that tidbit that JDK 1.7.0 isn't supported yet (thank you, thank you.)

I'm using Confluence-4.1.6, Centos 5.7, Tomcat 7.0.26, JDK 1.6.0_29, and Confluence Google Docs Connector 1.3.0 among others. With the new release of Gliffy-4.2, everything is running wonderfully. Just FYI for anyone else experiencing these issues with JDK 1.7.0.

Now I get to break it again and see if I can integrate JIRA into this (on the staging server of course.) Muhahahaahah :)


author: Ellen Feaheny [AppFusions]
body: Appreciate you taking the time to post back! Glad you are rolling!


author: AJ Hawks
body: Could this have to do with running Java sdk 1.7 on our production server as opposed to running Java sdk 1.6.0_29 on the staging server? I've tried deleting the plugin and re-adding it, deleting it out of cache, verified it wasn't in MySQL PLUGINDATA when it was removed, and restarting the server.
Need a Team Calendars {date} macro
Asked by Arne Schirmacher:

I have lots of Confluence pages for documentation of hardware / software / configuration items. Each page has a date somewhere, for example next due date for safety inspection, software maintenance renewal date, service available until date and so on, which is currently entered as plain text.

I would like to have a way to link these pages to a Calendar page so that I have an overview of all these upcoming events in one place.

Right now I am managing this information using the metadata plugin, which works but is not the ideal solution.

<https://studio.plugins.atlassian.com/browse/TEAMCAL-135> and <https://studio.plugins.atlassian.com/browse/TEAMCAL-208> may be related.

If such a macro does not yet exist, would it be possible to write a user macro or a plugin to accomplish this?


Answers:
author: Matthew Erickson
body: Hi Arne,

The two linked feature requests sound like they might be what you want, if so you should vote/comment on them. However if you think a {date} macro is specifically what you need then feel free to raise a new feature request on the TEAMCAL project.

Unfortunatly we do not currently have a documented public API for Team Calendars (see [TEAMCAL-269](https://studio.plugins.atlassian.com/browse/TEAMCAL-269)), so it would probably be hard to write your own plugin.

Cheers,  
Matt


Tags: macro

team-calendars-for-confluence
How can I add myself as a confluence admin, so that I can delete a "Space"
Asked by greg elofson:

I have logged in as admin, but cannot ad myself as a confluence admin. I have created a new user, but cannot add that new user to confluence admin. There is not option for "space" admin, because I cannot -- as an admin -- give privileges for confluence and/or space admin.


Answers:
author: greg elofson
body: Yes, there is someone. It is the sysadmin @noreply. However, while the group for confluence admins was closed to all, under the General Tab permission section, I was able to make it work in the following way: JIRA \> Administration \> Wiki \> Permissions \> Space Permissions \> Manage Permissions (for a unique Space) \> Remove Space. This worked after changing the permission under the Wiki tab, to allow the admin to also be a confluence admin. My prior error was due to trying to change permissions from the "General" tab, instead of the Wiki tab. And this was disallowed for confluence admin.


author: Jobin Kuruvilla [Adaptavist]
body: There must be someone with Confluence Admin rights? Only they can add more people as admin!


author: greg elofson
body: No, I'm not. (Actually I read through some earlier comments you were able to offer another, on the same issue. That person was able to log in as a confluence admin, I am not. Based on your earlier helpful comment, I endeavored to log in as a confluence admin. While I am logged in as an Admin, I am not a confluence admin. Therefore, I tried to change mygroup permissions to become a confluence admin--but was disallowed. I tried to create a new user and give that new user confluence admin privs, but was disallowed. I checked to be sure that i was logged in as an admin, and i was. Right now, only the sysadmin is in the confluence admin group, and no others mayjoin that group. Therefore, i cannot delete a Space.


author: Jobin Kuruvilla [Adaptavist]
body: Are you logged in as a Confluence Admin?


Tags: cloud

confluence-cloud
chart macro does not render in Confluence 4.1.6
Asked by Devu Heda:

Hi,

We have this Chart macros which when migrated from 3.2 to 4.1.6 does not render properly

{code}

{chart:type=timeseries\|dateFormat=ww/yyyy\|dataDisplay=true\|title=Open Space: Closed vs Resolved\|timePeriod=Week\|dataOrientation=vertical\|domainaxisrotateticklabel=true\|legend=true\|width=500\|height=400}

\|\| Week No. \|\| \*Closed (in last 7 days)\* \|\| Resolved \|\| With Dev \|\| \*Total (Resolved + With Devt)\* \|\|

\| 20/2011 \| 0 \| 1 \| 23 \| 24 \|

\| 21/2011 \| 14 \| 5 \| 11 \| 16 \|

\| 22/2011 \| 15 \| 5 \| 14 \| 19 \|

\| 23/2011 \| 17 \| 5 \| 18 \| 23 \|

\| 26/2011 \| 0 \| 15 \| 20 \| 35 \|

\| 27/2011 \| 7 \| 9 \| 23 \| 32 \|

\| 28/2011 \| 9 \| 7 \| 19 \| 26 \|

\| 29/2011 \| 4 \| 6 \| 23 \| 29 \|

\| 30/2011 \| 4 \| 11 \| 15 \| 26 \|

\| 31/2011 \| 14 \| 4 \| 19 \| 23 \|

\| 32/2011 \| 4 \| 10 \| 12 \| 22 \|

\| 33/2011 \| 3 \| 9 \| 4 \| 13 \|

\| 34/2011 \| 8 \| 4 \| 1 \| 5 \|

\| 35/2011 \| 6 \| 1 \| 4 \| 5 \|

\| 36/2011 \| 1 \| 5 \| 3 \| 8 \|

\| 37/2011 \| 9 \| 0 \| 1 \| 1 \|

\| 38/2011 \| 0 \| 0 \| 1 \| 1 \|

\| 39/2011 \| 0 \| 0 \| 0 \| 0 \|

{chart}

{column}

{code}

Many users graphs are render useless

The error I see are

{code}

Error rendering macro 'chart' : org.dom4j.DocumentException: Error on line 1 of document : Attribute id was already specified for element h6. Nested exception: Attribute id was already specified for element h6.

{code}


Answers:
author: Devu Heda
body: This is a known issue <https://jira.atlassian.com/browse/CONF-25106>


author: Septa Cahyadiputra
body: Hi Dave,

Could you please double check if the current [chart macro plugin](https://plugins.atlassian.com/plugins/confluence.extra.chart) installed is a compatible version with Confluence 4.1.6. If its not please update it to the compatible version and [re-attemp migration](http://confluence.atlassian.com/display/DOC/Wiki+Markup+to+XHTML+Migration#WikiMarkuptoXHTMLMigration-Re-attemptMigration) afterwards.

Hope it helps.

Cheers,

Septa Cahyadiputra
Want to build an RSS feed in Confluence
Asked by Damon Gaylor:

Hi,

We are trying to build an RSS feed in Confluence. we are using OnDemand and having you host our app. There used to be a macro available, but we don't see it anymore. Are there any other solutions to this?


Answers:
author: ITops123
body: The documentation for OnDemand is wrong. The RSS Feed Builder is under the question mark icon, NOT the browse icon.

It took me forever to find it.

comments: author: Damon Gaylor
body: Wow, thanks. I finally see it.


author: Azwandi Mohd Aris
body: Or, perhaps you are looking for the RSS Feed Builder? It's in the "Browse" menu.

<http://confluence.atlassian.com/display/DOC/Using+the+RSS+Feed+Builder>

comments: author: Damon Gaylor
body: The problem is there is no link for RSS Feed Builder in the Browse menu. I'm using OnDemand so is that the problem per Andrew's answer above?


author: Andrew Frayling
body: Hi,

Do you mean you want to add an RSS feed to Confluence pages using the RSS macro? Unfortunately this macro is part of the HTML Macros plugin, which is not available with OnDemand.

One possible solution is to use the Widget Connector macro - <http://confluence.atlassian.com/display/DOC/Widget+Connector+Examples> - to point at a Google Gadget such as [http://www.google.com/ig/directory?synd=open\&source=gghp\&num=24\&url=http://1o4.jp/google/module/slim-reader.xml\&output=html](http://www.google.com/ig/directory?synd=open&source=gghp&num=24&url=http://1o4.jp/google/module/slim-reader.xml&output=html) that can display RSS feeds.

Though I must admit I've found Google Gadget rendering in Confluence to be flakey at best.

Hope that's of some help?

Andrew.


Tags: cloud
Cache no clearing after editing the CSS
Asked by Mick Davidson:

Hello,

We wanted to hide the Export to Word function from a couple of spaces and edited the CSS to do this. Two admins did this in the two spaces. We want to remove/hide this from clients so they only use Export to PDF.

We then asked s couple of non-admin users to see if they could still see it, which they could. Which they sholdn't be able to do.

We asked them to refresh their browsers, to log off, close the browser and log on again from scratch, and even to turn their machines off and re-log on. We've also asked them to delete their caches.

But no matter what they did, the option is still visible to them. And they were looking at the right space.

I think its very strange that the two people who edited the CSS to hide this functionality can no longer see it, but ordinary users still can see this.

Does anyone have any thoughts on what else we can do to resolve this.

Cheers.


Answers:
author: Andrew Frayling
body: Hi Mick,

A few suggestions/questions:

1. How was the CSS modified? Custom HTML? Changes to the Space Layout? Changes to the Space CSS?  
2. Have you tried flushing all of Confluence's caches? Browse -\> Confluence Admin -\> Cache Statistics -\> Flush All  
3. For the users that are still seeing the export option can you get them to check the CSS that's being applied by using a browser web development tool? I'm thinking of right click -\> Inspect Element in Google Chrome as it will show you exactly which CSS selectors are being applied and compare that with what the admins changed. What could be happening is slightly different HTML being generated for the non-admins which is causing the CSS selector to not be applied.

Hope that helps?

Andrew.

comments: author: Mick Davidson
body: Andrew,

thanks, sorry been away from the computer all evening, so I've only just seen your response.

(BTW, how many of my questions are you allowed to anser before I have to start paying?) :)

I'll take a look at these with the IT dept tomorrow, but we added the following to the Space Stylesheet:

1. #action-export-word-link {
2. display:none;
3. }


Tags: cache

export

hide

ms-word

print
Confluence 4.1: How exactly does "dynamically removing entries from [favourites] page" work?
Asked by Andreas Wachowski:

The [Confluence 4.1 release notes](http://confluence.atlassian.com/display/DOC/Confluence+4.1+Release+Notes) include in [section 9 (Other Improvements)](http://confluence.atlassian.com/display/DOC/Confluence+4.1+Release+Notes#Confluence41ReleaseNotes-Otherimprovements) the following information (italics by myself):
> You'll now see a newly named and cleaner [Favourites](https://extranet.atlassian.com/users/viewmyfavourites.action) tab in your personal space. *Additionally, the list of favourites is now paginated and dynamically removes entries from that page.*

I don't understand what is meant with the last sentence, and I haven't found anything more specific in the [documentation on favourites](http://confluence.atlassian.com/display/DOC/Working+with+Favourites). Does it mean, that favourites that haven't been accessed for a long time are removed? If so, how old do the favourites have to be for this to happen?

Thanks!


Answers:
author: SarahA
body: Hallo Andreas

Good point! I've updated the release notes to clarify the bit about dynamism. :) It just means that you can click the stars to remove a favourite. That's new on that particular tab. Until Confluence 4.1, you had to go to the page itself or the dashboard to remove the favourite label.

The documentation has not been updated, and it should have been. I've logged a task on our issue tracker, and we'll get to it as soon as we can: <https://jira.atlassian.com/browse/CONF-25105>

Cheers, Sarah
Is it possible to reference an image in source control (FishEye/Crucible) from a Confluence Page?
Asked by Tim Sheppard:

I would like to be able to display an image that is contained in source control (for example an SVG image) within a Confluence page in the same fashion as a **trac** image link using the *\[\[Image(source:/repo/path/image.svg\]\]* syntax (see <http://trac.edgewall.org/wiki/WikiFormatting#Images>).

This would allow us to maintain images in our current source control and always refer to the current version in our documentation, rather than having to update attached images as a separate process.

Is this functtionality provided, or what alternatives are there that would provide similar capabilities?

Many Thanks


Answers:
author: Andrew Frayling
body: Hi Tim,

If there is a web front end to your repo the following should work:

```
!&lt;path to remote image&gt;!
```

e.g.

```
!http://static.bbc.co.uk/frameworks/barlesque/1.40.0/desktop/3.5/img/blq-blocks_grey_alpha.png!
```

You should be able to use images of any format, but whether they display or not will depend on your browser.

Does that help?

Andrew.


author: Ralph van Ettten
body: I like to see the same functionality using a github repository.


Tags: image

link

wiki
Displaying an Image Gallery within Confluence 4.1?
Asked by Jon Briggs:

OK, I know I must be missing something, this is a 101 Question. But is there a way to display just ONE image that with a click or some time then will run through a 'slide show' of images?

I know there is the Gallery Widget, but it lays out all the photos before the click, making it a messy page. We have been using an embedded Goodle Docs presentation, but there has to be something easier, yes?

P.S. Nice Job with 4.1. Love the auto link thingee..


Answers:
author: Septa Cahyadiputra
body: Hi Jon,

Sorry to inform you that Gallery macro would not be able to serve your purpose here, as mentioned before, it would lays out all the photos before zomming it.

Although, a [view office macro](http://confluence.atlassian.com/display/CONF41/View+File+Macro#ViewFileMacro-DisplayinganOfficeorPDFDocumentinConfluence) might help you here. For example creating a powerpoint slideshow file that contains all the photos.

Hope it helps.

Cheers,

Septa Cahyadiputra


Tags: gallery

image
Solaris 11 and confluence
Asked by Lenny_Miceli:

I'm currently running confluence on fedora linux. I'm thinking of converting to solaris 11 on x86. Does confluence 4.1 support solaris 11 on x86? If so, do I just download the linux version of confluence since I don't see a solaris version?

Thanks,

Lenny


Answers:
author: Andy Brook [Plugin People]
body: Solaris is listed <http://confluence.atlassian.com/display/DOC/Supported+Platforms#SupportedPlatforms-2>

Yes, the linux download will be the one you want (standalone?) after all its a Java app so all you need is an appropriate JVM.


Tags: solaris
Jira integration does not show text values for cascading select field
Asked by Martin Aparicio:

See attached document for images.

I am using JIRA 4.1.2 and Confluence 3.5.6. We have a JIRA cascading select field that we are displaying Confluence using the jiraissues macro. The numeric number (id) of the selection is shown in Confluence.


Answers:
author: hsuhailah
body: This appears to be a bug in JIRA and the Confluence JIRA Macros plugin. I have created a bug report at <https://studio.plugins.atlassian.com/browse/CONFJIRA-231> to address this issue. Hope this helps!
How to convert a wiki markup to normal format
Asked by Catherine Mora:

I'm using version 3.5 and I'm extracting page content using the SOAP API. For pages created using the Wiki Markup I get the content in that format, but I would like to convert it to XHTML or any other format without the wiki tags?

I'm aware of the String convertWikiToStorageFormat(String token, String markup) method, but since I'm using version 3.5 it is not available.

Any ideas?

Thanks in advance


Answers:
author: Bob Swift (personal)
body: You will need the Confluence 4.x wsdl or 4.x version of [Confluence SOAP Library](https://studio.plugins.atlassian.com/wiki/display/CSOAPLIB). It will work fine with 3.5. Of course you need a Confluence 4.x to store the converted format :).


Tags: cloud

confluence-cloud
Problems with Crowd token validation when Confluence is sitting behind an Apache proxy.
Asked by Lars Kellogg-Stedman:

We have Confluence sitting behind an Apache proxy running on the same host:

```
&lt;Location / &gt;        ProxyPass          http://127.0.0.1:8080/        ProxyPassReverse   http://127.0.0.1:8080/&lt;/Location&gt;
```

When Confluence attempts to validate a Crowd SSO token, it sets the remote-address validation-factor to "127.0.0.1", like this:

```
&lt;validation-factors&gt;    &lt;validation-factor&gt;        &lt;name&gt;remote_address&lt;/name&gt;        &lt;value&gt;127.0.0.1&lt;/value&gt;    &lt;/validation-factor&gt;    &lt;validation-factor&gt;        &lt;name&gt;X-Forwarded-For&lt;/name&gt;        &lt;value&gt;96.1.2.3, 96.1.2.3&lt;/value&gt;    &lt;/validation-factor&gt;&lt;/validation-factors&gt;
```

Here, the actual remote client is 96.1.2.3. The client connects to Crowd and to Confluence through a front-end proxy; the request arriving at Crowd has these headers:

```
X-Forwarded-For: 10.243.22.47, 10.243.21.54
```

Where 10.243.22.47 is the address of the Confluence host. The requests received by Apache on the Confluence host look like this:

```
X-Forwarded-For: 96.1.2.3
```

And when the request gets received by Tomcat, it looks like this:

```
X-Forwarded-For: 96.1.2.3, 96.1.2.3
```

Is there any way to get this to work? If I understand how things are working (and I may not!), Crowd and Confluence can only do SSO successfully if Confluence is receiving requests directly from clients -- i.e., with no intervening proxies. Is there any way to get Confluence to use the correct remote-address?


Answers:
author: Harry Chan
body: Hi, what list of ips do you have on Crowd's listed of authentication interfaces for the application Confluence? Have you added 127.0.0.1 and the other localhost options?


author: Systems Department
body: Did you ever figure out a solution to this issue? We are facing a similar problem to you and have reached a standstill in solving it.


author: Jobin Kuruvilla [Adaptavist]
body: Have you looked at configuring trusted proxies?

<http://confluence.atlassian.com/display/CROWD/Configuring+Trusted+Proxy+Servers>

comments: author: Lars Kellogg-Stedman
body: I have. You'll note that Confluence is able to authenticate to Crowd despite talking through a proxy; the problem here is that Confluence is providing bad information to Crowd, so no amount of trust is going to solve it. If there were something in Confluence analagous to "trusted proxies" so that Confluence would get the remote-address value from the X-Forwarded-For header that would solve our problem.


author: Lars Kellogg-Stedman
body: To elaborated a bit: we have configured trusted proxies in Crowd, and the validation request is being passwd to the Crowd server by Confluence via one of our trusted proxies.


author: Jobin Kuruvilla [Adaptavist]
body: This page has hepled me in the past: <http://confluence.atlassian.com/display/CROWD/Debugging+SSO+in+environments+with+Proxy+Servers>

You can find the remote ips using this method.Ignore if you have tried this as well ;)


Tags: authentication

crowd

sso
Add "Export to HTML" under Tools menu.
Asked by Michal Zebrowski:

Is there a way to add item "Export page to HTML" under Tools? (smilar to f.e. Export to PDF).

I use Confluence 3.1


Answers:
author: hsuhailah
body: If you wish to add a menu item in the Tools menu, you will need to create a simple plugin that implements the Web UI Module. The location key would be at 'system.content.action'. See these docs for more information:

```

```

* https://developer.atlassian.com/display/CONFDEV/Writing+Confluence+Plugins
* https://developer.atlassian.com/display/CONFDEV/Web+UI+Modules


Tags: export
Can you install Confluence on a yahoo small business server?
Asked by Yahoo Smallbusiness:

I have a small business hosted on yahoo small business server and would like to setup Confluence. Has anyone successfully done this?


Answers:
author: Andrew Frayling
body: Hi,

Installing Confluence on Yahoo Small Business Server is not going to work as Confluence is a Java-based web application and Yahoo Small Business Server does not provide Java as an available language.

If you're interested in a hosted version of Confluence rather than running your own servers your best bet is [Atlassian OnDemand](http://www.atlassian.com/software/ondemand/overview). Alternatively you could use managed hosting such as [Contegix](http://www.contegix.com/solutions/managed-applications/applications/confluence/) or a Virtual Private Server provider such as [RackSpace Cloud](http://www.rackspace.com/cloud/).

Hope that helps?

Andrew.
How to mass-update email addresses
Asked by hans-peter.geier:

I need to update all user records (accounts), to set a new email address.

Is there a tool (postgresql script?) available to perform the update, so I can save developping such a script myself?

Our Confluence and Jira instances are hooked up to LDAP AD (no crowd).

I'm not sure whether the email address would be automatically synchronized from LDAP once this is updated,

or do we need to update the local records?


Answers:
author: hans-peter.geier
body: what's the ID of the duplicate?