youngmon/atlassian-qna huggingface dataset:
Move confluence data to another server with newer Confluence version
Asked by Arthur Jones:

Hello,

Please help to move all confluence data (including security groups, spaces, attachments ...) to another server with newer application version.

From: Confluence 6.4.0 server, centos 7, mysql

To: Confluence 7.4.6 server, centos 8, mysql


Answers:
author: Nic Brough -Adaptavist-
body: The best way to do this is to upgrade the 6.4 and then copy the resulting system on to the new server. Or copy the current 6.4 system to the new server and upgrade it.

The second best way to do this is faster, but may not work - take a full backup of the 6.4 (the built-in xml backup) and import it into the new system. It should try to upgrade the data during the restoration, but this is not always possible, and if it fails, it's because there's something in the data that 7.4 is unable to upgrade.

comments: author: Arthur Jones
body: Appreciate your very quick response :)

I am afraid about full backup, because the data is \~35 gb (not sure is it a lot or not)..

And also one question this XML backup method, also backing up DB ?


author: Nic Brough -Adaptavist-
body: Ok, let's rule out the xml for now.

To move Confluence on another server, let's look at the minimum viable backup. You need a copy of the database somehow, and a copy of the attachments directory. With just those two items, you can recreate a new copy by

* installing Confluence empty,
* installing (but don't bother licencing or configuring) all the apps you had on the original system that you want to carry on using in the new one,
* restoring the database into the target database
* copying the attachments verbatim (I won't mention attachments again, they really are a simple flat copy of a pile of files on a disk)

The xml backup is one way to get a copy of the database. A better way is, as you suspect, a backup of the database. It's probably smaller and certainly faster than xml (The xml has one advantage in that it is database agnostic - you can use it to go from MS-SQL to Postgres if you wanted to)

Note that in there, I've not mentioned upgrading - the source and restored versions of Confluence need to be the same to do this safely.

In theory, you could get your new Confluence running on 7.4 with an empty database, shut it down, restore the 6.4 database and restart it - it will detect the difference in the data and it should try to upgrade that. But if it fails, you will be left with a non-functional Confluence and an unusable database behind it!

What I would do is simply test the process before booking a change time. If 7.4 happily upgrades the database when it first sees the older data, great. If it fails, plan a separate upgrade step in the migration plan.


author: Arthur Jones
body: Very good. Am I understood you correctly, all my data (created docs), is saved on DB, and if I can successfully import the DB, I will have all my docs? (on this example I excluded attachments, installed apps, and specific configures)


Tags: confluence-server

migration

server
Compare page versions in an overall view
Asked by Thilo Rees:

Hi,

I was wondering if there is an option to view an entire document with highighted changes from the a previously versions .

When I use the version comparison, the document is always reduced to the passages where changes have been made - passages without changes are hidden.

For a review, it would be much easier to view the entire document to get the context of a (changed) paragraph.

Thanks and best regards,

Thilo


Answers:
author: Dominic Lagger
body: Hi [@Thilo Rees](/t5/user/viewprofilepage/user-id/3551888)

I can't reproduce your behaviour.

When I compare two pages, the whole page is displayed and I see everything, even the text that was not adjusted.

Which version do you have on confluence?

Regards, Dominic

comments: author: Sebastian Sitter
body: Hi Dominic,

sorry for the delay.

My Version is

* Powered by [Atlassian Confluence](http://www.atlassian.com/software/confluence) 7.3.5

You can reproduce this, if you take a long page, let's say 10.000 Words. If I put one change to an paragraph only this paragraph is shown when I compare two versions of the document - or, to be more specific, only the change and the surrounding lines are shown.... I pu an Secreenshot below.

Three dots ("...") represent the "missing" Content. I understand, that this a feature, not a bug - If you are interested in getting a quick overview of he changes made...

To do a whole document review, it would be better to get a wider view to get the whole document including the highlighted changes.

Best regards, Thilo

![2020-12-04 15_23_37-Seitenvergleich - Test History (v.1 vs v.3) - Thilo Rees - Continum.png](https://community.atlassian.com/t5/image/serverpage/image-id/120871i7C2C824C22CF636C/image-size/large?v=v2&px=999 "2020-12-04 15_23_37-Seitenvergleich - Test History (v.1 vs v.3) - Thilo Rees - Continum.png")


author: Dominic Lagger
body: Hey [@Sebastian Sitter](/t5/user/viewprofilepage/user-id/648601)

I now can reproduce this.

I think, this is a feature for not showing uninteresting texts.

I would suggest you to contact Atlassian support and ask them about it:

<https://support.atlassian.com/>

Regards, Dominic


Tags: confluence-server

server
OKTA - Basic Authentication Failure - Reason : AUTHENTICATED_FAILED
Asked by Mike Griffin:

Hi,

We use OKTA for SSO. So far I am logging into OKTA no problem with CURL and getting the Token back. Now I am not sure when I use basic authentication for confluence if I use:

username:oktatoken or username:password

naturally these are both base64_encoded.

It seems if I use either combination that I get the 401 error.


Answers:
author: Jonny Carter
body: I've been dealing with this too, and I'm just as stumped.

The only workaround that I've found so far has been to steal a JSESSIONID cookie from my browser and add it as an HTTP header to the request in curl as a cookie header. e.g.

```
curl --header "cookie: JSESSIONID=ABCDEFGHIJKLMNOP;" https://confluence.company.com
```

I thought at first that the [old X-Atlassian-token: no-check header](https://developer.atlassian.com/server/confluence/form-token-handling/) would work, but that doesn't appear to cut it either.

Generating my own JSESSIONID from a prior HTTP request hasn't worked for me so far, even though a response to the Confluence base URL with basic authentication headers *does* include a JSESSIONID set-cookie in the response headers.


Tags: confluence-server

okta

server
How can I add a link to the Confluence top menu bar?
Asked by Corine de Kater:

I would like to add a link to the top menu bar of our Confluence server instance, like you can see in the next image (this is no real link, but a manipulated screenshot):   

![link-menubar.png](https://community.atlassian.com/t5/image/serverpage/image-id/120359i4C3307EE085FF450/image-dimensions/546x59?v=v2 "link-menubar.png")

What is the best way to get this done?

Thanks for your help, Corine


Answers:
author: Nic Brough -Adaptavist-
body: You'll need an app that can insert a "web fragment" (unless you want to amend the code of Confluence itself).

For a link like that, you'll probably need to write your own app to do it, unless you are happy to install one of the few apps that allows customisable web-fragments to be added (Scriptrunner is the only one I know of, but there may be others)

comments: author: Corine de Kater
body: Hi Nic,

Thanks for the tip. We actually do have Scriptrunner. I will have a closer look at it.


author: Corine de Kater
body: It works, great! :-)


Tags: confluence-server

server
how best to go about giving access to our spaces to our customers outside our instance
Asked by Ronnie Lewis:

How best to go about giving access to our knowledge base spaces to our customers outside our instance and what granularity of control do we have (i.e access to specific pages for specific customers) Thanks


Answers:
author: Nic Brough -Adaptavist-
body: You will need to give the customers accounts in your system, accounts which are added to a "can use" group, and probably a group representing that customer, and probably no other groups.

You can then control what spaces and pages they can see (and edit, attach, comment etc) via the space permissions, adding the individual users, or doing by group if that's easier for you.


Tags: access

cloud

confluence-cloud
How to select a Comala Workflow state directly at Confluence Cloud
Asked by RICO Diego:

Hi!

Is there a way to choose directly wich workflow state I want to move my article?  
At the Comala Workflows for Confluence server I was able to design my workflow in a way that was not necessary to always use the Approve/Reject method. I could just select the available states for transition from a drop down list, like this:

![image.png](/t5/image/serverpage/image-id/120350i0D4788507A153845/image-size/large?v=v2&px=999 "image.png")  
Now it fews a bit limited with the pre defined Approved/Rejected/Updated/Expired options. It doesn't give me the same freedom from the server version.

![image.png](/t5/image/serverpage/image-id/120353iCDFE2E5179EFDF66/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Daryl Karan
body: Hi Rico,

I appreciate your email and your continued interest in Comala Family of apps to add process and control to your Confluence content. Given that we are an app vendor on Atlassian's ecosystem, Comala can only provide features when technically available to us.

Currently the ability to add additional transitions like Submit and Select States are not technically available to us. With that that being said, what I would recommend is use the approval transition and customize the Action Buttons so the author can submit the Approval to the next state.

At this time we can not provide an ETA as too when and if these additional Transitions will be available in the Cloud app.

If you have questions or need any additional information on this (or anything else), just let us know.

Regards,   
Daryl

comments: author: RICO Diego
body: Hi Daryl,

Thank you for your answer.

Your suggestion for the Action Buttons customization can help in some aspects, but there are other situations which one must choose among different paths for the workflow and the amount of transition might not be enough, since we can choose only one time each. Do you have further suggestion for this?

Best regards,  
Diego


author: Daryl Karan
body: Hi Diego,

I hope this message finds you well,

I happy to announce that we've implemented a new feature that allows our customers to use a Select Transition. This feature works similarly to that of our Server app, in which you could just select the available states for transition from a drop down list.

You can find more information on how to include this in your workflow [here:](https://wiki.comalatech.com/display/CDMC/Add+and+edit+state+transitions+in+workflow+builder)

If you have any questions on this, feel free to email me directly or send in a support ticket.

Have a great day,   
Daryl


Tags: cloud

comala

confluence-cloud

workflow
Report of all my name tags
Asked by Duygu Kornmann:

Hi there,   
is it possible to generate a listing of all contents where my name is tagged? (@myname)  

I need an automatically report which puts all contents together (maybe using a macro) where somebody tagged me. (Similar to the macro task report)

Thanks for you help


Answers:
author: Diego
body: Hello [@Duygu Kornmann](/t5/user/viewprofilepage/user-id/4180774) ! As I understand, you need to list all content where your Confluence User is mentioned. Currently, this is not natively possible in Confluence Cloud.

This need has been mentioned some time in the past and the following request has been raised to try and tackle this:
> * ++***[\[Confluence Cloud\] Macro: Content by @mentioned user](https://jira.atlassian.com/browse/CONFCLOUD-33832)***++

I sincerely encourage you to go over to the ticket and share your experience with this need there.

In our Marketplace there are third-party solutions that might help you achieve the necessary results. Here, take a look:
> * ++***[\[Atlassian Marketplace\] Confluence Cloud - mention](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=mention)***++

Let us hear from you!


Tags: cloud

confluence-cloud
Width of the footer wrong when I using my own design
Asked by Rene Schwarzer:

![problem.png](/t5/image/serverpage/image-id/120332iEB4A47A827BADB5E/image-dimensions/543x341?v=v2 "problem.png")

Hi,

I wrote an add-on with a theme and a color scheme according to the instructions <https://developer.atlassian.com/server/confluence/writing-a-confluence-theme/>. I'm using Confluence 7.4.3.

When choosing the design, the layout of the Confluence pages is affected.

The footer no longer adjusts to the width of the page. Now it's the width of the window + sidebar.

Does anyone know the problem or can help me?

Here is my code:

```
<theme key="entw-theme"
name="ENTW-Umgebung"
class="com.atlassian.confluence.themes.BasicTheme">
  <description>Thema f?r die Entwicklungsumgebung</description>

  <param name="includeClassicStyles" value="false"/>

  <colour-scheme key="${project.groupId}.${project.artifactId}:entw-colours"/>
  <space-ia value="true"/>

  <!-- CSS -->
  <resource type="download" name="default-theme.css" location="/includes/css/default-theme.css">
    <param name="source" value="webContext"/>
  </resource>
  <!--<resource type="download" name="theme-entw.css" location="/css/theme-entw.css"/>-->

  <!-- Images -->
  <resource key="icon" name="themeicon.gif" type="download" location="/images/themeEntwIcon.gif"/>
</theme>

<colour-scheme key="entw-colours" 
name="Farbschema f?r die ENTW-Umgebung" 
class="com.atlassian.confluence.themes.BaseColourScheme">
<colour key="property.style.topbarcolour" value="#444444"/>
...
<colour key="property.style.navselectedtextcolour" value="#ffffff"/>
</colour-scheme>
```


Answers:
author: Rene Schwarzer
body: I added the following CSS. So it works properly.

```
#footer {
width:auto;
position:absolute;
right:0;
left:0
}
```


author: koh
body: Experiencing this as well on confluence v7.13.7, did you manage to find out the issue?


author: Fabienne Gerhard
body: Hi [@Rene Schwarzer](/t5/user/viewprofilepage/user-id/3339503)

I'm not sure what you expect from the sidebar. The footer is always is always fullwidth and your code doesn't affect any width with the style.

You could code in a padding right but I don't find a reason for that. Please explain this to me so I can help you!

comments: author: Rene Schwarzer
body: I don't understand the behaviour of the code either. When the color scheme is enabled, the appearance of the footer is affected. In the picture, the behavior is clearly described. The grey area on the right edge does not belong there.


Tags: confluence-server

server

theme
Links attached to multiple Powerpoint slide shapes do not show up in office powerpoint macro
Asked by richard.satur:

Hi. I'm not sure of what my expectations should be with the Office powerpoint macro plugin but if I try and attach more than one link to a 'shape' on a powerpoint slide then, no hyperlinks show up when the slide is viewed via the powerpoint macro plugin.  

The hyperlink will show up if only one is attached to a shape on the slide (saved as older .ppt format)  

Is this a fault or by design (i.e. hyperlinks not supported) ?  

Thanks in advance.


Answers:
author: richard.satur
body: It appears that I can use the same feature (add hyperlinks to shapes) in Word Documents.  

I moved my content out of the Powerpoint slide into a word document (using landscape layout) and I have been able to achieve the same effect by using the Office Word viewer macro plugin.


Tags: cloud

confluence-cloud

macro

ms-powerpoint
Can you have two owners for a page?
Asked by usha.patel:

Is it possible to have multiple owners to a page to manage when page owners leave a team. In our instance we have a person who owns several pages leaving the team, and the page responsibilities will fall across two people so we wanted to make them both owners of the content


Answers:
author: DPKJ
body: [@usha.patel](/t5/user/viewprofilepage/user-id/4180487) Welcome to the community.

I suggested you create a group and assign ownership permission to that group instead of users.

Group can be space owner also.

comments: author: usha.patel
body: Thank you that sound like the answer for us


author: Aron Gombas _Midori_
body: Using the [Better Content Archiving](https://marketplace.atlassian.com/apps/123/better-content-archiving-for-confluence?hosting=datacenter&tab=overview) app, you can [set *any* number of owners](https://www.midori-global.com/products/better-content-archiving-for-confluence/data-center/documentation/quick-actions#set-owner) to each page.

As you see in the screenshot below, you can even set them to the root page of a page tree and set them to own the *whole* tree:

![quick-actions-dialog-set-owner.png](https://community.atlassian.com/t5/image/serverpage/image-id/264711i9E78E3A5A9D27D8C/image-size/large?v=v2&px=999 "quick-actions-dialog-set-owner.png")

*(Discl. it is a paid and supported app, developed by our team.)*


Tags: confluence-server

server
when will the Confluence text editor be fixed?
Asked by Virginia Butler:

How do I control the formatting done by the text editor? It is a real hindrance to have so many huge spaces between paragraphs just so I can change from one style to the next.


Answers:
author: Daniel Ebers
body: Hi Virginia,

I think you are referring to the new editor, is this correct?

<https://support.atlassian.com/confluence-cloud/docs/learn-about-confluence-cloud-editing-improvements/>

Can you describe the formatting problem with a screenshot possibly?

Cheers,  
Daniel


Tags: cloud

confluence-cloud
Hiding field in a TableView
Asked by Michael Confessore:

I have created a table using a TableView but there is one column that I use purely for connection with other tables and would like it entirely hidden from the user. Is this possible?


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Michael Confessore](/t5/user/viewprofilepage/user-id/4180345) ,

You may try to use the [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) app that works with ConfiForms TableView macro perfectly well.

Wrap your TableView macro in the [Table Filter](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Filter+macro) macro and choose the column that you want to hide:

![Tue 1-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/120345iB6B193AD3CB74EE4/image-size/large?v=v2&px=999 "Tue 1-2.png")![Tue 1-3.png](https://community.atlassian.com/t5/image/serverpage/image-id/120346iF037C3B9E54AC3EA/image-size/large?v=v2&px=999 "Tue 1-3.png")

Hope this helps.

comments: author: Michael Confessore
body: That worked! Thanks!


author: Alex Medved _ConfiForms_
body: You can have your TableView with any fields you like. Just add the ConfiForms Field macros pointing via "field name" parameter at the fields you want inside the ConfiForms TableView macro and you see only those fields from your form in this particular TableView.

Same applied on any other (rich-text) ConfiForms View macro


Tags: confiforms
How to use Confiforms Field Definition Rules with Validation rule (dataset)
Asked by Michael Confessore:

I have a Confiform TableView that is populated with data and I'm looking to run a check to prevent a new record from being added to the table if a field in the record matches one already in the table. I believe that the "Validation rule (dataset)" option on the Confiforms Field Definition Rules is the right approach, but when I set the condition:

myField:\[entry.myField\]  

the condition is always true and the record is never allowed to be added. What is the proper syntax for the comparison of the new record's field value to existing field values in the table?


Answers:
author: Alex Medved _ConfiForms_
body: Hi

This is a correct way to check, but you need to check for count also

In the condition parameter you will need to put the following expression

    myField:[entry.myField] AND _count:>1

Alex

comments: author: Michael Confessore
body: Worked perfectly, thank you!


Tags: confiforms
Como imprimir ou gerar um PDF para um conjunto de paginas?
Asked by Ernande:

A partir de uma pagina t?pico, existe alguma forma de gerar um PDF p?ra esta pagina e todas as paginas filhas?

Encontrei como gerar mais precisa entrar em cada pagina individualmente para gerar o PDF. Tem alguma outra forma de gerar um conjunto de paginas de uma unica vez?


Answers:
author: Aline Cristina Paradizo de Morais
body: Voc? consegue imprimir a sele??o de p?ginas na Configura??o do Espa?o \> Gerenciar Espa?o \> Exportar Espa?o \> PDF \> Exporta??o Customizada e seleciona as p?ginas que deseja imprimir.

![Confluence imprimir v?rias p?ginas.png](https://community.atlassian.com/t5/image/serverpage/image-id/282069i24B059879F88AE3A/image-size/large?v=v2&px=999 "Confluence imprimir v?rias p?ginas.png")


author: Marina Mendes Caixeta
body: Estou com a mesma duvida.


Tags: cloud

confluence-cloud
Generate New License
Asked by Saurabh N_ Deshpande:

Can you generate new license for following

I had to reinstall the server and the current keys no longer work

Regards,

Saurabh


Answers:
author: Nic Brough -Adaptavist-
body: Nope, we can't. We're not Atlassian and hence have no access to the licencing system.

You need to raise this with <https://support.atlassian.com/contact>


Tags: confluence-server

server
PDF share to email issue
Asked by Nathan Mausehund:

I am trying to use the share button to send a pdf to a user's email but it is not working. Do I need to have any other features or permissions enabled for it to work?


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Do you have some more information, of course it is actual ?

Because I am little confused, how do you want to do it.


Tags: cloud

confluence-cloud
How can I create a Index or Table of contents that lists different spaces
Asked by Mahesh Pallapolu:

My confluence has over 50 different spaces and the challenge I am having here is creating a one stop shop to customize and show the most important spaces. I would like the user to essentially log-in to confluence and scroll down to a title or department which has many different spaces in it. From there the user could select a space and get redirected to that space.

Let me know your thoughts and opinions.


Answers:
author: Diego
body: Hello [@Mahesh Pallapolu](/t5/user/viewprofilepage/user-id/4179925)!

You can use the "Spaces list" macro to achieve exactly that. The "Spaces list" macro does work as an index of all existing spaces in your instance.

Here is what it looks like when selecting it during page edit:
> ![Screen Shot 2020-12-02 at 14.03.00.png](https://community.atlassian.com/t5/image/serverpage/image-id/120413i181CEAA847FCFC12/image-dimensions/356x349?v=v2 "Screen Shot 2020-12-02 at 14.03.00.png")

This is what it looks like while in edit mode:
> ![Screen Shot 2020-12-02 at 14.03.11.png](https://community.atlassian.com/t5/image/serverpage/image-id/120414iFEFA44190A032004/image-dimensions/447x316?v=v2 "Screen Shot 2020-12-02 at 14.03.11.png")

And this is what users see when viewing the page that contains it:
> ![Screen Shot 2020-12-02 at 14.03.19.png](https://community.atlassian.com/t5/image/serverpage/image-id/120415i1002E9CF3025A3C4/image-dimensions/448x285?v=v2 "Screen Shot 2020-12-02 at 14.03.19.png")

Here is our documentation page about the "Spaces list" macro:
> * [++***\[Confluence Cloud\] Insert the spaces list macro***++](https://support.atlassian.com/confluence-cloud/docs/insert-the-spaces-list-macro/)

Let us hear from you!

comments: author: Mahesh Pallapolu
body: Great, this definitely works in spaces but is there a macro or functionality that allows us to manipulate the Home page? Add a list of pre-defined spaces on the home page.


Tags: cloud

confluence-cloud

index

organization

table-of-contents