youngmon/atlassian-qna huggingface dataset:
Hiding parts of a page in Confluence 4?
Asked by Dennis Benzinger SAP:

We want to hide parts of a page to some users in Confluence 4. In Confluence 3 we used the [CustomWare Visibility Plugin](https://plugins.atlassian.com/plugin/details/202) for this.

What can we do in Confluence 4?


Answers:
author: Dennis Benzinger SAP
body: Since version 2.0.0 the plugin is compatible with Confluence 4:  
https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.visibility/version/12


author: Lisa Kadir
body: Dennis -

I've just discovered another post mentioning this plugin and I thought it might be a solution to what I wanted. Were you having issues with it in confluence 4?

comments: author: Dennis Benzinger SAP
body: I haven't even tried the plugin with Confluence 4. When I posted my question the plugin was not compatible with Confluence 4 yet.


author: Bob Swift (personal)
body: Create a user macro called hide or similar with body and have it not return anything.


Tags: app
Connection Test to SharePoint fails with 'Problem connection to SharePoint (null). Check the atlassian-confluence.log for exception details'
Asked by Aleksandr Serebriakov:

Atlasian-confluence.log:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in URL bundle://62.0:10/META-INF/cxf/cxf.fixml : Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class org.apache.cxf.wsdl11.WSDLManagerImpl : Constructor threw exception; nested exception is java.lang.ClassCastException: com.sun.xml.bind.v2.runtime.JAXBContextImpl cannot be cast to javax.xml.bind.JAXBContext

tryed different java versions, didn't change a thing


Answers:
author: Joe Clark
body: This error occurs when an incompatible version of the SharePoint Connector is installed in Confluence.

Have a look at the plugin compatibility matrix here: <https://plugins.atlassian.com/plugin/matrix/235>

You will see that versions ending in "jaxb" are designed for Confluence 3.3 and earlier, while versions without the "jaxb" suffix are designed for Confluence 3.4 and later. Installing the wrong one will cause an error like the one you are seeing when trying to connect to SharePoint.


Tags: sharepoint
Can not modify group membership failed
Asked by Richard Scorgie:

I'm experiencing some strange behaviour when trying to use the AD connection.   

In the user directories page i see the following error message just below the sync button.   

Last synchronised at 11/15/11 5:56 PM (took 22s). "

Synchronisation failed. See server logs for details."  

However i can find the users when i search for users i the manage users page. But when i try to add a user to a group i get the following error:  

"The following error(s) occurred:  
cannot.modify.group.membership.failed"  

Anyone have any ideas? I've looked at the catalina.out log file but i cant find any errors there. Which other log files are there where i can see details about this error?


Answers:
author: Sander Brienen [Avisi]
body: In your User Directory config for AD, did you set your LDAP permissions to read/write? If the permissions are set to read-only, you cannot add users to a group from within Confluence.

Also another tip: If your confluence users are not in the group named confluence-users in AD and you do not want to configure each space individually to add the correct AD group for users to have access, use the option "Read Only, with Local Groups". This will move any user, logging in into Confluence, to be copied automatically to confluence-users in de Confluence internal directory. This is especially handy when you want to create a new space and not add your AD group to every space.

comments: author: Richard Scorgie
body: Thanks for the help.

If I understand this correctly then if I set up the LDAP Permissions in COnfluence to Read Only with Local Groups, and add 'confluence-users' to the Default Group Memberships Field then users will automatically be added to that group.


author: Sander Brienen [Avisi]
body: Yes. On first login, the user info is copied from AD to the Confluence User Directory. See it as a local cache. The default group membership indicates to what group this user is copied.
Upgrade from v3.5.3 to 4.0.4 failed to shutdown service
Asked by Huy Ung:

Hi,

When upgrading the current version on the machine to the latest one, it gave an error Confluence failed to shutdown. Please kill the process manually before proceeding.

I checked the service and it was stopped. Previously it was running.

I also tried to stop the service before running the upgrade and it gave the same message.

I checked the machine log and there's nothing there.

Thanks,

Huy


Answers:
author: Huy Ung
body: Thanks for the suggestions.

It's Windows Server. I tried rebooting the machine and setting the service to manually but still getting the error message.

I have also downloaded MS Internal. Did not see any process coming from that particular folder.

Not sure but the server also have Crowd, Jira and Crucible/FishEye.

It's authenticated using Crowd.


author: Sander Brienen [Avisi]
body: Since you talk about services, you must be on a Windows server, right?

Even though Windows is telling you that the service is stopped, I would check the process list anyway to check if there are any Java processes running. It might be that there is still a Confluence process running. If more then one Java process is running, then it is difficult to determine which one is Confluence. The best option is to set the Confluence service to start manually and then restart the server. Now Confluence is defenately stopped. Now try to rerun the upgrade tool again.

comments: author: Remon van G
body: FYI: this cmd line entry does the same listing in windows:

WMIC /OUTPUT:C:\\temp\\ProcessList.txt PROCESS get Caption,Commandline,Processid

Then open C:\\temp\\ProcessList.txt and kill the process. A tool like the MS sysinternals is real usefull here. (<http://technet.microsoft.com/en-us/sysinternals/bb896653>)  

But Sander's advice defenately does the same :)  


author: Huy Ung
body: Thanks for the suggestions.

It's Windows Server. I tried rebooting the machine and setting the service to manually but still getting the error message.

I have also downloaded MS Internal. Did not see any process coming from that particular folder.

Not sure but the server also have Crowd, Jira and Crucible/FishEye.

It's authenticated using Crowd.
How to make a pop-up message in Confluence? Link to glossary.
Asked by Alex Bobrovski:

Hi,

how to do the next: a user hovers over a link and Confluence shows the "hint" pop-up message?


Answers:
author: SarahA
body: Hallo Alexander

Jodie Miners wrote a blog post, in which she describes a user macro that she wrote to display a popup that displays text from a glossary and then links to the glossary item:

\<tt\><http://jodiem.com.au/2011/08/13/building-a-glossary-in-confluence/>\</tt\>

I hope her post answers your question. :)

Cheers, Sarah


author: Sandro Herrmann [Communardo]
body: Hello Alexander,

on what links do you want to hover? And what should be inside the popup overlay?
Keeping sections together in a PDF file
Asked by Michele C:

Our wiki consists of various topics. Each topic has a header, a screen shot of the dialog, and a table that explains the options in the screen shot. When I export the space into a PDF file, the heading appears on one page, and then then the screen shot appears on the second page.

Example of page 1:

Heading 1

Screen shot

Heading 1

Page 2:

Screen shot

Heading 1

Page 3:

Screen shot

In RoboHelp, I was able to keep topic headings with the screen shot. This was similar to using "Keep with next" section breaks in MS Word. If the screen shot did not fit on the first page, the heading 1 would appear on the second page with the screen shot.

I found some information in the wiki user reference documentation that shows how to edit the PDF style sheet and create a page break after each topic. This does not solve the issue. I am left with topic headings that appear on a page by itself.

1. .pagetitle
2. {
3. page-break-before: always;
4. }   

I could possibly change the page top/bottom margins, but I don't think that will work. Basically, I want to keep the heading so that it appears on the next page with the screen shot.

Are there any suggestions on how I would be able to use "Keep with next" like I would in MS Word?


Answers:
author: tk385
body: I have the same need. Whenever I include a large screenshot, it flows to the next page while leaving the description paragraph in prior page.

Is there any solution?


author: Sander Brienen [Avisi]
body: The 'keep with next' is not really implemented. What I normally use to force a page-break in the pdf document is the {divbox} macro, like {divbox:class=pagebreak}{divbox}. The class pagebreak is then a (custom) css class in your PDF stylesheet with a page-break-before.

But we have also implemented the pagebreaks on PDF's. You should then set the page-break-before style on the h1 tag instead of the pagetitle class, like:

h1 {

page-break-before: always;

}

comments: author: Michele C
body: The solution helped, but I am still having some issues. In the PDF, I am actually using H1, H2, H3. I inserted page breaks on H1, but it caused some issues where there was H3 on a page, and a screen shot on the next page.

I then tried using a page break on H1 and on H3. That almost solved the problem. I skipped through the document and I have some blank pages. I think it's because there is some white space and then it breaks when it find the H3 heading.

I think I may need to manually insert the page breaks within the document using a macro. I am not sure if that would still fix the problems with the blank pages that end up in the PDF file.

Is there a feaure request for "keep with next"? If so, what is the status in having it implemented?


author: Michele C
body: I tried using a page break. I still end up with a heading on one page and an image on the next page.

Is there a feaure request for "keep with next"? If so, what is the status in having it implemented?


Tags: pdf

stylesheet
Numbered lists break when you remove the numbering function from lines in the sequence that do not need to use numbers.
Asked by Mick Davidson:

**Numbered lists break when you remove the numbering function from lines in the sequence that do not need to use numbers.**

How do you make a numbered list that includes lines (and graphics, figure numbers etc) that do not need to be numbered? My experience is that *all* lines have to have them.

If I remove the numbers from the lines I don't want them on, the following lines start renumbering from 1, which is pretty useless.

The only fix is to add them manually, but this isn't what I want to do. Before V4 I could force them to work in wiki markup, this is not an option in V4.

Cheers,


Answers:
author: Matt
body: Press SHIFT+ENTER to add a line between a two items on a numbered list.

comments: author: Mick Davidson
body: Matt,

Thanks, that worked. It's great when you're creating the list from scracth, but not so handy if you've got imported pages where the numbering already existed. All ours have changed so that after each graphic and title, the numbered list reverts to 1.

To get arund this I've had to de-number the list apart from the first one, then move all the steps above the grpahics as renumber them. As I did this I used Chift+Enter to create spaces for the graphics and figure numbers. I then added these back as appropriate. Which is a pretty tedious process and I have dozens of these to to.

I'm lookng for volunteers... :)

Thanks again.


author: Eric Vook
body: Leave the numbers on.

You have lines in groups, some text and some diagrams.

Use the Shift+Enter to add lines to a group with the same number.

If you want to start the "next" number, go to the end of the last line in the group, hit DELETE to remove the newline.

Then hit plain "Enter" and the numbering will continue on the line you add.

Use this delete-then-enter pattern to work your way down the list.

comments: author: Sherral Trotter
body: Thank you, this did help. But maybe you can help with a related problem. I am inserting the Note macro between some of my numbered items. I noticed it won't let me insert the note on a line that is formatted with the numbered list. However, if I turn it off to insert the note, it starts renumbering underneath note with #1. I want it to continue numbering. The Shift enter does allow me to create a blank line and insert and image but it won't let me insert the note. Any ideas?


Tags: list

number
Group migration when upgrading to Confluence 3.5
Asked by ictsadmin:

We are able to get Confluence 3.5 installed without issue. We are also able to run the script that moves the users from the older version to the new configuration without issue, but the groups are not migrated once we try to run the script that will move them. This can be problematic since we have a lot of local confluence groups. At this point we have been unable to locate any help on this. Is there any assistance that you can provide on this since we are unable to move to newer versions until this gets resolved.

Also all users are Active Directory users if that helps.


Answers:
author: Bruna Griebeler
body: Hi there!

I beliueve this KB is a good way to go for this case: <https://confluence.atlassian.com/display/CONFKB/LDAP+synchronisation+process+takes+too+long+if+number+of+users+or+groups+is+large>

Cheers!
How best to import spaces from 3.0.1 to 3.4.6?
Asked by John Cottier:

Hi,

I am required to import spaces from Confluence v3.0.1 to 3.4.6, have followed the upgrade procedures (upgrade 3.0.1 to 3.4.6 and attempt to export spaces), plus the workaround (renumber version within the exportDescriptor.properties file) but cannot get the content exported from 3.0.1 to be visible in 3.4.6

Please confirm the best method of acheiving this.

Many thanks.


Answers:
author: John Cottier
body: Thanks Gregory,

I have previously tried the export pages and spaces to XML (creates zip archive) from 3.0.1, then tried the restore into 3.4.6, but I just get the version difference alert and the restore goes no further.

Could you give some more information as to how you got the export from 3.0.2 to import into 3.4.6 please?

Thanks.


author: Gregory Sudderth
body: How funny you mention these two exact numbers.

We exported the entire wiki in XML format, from 3.0.2, and then upgraded to 3.4.6, and imported it.

We had no luck with per-space exports, as those seemed to be locked into the exact version. We had a space export from a subcontractor that was using 3.4.6 when they made it, hence the specific version.

Since then, our wiki has grown such that XML export for the whole thing no longer works. We have since upgraded to 3.5.13 in test and are about to do that for production.


Tags: upgrade
Can I have space title on cover page of PDF export?
Asked by Stanislav Kalianov:

Confluence documentation describes how to add cover page to PDF export. This is done through "Customising the PDF Layout" and "Customising the PDF Stylesheet". Examples show this with static string. Is there a way to automatically place space name on cover page?

I understand that PDF stylesheet is specific to a space, so I can edit space title directly in it, but with maore than 20 spaces it becomes tedious.

Also, I would like to include the output date on cover page. We have CSS function "counter(page);" to count pages. Is there equivalent CSS function to access date and time?


Answers:
author: Marcel Plomp
body: I have exactly the same questions.

Anybody.....?


Tags: export

pdf

stylesheet

titlepage
Links to anchors in other pages does not work
Asked by Lars Sj?gren:

Hi,

A user asked me the other day how to link to specific locations in a page. I pointed out the Confluence User Guide section that deals wiht this and he says that he followed it but cannot get links to anchors in other pages to work (links ot anchors within the same page works fine). Sure enough, neither could I. We follow the instructions and use the specified syntax for anchor:

```
{anchor:anchor}
```

And link:

```
[pagetitle#anchor]
```

What happens is that the correct page opens, but at the top of the page and not at the anchor position. I read somewhere in the Forum that some IPhone plugin could cause problems, but we don't have that installed. We eun Confluence 3.4.9.

Regards,

Lars


Answers:
author: Lars Sj?gren
body: Thanks for your suggestions. I've tried them all but without luck.

After posting this, I tried what I should have tried from the very start (which is something one would not think one would have to try since this is supposedly a good and solid application): I tried another browser. And it works fine! Originally, I used FireFox since that's the browser I am using. Then I tried in IE and all the test links I created using FF work fine.

Thanks again for your help though.

comments: author: Gregory Sudderth
body: No worries! That's so weird that its FF that's broken! File it!


author: mattcobb
body: It no longer works on any browser:

<https://jira.atlassian.com/browse/CONFCLOUD-62589>

Please up vote it


author: Gregory Sudderth
body: Culprits:

- Permissions

- Space Key: I had problems with older confluence when there were weird characters (punctuation) in the space key...I have no idea how they got there as you can't create spaces with those characters

- Title of document: Try something simple, single-word and see what you get.

- Spaces: Are the two documents in the same space?

- Character Set: are there any non-ASCII-generic-"American" letters in the anchor, title, or space keys?

Good luck!


author: Lars Sj?gren
body: This is the syntax I'm using and it doesn't work. Any other clues as to why this doesn't work?


author: Gregory Sudderth
body: Ok, let's say you have two documents, Moe, and Larry.

In Larry, you make an anchor:

```
{anchor:secondpageanchor}
```

And in the Moe document, you have this link:

```
[Larry#secondpageanchor]
```


Tags: anchor

link
Jira 4.3 and Confluence 4.0 integration compatibility
Asked by Alexander Sergeev:

We are using Jira 4.3 and Confluence 3.5 (with integration)

We would like to upgrade Confluence up to 4.0.

Is Confluence 4.0 still compatible with Jira 4.3?


Answers:
author: Alexander Sergeev
body: Looks like yes: <http://blogs.atlassian.com/2011/09/new_confluence_4_release_testimonials/#comments>

Thank you, Matt)


Tags: integration

jira

upgrade
Mandatory Atlassian footer: 2 of the four links are dead'uns.
Asked by Michelle O'Riordan:

The mandatory footer: Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki \| Report a bug \| Atlassian News

contains four links: Powered by Atlassian and Report a Bug work. However the Enterprise Wiki (<http://www.atlassian.com/software/confluence/tour/enterprise-wiki.jsp>) and Atlassian News (<http://www.atlassian.com/about/connected.jsp?s_kwcid=Confluence-stayintouch>) are dead links.

Exactly how much of this text am I required to display according to the EULA please? What is the minimum?


Answers:
author: Joe Clark
body: We've got a documentation topic on this question: <http://confluence.atlassian.com/display/DOC/Editing+the+Footer>


Tags: footer
when uploading mp4 and flashvideo file it does not work
Asked by Danny Verhaegen:

tried to upload those 2 types of file, and when wanted to view the they do nothing and th plugin is installed.


Answers:
author: William Zanchet [Atlassian]
body: Hey Prateek,  

Actually I raised a bug report for .swf files as you can see here:  

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

Could you please see if that is your case?  

Cheers,  

WZ


author: Prateek Jain
body: William, even .swf format is not working. Can you please put some more light on this issue.!! Thanks.


author: William Zanchet [Atlassian]
body: Unfortunately, currently flash videos and mp4 videos are not supported by Confluence. The supported formats are : SWF, MOV, WMA, WMV, MPEG, MPG,RAM, RM, MP3, and AVI.
Confluence on VPS. Virtuozzo at Westnet.
Asked by Chris Severn:

I want to install Confluence on our ISP's virtual server offering. Westnet offer the following VPS options. They use Virtuozzo, running either Linux or Windows. I'd probably go for Debian Linux.

<http://www.westnet.com.au/business/vps/>

I've seen the Atlassian info about Confluence on VMWare, and the basic system requirements for 5 concurrent users. It looks like the VPS2 package from Westnet would suffice. It offers 1GB RAM, 2GHz CPU, 30GB storage, 100GB traffic.

Does anyone have specific experience or comments regarding running Confluence on a Virtuozzo virtual private server? I'd appreciate any advice before jumping into it. Info on suggested alternative Australian VPS offerings also gratefully received.


Answers:
author: Colin Goudie
body: I am running a Confluence instance on a Web24 VPS (Virtuozzo container). It runs great but I do have 2Gb of RAM assigned to Confluence (4 gig total). They took a few days (which I think was not normal) to get the server provisioned but from there it's been great.

Very fast from Australia.

As an alternate, I also use some dedicated hosts from Server4You in the US. I recommend for those that want to self manage and don't mind the US latency. 12Gb of RAM didicated for $80 is great value.

comments: author: Chris Severn
body: Thanks Colin. Does the Virtuozzo control panel allow you to assign RAM to different apps, or if not, how did you assign a particular amount of memory to Confluence? Is that a Confluence setting?


author: Colin Goudie
body: Yes, it's just a standard Linux install so you can control the amount of RAM using the Xmx Java memory setting


Tags: vmware
Using Macros & Wiki Markup in Confluence 4.x
Asked by Bryan Choate:

I'm attempting to programmatically add content to a page in Confluence via the SOAP api. Essentially, I want to say something like this:

h1. {color:#000000}v3.1 (built Sun Nov 13 15:57:44 EST 2011; deployed %%PROD_DATE%%){color} \|\| Time \|\| Server \|\| \| %%BETA_DATE%% \| %%BETA_MACHINES%% \| \| %%PROD_DATE%% \| %%PROD_MACHINES%% \| {jiraissues:url=[http://jiraserver:8080/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+PROJ+AND+fixVersion+%3D+%223.1%22+ORDER+BY+priority+DESC](http://jira.media6degrees.com:8081/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+JDEV+AND+fixVersion+%3D+%223.1%22+ORDER+BY+priority+DESC)}

<br />

In v3.1, I could just paste that into the non-WYSIWYG editor and everything would be fine; however, in v4.x, if I paste that into the editor, it doesn't render- it just shows up as raw text. Since there's no more distinction between wiki markup and wysiwyg, the rendering happens realtime, and adding large chunks of wiki markup kills it. Is there a way to do what I want in v4?


Answers:
author: Remo Siegwart
body: In the new editor of Confluence 4 you should be able to paste your wiki markup in the dialog window when you go to **Insert =\> Wiki Markup**.

If you want to add content programmatically, there is a helper method [convertWikiToStorageFormat in version 2 of the remote API](https://developer.atlassian.com/display/CONFDEV/Confluence+XML-RPC+and+SOAP+APIs#ConfluenceXML-RPCandSOAPAPIs-General).

comments: author: Bryan Choate
body: Thanks Remo! That was exactly what I needed.


Tags: macro

markup