youngmon/atlassian-qna huggingface dataset:
Optum Wiki Links are showed up as No page found!
Asked by SaiKranthiKumar Kola:

We were able to access the two Application info links till last Friday. But some how from Friday night these turned up as "no page found" error coming up on screen.

<http://wiki.optum.com/display/PA/Basics+Servers>  
<http://wiki.optum.com/display/PA/Basics+UI+URLs>

As a follow up for support assistance above link turned up me to Atlassian Confluence support community.

So, Could you find out and let us know if there any changes / updates happen for these URL screens?


Answers:
author: Nic Brough -Adaptavist-
body: That suggests the proxy server is not able to reach those pages.

We can't tell you about the config of your servers, we're just end-users as well. I think you need to talk to your admins.
Lock Confluence page during editing
Asked by Tanya Botta:

Does anyone know if there is a macro/plugin that will lock a page for edits when it is already being edited? Similar to the Arsenale Lockpoint plugin for attachments but for pages where you want to better control the edits.


Answers:
author: Ollie Guan
body: Hi [@Tanya Botta](/t5/user/viewprofilepage/user-id/842956),

There are several ways to do this, for example

1.use page restrictions

2.Collaboration Editing

![1.png](https://community.atlassian.com/t5/image/serverpage/image-id/33790i9738430AFDE817AC/image-size/large?v=v2&px=999 "1.png")![2.png](https://community.atlassian.com/t5/image/serverpage/image-id/33791iBCAF640A637FA0B0/image-size/large?v=v2&px=999 "2.png")

Pls refer to the following article?

<https://community.atlassian.com/t5/Confluence-questions/Is-there-a-way-to-to-lock-a-Confluence-page-for-editing-purposes/qaq-p/23628>

<https://confluence.atlassian.com/doc/collaborative-editing-858771779.html>

Hope this helps.

comments: author: Tanya Botta
body: Thanks Ollie. I'm looking more for something that will lock the page for edits when someone is already editing and release the lock when editing is complete. This would not require users to change the permissions each time, since that requires a specific permission level each time and can also be messy when trying to change permissions back to what existed prior.

I'm guessing a macro/plugin might exist that could lock and release the page based upon edit status. If not maybe someone could pick up this idea and run with it?


Tags: confluence-server

server
Searching - Page ranking?
Asked by Shawn in Van:

Hello all,

I am still struggling with searching in Confluence Cloud and I am looking for solutions.

I decided to start a new thread to discuss some specific observations. My previous thread has some great tips on customizing one's searches. Thank you [@Shannon S](/t5/user/viewprofilepage/user-id/510046)   
<https://community.atlassian.com/t5/Confluence-questions/Improving-search-results-in-Confluence-Cloud/qaq-p/822553#U904512>

<br />

The issue that I would like to know more about involves search results and page ranking.

When searching Confluence, I noticed that there is no apparent page ranking. What I mean is that if, for example, I search for "certificate". I expect that the most popular or relevant and/or most recent pages will be listed first. Rather... what I get are 218 results, where the most relevant pages are listed in about 12th place. The top results don't even have the specific search term, "certificate". Instead, most of the results have the close but incorrect term, "certification".   

Thanks to community help, I learned that I can search for a specific term by issuing the following search term: title = "search term"

But is there a way to achieve proper page ranking?  

Thank you


Answers:
author: rohit patel
body: Did any one find a better way to get the search on confluence work with lesser junk results?

Is there any other custom code that we can use?

I have created a knowledge base and we have heaps of content pages, documents, images.. etc. When i try to search for a specific content using a keyword, is gets flooded with so much of unwanted and irrelavant search results.

Is there any way to have best bets or something similar setup?


author: Shawn in Van
body: Nothing? :(


Tags: cloud

confluence-cloud

search
"Days Remaining in Sprint Gadget" stopped working.
Asked by Shawn in Van:

Until recently, this macro/gadget stopped working with the following message,   

*This gadget cannot be displayed on your dashboard. This could be due to a licensing problem or an application error. If you need this gadget, contact your administrator for assistance. Otherwise, you can remove it from your dashboard.*

Does anyone know what happened and how to fix this?

I am using the Cloud-edition of Confluence.

Thank you.


Answers:
author: Shannon S
body: Hi Shawn,

Can you confirm that Jira Software is also up and running on your instance?

If so, the Cloud team may need to have a look at your instance.

Regards,

Shannon


Tags: cloud

confluence-cloud

gadget

jira-software

sprint
How do I find a set of users that are not part of one group and are active
Asked by Mike:

I am working to find users who have been left over active but have no active groups.

Although this sql query is helpful, it does not determine if they are still active or not:

    SELECT * FROM cwd_userWHERE id NOT IN (SELECT m.child_user_id FROM cwd_membership AS m		 JOIN cwd_group AS g ON m.parent_id = g.id		 WHERE g.group_name = '<group_name>');

Having issues adding or similar:

    where ACTIVE = 'T';?

Any help would be greatly appreciated. Thanks

Confluence 6.6.6


Answers:
author: Shawn C
body: Hi Mike,

For the most part, your SQL looks right however you'd want to use a lowercased "active" in your SQL if you want to filter by it. Something like this should work:

```
SELECT * 
FROM cwd_user
WHERE id NOT IN (SELECT m.child_user_id FROM cwd_membership AS m
 JOIN cwd_group AS g ON m.parent_id = g.id
 WHERE g.group_name = '<group_name>')
 and active = 'T' ;
```

What's happening when you try to include your where active condition?

Cheers,  
Shawn

comments: author: Mike
body: Thanks Shawn. I will see if I can work with this query output. My goal was to find users who are not associated to *any* groups and are **active**


author: Shawn C
body: Hi Mike,

I get you now; try [this one](https://community.atlassian.com/t5/Jira-questions/Re-How-can-I-find-all-JIRA-users-without-any-group-assignments/qaq-p/303322/comment-id/126814#M126814) and it should give you a list of Active Users that do not have group memberships:

```
SELECT U.ID, U.user_name, G.group_name
FROM cwd_user U
LEFT JOIN cwd_membership M ON U.ID = M.child_user_id
LEFT JOIN cwd_group G ON G.ID = M.parent_id
WHERE M.child_user_id IS NULL
and U.active='T';
```

Cheers,  
Shawn


author: Mike
body: Perfecto!


Tags: confluence-server

server
are confluence macros (generating html) executed in series or in parallel?
Asked by Alexander Hansen:

hello,

i'm maintaining a macro for confluence which makes REST requests to jira api.

however at any time there may be thousand instances of this macro on a confluence page.

my REST requests to jira api take 300 ms which a colleague told me is normal.

if the macros were executed in parallel that wouldn't be a problem but i don't know about that. please respond.


Answers:
author: Shawn C
body: Hi Alexander,

The calls are going to be run asynchronously in series against Jira and if there are thousands of these macros on a single Page, the page might timeout before we'll have results.

What are you trying to generate with these thousands of macros?  
Are these macros something we can try to simplify down or is it possible to collect the Jira data externally using the [Jira API](https://developer.atlassian.com/server/jira/platform/rest-apis/) and then update the page with the returned results using the [Confluence API](https://developer.atlassian.com/server/confluence/confluence-server-rest-api/)?

Cheers,  
Shawn


Tags: confluence-server

jira

jira-server

server
Creating Tabs
Asked by Michael Bowman:

I used Confluence about 4 years ago on a project but not recently. I am on a trial version of Confluence for right now. Previously, I had been able to create tabs within the project that I was working on but I don't see it in the trial version. Is the ability to create tabs only in a paid versions of Confluence?


Answers:
author: Nic Brough -Adaptavist-
body: I suspect your old Confluence had one of the add-ons that enables tabs - navitabs or composition for example.


author: Michael Bowman
body: Okay--thank you


author: Kimberly Deal _Columbus ACE_
body: Hi [@Michael Bowman](/t5/user/viewprofilepage/user-id/2058123)  

Welcome to the community!  
I was going to say much what [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) suggested, you likely had an add-on/plugin that gave you the tab functionality.

The trial version of the products are full products, though there is some differences in the built in functionality for Server vs Cloud products with was sort of macros come included. So for example, a macro that you might have had in Cloud, wouldn't come standard in Server. I am not as familiar with what comes with the base installs for the different Confluence platforms as I am with Jira, but I don't believe I have seen tabs as built in functionality in either platform.   

There are a couple of vendors on the marketplace with Apps that will give you that additional functionality, if you need it.


author: Erica Moss
body: Hi, Michael! Welcome to the community. I'm going to move your post to the [Confluence collection](https://community.atlassian.com/t5/Confluence/ct-p/confluence), where I hope you can get a good answer from the experts there. Feel free to [introduce](https://community.atlassian.com/t5/Welcome-Center/Oh-hello-Show-us-the-view-outside-your-window/gpm-p/876542) yourself, too!


Tags: tab
API CQL to search for Strings in Confluence
Asked by Luke Groves:

Hi all,

I am trying to write something that will let me use the API to search for a given string throughout Confluence.   
For example if I want to search for the string 'testString' I can use:

```
http://<localhost>:8090/rest/api/content/search?cql=type=page+and+text~"testString"&expand=body.storage
```

This appears to work as expected and returns all spaces/pages with 'testString' in the body of the page.

However I want to search across other Confluence sources such as:

* History - content of previous page versions
* Comments
* Attachments

It feels like this should be simple but try as I might I haven't been able to modify my existing query above to accommodate these other sources as the results are never found when I test it.

Has anyone done this before? Suggestions would be most welcome.

<br />

Thanks very much!


Answers:
author: Jan-Peter Rusch
body: Hi Luke,

you are searching only on pages (type=page). Try leaving that parameter away:

```
http://<localhost>:8090/rest/api/content/search?cql=text~"testString"&expand=body.storage

```

This will search attachments, comments, pages \& blogs. I'm pretty sure, that the page history cannot be searched.

You might want to extent the result to more than 25 hits, as it's limited to this by default.

Best

JP

comments: author: Luke Groves
body: Thank you Jan-Peter, thats just what I needed! I completely missed that I was still searching on pages.

As you say it doesn't seem to return 'history' values and I may have to leave that one for now but this gets me most of the way there.

Thanks again, really appreciated,

Luke


author: Oliver Chapple
body: Also worth noting that you ought to make sure when you are searching multiple keywords either by using a search with cql=text or cql=title then you should make sure there is a + between each of the keywords (replacing the space) in your search string and the whole string must be enclosed by double quotes. So any code used may mean you need to add a regex to .replace the space characters in your string with a +


Tags: confluence-server

cql

server
LASTMODDATE is null
Asked by Eva Dezsi:

Hi all,

Do you know why in Confluence database, in the CONTENT table, for the LASTMODDATE row I am seeing NULL value for a lot of pages?

Thank you.


Answers:
author: Nic Brough -Adaptavist-
body: Because the pages have not been amended since creation?

Although, it's well known that Atlassian databases are a terrible thing to look at in terms of reporting, and you probably should be looking at some other way of doing what you're doing. What is the reason you are looking?

comments: author: Eva Dezsi
body: Hi,

Thank you for the answer. I am looking to find a way to identify for a space the oldest pages, which were not updated in ages, and are probably outdated content wise. I managed to achieve this with the following query:

SELECT s.SPACENAME, c.TITLE, c.LASTMODDATE, c.LASTMODIFIER, u.\[username\]  
from \[confluence\].\[dbo\].\[CONTENT\] as c, \[confluence\].\[dbo\].\[SPACES\] s, \[confluence\].\[dbo\].\[user_mapping\] u  
where c.CONTENTTYPE = 'PAGE'  
and c.TITLE is not null  
and s.SPACENAME= 'HR'  
and s.SPACEID = c.SPACEID  
and u.\[user_key\] = c.LASTMODIFIER  
order by c.LASTMODDATE ASC;

If this is the case, then I also need to add to the query the creation date of the page.
How to reference the label's link of a page in a user macro?
Asked by Peter_Baschan:

Hi,

I want to show a page label within the content the same way as it appears at the bottom of the page. I got to the stage where the labels are displayed following this suggestion by Steve (<https://community.atlassian.com/t5/Answers-Developer-Questions/Is-there-a-way-to-place-a-list-of-the-page-s-labels-in-a/qaq-p/570841>), but the rendered labels are simple text, not hyperlinks. My code is the following:

```
## Macro title: Page labels
## Macro has a body: N
## Body processing: No macro body
##
## Developed by: Steve Behnke

## @noparams
#set($currentPage = $pageManager.getPage($content.getId()))
#set($pageLabels = $currentPage.getLabels())
<span>
 #foreach( $labelObject in $pageLabels )
 <span class="aui-label">$labelObject.name</span>
 #end
</span>
```

I guess the link element should go into the #foreach section, but I don't know how. Any help is much appreciated.

Many thanks,

Peter


Answers:
author: Thomas Schlegel
body: Hi [@Peter_Baschan](/t5/user/viewprofilepage/user-id/2010664),

this should work:

```
 #foreach( $labelObject in $pageLabels )
<span class="aui-label">
 <a class="aui-label-split-main" href="/label/$space.key/$labelObject.name" rel="tag">$labelObject.name</a>
</span>
 #end
```

comments: author: Bill Bailey
body: Yes that should work. I built a similar structure for a macro recently.


author: Peter_Baschan
body: Works like a dream. Many thanks! :)


author: Thomas Schlegel
body: You're welcome, [@Peter_Baschan](/t5/user/viewprofilepage/user-id/2010664)


author: Winfried M?hl
body: !! Thanks a lot to [@Thomas Schlegel](/t5/user/viewprofilepage/user-id/781483) !!  
I just introduced this nice little macro in our Confluence instance!

It will be very helpful!


Tags: confluence-server

server
How can I make my page available to everyone in my company (including non-users)?
Asked by Barnee Lloyd:

Hi There!

In my company we want to use confluence to write guides, and document findings for future reference. Only 10 people out of 200 in the company will need to be able to add+edit the pages, but all 200 will need to be able to view them.

Is there a way I can invite people in my company to simply view these pages, without them becoming paid users, and without making the page viewable to the general public?

Thanks for any advice you can give! And if I need to provide more info, please let me know.


Answers:
author: Thomas Schlegel
body: Hi [@Barnee Lloyd](/t5/user/viewprofilepage/user-id/2034684),

I'm afraid, no. Every registered user needs a license.

If you will not make your pages viewable to anonymous users, you have to buy a license for them and give them viewing permissions.

comments: author: Barnee Lloyd
body: Okay, thanks for the info!


author: Thomas Schlegel
body: You're welcome, [@Barnee Lloyd](/t5/user/viewprofilepage/user-id/2034684)


Tags: evaluator-resources
Avatars not showing any more after migration of data from one instance to another
Asked by Samrat bodapati:

I have installed (v.7.5.2) and migrated data from another instance (v.7.5.2).when i copied Avatars from old instance new instance path:"/var/opt/atlassian/jira/data" it is not working.

restarted and performed re indexing but still we have issue.

TIA..


Answers:
author: Yoga Reddy {Appfire}
body: Hi Samrat bodapati

Please move the avatars to \<jira-home\>/data/avatars/ and not /var/opt/atlassian/jira/data.

If /var/opt/atlassian/jira is home directory then copy the avatars to /var/opt/atlassian/jira/data/avatars

Thanks

Yoga


Tags: jira-core
Applinks Diagnostics Plugin,Confluence Roadmap Planner,RB Storage - Core not available
Asked by Gunjan Yadav:

Hi All,

The following plugins are not available in marketplace, please suggest the alternative plugins if any or kindly advice on the availability of these plugins.

1. Applinks Diagnostics Plugin

2. Confluence Roadmap Planner

3. RB Storage - Core

Thanks in advance !


Answers:
author: Nic Brough -Adaptavist-
body: These are all parts of other systems, and those systems will install them if needed.


Tags: confluence-server

server
updating entry from Javascript?
Asked by Paul Ward:

I have been working on some Javascript which parses Confiforms form data to generate Jira content to insert into the Jira description field inside an IFTTT 'On Created'macro. Currently I have the JS code to format the content working fine using a local variable, but now I am hitting a blocker

I have created a hidden field "JiraContent" - how do I update the field? i.e \[entry.JiraContent\] = MyLocalVar ?

Is this even possible?

I know I can use an IFTTT macro to update the current form entry but that would be an extremely cumbersome solution


Answers:
author: Alex Medved _ConfiForms_
body: You can use REST APIs from ConfiForms, to update ConfiForms entries - see <https://wiki.vertuna.com/display/CONFIFORMS/REST+API>


Tags: atl-adm

atlassian-marketplace

confiforms

ifttt

javascript

jira
HTTP 500 after fresh installation
Asked by Christian Balzereit:

Hey all,

I did a fresh installation on my vServer and getting a HTTP 500 error. What I have done so far:

1. System: Debian Stretch / user: root

2. Installed postgres and added a user 'confluence'

3. Downloaded the actual packet, made it executable (chmod a+x) and installed confluence with express settings

4. Configured my apache as an reverse proxy for port 8090 and edited server.xml to work with the proxy

5. Opened the confluence URL

6. Provided my valid licence... and BAM -\> HTTP 500

HTTP Status 500 -- Internal Server Error {#toc-hId-1845105394}
--------------------------------------------------------------

*** ** * ** ***

**Type** Exception Report

**Message** Cannot call sendError() after the response has been committed

**Description** The server encountered an unexpected condition that prevented it from fulfilling the request.

**Exception**

```
java.lang.IllegalStateException: Cannot call sendError() after the response has been committed	org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:456)	javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:120)	com.atlassian.confluence.web.filter.DebugFilter$LoggingResponseWrapper.sendError(DebugFilter.java:132)
```

That's an fresh installation... c'mon guys. Or did I miss anything?

Thanks in advance.


Answers:
author: Ideal Lebensversicherung a_G_ Lizenzmanagement
body: check if your password for the db owner matches the password in file /var/atlassian/application-data/confluence/confluence.cfg.xml

under: \<property name="hibernate.connection.password"\>your_password\</property\>


author: Amith Mathur _Appfire_
body: Hi [@Christian Balzereit](/t5/user/viewprofilepage/user-id/2056774),

As per the error message you are gettting you're using an unsupported PostgreSQL version, or haven't followed the Atlassian guide to set up the database properly. Here is the link for Database Setup for PostgreSQL.

* [Database Setup for PostgreSQL](https://confluence.atlassian.com/doc/database-setup-for-postgresql-173244522.html)

Can you confirm your database version and Confluence version? Please go through the above link and confirm whether you are able to install the confluence.

Please verify the Supported platform as well before installing the PostgreSQL

* [Supported Platforms](https://confluence.atlassian.com/doc/supported-platforms-207488198.html)

Thanks  
Amith Mathur


Tags: confluence-server

server
?504 gateway timeout? error
Asked by Trupti Kamble:

We are working on restoration of backup in Confluence and while working on this we are getting "504 gateway timeout" error. Any solution on this?


Answers:
author: Nic Brough -Adaptavist-
body: This usually means Confluence is not running, so the proxy can't get pages from it. You will need to check if it is, and read the logs to find out why it is not starting or not serving

comments: author: Trupti Kamble
body: Hello Nic,

Thanks for your response. However, the logs contains below:

WARNING \[http-nio-8090-exec-9\] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at \[/WEB-INF/atlassian-bundled-plugins/confluence-edge-index-5.8.5.jar\] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache  
WARNING \[http-nio-8090-exec-9\] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at \[/WEB-INF/atlassian-bundled-plugins/doctheme-5.8.5.jar\] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache  
INFO \[http-nio-8090-exec-1\] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating Jersey application, version 'Jersey: 1.8-atlassian-16 03/23/2015 10:20 PM'  
INFO \[http-nio-8090-exec-2\] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating Jersey application, version 'Jersey: 1.8-atlassian-16 03/23/2015 10:20 PM'  
INFO \[http-nio-8090-exec-3\] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating Jersey application, version 'Jersey: 1.8-atlassian-16 03/23/2015 10:20 PM'


author: Nic Brough -Adaptavist-
body: Those are warnings, not an error telling you why confluence is not serving.

Have a look at both the application and server logs in more detail - \<confluence home\>/logs/atlassian-confluence.log and \<confluence install\>/log/catalina.out


author: Andrews
body: hi [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454)

<br />

I was opening a page in Wiki, I captured how much time It took around 40-45 sec to load the wiki page.  

Sometimes, I face this slowness. Not always.

And sometimes I get this.

**504 Gateway Time-out**

nginx

Could you please guide me on how to fix this issue?


author: Nic Brough -Adaptavist-
body: You will need to do some debugging on the connections. A gateway timeout usually means that your computer is able to reach the proxy server (nginx) in a timely manner, but the proxy is not getting a response from the Confluence behind it.

It might be because Confluence is being too slow, or it might be because of the connection between Confluence and the proxy.

On the Confluence side, check the logs for errors, it should tell you if something times out. If there are no errors, you'll need to monitor Confluence for slowness and analyse what it is doing when it is timing out.

On the network side, you'll need to test the speeds between Confluence and nginx