youngmon/atlassian-qna huggingface dataset:
Backup und Upgrade Confluence
Asked by manfred_jordan:

Hello everybody,

unfortunately the documentation is available only in english but our version is in german. So, it is very unconvenient to find the point of the menu mentuioned in the documentation.

Actually I want to upgrade confluence and curious how to do that. I want to backup the system before and do not know how to do this - the \[backup and restore\] point I could not find.

So, I wonder if there is a checklist or documentation available to upgrade the system (with backup the system before upgrading it). Is the upgrade be done over the web interface or do I have to unpack a Zip-file and overwrite th current version (we are using a linux installation).

Thanks for any help

Manfred Jordan


Answers:
author: Zak Laughton
body: Hi Manfred!

There are two supported methods to upgrade Confluence: manually or using an installer. The manual method basically involves downloading the newest version of Confluence, then running it against your existing Confluence Home directory. The installer method uses an installer to automate most of this process. The pages below outline the full steps for completing each method:

* [Upgrading Confluence Manually](https://confluence.atlassian.com/doc/upgrading-confluence-manually-255363437.html)
* [Upgrading Confluence (Installer)](https://confluence.atlassian.com/doc/upgrading-confluence-4578.html)

In either case, I recommend closely following the steps outlined in the documentation linked above, which provides detailed instructions and things to look out for to ensure a successful upgrade. And most importantly, be sure to test all changes in a staging environment before upgrading production to avoid any potential outages.

I hope this helps!  
-- Zak

comments: author: manfred_jordan
body: Hi Zak,

thanks for your answer. I think I prefer the manual installation; sounds easy as it seams just to unpack a zip file to the install dir of confluence.

I will follow the guide step by step and doing a snapshot in case of running in any dificulties.

thx

Manfred
NTLM Authentication from ConfiForms
Asked by Nico:

Hello,

I am currently trying to use the EWS API directly from my ConfiForm. When I tested it with cURL, it only worked when I was using the NTLM authentication.

This is the cURL call I used: curl -v -u \<user\>:\<password\> -L <https://example.com/ews/exchange.asmx> -d "@ewstest.xml" -H "Content-Type:text/xml" --ntlm

Now, I have a ConfiForm in Confluence, which when it a user sends it, I want to create a meeting in his exchange calendar.

But I can't seem to figure out how I do the NTLM authentication in a ConfiForm, or if it doesn't work that way, how should I do it instead?

Thanks.


Answers:
author: Alex Medved _ConfiForms_
body: Since 2.0.29 ConfiForms [supports](https://wiki.vertuna.com/display/CONFIFORMS/Release+Notes#ReleaseNotes-Version2.0.29) NTLM 2 authentication to external services


Tags: api

authentication

confiforms

confluence-server

ms-exchange

ntlm

server
Which jar file contains the com.atlassian.confluence.user.AuthenticatedUserThreadLocal source?
Asked by seanbrett76:

Hi,

I'm trying to replicate a plugin we have installed in our Confluence instance. The plugin works correctly but I need to create a new plugin for a similar purpose.

I have the plugin source code but cannot compile/build from it as I cannot find the library for the AuthenticatedUserThreadLocal class. The code looks like this:

```
// get the currently logged in user
User user = AuthenticatedUserThreadLocal.getUser();
String username = user.getName()
```

Any ideas which jar file (and where I can get it) I need?  
(Surely it must be present on our Confluence server in order for the plugin to run?)


Answers:
author: seanbrett76
body: Nevermind, I found a copy in a local repository store in the jar confluence-5.1.5.jar


Tags: confluence-server

server
calender doesn't open
Asked by Diabetesvereniging Nederland:

In my Trello account I see the calender icon. But when I click on it it doesn't open anymore. With my colleagues this problem doesn't occur. What's wrong?


Answers:
author: Jodi LeBlanc
body: Hi [@Diabetesvereniging Nederland](/t5/user/viewprofilepage/user-id/2756912) you may want to disable the calendar power-up and re-enable to see if that will work for you. If that doesn't work, what browser are you using? You may want to try it with another browser to see if you get the same results.

Please let me know if this helps.

Jodi


Tags: cloud

confluence-cloud

trello
Consuming Confluence Cloud API content in a React application
Asked by Virginia Carrasco:

Greetings,

I was wondering what practises are available out there to transform a Confluence Cloud API call, say to fetch a specific page's content, into a React component. Basically:

1. Confluence hosts content
2. Application API fetches page from confluence through its API
3. Application API forwards the response to the React application
4. React application transforms the Confluence page's content into all the required components: tables, lists, paragraphs, images, etc

I have played around with the \`xml-js\` library, but its implementation is quite messy. I was wondering if perhaps there was something better out there.


Answers:
author: Zak Laughton
body: Hi Virginia,

The process of using the Confluence API in a React component should be similar to using any other API with React. The React documentation has some great info and details: [React - AJAX and APIs](https://reactjs.org/docs/faq-ajax.html).

As for parsing the page content, you could try just using [.match()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/match) and regex. [This StackOverflow post](https://stackoverflow.com/questions/10585029/parse-an-html-string-with-js) also has a pretty good suggestion to turn the JSON response string into an HTML DOM element, which you can then parse with [.querySelector()](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector) (or [.querySelectorAll()](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll)) to find whatever elements you're looking for.

I hope this helps!  
-- Zak

comments: author: Virginia Carrasco
body: Thank you for your answer.

Although that method doesn't quite work for my use case. I am parsing a Confluence page that returns its content in XML into fully fledged React components.


author: luketelo_joseph
body: Did you get help on this?


Tags: cloud

confluence-cloud
Not loading
Asked by Shinsei Bank:

Hi,

I am using evaluation version (trial) for confluence.

I have restarted few services on server including confluence service and Apache service on server machine. After starting services, confluences is not getting loaded even on local host.

Please help!


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Can you check the Confluence log files to see if there are any errors?

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


Tags: confluence-server

server
Automatically copy the side-tree
Asked by matthiaskailabch:

Hi there,

i would like to have a function in my space-blueprint-plugin that automatically copies the page tree when it is created and changed. is this possible?


Answers:
author: Shannon S
body: Matthias,

When you refer to your space blueprint, is this an add-on you created yourself, or are you referring to the default space creation in Confluence?

Can you clarify exactly what page tree you need it to copy? Are you saying you want you the space blueprint you're developing to create a set of pages automatically?

Please elaborate on what you need to do so we can best help you.

Regards,

Shannon

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

what I mean is that when I create a new space, that space copies the side tree from the main room( another normal room) .  
I hope I explain it better now.


author: Shannon S
body: Matthias,

I'm not sure what you mean by room. However, when you create a space it will not create any pages besides the default homepage.

If you need to create a page tree on the fly, you might want to [take a look at the available add-ons on Marketplace](https://marketplace.atlassian.com/search?product=confluence&query=page%20tree).

I hope that helps, but let me know if you have any questions about it.

Regards,

Shannon


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

Room was my fault, I mean a space. I'm trying to give you an example. My main space has a page tree with 3 pages and I create a new space with my space-blueprint, the space should copy the page tree from the main space.


author: Shannon S
body: Matthias,

Thank you for confirming. Blueprints are a set of templates, and each template can be used to create a specific page type. However, a Blueprint cannot be used to create a set of pages, which is what you are trying to do.

I believe your request is related to this feature request, if you want to have a look:

* [CONFSERVER-4538](https://jira.atlassian.com/browse/CONFSERVER-4538) *Creating a Space Template*

As a workaround, you can manually copy a page and all of its children after a space has been created.

* [Copy a Page \> To copy a page and all its child pages](https://confluence.atlassian.com/doc/copy-a-page-139013.html)

> To copy a page and all its child pages:
>
> 1. Go to the page and choose \> Copy.
> 2. Choose a Location for the new pages.
> 3. Select Include child pages.
> 4. Use the options provided to customize your new page titles.
> 5. You can add a prefix, replace a keyword or phrase in existing titles, or both. The preview will give you a good idea of what your new page hierarchy will look like, and warn you if there are any problems.
> 6. Deselect any items you do not want to copy over (attached files, labels, restrictions)
> 7. Hit Copy.
>
> You'll find a link to your newly copied pages in the copy complete message.
>
> Note: It's not possible to selectively copy multiple pages. You will be copying the entire hierarchy.

Let me know if you have any questions about that.

Regards,

Shannon


Tags: confluence-server

server
Searching into content of my Wiki
Asked by Gerald Pang:

I have an in-house Intranet system and a separate Confluence Wiki. What is the script that allows my users to search Wiki content from my intranet? We are using Javascript.

What is the URL required? For example, one other setup we have is to GitHub and this was the URL

```
var url = "https://api.github.com/search/repositories?q=" + encodeURI(query)
```

What is the URL for Confluence Wiki?


Answers:
author: Marty
body: Hi Gerald,

you could look at using the Confluence REST API for this.

Here are the docs for the search endpoint: <https://developer.atlassian.com/cloud/confluence/rest/#api-content-search-get>

I hope that helps!
Plugin to remove atlassian logo in confluence footer
Asked by fayaz jira:

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

please helpme out how to remove this atlassian logo in footer using PLUGIN


Answers:
author: Zak Laughton
body: Hi Fayaz,

This duplicate footer issue is a known bug, and I created a ticket with our developers to document it: [CONFSERVER-55336 -- Any custom HTML at end of](https://jira.atlassian.com/browse/CONFSERVER-55336)body[causes duplicate footer image](https://jira.atlassian.com/browse/CONFSERVER-55336). You can view the bug ticket for details on reproducing and working around the issue, but essentially, you should be able to use the following code in your custom HTML without seeing the duplicate logo:

```
<script>  const textToAdd = `    <p>Replace everything between the backticks with your custom HTML.</p>    <p>No duplicate footer here!</p>  `;  $('#footer-logo').prepend(textToAdd);</script>
```

I hope this helps!  
-- Zak

comments: author: fayaz jira
body: Thanks [@Zak Laughton](/t5/user/viewprofilepage/user-id/311502)   

i have seen below and tried but am using confluence 6.13.0, in this custom html we have start with   
\</section\>

\<script\>

<br />

\</script\>  
\<section\>


author: Fabienne Gerhard
body: Hi [@fayaz jira](/t5/user/viewprofilepage/user-id/2583814) - there probably won't be an addon that can remove the logo. Easiest way would be to put this

```
#footer-logo {display: none;}
```

in your global stylesheet.
Fixed TOC working in preview but not when published
Asked by Dustin DeCoursey:

I'm fairly new to Confluence, but I've found a number of topics on the same subject. Unfortunately none of them appear to have the solution for the problem.

I have a page setup with 2 tabs, on the left is actual content and on the right is just a TOC with CSS, Div and HTML comment.

I'm actually not even certain the HTML is having any affect here, but it still functions in the preview just fine, so I've left it alone.

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

I've reviewed a number of articles including this one that seems to be having the same issue as the well as the one they point to inside of that article. Perhaps I'm missing the obvious but any help is appreciated.

<https://community.atlassian.com/t5/Confluence-questions/DIV-with-Custom-Style-Doesn-t-work-on-the-Page-but-works-in/qaq-p/634747>


Answers:
author: Zak Laughton
body: That is strange that you are able to see the table of contents in the preview, but not in the published page. I tried to reproduce this behavior, but was unable to. When I put a table of contents in the right column of a page in a div with property "position: fixed", it appeared normally on a page.

My guess is that on your page, the [position: fixed](https://www.w3schools.com/css/css_positioning.asp) property is moving the table of contents to a location it can't be viewed.

You have a number of macros here though, and I think a good place to start is to start ruling out certain macros and seeing what does and does not impact the issue. Then we can focus on testing only the related macros.

* Keeping everything else the same, do you see the same issue if you replace the table of contents with plain text?
* Keeping everything else the same, do you see the same issue if you remove the "style" macro?
* Keeping everything else the same, do you see the same issue if you delete the text in the left column?
* I'd also like to see if it's visible if you force the div into a corner. Are you able to see the table of contents in the top right of the published page if you put the following in the Style macro?
  *

    ```
    .fixedPosition { position: fixed; top: 0; right: 0; }
    ```

-- Zak


author: Dustin DeCoursey
body: I've removed the HTML, still functions the way I expect in the preview but not when published.
Multiple Custom 404 error messages
Asked by Michael Cooley:

I have a need that we want to shut down a site and direct people to another one. We want a message to pop up when someone tried to go to any page in that site. I was thinking about setting up a custom 404 error message for this site. I'v found how to update the general 404 error message but have not found any way to setup a custom 404 message just for the specific site. Is there a way to do this with a custom 404 message? Is there a better way to look at this problem?

Thank you,

Michael


Answers:
author: Nic Brough -Adaptavist-
body: Confluence won't really support this. You're running a web-service with Confluence that responds on the base-url and will continue to do so while it is running. By definition, you can't get 404's because the pages Confluence is serving ARE there.

But there are some options.

Most of us will simply turn off Confluence. You'll get a generic 404 then, rather than a nice useful one, so the cheap trick is to set up a web-server to listen on the base-url that Confluence was on, and serve up the 404 you want no matter what the users land on below there.

If, for some reason, you want to keep Confluence running, you can customise the "header" in the main look-and-feel, placing a javascript "redirect" to land the users whereever you want to push them to.

Finally, if by "site" you actually mean just "Space" (i.e only a part of your Confluence), I would restrict every page in the space so that the users get a "forbidden" and then use a similar trick to the one above on the home page for the space - there's a (free) App for "redirect macro" in the marketplace which enables you to stick a redirect on the home page (or, if you can be bothered to do a bit of scripting, add it to all the pages in the space!)

comments: author: Michael Cooley
body: Nic,

Thanks for the feedback, yes when I said Site i mean Space. I'll look into your suggestions for future requests. I'm just going to modify the default 404 message for the time being.

Regards,

Michael
How can I generate a change log or activity report (xml or pdf) for a workspace in confluence?
Asked by Karthikeya Sridharan:

Hi Team,

I wanted to generate a detailed report out of confluence workspaces. I know it is available in the "Recently Updated" section under the Pages" option of a workspace. But is there a way to pull a report of that data in xml or pdf format??


Answers:
author: Zak Laughton
body: Hi Karthi,

You may be interested in showing the recently updated content in a page using the [Recently Updated Macro](https://confluence.atlassian.com/doc/recently-updated-macro-139519.html). You can then either [export it to PDF](https://confluence.atlassian.com/doc/export-content-to-word-pdf-html-and-xml-139475.html) or use your browser to print to PDF.

I hope this helps!  
-- Zak
Atlassian Confluence (wiki) Restrictions issue - cannot add any users to the restrictions list
Asked by Odell Shoffner:

When trying to lookup a team member's name (I've tried 3:---I can look them up in Jira successfully), it just gets stuck searching/spinning and never returns a result---see screenshot attached.  
I had previously setup other members of our team, as shown on the screenshot, and need to add three (3) more but this feature is not working today (they are longtime Atlassian users). There was an email notice sent out this weekend informing users of Confluence maintenance as well as some issues encountered---has anyone else reported the problem I'm having? Your help with this matter would be greatly appreciated. Thanks in advance for your help.


Answers:
author: Zak Laughton
body: Hi Odell,

If this started happening after maintenance on your local instance, the two are likely related. Just based on the behavior you described, it sounds like the indexes need to be rebuilt. I'd reach out to your local system administrators who performed the maintenance to see if others have reported issues and if they're working on a fix.

-- Zak

comments: author: Odell Shoffner
body: Thanks.


Tags: jira

jira-service-desk
Is it possible to export a space then import it to overwrite an existing space?
Asked by Abe S:

Let's say I have 2 wiki spaces, MYAPP210 and MYAPP. The first is the documentation for version 2.1.0 of my application, whereas the second is the documentation for the current version.

When I release version 2.2.0, I want to copy MYAPP210 into MYAPP220, make documentation changes there, and then I want to essentially clone MYAPP220 into MYAPP, overwriting the entire space.

Is this possible? Is there a better solution for my use case?


Answers:
author: Abe S
body: I was able to do this by deleting the target wiki space MYAPP, then using "Copy Space" to copy MYAPP220 into MYAPP.

Confluence allows you to use a wiki space key that was previously in use but has been deleted.


Tags: confluence-server

server
Changed instance IP
Asked by Conan Moriarty:

Hi - I moved confluence off an instance on AWS over to another - but I've lost my ability to apply the license: SEN-12316280


Answers:
author: Alexis Robert
body: Hi [@Conan Moriarty](/t5/user/viewprofilepage/user-id/1377054) ,

what exactly is the issue in applying the licence ? You should be able to navigate to the Licencing menu and just put your key, as shown in the documentation [here](https://confluence.atlassian.com/adminjiraserver0713/licensing-your-jira-applications-964984010.html).

Let me know if you have any questions,

--Alexis

comments: author: Conan Moriarty
body: I logged in again and applied it - it worked perfectly.

Before it was repeatedly saying something like VSFR error - (acronym may be incorrect)

Thanks
Fading out Space Settings
Asked by Andreas Beekma:

Hi all, I search for a function to fading out the Space Settings with or in Sidebar configutarion. ?berblick, Blog and Calendars can be disable but "Space Settings" can't disable.


Answers:
author: Victor Mutambuki
body: Andreas,

You're able to see Space Setting because you're the admin. If you remove yourself as an admin, Space Settings will not be available.

Victor

comments: author: Chris Buzz
body: This is not the case when you have a space with Anonymous access. Space Settings really should not be available to anonymous users as it shows email addresses, administrators, and other user names - not to mention orphaned pages, etc. How can we remove this from Spaces with Anonymous access allowed?


Tags: cloud

confluence-cloud
Is there a ticket for the ability to watch a page and all of it's children?
Asked by Wendy Emerman:

You can watch a page, I know. But a) this should automatically include watching its child pages or b) there should be an option to watch the child pages.

And, I don't want to watch the entire space.

This seems like such an obviously missing feature, and easy fix! My company has some extremely large spaces with different page families for different audiences.

Is there a ticket already out there for it?

There is a conversation from 2015 called "Is there a was to watch a page and all child pages?" It is marked 'solved'.


Answers:
author: Shannon S
body: Hello Wendy,

The feature request ticket is located below:

* [CONFCLOUD-2853](https://jira.atlassian.com/browse/CONFCLOUD-2853) *Watch Page and Children*

It is a long-standing feature request and does have a lot of votes, but I would still encourage you to vote on the issue and provide your feedback. By watching the case you can be updated of any changes.

Regards,

Shannon

comments: author: Wendy Emerman
body: Thanks, Shannon. Added my vote, and a comment. It's been an open ticket for 15 years. Why can't this simple option be addressed? So frustrating.


author: Wendy Emerman
body: I am accepting your answer. Our answer should be posted to the ticket, not here!


author: Shannon S
body: Wendy,

Thank you for the feedback you left on the ticket! Take care, and have a pleasant week.

Shannon


Tags: cloud

confluence-cloud