youngmon/atlassian-qna huggingface dataset:
Synchronise a production environment with a staging one
Asked by Bertrand Bouillon:

Hello,

We are using a confluence server platform 6.13.5 and we want to upgrade to 7.4.0

We need to synchronise a production environment with a staging environment for upgrade.

We want to make that automatically with scripts or tools.

The matter is to preserve server ID and licenses (confluence and plugins) and others datas.

All documents i read described manual process.

have you ever had that kind of need and found a solution ?

Thank you

Regards


Answers:
author: Dave Theodore [Coyote Creek Consulting]
body: Just make a backup of your production database and load that in to the staging DB instance. All the license information is contained in the database.

comments: author: Bertrand Bouillon
body: Thank you Dave for your response.

I know this process but i would keep the plugins licenses in my stage environment.

The backup and restore from production environment replace plugins licenses and I have to retype them every time.

my goal is to find a way to do this synchronization automatically without having to do a manual task. some other parameters such as links between applications or disabling of mails would be an advantage.

Regards

Bertrand


author: Bertrand Bouillon
body: I forgot to mention that we have developer licenses on our staging environment.


author: 0xF0F
body: I used to do that with a little perl script, which just reads the database dump and replaces the production licenses with developer licenses.

As far as I can see this stoped working since a while. Especially the Jira and Confluence keys cannot be found in the dump anymore, but some of the plugin licenses neither. Would be happy to get a hint there, is there another way of doing it automatically(REST?)?  
It would be very time consuming to enter them whenever I have to update the content of our staging/testing servers.  
Anybody with an idea?  
:wq  


Tags: confluence-server

server
Can't add/edit page keys
Asked by David Robson:

I'm having trouble adding or editing "page keys" in Confluence. In the past, when I needed to add one, I would simply go to the dropdown at the far right and select "add page key" (or something to this effect). Now I can't seem find the option anywhere.

![dgjpierjqepr'jwepjw.png](/t5/image/serverpage/image-id/97733i77C14341E0E010E5/image-dimensions/508x194?v=v2 "dgjpierjqepr'jwepjw.png")

Does anyone have any idea what I might be missing here?  


Answers:
author: Matt Reiner [K15t]
body: Hi [@David Robson](/t5/user/viewprofilepage/user-id/999229)

This is actually a feature within the Scroll Versions app, which it looks like you're using.  
What you're experiencing is very odd. If you wouldn't mind sending this to my team via support@k15t.com, we'll work through it with you.

Thanks,

Matt


Tags: confluence-server

server
How can i automate Confluence data center clustering
Asked by Pratik:

Hello!

I have been looking to automate the containerized install of confluence server and I have spent plenty of time looking at documentation around the forum, but there are certain aspects of the setup that are still not being read from the confluence.cfg.xml. For example, confluence picks up the name of the cluster and the cluster mechanism (tcp_ip in my case) but does not read in the cluster peer addresses despite the values being present in the XML. I am unsure why confluence does not show them in the setup wizard. Additionally, is there a way to automate the admin user creation as well?

Ideally, i would like the whole process to the automated and present in the configuration file, but i have a feeling that the license key will always need to entered by the user.


Answers:
author: kenneth_chung
body: Do you have example of using confluence.cluster.join.type in clusteing?


author: Nic Brough -Adaptavist-
body: I am concerned that you have tagged this question with "server".

Are you running Confluence Data Centre or not?

comments: author: Pratik
body: I am running 2 confluence-server docker images with data center configuration.


Tags: confluence-server

server
export content of Confluence in a readable file
Asked by Yashvant Gadjradj:

If an emergency causes our Confluence server to be offline, the contents of Confluence cannot be viewed.

Is there an export functionality that we can store the contents of Confluence in a readable file somewhere on another server?


Answers:
author: Aron Gombas _Midori_
body: I'd use one of k15t apps for this:

1. My preferred approach would be periodically [creating a static website](https://marketplace.atlassian.com/apps/1211636/scroll-viewport-for-confluence?hosting=cloud&tab=overview) from the Confluence content.
2. Or just export it to [PDF](https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?hosting=cloud&tab=overview) or eventually to [Word](https://marketplace.atlassian.com/apps/24982/scroll-word-exporter-for-confluence?hosting=cloud&tab=overview).

comments: author: Yashvant Gadjradj
body: Tnx Aron.  
This looks very useful.


Tags: confluence-server

server
Confluence Server Upgrade from 6.14.0 to 6.15.10 returns "can't use upgrader to downgrade"
Asked by Charles Rivenbark:

While upgrading Confluence Server from version 6.14.0 to 6.15.10 the upgrade returned "You can't use the upgrader to downgrade Confluence."


Answers:
author: Evan Underwood-Harley
body: Hi Charles,

Lets first verify what version the database thinks you are running. Can you run the below on the DB:

```
SELECT TOP 1 BUILDNUMBER 
 FROM CONFVERSION 
 ORDER BY INSTALLDATE DESC;
```

We can correlate that build number to a version on here - <https://developer.atlassian.com/server/confluence/confluence-build-information/?_ga=2.18022522.250371922.1591001904-973955557.1568640194>

Regards

Evan

comments: author: Charles Rivenbark
body: Build number in the confluence database is 8401 which correlates to v7.2 - 7.4. The web page lists v6.14.0 though at the bottom of the page. I think someone may have tried to upgrade to 7.3 and failed. I will check. Thanks.


author: Charles Rivenbark
body: Would it be feasible to just change the BUILDNUMBER in the table 7901 (for 6.14.0) or should we just do a ZIP install?


author: Evan Underwood-Harley
body: Changing the BUILDNUMBER wouldn't work as the database schema has upgraded to 7.3

Few key questions before we decide how to proceed:

- Do you have a database backup taken before the upgrade?

- If you don't have a database backup, do you have XML backups in your confluence home directory usually these are located under \<confluence-home-directory\>/backup and are enabled by default when installing confluence

- Is this the production confluence instance which is now down? Or test environment?

- Do you still want to get to 6.15.10 or can this be upgraded to 7.3.x?

Regards

Evan


author: Charles Rivenbark
body: It is a test environment. We have decided to just do a full build from the ground up since we don't have any data that needs to be preserved.


author: Evan Underwood-Harley
body: That's probably the easiest way.
Want to add contents in Confluence page using REST API
Asked by Kunal Shah:

Hello,  

I have a confluence page. It consists some data.  

I want to update the contents of the page without changing the existing contents/data.  

Example:

My confluence page have content: **Hello World!**   

I want to update page contents and finally it would be like:  
**Hello World!**   
**New data
<br />** The Confluence API : <https://developer.atlassian.com/cloud/confluence/rest/#api-api-content-id-put> replaces the entire contents of the page.  

How can I just add new contents into the page keeping it's existing content using REST API?


Answers:
author: Ian Hunter
body: I'm seeing the same issue. Has there been any fix to this issue or solution posted?


Tags: content

rest-api

server
How can i pull the live data from jira and have it added to confluence
Asked by gnanavelu balaraman:

Hi,

I am using confluence to document Knowledge Base article. While I do this, I would like to pull the JIRA ticket fields and link to the KBR.

Kindly help me with a solution for the same.

regards

Gnana


Answers:
author: Kat Warner
body: Check out the (currently free) Learn From Home course on using Jira and Confluence Together [here](https://training.atlassian.com/free-training-catalog) then join in the study group [here](https://community.atlassian.com/t5/LFH-Jira-Essentials-with-Agile/gp-p/lfh-jandc) and share how you went.


author: Sandesh Shetty
body: [@gnanavelu balaraman](/t5/user/viewprofilepage/user-id/3954331)

Check Jira issues macro in confluence <https://confluence.atlassian.com/doc/jira-issues-macro-139380.html>


Tags: cloud

confluence-cloud
Adding comments to image
Asked by Denny:

I'm trying to add comments to an image so that our group can have a discussion about it. Whenever i drag the pin to add the comment, confluence just hangs (with a spinning cursor) near my name. I've tried with both safari and chrome. Any ideas on how to get past this?

![Screen Shot 2020-06-04 at 7.42.23 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/97707i16646540268E9C4A/image-size/large?v=v2&px=999 "Screen Shot 2020-06-04 at 7.42.23 AM.png")


Answers:
author: repi
body: It always works in the server version. :)  
In the cloud version only if sporadically :(

![Kommentar.png](https://community.atlassian.com/t5/image/serverpage/image-id/97715i932A9A5276274B1D/image-size/large?v=v2&px=999 "Kommentar.png")


Tags: bug

cloud

comment

image
Confluence upgrade questions
Asked by OMom2019:

whether you are upgrading to a free edition of SQL Server or whether you have a PID key for a production version of the product.  

After sql sever upgrade to 2017 what steps should be followed to link the confluence windows and confluence database./


Answers:
author: repi
body: [@OMom2019](/t5/user/viewprofilepage/user-id/3591413)

<https://confluence.atlassian.com/doc/database-configuration-159764.html>


Tags: server
Is anyone having issues with loading confluence cloud on Edge (Not Edge Chromium)
Asked by Leng Be:

Hi All,

We had issues today where Confluence cloud stopped working on Edge (Not Edge Chromium) today. We are running Microsoft Edge 42.17134.1098.0

Wondering if other have experienced the same issues.

Thanks

Leng


Answers:
author: Thomas Stachowicz
body: Same here - non chromium edge displays a white page with confluence logo.


author: George Hristov
body: Same here , Confluence looks blank, suddenly stopped working 2 days ago...Jira still visible...


author: Jacky Banner
body: Got the same issue occurring on two different PC's using edge.


Tags: cloud
Disabling only email notyfications
Asked by Garitech:

Is there is an option for disabling email notification only. I want to keep notifications inside confluence itself (i mean below bell icon)


Answers:
author: repi
body: [@Garitech](/t5/user/viewprofilepage/user-id/3953885)

That would be a solution:

[https://marketplace.atlassian.com/apps/1219676/notify-helper-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1219676/notify-helper-for-confluence?hosting=server&tab=overview)
Google Docs -like editing and edit approval functionality for a Confluence page I am admin for?
Asked by Matt K:

Hi, I am the admin/owner of a page in Confluence. I would like to enable my colleagues to suggest contributions to the text on the page, however I would like to retain control over the proposed contributions / edits being published, i.e. if someone suggests adding a sentence to the page, I want my approval to be required before the edit / change is published to the page. Ideally, the proposed (but not yet accepted by me) change by the other person would be visible for all other users to see as a proposal, in the same way that proposed edits in a Google Doc can require approval by the Doc's author, and in the meantime are presented as proposed edits for all other viewers of the Doc to be able to see while the comments are pending the author's approval. Is such functionality possible in Confluence? Thank you.


Answers:
author: Irina_Bel_Stiltsoft_
body: Hi Matt,

The [Talk Advanced Inline Comments for Confluence](https://marketplace.atlassian.com/apps/978531/talk-advanced-inline-comments?hosting=datacenter&tab=overview) app can help you with your case. It has the Talk Suggestion feature. It works exactly as in Google docs.

![Talk suggestions.png](https://community.atlassian.com/t5/image/serverpage/image-id/191835i845F5A32D0B159AE/image-size/large?v=v2&px=999 "Talk suggestions.png")
Unable publishing my document in confluence
Asked by Jangwoo Kim:

when i click the publish button, then i can see the message in Korean;

**Message 1**   
Could not communicate with the server.  
it can not save at this time.

**Message 2**   
there is a problem.  
Please try again later.

![?????????? 2020-06-04 ???? 12.26.53.png](/t5/image/serverpage/image-id/97659i3C32D5D6CD7BB533/image-size/large?v=v2&px=999 "?????????? 2020-06-04 ???? 12.26.53.png")


Answers:
author: Shannon S
body: Hello [@Jangwoo Kim](/t5/user/viewprofilepage/user-id/3696942),

Welcome to Atlassian Community! It's nice to meet you.

That error could be related to your network setup, but we'll need to have a look at your site's logs to be sure.

I recommend reporting this issue to your Cloud site admin. They can have a look at that for you and if there's any issues, they can raise a ticket with the [Cloud Support](https://support.atlassian.com/contact) team. From there, we'll have a look at the log files and find out what the problem could be.

Thank you, and let me know if you have any trouble.

Regards,

Shannon

comments: author: Jangwoo Kim
body: Hi [@Shannon S](/t5/user/viewprofilepage/user-id/510046)

This is an issue that occurs when copying a specific format (by macro). It appears to occur when copying and pasting the UI created with a specific macro.

The reason for the above estimation is that when the "something" that make error are deleted from the editor, then saved normally.

In my memory, this is an issue I have experienced with the Confluence server type. Anyway, i will issue an issue ticket to the support team when the reason is clear.

Thanks for the answer.

Best regards, Jangwoo


author: Shannon S
body: Hi Jangwoo,

Thank you for letting me know more about your issue. I understand you experienced this in the past on Server - but to confirm, you're currently experiencing this with Cloud. Is that right?

Whether it's a network issue, or an internal issue, we can know for sure by looking at your site logs, so we will definitely need to have a ticket raised with support. If you're not able to, have your site admin take care of that, as you might not have permission to do so.

If you have any trouble, can you let me know?

Shannon


Tags: cloud
How do I delete an area
Asked by Dawid_Affeldt:

An area cannot be deleted from the web (blank white page).

Can I delete an area using SSH?


Answers:
author: repi
body: [@Dawid_Affeldt](/t5/user/viewprofilepage/user-id/3953849)

Please more information.

comments: author: Dawid_Affeldt
body: the error I get when I try to delete the area via mysql is:

Cannot delete or update a parent row: a foreign key constraint fails (\`confluence\`.\`SPACEPERMISSIONS\`, CONSTRAINT \`FKbi3x723m8fbgoko3s84f9oddl\` FOREIGN KEY (\`SPACEID\`) REFERENCES \`SPACES\` (\`SPACEID\`))


author: repi
body: Why not delete from confluence?  
With DB interventions you have to know what you are doing.


author: Dawid_Affeldt
body: An area cannot be deleted from the web (blank white page).


author: repi
body: what do you mean by an area?  
a space  
a blank page  
or an empty area on one side without a colume section


author: Dawid_Affeldt
body: I mean an Space.

As soon as I try to execute the following solution and press on the defective area,

I get a white page

Solution:

### Procedure {#toc-hId-1147331932}

To delete a space: Go to space and choose Space Tools \> Overview from the bottom of the sidebar \> Choose Delete Space \> Choose OK.


author: repi
body: Do you see a white page here?

Can the space details be displayed and can "edit space details" be opened?

![delete_space.png](https://community.atlassian.com/t5/image/serverpage/image-id/97726i5779B50C5A71F858/image-size/large?v=v2&px=999 "delete_space.png")


author: Dawid_Affeldt
body: If I consider the space, I only get a white window.

No, I cannot see and edit the details. The page is completely empty.


author: repi
body: Do you have a supportive productive license?  
Here the atlassian support would be the contact person.


author: Dawid_Affeldt
body: **Starter License**


author: repi
body: Then it doesn't work.  
Put the broken space in the archive and forget it?  
If everything else works ...


author: Dawid_Affeldt
body: how can I archive an space without having to edit the space?


author: repi
body: OK

Is the space still displayed in the space permissions?  
Does manage permissions still work there?


author: Dawid_Affeldt
body: I have already tried this way.

The problem also exists at this point.

the only way that is likely to be successful is to delete the area from the mysql database.  

I have already determined the necessary spaceid.

Unfortunately, it seems that an space is linked to countless tables.


author: Dawid_Affeldt
body: Another solution would be a new installation.  

Since a backup is of no use to me, since the defective space is also in the backup, I would like to export the areas individually.  

My question is how do I export an space including the attached documents, is that possible?


Tags: confluence-server

server
System Error In Confluence
Asked by Cormant Systems Administrator:

Below is the error that received by opening the Url

Cause  
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)


Answers:
author: Fabian Lim
body: Hi [@Cormant Systems Administrator](/t5/user/viewprofilepage/user-id/703757)

I recommend you open a ticket with atlassian support if you are still experiencing this issue: <https://support.atlassian.com/contact/#/>

Regards


Tags: confluence-server

server
One Calendar for all boards
Asked by WebKomoMai:

Hi,

I have several boards for several projects (one board per project). I can see calendar for each project but I would like to see all the tasks from all boards in one calendar. Is it possible?

Thank you.


Answers:
author: Fabian Lim
body: Hi [@WebKomoMai](/t5/user/viewprofilepage/user-id/3953386)

Yes this is possible with the jql advanced jira dates. Use a jql to call all projects that you would like to pick up.

Link: <https://confluence.atlassian.com/teamcal/add-jira-events-241566244.html>

Thanks


Tags: calendar
How to turn off table filter/sort/pivot widget on one page
Asked by Susan Kordis:

Hi All,

Anybody know how to prevent these widgets from appearing on a single page:

![table-widgets.png](https://community.atlassian.com/t5/image/serverpage/image-id/97649i33C4827DB0FD17B4/image-size/large?v=v2&px=999 "table-widgets.png")

Thanks, in advance, for your counsel!

Susan


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hi Susan,

This widget can be [disabled globally](https://docs.stiltsoft.com/display/public/TFAC/How+to+insert+and+remove+the+macros#Howtoinsertandremovethemacros-Configuringinlinemacroinsertion) for Confluence or for specific space/page [using CSS](https://docs.stiltsoft.com/display/public/TFAC/How+to+insert+and+remove+the+macros#Howtoinsertandremovethemacros-Hidinginlineinsertionbuttons).

comments: author: Susan Kordis
body: Thanks, Andrey. The CSS solution worked perfectly.


author: gnowland
body: In case that page goes down or changes, the code in question is:

To hide all buttons:

```
#tfac-macro-inserter, #tfac-macro-inserter-container, .tf-inline-filter:not(.btn, .trigger) {
    display: none !important;
}
```

<br />

To hide one of three inline insertion buttons:

* Table Filter button

```
#tfac-macro-inserter [data-macro="table-filter"] {
   display: none !important;
}
```

* Pivot Table button

```
#tfac-macro-inserter [data-macro="pivot-table"] {
   display: none !important;
}
```

* Chart from Table button

```
#tfac-macro-inserter [data-macro="table-chart"] {
   display: none !important;
}
```

<br />

\*You can combine CSS to hide two of three buttons.


Tags: confluence-server

filter

ms-excel

server

table

wiki
Confluence Java Process is crashing after several days
Asked by valdes21:

Hello guys,

So it happened again. After several days online my confluence installation has crashed. It happened one time bevor after the installation on my new server (two weeks ago). This is the error which was logged to the catalina.out log:

```
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f8a469f96dc, pid=13472, tid=13504
#
# JRE version: OpenJDK Runtime Environment (11.0.5+10) (build 11.0.5+10)
# Java VM: OpenJDK 64-Bit Server VM (11.0.5+10, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x7ab6dc] G1ParScanThreadState::copy_to_survivor_space(InCSetState, oopDesc*, markOopDesc*)+0x26c
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /opt/atlassian/confluence/bin/hs_err_pid13472.log
#
# If you would like to submit a bug report, please visit:
# https://github.com/AdoptOpenJDK/openjdk-build/issues

```

I have seen that some guys were [reporting](https://community.atlassian.com/t5/Confluence-questions/Confluence-is-crashing-after-upgrade-to-6-12-0/qaq-p/937953) a similar error before, but without any resolution.

I'm using the enterprise release of Confluence 7.4 and OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.5, delivered with Confluence) on Debian 10.

Any ideas?  

Best regards  
Valdes


Answers:
author: valdes21
body: I switched to OpenJDK Runtime Environment 11.0.7 (offered by Debian 10 native repositories) two weeks ago and didn't experience any Confluence crashes after this. I hope the problem is solved for now.

comments: author: valdes21
body: Okay, it happened again.


Tags: java

jre
Edits on project pages details
Asked by Dailin Garcia Young:

I have a project intake, using Confiforms plugin, where a project page gets created for every entry. When there are edits on the page, I get an email from Confluence which displays my project template but only displays the confiform field names and not the actual data for those fields. Looking to see how i can correct it to actually show the field content vs. the field name.


Answers:
author: Fabian Lim
body: Hi Dailin,

If you are still having issues, I suggest you contact the confiforms support team. They are very good at getting back to you.

Regards


Tags: confluence-server

server
confluence cloud hystrix error on page property report
Asked by Kathy Hart:

Anybody else getting this error on the Confluence Cloud? All our page property reports are returning similar errors today, but the Status Page shows that Confluence is up and operational.

Has anyone received this before? Is there something I can do to alleviate it?


Answers:
author: Kathy Hart
body: Turned out to be a problem with Confluence which was later resolved by Atlassian.


author: mehul sheth
body: Yes, Error rendering macro 'contentbylabel' : Hystrix circuit short-circuited and is OPEN

comments: author: Luke Gary
body: we are observing the same


author: Lori Mendoza
body: "Error(s) occurred**.**Hystrix circuit short-circuited and is OPEN" when viewing My Calendars in Confluence


Tags: cloud