youngmon/atlassian-qna huggingface dataset:
I want connect old postgres with data into a new confluence server
Asked by albeiro_ingenisoft:

i have the following problem, already my confluence was crash on a docker image, but my information already be into another database, but when tried to connect into a existing database , confluence tell me, than he will remove my data, how can connect confluence witouterase my old data


Answers:
author: AnnWorley
body: To connect to a different database just edit the JDBC connection string in the existing \<[confluence_home](https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html)\>/confluence.cfg.xml. Look for something like:

```
 <property name="hibernate.connection.url">jdbc:postgresql://<hostname>:<port#>/<db_name></property>
```

If you don't find the connection URL there, try the \<confluence_install\>/conf/server.xml file:

```
?url="jdbc:postgresql://<host>:5432/<database-name>"
?
```
Confluence not starting up. How can I troubleshoot if application cannot start.
Asked by John Campos:

My Confluence instance will not come up. I just installed an evaluation of Gliffy and was working with it when the site stopped working. Not sure if that is related. When I looked for troubleshooting methods, I found the following link for help: <https://confluence.atlassian.com/doc/troubleshooting-problems-and-requesting-technical-support-776659671.html>

However, the suggestions listed at the top all assume that you are logged in and can troubleshoot from there. ie. (Run healthcheck, run in safe mode. etc..) Is it possible to create a support zip if I can't bring up the site?

\*\* Additional info. \*\*

The Atlassian Confluence service is stopped. When I try to restart, it appears to but comes back as stopped after as short time.

Any suggestions on what steps I should take next would be appreciated.

Thanks


Answers:
author: Alexey Matveev
body: Hello,

Have a look in the confluence log file. You can find more info here:

<https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html>

comments: author: John Campos
body: Yeah, I began to look through those, but wasn't sure which files were relevant or what to look for. I'll study it some more to see what I can find. Thanks If you have any further suggestions, please let me know.


author: Alexey Matveev
body: Have a look in the logs. 99% that you will find the problem there.


author: John Campos
body: I'm seeing the following message: "Unable to create a tracker when osgi is not running" Any thoughts?


author: John Campos
body: I saw the following link and then also mention Gliffy: <https://community.atlassian.com/t5/Confluence-questions/Unable-to-create-a-tracker-when-osgi-is-not-running/qaq-p/263282>


author: John Campos
body: It seems a bit unreasonable to have to re-install the software to get this working again. I'm wondering if there is another way to solve this. We are early in our use of the product. Most of what has been done has been by me. If I have to reinstall, would it reuse the current state of my confluence instance or would I lose my work?


author: Alexey Matveev
body: Try to start Confluence in safe mode and then delete the plugin. You can find more info here:

<https://confluence.atlassian.com/doc/confluence-6-1-release-notes-872277785.html#Confluence6.1ReleaseNotes-Details,details,details>...

Go to the Safe startup to the rescue part.


Tags: atlassian-support
About Anonymus user
Asked by Carlos Ortiz:

Hi, I have two questions about Confluence Cloud: ?Must the anonymus users pay some license or are free? and ?are there some module or add-on for project management?. Thanks very much.

Carlos


Answers:
author: Loren Siegel
body: Hi Carlos,

We strive to be as fair as possible amongst our customers. As such, pricing is the same and we do not offer discounts. All of our pricing is published openly online, which you can view on the [Atlassian Purchasing \& Licensing FAQ](https://www.atlassian.com/licensing/purchase-licensing.jsp).


author: Alexey Matveev
body: Hello,

1. Anonymous users do not have to pay for license.

2. You can look at Portfolio, Big Picture or Structure plugins.

comments: author: Carlos Ortiz
body: Hello,

Thanks for your answer. I have 2 mores questions:

1) are there any discount for 100 users?

2) is the contract anual or may be monthly?

Thanks


author: Alexey Matveev
body: 1. I am not sure there are discounts.

2. It can be annual or monthly. It is your choice. You can find more info here:

<https://www.atlassian.com/software/confluence/pricing>


Tags: cloud

confluence-cloud
Are there any known issues of upgrading from confleunce 6.1 to confluence 6.8
Asked by mosims:

Are there any known issues of upgrading from confleunce 6.1 to confluence 6.8 ?


Answers:
author: Nic Brough -Adaptavist-
body: No, but read through the release notes for the major versions - 6.2, 6.3 etc


author: Bryan Trummer - ReleaseTEAM
body: Hi Michael,

You may want to look at this upgrade matrix which also highlights known issues in the specific versions.

<https://confluence.atlassian.com/ug/confluence-upgrade-matrix-939498787.html#Confluenceupgradematrix-Technicalupgradenotes>


Tags: confluence-server

server
Download a copy of a document WITH Comments included.
Asked by Rob H:

Is there a way to download a copy of a document in confluence and retain all of the comments? Export to Word and Export to PDF do not carry the comments over.

tia


Answers:
author: Suren Raj
body: Hi, There.  

I'm afraid we don't have specific feature for a page to be exported with the comment.

We have another way, which is to use custom space export but due to the bug below the comment won't be exported:

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

Hope it helps. Let us know if you have further question.  

Kind Regard

Suren Raj

comments: author: Amanda McCrea
body: Was this resolved in the past three years? We are experiencing a similar situation.
Importing In Confluence - add Label programmatically via macro
Asked by Melissa C:

Hello!

Looking for some guidance!

I recently had to change my teams process to accommodate Word Documents. We were using Scroll Office to export Confluence Pages into Word Documents. Unfortunately the add on has a few flaws that won't be fixed any time soon.

My Team will now import their Word Documents into Confluence each time they want to electronically publish a document. In the import we need to have a few labels that will kick off a workflow.

Instead of having my users manually enter the Label I want the labels to be added automatically or have the macro below add the label "behind the scene".

We currently have a macro (this is is a snippet of the actual one) that asks the user to input a unique document number the macro takes that Macro and adds it as a label. I want to at minimum add code to this macro that adds two labels "docparent" and "controlled-document".

## [@Param](/t5/user/viewprofilepage/user-id/1345631)  
## [@Param](/t5/user/viewprofilepage/user-id/1345631) DocNum:title=Enter Document ID # REQUIRED \|type=string\|required=false\|desc=Test

\<table\>  
\<tr\>  
\<td\>Document ID # = $paramDocNum\</td\>  
\</tr\>  
\</table\>

###Script adds Document number to Parent Page, Child Pages and Descendants  
#if ( $paramDocNum )  
#set ( $hasLabel = false )  
#foreach ( $label in $content.getLabels() )  
#if ( $label == $paramDocNum )  
#set ( $hasLabel = true )  
#end  
#end

#if ( !$hasLabel )  
\<script\>  
AJS.toInit(function() {  
jQuery.post(contextPath + "/json/addlabelactivity.action", {  
"entityIdString": "$content.id",  
"labelString": "$paramDocNum",  
"atl_token": jQuery("#atlassian-token").attr("content")  
});  
});  
\</script\>  
#end

#set($childpages = $content.getDescendants())  
#foreach($page in $childpages)  
#set ( $hasLabel = false )  
#foreach ( $label in $content.getLabels() )  
#if ( $label == $paramDocNum )  
#set ( $hasLabel = true )  
#end  
#end

#if ( !$hasLabel )  
\<script\>  
AJS.toInit(function() {  
jQuery.post(contextPath + "/json/addlabelactivity.action", {  
"entityIdString": "$page.id",  
"labelString": "$paramDocNum",  
"atl_token": jQuery("#atlassian-token").attr("content")  
});  
});  
\</script\>  
#end  
#end  
#end


Answers:
author: Melissa C
body: Looks like I answered my Own Question!!!

I added the following and worked like a charm

#if ( !$hasLabel )  
\<script\>  
AJS.toInit(function() {  
jQuery.post(contextPath + "/json/addlabelactivity.action", {  
"entityIdString": "$content.id",  
"labelString": "docparent, controlled-document",  
"atl_token": jQuery("#atlassian-token").attr("content")  
});  
});  
\</script\>  
#end


Tags: import

label

macro

password
Importing current wildcard cert for Confluence
Asked by System Administration Team:

When going over the article, "Running Confluence Over SSL or HTTPS", and wanting to use our current wildcard cert, do I still need to generate a CSR? Or do I just start at Opt.2, Step 5?

Also, have read some non-fun stories about wildcards and Tomcat ... tales form the dark ages or valid issues for today?


Answers:
author: Loyd Fox
body: I also have this question. Or at least how to make this JKS work with an already existing wildcard certificate.

Certificates and Tomcat are a pain.


Tags: confluence-server

server
Team Calendars Issue
Asked by Alec Jasanovsky:

Not too sure what's going on that Team Calendars can't load certain events. My original thoughts are thinking it's due to these calendars being imported to cloud from an old-outdated server? (6.x something) But once I checked the server, there were errors there too.

See attached. Cloud:![clouderror.PNG](/t5/image/serverpage/image-id/24829iA3410536B0EBA2A1/image-size/large?v=v2&px=999 "clouderror.PNG")Server:![servererror.PNG](/t5/image/serverpage/image-id/24830i66951EA5D0740EF4/image-size/large?v=v2&px=999 "servererror.PNG")


Answers:
author: AnnWorley
body: Hi Alec,

From the error messages in the screen shots it looks like in the Cloud instance Confluence cannot find the jira application link ID, and on Server, Confluence cannot connect to Jira in the application link because of an SSL protocol version related issue. Has something changed in the SSL configuration of Jira or Confluence? Or has Java perhaps been upgraded on one of the instances (Jira or Confluence server?)

Please check the application links at **Administration** \> **Application Links** in both Cloud and Server as the error messages on that page can be helpful.

Please check out this guide, too: [Application Links Troubleshooting Guide](https://confluence.atlassian.com/kb/application-links-troubleshooting-guide-718668765.html)

I look forward to hearing more about your case.

Thanks,

Ann

comments: author: Alec Jasanovsky
body: Interesting, thank you!

So upon checking Server's, I have the error "Application "Xaxis Confluence" seems to be offline. Click to Relocate"

I'll then click to relocate - Confirms it's not responding, continues to relocate, which it does successfully. However the error is still displayed upon completion.


author: AnnWorley
body: Thanks for letting us know your findings. Was Confluence moved or the IP, host name or base URL changed?

Is there also an error on the Confluence application link (Cog wheel\>General Configuration, scroll down to Application Links) that indicates Jira is not reachable?

Since the main application link issue we are troubleshooting is the one with not displaying Team Calendars from Jira in Confluence, please check the log: \<[confluence_home](https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html)\>/logs/atlassian-confluence.log to see if there is a more detailed error.
Confluence macro for data table paging (bonus: with filtering)
Asked by Steven Kabak:

I would like to create a table for ongoing projects. Once created, I would like to sort the table on the status of each line item which uses the status macro. Is this possible?


Answers:
author: weweave UG
body: Although this post is quite old, we would like to let you know that we developed the app "DataTables for Confluence" (see <https://marketplace.atlassian.com/apps/1220302/datatables-for-confluence>) for Confluence Cloud which adds additional features (such as filtering / full-text search and pagination) to native Confluence tables.


author: Andrey Khaneev _StiltSoft_
body: Hello Steven,

There a lot of different ways you can create such table, it depends on your needs and resources:

1. Use a common table that you can create in the page editor, put Status macro or [Handy Status](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence?hosting=server&tab=overview) macro in each row.
2. Use Page Properties in combination with [Page Properties Report](https://confluence.atlassian.com/doc/page-properties-report-macro-186089616.html). You can use same statuses macros here.
3. Use [Scaffolding](https://marketplace.atlassian.com/apps/190/scaffolding-forms-templates?hosting=server&tab=overview) add-on to create the table.
4. Use Jira and [Jira Issues](https://confluence.atlassian.com/doc/jira-issues-macro-139380.html) macro.

You can filter any table with [Table Filter](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) macro.


Tags: confluence-server

server
Error when starting confluence
Asked by Isabelle Lapointe:

an you help us with this error

The SystemInformationService could not be retrieved from the container. Therefore very limited information is available in this error report.  
The SystemInformationService could not be retrieved due to the following error: java.lang.IllegalStateException: Spring Application context has not been set

### Cause {#toc-hId-1621784737}

com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set  
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)

caused by: java.lang.IllegalStateException: Spring Application context has not been set  
at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)

#### Stack Trace:\[hide\] {#toc-hId--1126885729}


Answers:
author: AnnWorley
body: Hi Isabelle,

The error you are reporting, "Spring Application context has not been set" can be caused by any of 10 conditions. The good news is, we have documented the causes and resolutions in this article: [Confluence does not start due to Spring Application context has not been set](https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-spring-application-context-has-not-been-set-218278311.html)

I look forward to hearing whether any of these help with your case.

Thanks,

Ann
Configuring collaborative editing with nginx
Asked by Dmitry Krasichkov:

Hello. I'm having difficulties with configuring collaborative editing. Our server uses nginx and as a starting point I used instructions from this page

([How to use nginx to proxy requests for confluence](https://confluence.atlassian.com/confkb/how-to-use-nginx-to-proxy-requests-for-confluence-313459790.html))

Since we want to launch conluence on seperate url, system itself is deployed in root with synchrony at /synchrony and configuration looks something like this
>
> ```
> server {
> ? ? listen 80;
> ? ? server_name wiki.site_url.ru;
>      access_log off;
>      location /synchrony {
>          proxy_set_header Host $host;
>          proxy_set_header X-Forwarded-Host $host;
>          proxy_set_header X-Forwarded-Server $host;
>          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>          proxy_set_header X-Real-IP $remote_addr;
>          proxy_pass http://127.0.0.1:8091;
>          proxy_http_version 1.1;
>          proxy_set_header Upgrade $http_upgrade;
>          proxy_set_header Connection "upgrade";
>      }
>
>     location / {
>          proxy_set_header Host $host;
>          proxy_set_header X-Forwarded-Host $host;
>          proxy_set_header X-Forwarded-Server $host;
>          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>          proxy_set_header X-Real-IP $remote_addr;
>          proxy_pass http://127.0.0.1:8090;
>      }
>
> }
> ```

Base url is configured to wiki.site_url.ru and seems to be working as intended.

When Confluence is started with collaborative editing enabled, I can see that server is processing request at ports 8090 and 8091 and in collaborative editing tab in configuration I can see, that everything seems to be in order and editing mode is started, but if I try to access the page being edited I either get message "This page is taking longer to load than usual" and unable to edit it, or a message about inablity to start websocket which results in editing page seperatly and merging later.

Thanks in advance.


Answers:
author: AnnWorley
body: Hi Dmitry,

I understand you are seeing WebSocket errors when editing pages in Confluence. I am curious what version of Confluence you are running.

In earlier versions of Confluence, like 6.0, a WebSocket connection had to be possible for collaborative editing and XHR fallback was set via a system option as described in [Websocket issues](https://confluence.atlassian.com/conf60/troubleshooting-collaborative-editing-852732552.html#TroubleshootingCollaborativeEditing-Websocketissues). in later versions we added the XHR fallback to Confluence by default, so I am not sure why you would see a WebSocket error.

Thanks,

Ann

comments: author: Dmitry Krasichkov
body: Thank you for your reply. We are using Confluence 6.7.1. After the update, problem resolved itself. Thank you.


Tags: confluence-server

new-to-confluence

server

synchrony
One Confluence user unable to view few wiki pages in a space, getting "500 Enternal Server Error"
Asked by Aditya Kumar:

Only one User is unable to access those pages in spite of having the requisite permission to view the pages and there is no view/edit restriction applied to those pages.

Please find the error logs below and suggest the needful:

2018-06-18 07:19:27,568 ERROR \[exec-30\] \[atlassian.confluence.servlet.ConfluenceServletDispatcher\] sendError Could not execute action -- referer: [https://associates.\*\*\*\*\*\*\*.com/accounts/openid/return](https://associates.*******.com/accounts/openid/return) \| url: /pages/releaseview.action \| userName: \*\*\*\*\*\*\*\*\*\* java.lang.RuntimeException: Error rendering template for decorator root at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:202) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) at org.apache.velocity.Template.merge(Template.java:235) at com.opensymphony.webwork.dispatcher.VelocityResult.doExecute(VelocityResult.java:91) at com.atlassian.xwork.results.ProfiledVelocityResult.doExecute(ProfiledVelocityResult.java:21) at com.atlassian.confluence.setup.webwork.EncodingVelocityResult.doExecute(EncodingVelocityResult.java:48) at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:116)


Answers:
author: AnnWorley
body: Hi Aditya,

Our knowledge base article, ['java.lang.RuntimeException Error rendering template for decorator root' in a Page](https://confluence.atlassian.com/confkb/java-lang-runtimeexception-error-rendering-template-for-decorator-root-in-a-page-217743738.html) indicates there may be a more helpful error prior to the one you are reporting;
> The above error is a symptom and usually displays after the root cause error, which will be printed out to the atlassian-confluence.log. Search for the root cause error that occurs before the first of the "Error rendering template for decorator root" error.

However, the article also goes on to list some troubleshooting steps. Please check the atlassian-confluence log at \<[confluence-home](https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html)\>/logs and see if there is a more helpful error, and try the relevant steps from the kb. I look forward to hearing what you find.

Thanks,

Ann

comments: author: Aditya Kumar
body: Could you please let me know any shared location where I could put full error log.  
I don't see any attaching file option.  
As suggested in your post for reindexing, we can't proceed with that as this issue is for only one user.


Tags: confluence-administration

confluence-development

confluence-server
Confluence introduces blank lines on save
Asked by Richard Bagnall:

When I am working on a document, I find it frustrating that Confluence introduces blank lines when I save the document.


Answers:
author: Suren Raj
body: Hi, Richard.

We would like to inquire a couple of information from you to understand your issue:

* Provide us a screenshot of the page
* Does the issue happen on all or specific browser?
* Does the page have a table?

Looking forward to hearing from you

Cheers  
Suren Raj

comments: author: Richard Bagnall
body: Hi Suren,

Thanks for your reply. Sorry, can;t supply a screenshot as it's a company confidential document. Browser in use is Chrome. No tables.

Best regards,

Richard


Tags: cloud

confluence-cloud
Confluence search problem
Asked by Grigory Salnikov:

Hello!

Recently I've encountered the following problem - Confluence search doesn't work (as I expect it to work). It only searches pages' titles but not the content.

What am I missing?

![search.jpg](/t5/image/serverpage/image-id/24799iF9BC448F3FB81F56/image-size/large?v=v2&px=999 "search.jpg")

I'm absolutely positive that there are plenty of pages with the word "data" on them. I do have access to that pages, I've created almost all of them. But still no luck.

I've checked the logs but didn't see any events when try to search and get an empty result.

Please, suggest.

Thanks in advance.

P.S. I've already settled myself with an idea that it is not supposed to work this way, ok. But here I watch another tutorial and - lo and behold - they show how to find in-page content.

This starts to drive me crazy :/


Answers:
author: Shannon S
body: Hi Greg,

Could you run a full site reindex and let us know if you get any results?

Regards,

Shannon

comments: author: Grigory Salnikov
body: Hello, Shannon and thank you!

Yes, it was that simple :)


author: Shannon S
body: Great to hear! Thanks for confirming, Greg. :)

Kind regards,

Shannon


author: Shawn in Van
body: Is it possible to do a full site re-index using Confluence Cloud? I don't think so, but if I am wrong, I would love to know the steps.  

My question is similar, I am attempting to search for any links to "sites.google.com". I know that hundred's exist but Confluence search results in none.

Suggestions?

Thank you

comments: author: Grigory Salnikov
body: Hello, [@Shawn in Van](/t5/user/viewprofilepage/user-id/704918)!

This topic has been discussed here:

[Why is cloud confluence indexing disabled?](https://community.atlassian.com/t5/Confluence-questions/Why-is-cloud-confluence-indexing-disabled/qaq-p/337558)

There's much useful information.

Can you give me a couple of your real-life examples (search words) so that I could reproduce the issue in my environment?


author: Shannon S
body: Hi Shawn,

FYI, you can [contact the support team](https://support.atlassian.com/contact/#/) and they can run a reindex for you if needed.

Regards,

Shannon


author: Thomas Schlegel
body: May be a dumb answer, but just to be sure: are you logged in into your Confluence?

comments: author: Grigory Salnikov
body: Hi, Thomas!

Nothing is dumb when it comes to troubleshooting :)

Yes, I'm logged in.


Tags: confluence-server