youngmon/atlassian-qna huggingface dataset:
Has anyone experienced broken links upon upgrade to Confluence 4.0?
Asked by epohl:

We just upgraded to Confluence 4 and are experiencing a weird bug. If we edit a page that contains links to other pages, when we click save, all links are changed to point to the page being edited.

This happens when we add a link in a comment, too. Add a comment, enter a link to another page. Save the comment, the link is changed to point to the page the comment is on.

Has anyone experienced this or does anyone have any ideas how to fix it?


Answers:
author: epohl
body: This had to do with useHttpOnly from:

```
&lt;Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true&gt; in server.xml
```

All is well now :-)
Confluence: Offline dump (for standalone PC)
Asked by Christian Sprenger:

Hi there!

We're really lookfing forward to get Confluence but before we apply we need to clarify something before.

Let me briefly explain:

We'll have the regular online availability of Conf but we need an offline dump for standalone PCs where we do not have Internet available (and no, adding a GPRS Device or so in not an option ;) )

Is it possible to "export" into a format like CHM (Windows Help)?

When I export to HMTL can I use a "standalone" Server programm on this PC to see exactely the same as online?

What about Access rights?

Thank you very much, I really appreciate your answers!

BR

Chris


Answers:
author: David at David Simpson Apps
body: Take a look at K15t's [Scroll Wiki](http://www.k15t.com/display/en/Scroll-Wiki) exporters or AppFire's [Firestarter](http://www.appfire.com/firestarter/).

* Cc: @Stefan Kleineikenscheidt
* Cc: @Ajay Goel

comments: author: Christian Sprenger
body: Thank you so much.

I'll have a more detailed look into it but at the first glance it looks like our solution.


Tags: export

offline
Find pages without labels
Asked by Bruce Schlueter:

Hi out there,

is there an easy way to find all pages without a label? I know there is a macro for content by label and it is possible to exclude labels but right now we have nearly 160 labels and I do not want to add them all to the macro.

Thanks,

Bruce


Answers:
author: Sandro Herrmann [Communardo]
body: This is possible by writing a usermacro that iterates over all spaces and its pages searching for pages without a label. But such a usermacro will slow down your system dependent on how big your confluence instance is. Such a macro should only be shortly used by an administrator.

Here is the usermacro code.

```
## @noparams## DO NOT USE THIS MACRO ON A LOT OF PAGES BECAUSE OF PERFORMANCE ISSUES. IT DEFINITELY WILL SLOW DOWN YOU SYSTEM!!!!!#set($containerManagerClass=$action.class.forName('com.atlassian.spring.container.ContainerManager'))#set($getInstanceMethod=$containerManagerClass.getDeclaredMethod('getInstance',null))#set($containerManager=$getInstanceMethod.invoke(null,null))#set($containerContext=$containerManager.containerContext)  ## the pageManager gives you access to the pages#set($pageManager =$containerContext.getComponent('pageManager')) ## the spaceManager gives you access to the spaces#set($spaceManager =$containerContext.getComponent('spaceManager'))   ##over all spaces (WARNING THIS COULD TAKE SOME TIME ON BIG CF INSTANCES )#foreach( $space in $spaceManager.getAllSpaces() )       &lt;b&gt;Unlabeled pages in space $space.name&lt;b&gt;    &lt;ul&gt;    ##over each page in the current space ( WARNING THIS COULD TAKE SOME TIME ON BIG CF INSTANCES)    #foreach( $page in $pageManager.getPages( $space, true) )           #if( $page.labels.size() == 0 )               &lt;li&gt;&lt;a href="$req.contextPath$page.urlPath"&gt;$page.title&lt;/a&gt;&lt;/li&gt;        #end    #end    &lt;/ul&gt;#end
```

Testet with my Confluence 4.0.

comments: author: Bruce Schlueter
body: Thanks, I will try that
Error 500 on Confluence Plugin Repository Client for 3.2.1/3.3.3
Asked by Olivier Olivier:

Hy,

I get a code 500 error when using the Plugin Repository section of our 3.2.1 Confluence install. It also occurs on a 3.3.3 install.

I went to the Knowledge Base for [Troubleshooting Confluence Atlassian Plugin Repository Client](http://confluence.atlassian.com/display/CONFKB/Troubleshooting+Confluence+Atlassian+Plugin+Repository+Client) and in the section named "[Unable to Access Confluence Plugin Repository Client](http://confluence.atlassian.com/display/CONFKB/Unable+to+Access+Confluence+Plugin+Repository+Client)", I tried the diagnosis.

It states: *Try accessing [the plugin repository destination](http://confluence.atlassian.com/plugin-repository/proxy.action?profile=confluence&amp;decorator=none&amp;buildNumber=1724&amp;repoClientVer=2.1.6&amp;os=x86&amp;javaVer=1.6.0_10&amp;javaVendor=Sun+Microsystems+Inc) directly using a browser.*

I get the following, which is the exact same error when trying from Confluence admin section.

```
&lt;status&gt;  &lt;status-code&gt;500&lt;/status-code&gt;  &lt;sub-code&gt;java.lang.NullPointerException&lt;/sub-code&gt;&lt;/status&gt;
```

Are 3.2.1/3.3.3 plugin repository not supported anymore ? Is the repository just down ? Or is the repository relocated to a new location, if so, how can I change the URL ?

Thank you for your help, I'm currently working on upgrading our 3.2.1 install to 3.3.3 (to migrate from Oracle 10 to 11) then to 3.5 then to 4.0. And correctly managing our plugins upgrade path is important.


Answers:
author: Youri Tegelaers
body: The problem is now known with Atlassian, vote and watch the issue here:

<https://studio.atlassian.com/browse/PAC-1159>

comments: author: Tino Winkler _Communardo_
body: Thanks for pointing out the issue.

By the way, the problem seams to be fixed now. At least the Plugin Repo is working again for me.


author: Olivier Olivier
body: Everything is working now. Thank you.


author: Tino Winkler _Communardo_
body: I'm having exactly the same problem with a Confluence 3.2.1_01 installation. Does anyone know more about this?


Tags: confluence-app

repository
Link multiple Excel spreadsheets within Confluence
Asked by Christian Czaia _Decadis AG_:

Hi, I don't know if my previous issue has ben raised correctly so I'll try again.

Our customer needs to link various Excel spreadsheet e.g. cell links in order to get different functions working. Is this possible in Confluence too since it doesn't store attachments in a regular filesystem...We'Re using the viewfil macro and the office connector.

Thanks in advance

Christian


Answers:
author: Christian Czaia _Decadis AG_
body: We have established a connection to Confluence via Webdav and webfolders. That solved our problem as from now on we are able to adress the location of the different spreadsheats (via their URL (webfolder) or the specific letter of the mounted network drive)

Here is how you do it:

<http://confluence.atlassian.com/display/DOC/Configuring+a+WebDAV+client+for+Confluence>


Tags: ms-excel

ms-office
List all links in a Space
Asked by Chris Ramakers:

Is there a way to list all links in a Space? We have recently migrated one of our servers and i need to update alot of links in a pretty extensive Space. It'd feel alot more confident when i had a list of all links (either internet or external) in a Space.

Is this possible?


Answers:
author: Jonathan Simonoff
body: The only way I can think of to do this is to write an external program to use the API to read the page content and look for the links. You could do a similar thing with a plugin, bu that would be harder.


Tags: cloud

confluence-cloud
Email content to a wiki page?
Asked by Emily Johnson:

Does anyone know if there is a way to add content to a wiki page other than an expensive plugin? Ultimately I want to create a feedback box at the bottom of the page that sends the feedback to another wiki page.

Thanks!

Emily


Answers:
author: Sandro Herrmann [Communardo]
body: A simple way to implement feedback functionality is to create a page called "Feedback".

Now you can create a "add comment"- Link to the "Feedback" page. This link can be inserted in all pages you want to have feedback for. By clicking the link the user will be forwarded to the "Feedback" page with an already opened comment window.

To create the "add comment" Link for the Feeback page:

* Click "add comment" on the "Feedback" page
* copy the browser url
* Now you can use this url in every page you want to have feedback for
  * simply create a link with whis url

comments: author: Emily Johnson
body: Hi Sandro,

It's an interesting idea, and I didn't realize you could do that, but I don't want feedback givers to see other feedback or to be redirected.

Thanks for the suggestion though.

Emily


Tags: cloud

confluence-cloud
Wiki dashboard no longer updates
Asked by Travis Krempa:

Would anyone be able to help me understand why our Wiki dashboard no longer updates?


Answers:
author: Remo Siegwart
body: What version of Confluence are you using? Did you try to rebuild the search index (go to: **Confluence Admin** =\> **Content Indexing** =\> **Rebuild**)? We had some customers with similar problems, rebuilding the search index helped in most cases.

comments: author: Travis Krempa
body: Version 3.5.9.

Thanks for responding Remo and yes I have recently rebuilt the 'search index' which appeared to resolve the issue, but once again the dashboard is not refreshing. Could this be a possible issue with the local caches and the fact that I may need to flush the cache for certain things that are at 100% used? The problem is I don't know what the pros/cons are of flushing the cache.


author: Remo Siegwart
body: I would check the log files if there are any related error messages. Otherwise i would suggest to contact Atlassian support.

I assume you already tried to restart Confluence? You could try to flush the caches, but I'm not sure if it will solve the problem. The cons are that after flushing the cache the first X requests to the database for Confluence content like attachments, pages, users, etc. or to Crowd will take much longer as usual. This won't have much of an impact if your Confluence has not many users/much content, but in bigger instances it could have.


author: Ole Kristensen
body: If restart didn't work you probably need more RAM on the server.


Tags: dashboard
Integrating Doxygen documentation into Confluence
Asked by Jay Barra:

Has anyone tried integrating doxygen documentation or some other output from some other type of automatic documentation software into Confluence? My only solution was to just put a link on a page to the doxygen output.


Answers:
author: Elizabeth
body: AppFusions' plugin Doxygen for Atlassian Confluence support this need. <https://www.appfusions.com/display/DOXYGEN/Home>

<https://www.youtube.com/watch?v=uISYPvAoegk>

comments: author: elliott Bott
body: for anyone coming here later, it's now <https://docs.appfusions.com/display/DOXYGEN/Home>


author: Bob Swift (personal)
body: Our automated build produces the doxygen directory and copies (via a share) to a location under \<installdir\>/confluence. From there, we have a few links in Confluence into the doxygen generated output. Once user goes to doxygen, it just doxygen generated links within the documentation. Confluence doesn't know anything about the doxygen pages, it is just happens to be used to serve the html pages as a convenience so we don't need another web server to worry about. This approach seemed like the easiest approach while maintaining all the doxygen links.


author: Owens IT
body: I discovered this method for fully integrating doxygen docs into Confluence and am about to test it to see how well it works. I'll post my findings as soon as I have tried it.

[http://colonelpanic.net/2010/10/integrating-doxygen-and-confluence/](http://colonelpanic.net/2010/10/integrating-doxygen-and-confluence/ "Integrating doxygen documentation into Confluence")


author: Owens IT
body: I tried the article I posted and things appear rather horribly broken. I didn't have time to fix everything yet, but I would like to do so, as I do think it has the potential to work well. I'll update the question once I've found a way to get it all working.


author: Rumceisz
body: Hi,

I met the same request. What are your experince with the feature?

Best Regards,

Rumi


Tags: documentation

integration
Cant rank issues
Asked by Davor:

Hi

I am using greenhopper, and I cant rank issues.

Can u please help


Answers:
author: MinC
body: Did you include the Fix Version field on the screen in JIRA? Also, ensure that Fix Version field is not in a hidden mode which you can check this on Field Configurations page. You can refer to this Knowledge Base: <http://confluence.atlassian.com/display/GHKB/Planning+and+Task+Board+Cards+are+not+Visible+when+%27Fix+Version%27+Field+is+Hidden>

comments: author: Davor
body: Ok, i think now it is ok


author: sclowes
body: Hi Davor,

You haven't mentioned if you're using the new Rapid Boards or the existing Planning/Task/Chart boards. Assuming it's the Planning board you will need to make sure that the project is configured with a ranking field. The easiest way to do this is configuring the project to use the Scrum template, the documentation for this is at:

<http://confluence.atlassian.com/display/GH/Configuring+your+General+Project+Settings>

Thanks,

Shaun

comments: author: Davor
body: tnx

but now i have another problem, i cant see anything in planing board :)


Tags: jira-software

rank
Syntax of profile picture macro
Asked by Christian Christian:

Hi guys!

Since Confluence 4 it is not possible anymore to see the syntax of a macro. As we are using refinedwiki theme with a customized layout, I want to show the profile picture of the current logged in user on the dashboard. But to be able to solve this I would need to know the syntax of this macro, like {profile-picture\|user=@self}

thanks,  
Christian


Answers:
author: David at David Simpson Apps
body: Browse to **Tools \| View Storage Format** and you'll get something like

```
<ac:macro ac:name="profile-picture"><ac:parameter ac:name="User">david</ac:parameter></ac:macro>
```

Wrap this is a user macro and you get...

```
## Macro title: My Profile Picture## Macro has a body: N## Body processing: None## Output: HTML#### Developed by: David Simpson## Date created: dd/mm/yyyy## Installed by: My Name## Display a picture of the currently logged in user#if($action.remoteUser)<ac:macro ac:name="profile-picture"><ac:parameter ac:name="User">$action.remoteUser.name</ac:parameter></ac:macro>#end
```

comments: author: Christian Christian
body: Hi David!

Thanks a lot - finally I got it. And finally I got the answer how to use macros wherever there is no macro editor available!

T H A N K Y O U ! ! !


author: David at David Simpson Apps
body: @Christian Neureiter: If the answer was good enough, upvote it and/or mark it as correct :)


author: Christian Christian
body: One more question to this. The macro is working fine and does exactly what it should. The only problem is that on the landing page it shows "[![](http://193.154.158.13/rkweb//images/icons/profilepics/anonymous.png)](http://193.154.158.13/rkweb/display/%7E$action.remoteUser.name "") $action.remoteUser.fullName" if the user has not logged in yet. How can this be hidden from users which are not logged in yet? As far as I know the hide-from and show-to macro is not yet compatible with confluence v4.


author: David at David Simpson Apps
body: @Christian Neureiter: Check the update. Hopefully it will fix your problem.


author: Christian Christian
body: Works perfect - thanks a lot!


author: Volker Bliscz
body: Hi Christian, hi David,

is it possible to use this macro with wiki markup, too? For instance defining template pages or where else wiki markup is still used.

ciao
Site is setup for anonymous access, but login window unfortunately still comes up...
Asked by Henry Wilkinson:

I have a documentation space I have setup and configured for anonymous access (both at the space level and globally). When a user goes to a linked URL for the home page for the space, they get the Login Page.

I'd like the user to go (without a login) to the space.

The "Global Permissions" - Anonymous access has "can use" active.

The space's "Anonymous Access" is set so "Anonymous" has "View" active.

I've also verified that the server base URL is the same URL being used by the page being accessed.

Any help that can be provided would be appreciated!


Answers:
author: Henry Wilkinson
body: The Home page set for the Space was set with restricted access - meaning ony a defined group had access.

Removing the restriction allowed Anonymous access again.

Thanks go to Andrew and another tech at Atlassian Support for figuring this out!


Tags: anonymous

login
default settings in user profiles
Asked by Christian Christian:

Hi guys!

One problem which worries me now already for quite some time. We are facing the issue that some of our users are "lazy" and are not "following" simple rules like doing specific settings in their user profile. I want my user to activate notification settings "Blog" and "daily updates". Is there a way to do "default settings" for all user profiles? Either way via GUI or database?

thanks,  
Christian


Answers:
author: nepakhatun
body: \[url=http://www.fixtrox.com/\]IT Support Singapore\[/url\]

\[url=http://www.fixtrox.com/\]IT Server Support singapore\[/url\]

With over 4 years in the Smartphone repair and repair business, we have built strong relationships with customers all across the Singapore by providing certified repairs and with good customer service within takes short time within 45min repair

comments: author: Christian Christian
body: Thank you very much for your great help and really, really helpful answer ....


author: David at David Simpson Apps
body: If I were to tackle this, I'd write a plugin that sets these to the required values on user creation -- likely using an [EventListener module](https://developer.atlassian.com/display/CONFDEV/Event+Listener+Module).

For existing users, I would write a script that cycles through each user and updates the required settings. Maybe @Bob Swift's Confluence CLI could help achieve some of this as it seems to be the Swiss Army Knife tool for Confluence admins :)

comments: author: Christian Christian
body: Hi David!

Unfortunately I am not a developer, hence writting a plugin on my own is unfortunately not an option ;-)

Had a look on the CLI, but have not found anything to achieve this one. Maybe I should try <https://plugins.atlassian.com/plugin/details/9475> ? Seems to be cumbersome as you need to do for each single user, but better than nothing ;-)

Christian


author: David at David Simpson Apps
body: Confluence SU would work if you've got a whole load of time, patience and enjoy ongoing maintenance chores :)

However there are a whole lot of "Atlassian Experts" (e.g. AppFusions) who could write a custom plugin for you. Failing that, perhaps add a feature request in the core product and you *may* be surprised with a quick response.
Global Permissions & RSS
Asked by Jeremy Seely:

Is it possible to push out RSS feed data to people who do not have access to our Confluence installation? Or to put it another way, can someone subscribe to a Confluence RSS feed who is not a registered user of Confluence?

<br />

Also, we are looking to implement Confluence for our development team. Most of the information contained would be confidential, even from other departments in the company, but there are a few pages that we would like the entire Customer Service to be able to access:

a. Would each Customer Service rep have to be counted as a license holder, even if we only want them to see 1or 2 pages?

b. Is it possible to give some users access only to a few specific pages and nothing else, even forbidding accessto the Dashboard? If not, what would be your recommendation for the most efficient way to accomplish this goal?

Thanks for the help!


Answers:
author: Rodrigo Girardi Adami
body: Hi Jeremy,

As far as I know, the RSS can be subscribed for Anonymous users and authenticated users. There is no way to allow restricted pages feeds to be accessed by anonymous users. They can only see public pages feeds.

As for the permissions:

a) That's correct. Even if they are going to see just one page, you must set a permission for each one and they will count towards the license.

b) This is possible for pages indeed. For that you must place the users you want to restrict inside a group that doesn't have permission to access the spaces. Then you can just restrict the pages you'd like with a[view page restriction](https://confluence.atlassian.com/x/liAC). The user when login to confluence will just see the space and the page that they have access to view.

For the dashboard, you may want to [add a custom javascript to accomplish this](/questions/53618/is-it-possible-to-prevent-dashboard-access-by-user) since confluence doesn't have this functionality embedded.

Cheers,

Rodrigo


Tags: permission

rss
Confluence 4 Content Survey and Reporting Plugi
Asked by Richard Scorgie:

When is the Content Survey and Reporting Plugin going to work with 4.0?

I really need this thing soon. Any other similar plugins that anyone has found?


Answers:
author: Richard Scorgie
body: The version for 4.0 is out!! :)


author: Bob Swift (personal)
body: [Confluence 4.0 compatibility for Table and other plugins](https://studio.plugins.atlassian.com/wiki/display/TBL/2011/09/19/Confluence+4.0+compatibility+for+Table+and+other+plugins)

comments: author: Richard Scorgie
body: Thanks Bob,  
I see it isn't even on the list. :(  
I can't even find it at the plugin exchange.   

Is 4.0 ready for production or should I have chosen a previous version?


author: Bob Swift (personal)
body: That was to answer your second question. My opinion on your new question is [Feedback on confluence 4.0 - your opinion](/questions/21282/feedback-on-confluence-4-0-your-opinion/21284) . It will still be a while before some of the critical plugins are all done (more than compatibility mode). I know the customware guys are working on Reporting and other plugins, customware site might have some more updates.


Tags: confluence-app

content

report

survey
How can I set the contents of a page include as a variable in a macro? Or can I strip out the tags from a page include?(Confluence)
Asked by Steve Goldberg:

So I'm trying to do something along the lines of:

#set($paramversion = {include:globalpages:_TemplateVersionCurrent})

I want the contents of the page "_TemplateCurrentVersion" to be set as a variable so that I can use it throughout the macro.

I have tried merely using {include:globalpages:_TemplateVersionCurrent} in the places that I want it, which works to an extent, except that it also includes the \<p\> tags, which is no good if I am using it for a URL (as it returns "\<p\>v10\</p\>" rather than "v10"). This gets me http://mydomain.com/latesttemplates/\<p\>v10\</p\> instead of <http://mydomain.com/latesttemplates/v10>.

So I want to know if it's possible to strip the \<p\> tags out and store it is a variable.

Thanks


Answers:
author: David at David Simpson Apps
body: If you want to remove the HTML tags, you could try something like this:

```
#set( $html = "&lt;p&gt;xxx&lt;/p&gt;" )#set( $plain = $html.replaceAll("\\&lt;.*?&gt;","") )$plain ## should give just "xxx"
```

...or similar.

This is clearly not foolproof but might be almost good enough.

comments: author: Steve Goldberg
body: Hey David,

You are on to something. Technically what you've written is correct but it seems that when it comes to stripping out the code, it does not recognise the \<p\> tags when it's doing the .replaceAll function and so doesn't strip it out. This means that when it comes to putting in the URL, it still has the \<p\> tags in. I think it's because it doesn't see it as plain text until it reaches the URL.

Does that make sense?


Tags: include

macro

page

variable