youngmon/atlassian-qna huggingface dataset:
How to back up and restore from and to Confluence Server?
Asked by naime_surenkok:

Hello all,

We are using Confluence Cloud for about a month now and it seems like we decided to switch to Confluence Server.

And we found this article to follow: [https://confluence.atlassian.com/confcloud/migrate-from-confluence-cloud-to-server-724765578.html](https://confluence.atlassian.com/confcloud/migrate-from-confluence-cloud-to-server-724765578.html??)

And we got the backup from Confluence Cloud and tried to upload it to Confluence Server on "Backup and Restore". And our problem starts here. we cannot manage to enter as "recovery_admin". I think it is not clear how to edit "setenv.bat" file and re-login as recovery admin.

This is a serious issue as we are a bit confused how to back up and restore Confluence Server in the future if that is really this hard and confusing.


Answers:
author: Nic Brough -Adaptavist-
body: You only need the recovery admin password once, so that you can get system admin on Confluence. Once you have it, you should make people admins, with their accounts, so you don't need it any more. Then you should set up a backup strategy (recommendation - at the very least, back up the attachments and take a standard database dump regularly

Where are you struggling with editing setenv.bat ?

comments: author: naime_surenkok
body: Thanks for your fast answer

    -Datlassian.recovery.password=<your-password> 

i dont know where and how to write this command on .bat file and we also encounter some problems when we run start-confluence batch file, some errors on Env variables with having space between "Program" and "Files"


Tags: cloud

migration

server
I'm getting an error on file uploads saying the Server is busy.
Asked by john.abbey:

I'm trying to upload a larger file (120MB). My site file size limits are well above that, however, the file fails to upload with a "server busy" indicator.


Answers:
author: g
body: In most cases when the limit on Confluence is bigger then one of the files, something else is a problem, like a timeout limit on reverse proxy or file upload limit on some smart firewall or reverse proxy again.

I would suggest testing the issue without the reverse proxy by [bypassing it](https://confluence.atlassian.com/kb/how-to-bypass-a-reverse-proxy-or-ssl-in-application-links-719095724.html) with adding a new connector and using it. If the problem is gone, check the configuration of the proxy.

If this does not help, It would be also beneficial to provide us with the screenshot of the error message and [HAR](https://confluence.atlassian.com/display/KB/Generating+HAR+files+and+Analysing+Web+Requests) file once you do it.

Cheers!


Tags: proxy

upload
Confluence / Jira Healthchecks URLs for the Server editions
Asked by Jiri Pik:

Are there any URLs which I can use for pingdom.com?

I cannot use the login page (i.e. the home URL) since that URL is being checked for brute-force protection.

The same URL can then be used also for load balancer


Answers:
author: Craig Castle-Mead
body: Hey Jiri,

both Jira and confluence should have a page at /status/ that returns a basic json response and will give a HTTP200 code if all is good.

This path is used as the load balancer health check path too.

additional references:

<https://community.atlassian.com/t5/Confluence-questions/Confluence-server-status-page/qaq-p/258830>

<https://confluence.atlassian.com/enterprise/jira-data-center-load-balancer-examples-781200827.html>

CCM

comments: author: Jiri Pik
body: Thank you but for me /status does not work on either Confluence or JIRA.

Do I need to enable it somewhere?


author: Craig Castle-Mead
body: I'm getting a 404 if I have the trailing slash /status/ but works without /status

if that doesn't work, can you confirm the versions you're using?

CCM


author: Jiri Pik
body: Craig, you're right the /status works perfectly.

THANK YOU SO MUCH!!!


Tags: jira
UTF8 does not work for turkish characters
Asked by eemrecinar:

I'm using confluence server 6.7 and installed it using UTF8. document content seems fine but I'm having problems in Space Name and Page Titles. Typing the character "?" but getting "?" instead. I tried few ways to overcome but none of them worked for me. ![charactertest.png](/t5/image/serverpage/image-id/15292iD7816A9FE2F7A603/image-size/large?v=v2&px=999 "charactertest.png")


Answers:
author: eemrecinar
body: Hey Diego,

First of all, thanks for the quick response. I tried countless encoding and collation changes but I have found the solution in this post:

<https://stackoverflow.com/questions/21092007/why-java-strings-are-not-saved-as-utf-8-in-mysql>

This is something mysql hides from you perfectly. I saw that some of my db variables are set to latin1. I double checked my .cnf files but some of these variables weren't included. So I added them in the .cnf file and the problem solved.

For the users having the same problem;

Please please please run this before you do anything:

    mysql> SHOW VARIABLES LIKE  'char%';

all variables must be utf8. If not, set them first before going deeper.

comments: author: GMK
body: For postgreSQL database use query:  

show LC_CTYPE;  
show LC_COLLATE  

to verify if utf-8 is used.  
There are known issues related to upper-case special characters in attachment filenames when "C" collation is used with PostgreSQL -<https://jira.atlassian.com/browse/CONFSERVER-54305>

In addition to database collation/characterset I would recommend to check in application.xml configuration file if sun.jnu.encoding and file.encoding are pointing to utf-8 - see <https://confluence.atlassian.com/confkb/filesystem-encoding-is-written-as-ansi_x3-4-1968-even-though-the-server-is-set-to-utf-8-658735809.html> for more information and possible fix.


author: Diego
body: Hello Emre! Thank you for posting your issue here at the Community.  
Looking at the results from your encoding test, you might have problems with your \*database encoding\*.  
You may need to fix the collation of your database. You can check further information on how to do it here at <https://confluence.atlassian.com/doc/configuring-database-character-encoding-177698.html> .  
(!) Be sure that Confluence is Down before applying changes to your database.  
(!) (!) Always backup your database before applying any change to it


Tags: character

encoding

language

language-tr

page-title

space
Confluence in a hybrid mode?
Asked by Dave Makoski:

Can Confluence be setup to in a hybrid mode?

By this I mean use Confluence in the cloud but keep the data stored locally?

Wish to use the benefits of software updates, patches, etc in the cloud model, but require that information stays local.

Users would be redirected to locally store docs, etc.


Answers:
author: Nic Brough -Adaptavist-
body: No. Cloud is completely hosted - it's all or nothing (barring some add-ons which allow you to store attachments on google drive)
Popup about new feature keeps appearing
Asked by Patrick Vanhoof:

We have a user that keeps getting the popup 'NEW FEATURE! Did you know you can configure ScriptRunner Built-in Script as a Space Admin?', even after ckicking on the 'Got it!' button.

I haven't heard this from other users yet.

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


Answers:
author: Katy Kelly
body: Hi,

In order to disable the popups globally you will need to go to: /admin/darkfeatures.action and add the following: com.adaptavist.confluence.forms.disablepopups

Kind regards,

Katy

comments: author: Patrick Vanhoof
body: That particular user just had to clear her browser cache to avoid the popup to be schown again.


author: Patrick Vanhoof
body: That was the case at that moment, the next day it appeared again. This was in Internet Explorer. She now tries Firefox.


author: wim vanhauwaert
body: Hi, i have the same problem.

Did you solve this issue and how ?


author: Katy Kelly
body: Hi Wim,

As mentioned above, in order to disable the popups globally you will need to go to: /admin/darkfeatures.action and add the following: com.adaptavist.confluence.forms.disablepopups

Kind regards,

Katy


author: Guilherme V.
body: Hi Patrick.

I had a similar issue with but I was not able to resolve it. I have disabled all possible modules from ScriptRunner that would show that pop-up message but it didn't work. I'd recommend contacting the plugin's vendor to see if there's a special module that can hide that message: <https://productsupport.adaptavist.com/servicedesk/customer/portal/13>
Setup Confluence (Server) on subdomain on centos7 and apache2
Asked by IOAN FODOR:

Hi,

I installed Confluence (Server) as services on my dedicated server, now im trying to make it accesibile on

[https://collaborate.mydomain.com](https://jira.mydomain.com/)

The documentation i found is old.

Can anyone provide instructions on how i can do this?

I created a subdomain in whm/cpanel [collaborate](https://jira.mydomain.com/).mydomain.com so there is an A record for the subdomain.

And im planing on using a self signed ssl certificate.

What other configurations do i need to do?

Thanks!


Answers:
author: Thomas Deiler
body: Dear [@IOAN FODOR](/t5/user/viewprofilepage/user-id/1188929),

start with this [article](https://confluence.atlassian.com/doc/using-apache-with-mod_proxy-173669.html). If you need more help, please come back.

So long

Thomas


Tags: apache

centos

jira-software

server

subdomain
If page id corresponding then ...
Asked by Daniel Vlad:

How can I query the page id so if the corresponding ID is true, he will executing my command? In my case, he should choose another export scheme (scroll office).

Unfortunately it does not work with my code:  
#ElseIf ($ pageManager.getPage) == "274334942")

I try this one, also doesn?t work:

```
$content.getIdAsString()
```


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Daniel Vlad](/t5/user/viewprofilepage/user-id/69201) ,

try the following code :

$ pageManager.getPage(274334942L)

Fabio


Tags: atl-dev
Children Display Macro can't count
Asked by Christian Ludmann:

My pages in Confluence are numbered and there are more than 10 pages per parent page. The CD Macro on the parent page displays the first nine pages normally, but then the 10th page is added after the first and not after the 9th. The particular way the pages are numbered should not be changed, so that is not a possible solution.

The macro has 3 options: to display the pages by title, date of modification, and date of creation. This problem happens when display by title is used (of course). If I create the pages one by one and then use the 'display by date of creation' it will show the children pages in the right order. However, if a page is re-numbered (page 7 becomes page 12 for example) the results won't change because the date of creation won't change (so page 12 would come after 6). If I use the 'modified date' criterion, the macro will shuffle the pages every time, which is exactly the opposite of what I need.

Can this be fixed?

Example:

1.1

1.10

1.11

1.2

...

1.9


Answers:
author: Thomas Schlegel
body: Hi Christian,

leave the ordering option blank. Then the children macro uses the original order of your pages within the page tree.

comments: author: Christian Ludmann
body: What is the 'original order', please?


author: Thomas Schlegel
body: [@Christian Ludmann](/t5/user/viewprofilepage/user-id/1188898), I mean the order you define by ordering your pages manually in the Space Tools ( http://\<confluence-url\>/pages/reorderpages.action?key=\<space-key\> )
How to automatic count
Asked by Anko Mulder:

In confluence I have a collection of childpages with the same questions on each page. These questions have different values, like:

why = 1

when = 2

where = 3

The total here is 6. In my 42 questions list the result is 100.

I would like the results of the pages to show on the parentpage per childpage.

This way I get an overview of all of the childpages on 1 page.

Is this possible?

If so, can I automate the update?

Thanks at forehand.


Answers:
author: Vero Rivas
body: Hi [@Anko Mulder](/t5/user/viewprofilepage/user-id/1188901)

I would advise you to do an automation, you have numerous addons that can help you, on the marketplace page you can find them, for example, one of them is the scriptrunner

[https://marketplace.atlassian.com/search?product=confluence\&query=automation](https://marketplace.atlassian.com/search?product=confluence&query=automation)

Cheers
Not able to update centrally located Excel files on Confluence
Asked by Robert Kidd:

Hi, we have an excel document that we have on a centrally located server that keeps a track of on call information. I have included this file in confluence and, using the excel macro, have been able to produce it and one of its sheets in a confluence page.

At the top is the edit facility which we can use to edit the document. This seems to work as when we edit and refresh we get the update on the confluence page. However we need to be able to make an update on the confluence page and for it to be updated in the centrally located file. Likewise we need to update the centrally located file and for the updates to be seen on the sheet on our confluence page. I'm sure I had this working this time last year but now it doesnt.

It looks to me like it just creates a copy of the excel file and any edits from then on are purely against the copy. The centrally located file on the server remains unchanged. Please can anyone help. I've contacted Atlassian but they have suggested I put it out there into the community to see if anyone has had the same problem.


Answers:
author: Shannon S
body: Hi Robert,

The [Office Connector](https://confluence.atlassian.com/doc/edit-office-files-170494553.html) is only able to edit files that are directly attached to a Confluence page, thus not possible to edit externally hosted files.

I'm tagging your question so that the members of the Marketplace Apps collection can also see your question, in case they are aware of a 3rd-party add-on that can accomplish what you require.

Kind regards,

Shannon

comments: author: Robert Kidd
body: Thank you for replying!


Tags: atlassian-marketplace
Recently viewed pages - View on a page?
Asked by Graham Campbell:

This is about the functionality described here:

<https://confluence.atlassian.com/conf64/recently-viewed-pages-and-blog-posts-936511259.html>

I'd like to be able to emdeb this in a page - for example the Dashboard - to make it instantly accessible and more useful for my users. Is there a way to do this?

Many thanks!


Answers:
author: Dan
body: Hi Graham,

This functionality is in fact already present on the Confluence dashboard, in the left-hand sidebar along with a few other ones too. I find it really useful!

![19022018 1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/15280iB8744D17DF1A904D/image-size/large?v=v2&px=999 "19022018 1.PNG")

Regards,  
Dan

comments: author: Graham Campbell
body: Hi Dan, thanks for your reply.

Unfortunately the sidebar and the dashboard are not the same thing. Granted, they appear together as the 'landing' page of the default theme, but when applying a different theme your left sidebar might become my top bar, or no bar at all!

What I'm looking for involves being able to break that functionality out of any menu bar and have it independently placed anywhere I choose (using panels, layouts, or CSS) inside the dashboard proper.

Cheers,

G


Tags: recently-viewed
Is it possible to create a section in confluence with only read access and nothing more for users
Asked by Thomas Gilg:

Within a space we need to give access to users where they can only see a menu and the page we select. It can't be public but we still need to control the users access. We do not want the users to be able to see anything like "People", "Blog", "Calendar", etc. just a simple menu with the pages they have access to, like a normal wiki.


Answers:
author: Shannon S
body: Thomas,

These things aren't possible overall. The below article can help you restrict the People Directory from certain groups, followed by its feature request.

* [Hiding the People Directory from a Confluence Group](https://confluence.atlassian.com/doc/hiding-the-people-directory-196816.html)
* Feature request for restricted access to People Directory: [CONFSERVER-7837](https://jira.atlassian.com/browse/CONFSERVER-7837)

For Team Calendars:

* Ability to restrict which groups and/or users have access to Team Calendars: [CONFSERVER-51174](https://jira.atlassian.com/browse/CONFSERVER-51174)
* To restrict certain calendars: [Restrict a Calendar](https://confluence.atlassian.com/teamcal/restrict-a-calendar-660737259.html)

For blog posts:

* You can restrict [certain blog posts](https://confluence.atlassian.com/doc/blog-posts-834222533.html#BlogPosts-Restrictablogpost) from certain users.
* You can remove the blogs entry from the sidebar entirely by going to the space, click Configure Sidebar, and click the minus sign to the left of blogs.

Let me know if you have any questions about any of this.

Regards,  
Shannon
Confluence MSSQL Server Cluster Support
Asked by Ethan Young:

Hi,

I'm looking into migrating our Confluence server from 5.8.14 to latest and from the embedded database to a MSSQL High Availability group. I can't find any information on if this is supported at all. Can someone give me confirmation that Confluence does/does not support failover/High Availability/MSSQL Cluster?

Thanks,

Ethan


Answers:
author: Danyal Iqbal
body: Confluence supports failover/High Availability/MSSQL Cluster.

Just out of curiosity: What's your Use case?

comments: author: Ethan Young
body: I can't seem to find any documentation pertaining to this, can you link me a source? That'd help a lot!

We're using Confluence as a help site for our application and it's used quite frequently. Any downtime would be bad, so we're planning on moving it from the embedded DB to our SQL Server cluster in case of any breakages.


author: Nic Brough -Adaptavist-
body: You absolutely should **not** be using the embedded database, it is known to fail without warning and catastrophically when it goes. You could lose your entire system at any second.

Confluence does not care if your database is clustered, it just needs something that appears to be a single reliable datasource in one place that it can use exclusively.

(I am assuming you are not trying to cluster Confluence. You can't. Unless you have data-centre)


author: Ethan Young
body: Yeah, we've heard bad things about it, hence the switching over to MSSQL. So that answers my question!

"Confluence does not care if your database is clustered, it just needs something that appears to be a single reliable datasource in one place that it can use exclusively."

So Confluence itself doesn't know if the database is clustered, it just sees that there's a datasource? That's pretty convenient.

Yeah, I'm not trying to cluster Confluence itself.

Would you happen to have any official documentation that says this? You know how managers like official documentation.

Thanks a lot, Nic. :)
Edit permissions on only one page; how to set up?
Asked by Arno van Hemert:

I want to give u user edit permission on only one page in a space. As far as I can see this is only possible to give edit permission on the whole space at first and after that change the edit permissions per space. Is there an other way to do this?


Answers:
author: Thomas Schlegel
body: Hi Arno,

the only way is, as you said, give the user edit permission for the space and then restrict all the other pages to all the other user of the space.

I wouldn't do that. It's an administration hell.

comments: author: Arno van Hemert
body: Hi Thomas,

Thank you for you reaction. I agree with you. However this is only one space for one specific external party, so it's not that hard.

Kind regards,

Arno van Hemert


Tags: permission

space
Confluence sidebar link
Asked by MrPy:

I want to create a link to another space in the sidebar with the customization in Look and feel -\> Sidebar,header and footer. I know I can just do this \[linkname\] but I want to be able to set a title for the link, is that possible ?


Answers:
author: AnnWorley
body: I used the space key in the sidebar field \[ds:\] as described in [Confluence Wiki Markup](https://confluence.atlassian.com/doc/confluence-wiki-markup-251003035.html#ConfluenceWikiMarkup-Links) and it displayed as the space name (Demonstration Space) on the sidebar. Is that what you meant by setting a title for the link?
where has the undo button gone?
Asked by Gemma Lajbrok:

I used to be able to click undo in confluence. This option doesn't seem to be available anymore. Am I missing something?


Answers:
author: Thomas Schlegel
body: Hi Gemma,

have a look at this post:

<https://community.atlassian.com/t5/Confluence-questions/The-Undo-button-is-no-longer-available-on-my-toolbar-after-the/qaq-p/659846>

There is a statement of an Atlassian Product Manager regarding the undo functionality.


Tags: recovery
Confluence page content restriction
Asked by ????? ??????:

Hello!

I m looking for a way to restrict editing of confluence page content, not whole page, e.g. the page name and some tables content.

In target version restrictions will work by event - page creation / approve status change (trigger macro)

<https://wiki.comalatech.com/display/AWP/add-restriction>

Thanks in advance for consultation

Best Regards,

Elena Melyan


Answers:
author: ????? ??????
body: Hello, Thomas!

Thanks for your answer.

Maybe it is possible to realize this ability by confluence development tools?

As a workaround i found a way to use add-page-macro with different restrictions for each added page. But this solution doesn't work properly for my current 6.0.3 version, need update, not simple way


author: Thomas Schlegel
body: Hi,

never heard of anything like this. If you are able to edit a page name and some content, you are also able to edit the rest of the page's content.


Tags: developer
Import of a Word document without changing the formatting of the page
Asked by Anna Antretter:

Hello everybody,  

As you know, it is possible to import Word documents into Confluence and create new pages or replace pages.  
So far, it has always been that the old formatting after import has not been adopted and you had to adjust the page manually.  
Is it possible by means of e.g. a certain settings that the previous formatting is adopted even after the import?  

Many Thanks!  
Best regards  
Anna


Answers:
author: Shannon S
body: Hi Anna,

It's not possible using the built-in Word importer to retain formatting, but it may be possible with [an add-on from Marketplace](https://marketplace.atlassian.com/search?product=confluence&query=word%20document). I've tagged your question so that Marketplace vendors will be able to let you know whether or not their add-on could accomplish this.

Let me know if you have any questions.

Regards,

Shannon


Tags: atlassian-marketplace
In Team Calendar, how can one's calendar be updated when they are assigned an event?
Asked by Fouad Qureshi:

I have just downloaded the trial version of Team Calendar and i created a few calendars in various Spaces (team spaces) and have assigned events/tasks to certain individual.

My question is that how can every individual open/access a calendar that ONLY has the tasks assigned to them? I have not been successful in finding such a personal calendar.


Answers:
author: James Richards
body: Hello Fouad,

From what I can see, there's no way to show events for a single user in Team Calendars (they are *Team* Calendars :))

One option might be to subscribe to the Calendar by URL and then use something like Thunderbird or Google Calendars to search the calendars.

Regards, James


Tags: team-calendars-for-confluence