youngmon/atlassian-qna huggingface dataset:
Can only access confluence on one network?
Asked by Derek Sudduth:

I have Confluence running on Cent OS. We have two networks: development and production. Confluence is available on the developement network, however it is not available on production. Why would it be available on one network and not another? Perhaps it something with the Tomcat server? I appreciate any leads that can be offered.


Answers:
author: Nic Brough -Adaptavist-
body: It's not the Tomcat, unless you've done quite a lot of configuration work on it. In fact, it's unlikely to even be the server (again, unless you've put some effort into blocking stuff deliberately). The most likely culprit is simply that the production network isn't configured to see the server you're running confluence on.

Simple test - try nslookup \<your server\> on both networks. If they come back with the same IP address, good, then try tracert and ping that server. I suspect you'll find there is no route to the production server, or it doesn't respond because the network is not able to reach it.


Tags: network
Need help to view an attached HTML Page
Asked by Steven Parsons:

Is there anyway I can attach a saved HTML file into CF. Then use the Iframe macro (or any other macro) to view that html page on a CF page? Or can anyone think of a better solution for viewing a HTM(L) file on a confluence page.

Currently I am having to host the HTML page on another server.

thanks


Answers:
author: Bob Swift (personal)
body: I think there are a number of ways of doing this, here is one that I know works :).

Use the [HTML Macro](https://bobswift.atlassian.net/wiki/display/HTML/HTML+Macro) from [HTML Plugin for Confluence](https://bobswift.atlassian.net/wiki/display/HTML). You can display html from an attachment, system file, or url. For example, here is the wiki markup version of how you would do it or just use the Macro browser to prompt for similar:

```
{html:script=spacename:home^example.html}{html}
```

Unless you only have trusted users editing content on your site, consider using [Macro Security for Confluence](https://bobswift.atlassian.net/wiki/display/CMSP) to avoid security exposures by allowing hmtl content on your site.

comments: author: Steven Parsons
body: Thanks for your suggestion Bob. Do you know if this is also possible with the HTML plugin thats built into confluence?


author: Bob Swift (personal)
body: If you don't have security concerns on your site, enable the Atlassian HTML macros and see if it supports your use case. html-include supports including html from a url. I don't think there is any support for attachment or system file inclusion, although you can use the url of an attachment if necessary.


Tags: confluence-administration
Hipchat plugin: Bylines on updates are incorrect
Asked by Jason Muffett:

We are running confluence 5.2, and have installed and configured the Hipchat plugin via the administrative panel. What we've noticed is that when it puts a link in the configured channel, and says something like "page updated by $NAME", it only lists the original creator of the page or blog post, not the name of the user updating that page. This is obviously a little problematic with a wiki, as other users are updating pages all the time.

I have been unable to find any configurable options for this plugin that would affect it, but perhaps I missed it? Or is this a known bug with 5.2?


Answers:
author: rich
body: Fixed moments ago and available at <https://marketplace.atlassian.com/plugins/com.atlassian.labs.hipchat.confluence-hipchat>


author: Brendon Baumgartner
body: THANK YOU FOR REMOVING THE BOOGIE MAN FROM OUR CHAT ROOMS.

...people were about to call the exorcist. It was crazy!


author: Ben Tsai
body: I have the same problem. I found this issue in their tracker:

<https://bitbucket.org/atlassian/hipchat-for-confluence/issue/20/page-update-in-confluence-shows-wrong>


author: Brendon Baumgartner
body: I have the same problem. Any news on this?


Tags: bug

hipchat
View all spaces/pages a user can access
Asked by Eugenie Kim:

Hi,

I know you can view all the groups a user belongs to, but what if I need to see all spaces/pages a user has access to, in one list? Is that possible? For some reason I cen't to figure out how to do this basic-seeming thing.


Answers:
author: Nic Brough -Adaptavist-
body: There isn't any facility to do this actually. So you're not missing anything!

You can get quite sneaky with some of the plugins and macros, but the one I've used in the past is not available to OnDemand (and I don't know if it's available/compatible past Confluence 3.5!)

comments: author: Eugenie Kim
body: Thanks, Nic - that's crazy! Maybe I will request that feature.


Tags: cloud

confluence-cloud
JSON-RPC storePage/getPage not working properly
Asked by Erich Leipold:

I thought I had a problem using storePage, because it did not return any results. Having abandoned the idea that the JSON-RPC method should return the RemotePage instance, I focused on using getPage right after the storePage to get the ID for the newly-created page. I am not getting any content in my reply. Below are the two calls that I am using from a Linux shell:

curl --trace - --basic -u \<username\>:\<password\> --data '{"jsonrpc":"2.0","method":"storePage","params":{"space":"CLI","title":"Test Organization 2","content":"Some Content","parentId":25886799}}' -H "Content-Type: application/json" <https://confluex.atlassian.net:443/wiki/rpc/json-rpc/confluenceservice-v2>

curl --trace - --basic -u \<username\>:\<password\> --data '{"jsonrpc":"2.0","method":"getPage","params":{"spaceKey":"CLI","pageTitle":"Test Organization 2"}}' -H "Content-Type: application/json" <https://confluex.atlassian.net:443/wiki/rpc/json-rpc/confluenceservice-v2>

Both of those commands returns a zero-byte response. However, the storePage actually creates the Wiki page exactly where I want it. Am I doing something incorrectly?

We have an OnDemand instance of Confluence.


Answers:
author: Steve Muskiewicz
body: Hi,

We are also an OnDemand customer, I was testing out the Confluence JSON-RPC API today and saw exactly the same problem as you did, zero-byte response from pretty much any of the methods that I tried (including "getSpace").

However, I just tried using the "light protocol" as mentioned in the docs [](https://developer.atlassian.com/display/CONFDEV/Confluence+JSON-RPC+APIs#ConfluenceJSON-RPCAPIs-TheLightProtocol)<https://developer.atlassian.com/display/CONFDEV/Confluence+JSON-RPC+APIs#ConfluenceJSON-RPCAPIs-TheLightProtocol>and that seemed to work for me.

Not sure why one works but the other doesn't, maybe a bug?

(Also FYI, I remember reading on some Google result that the "spaceKey" parameter name was actually a typo and it should be just "space" but that didn't seem to matter, nothing with the "heavy" protocol in OnDemand seems to work right for me at least.)

HTH, it would be nice to hear from Atlassian if there is some kind of problem in OnDemand with this or whether we are doing something wrong.

-steve

comments: author: Erich Leipold
body: Thanks, Steve. It will take me a little while to get back to this project, but I am interested in trying your suggestion. I'll let you know if this works out for me.


Tags: cloud

confluence-cloud
Confluence 5.3 String comparing Excerpts isn't working
Asked by Catherine Kramer:

In Confluence v.5.3, I'm trying to write a User Macro that creates a table from my index page's children. Each child page has an Excerpt macro in it that I need to add to the index page's table. From my User Macro, the excerpts are being pulled out by calling Excerpt-Include within my macro. They are printing quite fine on the table.

My problem is I can't seem to use the excerpts within an if-else comparison. For whatever reason, it's not comparing them because of a type incompatibility or I'm writing it incorrectly. This is what I am attempting to do:

    #set($macroFinal = "{excerpt-include:" + $page.getTitle() + "|nopanel=true}") #set($myexcerpt = $action.getHelper().renderConfluenceMacro($macroFinal).replaceAll('"', '&quot;') + " ") #if($myexcerpt == "High") #set($colors = "#F0F0F0") #else #set($colors = "#FFFFFF") #end 

Any idea how to get the comparison to work?


Answers:
author: Catherine Kramer
body: Well, I feel a little silly now. After some more fiddling with it, it turns out I just needed a "toString" on the end of the macro call.

#set($myexcerpt = $action.getHelper().renderConfluenceMacro($macroFinal).replaceAll('"', '\&quot;').toString())

Worked perfectly fine after I got that in. So, note to everyone, when in doubt, toString. XD


Tags: compare

download

excerpt

string

user-macro
Accessing confluence from a local laptop
Asked by nicholas wade:

I want to be able to access Confluence from my laptop.

Confluence is installed on my PC with default settings (localhost:8090)

If I change the configuration address of Confluence from localhost:8090 to 192.168.0.8:8090 (the address of my PC running Confluence on it) the address is not recognised in the laptop browser.

I have tried additionally altering the system.xml to reflect the different address.

As an experiment, I installed XAMP on the same PC (as Confluence) and can easily access that from my laptop.

I realise that localhost is a special address but surely it should be easy enough to change this and then access Confluence from another machine on the same LAN?


Answers:
author: Nic Brough -Adaptavist-
body: The usual problem is the firewall - user machines are not generally expected to run services, so firewalls default to blocking external access (i.e. any route other than "localhost")

You shouldn't need to change the system.xml, it's not Confluence that is failing here, it's your network settings trying to protect you! Of course, it might not be a firewall too - dodgy routing or some other things can interfere with network connectivity. But I'd start by checking the firewall. At the very least, you need to enable TCP coming in over port 8090

Also, try a "netstat -plant" if you're on a Unix like machine to see what the machine seems to be listening to.

comments: author: nicholas wade
body: Correct-a-mundo! Spot on, it was the firewall. I had turned my Avast software firewall etc off but Windows 7 firewall was on.

It must be that :8080 links are allowed by default and :8090 links need to be configured.

Many thanks
How can I quickly remove users of Confluence who haven't logged in for 3 months?
Asked by David Hornsby:

Currently the only way I can see to remove users is individually by their name...

I need to remove 90+ users....


Answers:
author: David Hornsby
body: Thanks again for such a quick response Luther, and please accept my apologies I should've stated that I am using the 'OnDemand' version of the product...I don't think I have access to the DB...


author: David Hornsby
body: Hi Luther,

Thanks for your response.

I'm guessing this can't be configured based on a user's last log in?

When the Imacro is replayed how does it decide which user to disable?

Thanks again

comments: author: Luther Hargrove
body: This may not be the answer you were looking for, but if I had around 100 users to delete I would do this:

1. Write a SQL report to display users who have not logged in recently.

2. Extract those usernames from the SQL report.

3. Record the following event in confluence (Search for the 'username' \> delete user) This will give you 2 lines in Imacros for every delete.

4. I would then wrap the code around each username that I pulled out of SQL. This would give me 2 lines in IMacros per user deletion.

5. Run it to delete only the user names specified from the SQL report.

This obviously assumes that you have access to SQL and can easily wrap some code around the username section of the Imacro recording using excell or something. Hopefully all that isn't too confusing.


author: Luther Hargrove
body: Removing them individually is the way to go. For doing repetative stuff like this though, I typically use Imacros. You can record the event of removing a user and then configure it to be replayed and remove the remainder of users.

Not an official 'Atlassian' method by any means, but an effective way to do some browser automation. Imacros is a firefox plugin that you can use to automate stuff in your browser and it's free.


Tags: confluence-administration
OnDemand Confluence: colour of text and background in tables
Asked by Graham Meaden:

How do you change the default colour of text and background in header rows and columns in a table in confluence ondemand? I cannot access the CSS

The help site says there is a menu option Confluence Admin -\> Stylesheet, but this is not available.


Answers:
author: Graham Meaden
body: No this did not answer my question.


author: Graham Meaden
body: How do you close this \*\*\*\* question?


author: Davin Studer
body: For text highlight the text and then clikc the color change button. (see the image below)  
![](../../upfiles/TextColor.png)

For table background select the cell(s) that you want to change and then click the table background color button. (see image below).

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

comments: author: Graham Meaden
body: I understand this. Perhaps I should have been clearer.

I want to change the "default" style of tables...which I understand you can do through css. I want to know how to do this.


author: Davin Studer
body: Did this answer your question?


Tags: cloud

confluence-cloud
Should no licenses of add-on match no licenses for Confluence
Asked by Onno van der Straaten:

We are interested in purchasing the add-on Gliffy. But we don't need as many licenses for it as for Confluence. Only a small number of users will use the add-on.

Can we buy the add-on with less licenses than we have for Confluence?

And how will this work?


Answers:
author: Onno van der Straaten
body: We have two key requirements: Confluence/JIRA integration and MS Visio import. Is MS Visio import supported by Creately? Diagramly?

comments: author: Davin Studer
body: Creately can do Visio import and is for Confluence and Jira. Diagramly is only for Confluence right now but it can imort .vdx files. You might want to get a trial and test how well the Visio fles import. I've had some that have been a bit wonky.


author: Davin Studer
body: Creately, will let you have a different license than your Confluence license. Another option to look at is Diagramly ... which is free and really good.


author: Onno van der Straaten
body: Hi Katy,

It seems it is not a problem so I expect I will be placing an order soon for 500 users. Of course first we will use the trial edition but Gliffy looks great so...

Thanks,

Onno


author: KatyK
body: Hi Onno,

Gliffy moved to the Atlassian Marketplace July 2013, so Gliffy must follow Atlassian's policy that the license level you have in Confluence must match the Gliffy license level. Unfortunately that means that you cannot purchase a lower level than the one you have in Confluence. We speak more about this here: [](http://support.gliffy.com/entries/266090-Confluence-Plugin-Allow-Gliffy-license-to-check-user-groups-other-than-confluence-users)<http://support.gliffy.com/entries/266090-Confluence-Plugin-Allow-Gliffy-license-to-check-user-groups-other-than-confluence-users>

Katy

Gliffy Support


Tags: confluence-administration

gliffy
User Management, add admin
Asked by Stephan Ullmann:

Hello there,

I tried to add another user to the admin group (Melanie Ullmann), so that my colleague is able to erase pages and can add users by her own - I managed to add Melanie to the admin group, but she still cant erase pages and cant add users.

Can you help me?

Kind regards

Stephan


Answers:
author: Steve Gerstner [bridgingIT]
body: Please check if the page you intend to edit has individual restricitions and check, that the admin group is admin in the space you want to edit


author: Stephan Ullmann
body: It works... thank you!!!


Tags: cloud

confluence-cloud
Arsensal Lockpoint deactivates Attachment Action Macros
Asked by Fabian Toth:

Hi,

since i use Arsenal Lockpoint to lock Officde Document during the editing process, i can not activate the Attachment Action Macros anymore. Becuase of this i can't rename my attachments when the Lockpoint PlugIn is installed.

Did anybody know how i can solve this incompatibility?

Thanks a lot!

Br, Fabian


Answers:
author: Scott Dudley [Inactive]
body: Fabian,

The Attachment Actions Plugin is the Confluence system component responsible for providing the links for not only Properties, but also for Remove and other related functions. In order for Lockpoint to function correctly, we need to apply a different set of permissions to each of these links, and the targets of the URLs also need to be changed. For this reason, Lockpoint disables certain portions of the Attachment Actions plugin and replaces each disabled component with its own equivalent functionality.

In the case of the Properties link/button, we do not remove the feature entirely. Instead, we require that the user first lock the document before the Properties link/button will appear. Managing this link is a necessary and essential part of the locking process, since one can rename a file and/or move it to another space by way of the default Properties link. A file that is locked by another user should not be renamed or moved, so we require users to initiate a lock before they can take those actions with a file.

I hope this explains the functionality of the system in more detail.


Tags: attachment
Add a "like" button on section/paragraph/row...
Asked by alexandre vautier:

Hi,

One the page of our wiki is a wish list where everybody can add ideas (they simply edit the page and add a row in a table). I would like the ability for people to "like" an idea and see the total number of likes (same way as facebook, just one click and a counter).  
So that the wish list is a little bit more than one person whishing one item.

Any idea where I can find such feature ?

We use version 4.1.4.

Thanks !


Answers:
author: Nils Bier _K15t_
body: Hi Alexandre,

you could try using JIRA for that (e.g. create a new project "Ideas" and use the votes-functionality to track the most wanted ideas).

The issues can then be integrated to Confluence.

Have you thought about that?

Cheers,  
Nils

comments: author: Mick Davidson
body: Nice idea Nils! :)


author: alexandre vautier
body: Thanks for the idea but we don't use JIRA at all and I wouldn't like to install it just for this tiny feature.
Auto restrict page to creator and a defined group
Asked by office@vonhellberg.eu:

Hi all,

we have created a scaffolding template for some confidential data, that should be visible only by a group of lawers and the creator (creators can be every user).

We could tell everybody that they should restrict the page to "me" and the group "lawers". But it might be too risky that some confidential content could be red by non authorized confluece users, if authors forget to set permissions.

So the Idea was to find a way to auto-assign restrictions to new created pages in a specified space. I read the run/CLI Plugin documentation by Bob Swift but I did find any clue how to get the creator of a page programmatically.

Does anybody have an idea how to auto-restrict pages to the creator and a specified group?

thanks

philipp


Answers:
author: office@vonhellberg.eu
body: I found a solution with the run and CLI plugin.

As the user creates a page the restriction is set. There is also a similar script for the lawer-group.

```
{run:replace=name:$current_user_id:Name|titleRun=Change permission|autorun=true}{cli:profile=confluence|hideOutput=false}--action addPermissions --permissions view --id $page_id --userId $name{cli}{run}
```


author: Steve Gerstner [bridgingIT]
body: Hi Philipp,

you can write your own plugin. All you need is an EventListener.

If writing a plugin is an option for you?

Regards

Steve

comments: author: office@vonhellberg.eu
body: Hi Steve, thanks for the hint. But now I found a solution with the run and CLI plugin. (See below)


author: office@vonhellberg.eu
body: I tried this with no success:

```
--action runFromContentList --search "perm" --space KNOW --common '--action addPermissions --permissions edit --id @pageId@ --userId @creator@'
```

or

```
--action runFromPageList  --space cli --common '--action addPermissions --permissions edit --id @pageId@ --userId @creator@'
```


Tags: bob-swift

cli

confluence-administration

restriction
How to change port 8090 to 80
Asked by Alex Rogov:

Dear Support Team,

We recently purchased confluence software.

We want to change default confluence port 8090 to 80.

We run confluence v5.3 under Windows 7.

I have searched knowledge base and found advise to change port 8090 to 80 in server.xlm file.

It works. But when I created a new user and send an email to the user which will allow him to set up their password -- it created link to our database but with port 8090.

For instance: [http://wiki.guzik.com:8090/resetuserpassword.action?username=al.vanderschans\&token=0768eff111c9a8ae0270cd9770849778aede926a](http://wiki.guzik.com:8090/resetuserpassword.action?username=al.vanderschans&token=0768eff111c9a8ae0270cd9770849778aede926a)

Please advise what should I change else.

Best Regards,

Alex Rogov


Answers:
author: Nic Brough -Adaptavist-
body: Did you change the base url as well? Under Admin -\> General settings

comments: author: Alex Rogov
body: The issue was resolved after change under Admin -\> General settings -\>Server Base URL port 8090 to 80
Multiple confluence on windows server
Asked by Han Limburg:

Hi Atlassians!

I just tried installing a 2nd confluence instance on a Win2012 server box. All goes well, I used different ports, but the 2nd service doesnt seem to start...There is a similar help for a linux case, but the tips do not work for windows.

Any help appreciated (of course)

Han


Answers:
author: Han Limburg
body: Solved! I apparently forgot to change the admin port (8000) during installation...changed it in /conf/server.xml...

comments: author: Nic Brough -Adaptavist-
body: Ah, I'll cancel that last post I was about to wave you at the admin ports :-)


author: Han Limburg
body: Hi Nic,

The log gives me this (part):

SEVERE: StandardServer.await: create\[8000\]:   
java.net.BindException: Address already in use: JVM_Bind  
at java.net.DualStackPlainSocketImpl.bind0(Native Method)

Apparently other ports need to be changed too?

yrs han


author: Nic Brough -Adaptavist-
body: What does the log file for the second instance say? It should tell you why it's not starting.

comments: author: Han Limburg
body: Hi Nic,

The log gives me this (part):

SEVERE: StandardServer.await: create\[8000\]:   
java.net.BindException: Address already in use: JVM_Bind  
at java.net.DualStackPlainSocketImpl.bind0(Native Method)

Apparently other ports need to be changed too?

yrs han


Tags: confluence-administration
how do I make the child page the main home page?
Asked by Abby Draper:

how do I turn the child page into the main confluence wiki page - and elimiate the current main page?

<br />


Answers:
author: Davin Studer
body: In confluce admin on the General Configuration page you can set up the space that has the site homepage. Then with in space admin for the space that is set as home on the Space Details page there is a box that says "Home page". You can set the page in that space that will be the home.

comments: author: Davin Studer
body: Did this answer your question?


author: Steve Maiorano
body: no


author: Marconi
body: apparently it did not answered his, but definitively works for me, thanks !

![](../../upfiles/001_1.png)