youngmon/atlassian-qna huggingface dataset:
What is directory with empty name inside backup archive?
Asked by AlekseiGPP:

Hello! I update Confluence instance from 6.12.2 to 6.13.0. When i create backup archive, its create directory with empty name inside. What is this? I cannot check, what inside. Could you, please, fix zip archiving? Backup-restore procedure was successfully.

Here is screenshot of backup archives, created in 6.12.2 (left) and 6.13.0 (right).

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


Answers:
author: Nic Brough -Adaptavist-
body: There does not appear to be a problem with this. You'll be able to restore from it fine. Could you explain the concern in full?

comments: author: AlekseiGPP
body: Whats wrong with archive? It looks like a bug with archiving. I cannot check, what inside this directory. Could you explain, how to open this directory and why previous version's backups do not contain such directory inside archive?


author: Nic Brough -Adaptavist-
body: It's your operating system that is struggling to open the directory, you need to use a file browser that can cope with the name properly.

Older backups didn't have it because they simply didn't need it. The latest version has a use for it.


author: AlekseiGPP
body: Nic, do not spam, please, Its not solution and not answer on question.

At first screenshot archive opened in Total Commander and WinRAR archiver on windows OS.

Another example with empty folder name is under Midnight Commander on CentOS. Same situation. Its not problem with operating system, its problem with backup archiving mechanism.

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


author: AlekseiGPP
body: I create bug report in Atlassian JIRA <https://jira.atlassian.com/browse/CONFSERVER-57637>


author: Nic Brough -Adaptavist-
body: Spam? Don't be so silly. It is an answer to your question. It's not my fault you don't understand it and/or don't like it.

There is nothing wrong with the archiving, it's working fine. It's something you're doing to look at it.


Tags: confluence-server

server
An unknown server error has occurred.
Asked by Gustavo Buonnacorso:

when i try to create a new space i got: An unknown server error has occurred.

simple like that.


Answers:
author: Edwin Kyalangalilwa
body: Hi [@Gustavo Buonnacorso](/t5/user/viewprofilepage/user-id/2370582),

Take a look at this similar questions.

[Confluence add Space fails](https://community.atlassian.com/t5/Confluence-questions/Confluence-add-Space-fails-An-unknown-server-error-has-occurred/qaq-p/893077)


author: Diego
body: Hello there Gustavo!  
I would like to start off by understanding a few points:
> 1- has this worked at some point **in the past** ?  
> 2- is this instance a **new instance** ?  
> 3- was there **any change** applied to the instance?  
> 4- what **database** are you **currently using** ?  
> 5- **which version** of Confluence are you running?

The error reported is relatively known and seems to stem from problematic blueprints in your instance. Other customers had similar issues, like in this other Community thread:

**- [Unknown server error when trying to create a space](https://community.atlassian.com/t5/Confluence-questions/Unknown-server-error-when-trying-to-create-a-space/qaq-p/903634)**

The steps provided there are the following:
> **Solution** :  
>
> 1- **Backup database** or even better the **whole system** ( VM snapshot / XM backup ). You better try this on your staging / dev system!  
> 2- Shutdown Confluence  
> 3- Delete tables:  
>
> DROP TABLE "AO_54C900_SPACE_BLUEPRINT_AO";  
> DROP TABLE "AO_54C900_C_TEMPLATE_REF";  
> DROP TABLE "AO_54C900_CONTENT_BLUEPRINT_AO";   
>
> 4- Clean plugin cache: <https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html>   
> 5- Restart Confluence

Keep in mind that trying this workaround in a **test environment** is the **best approach** ! Procedures that deal with your **database directly** must be treated with **extra care** . Knowing this, we strongly advise to **always backup** your database before touching it.   

Please, let us know your thoughts on this!

comments: author: Felipe Santos
body: 1- has this worked at some point **in the past** ?  
yes, for 3 days worked.  

2- is this instance a **new instance** ?  
new and fresh instance, with 3 days of years old  

3- was there **any change** applied to the instance?  
no, if had, was in configuration. Not in server envoiriment.  

4- what **database** are you **currently using** ?  
mysql 5.7.24  

5- **which version** of Confluence are you running?  
6.12.2  

Obs1)  
when i try to delete -\> AO_54C900_CONTENT_BLUEPRINT_AO  
#1217 - Cannot delete or update a parent row: a foreign key constraint fails  

<br />

Obs2)   
works, with only 2 tables removed.  
now i acan add spaces again.


Tags: atlassian-support
whats the best way to sync pages to windows 10 for offline use?
Asked by Stephen Ironmonger:

I am working on windows 10. I frequently need to work off line (i.e. no internet connection), but need to have access to information held in confluence pages. Several other tools I use have windows apps to sync data to the laptop hard drive, what is the best way to achieve the same for pages in Confluence, both as read only, but also as an editable resource that will sync back when I am next internet connected.


Answers:
author: Shannon S
body: Hello Stephen,

It's not possible in Cloud. Your only option would be to either download the Spaces/Pages to PDF/Word, or migrate your Cloud data to a Server instance that you run from your workstation.

For Server, you might be able to use something like [Roadrunner](https://marketplace.atlassian.com/apps/19471/roadrunner-for-confluence?hosting=server&tab=overview) or another add-on in [Marketplace](http://marketplace.atlassian.com).

Regards,

Shannon


Tags: cloud

confluence-cloud
Link "back up" doesn't work in Installer
Asked by AlekseiGPP:

Hello!

Looks, you didn't create space for Confluence 6.13 documentation.

I press link "back up" in installer, its open browser with "<https://docs.atlassian.com/atlassian-confluence/docs-6.13.0/Production+Backup+Strategy>".

This page is not available. Could you, please, fix this in installer and give me correct link to documentation?

![Snap1.png](/t5/image/serverpage/image-id/39360iFAF562488AB4094B/image-size/large?v=v2&px=999 "Snap1.png")Here is text message from screenshot:

404 Not Found {#toc-hId-1849726817}
-----------------------------------

* Code: NoSuchKey
* Message: The specified key does not exist.
* Key: atlassian-confluence/docs-6.13.0/Production+Backup+Strategy
* RequestId: 55FFABE44DE58202
* HostId: 4ZMiXzN4VjLOCkW3P1yp7hw/szw8u+oCxA2heyPVHGBwHodfCRhfWEhWqGsJ6zhrm05Iiqfz/1o=

### An Error Occurred While Attempting to Retrieve a Custom Error Document {#toc-hId--898943649}

* Code: NoSuchKey
* Message: The specified key does not exist.
* Key: error.html


Answers:
author: Shannon S
body: Hi Aleksei,

The correct URL is:

* [Production Backup Strategy](https://confluence.atlassian.com/doc/production-backup-strategy-38797389.html)

Can you let me know which file you downloaded that had the error? I can submit to have the URL corrected.

Regards,

Shannon

comments: author: AlekseiGPP
body: Hello, Shannon!

It's file atlassian-confluence-6.13.0-x64.exe from Atlassian.

All links at "Upgrade Check List" screen not work.

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


author: Shannon S
body: Thank you, Aleksei.

I created a bug for this:

* [CONFSERVER-57650](https://jira.atlassian.com/browse/CONFSERVER-57650) *Links from Upgrade Check List on Windows Installer broken*

If you need help finding the other links, can you provide the URLs to me and I can try to determine what they are now?

Regards,

Shannon


Tags: confluence-server

server
is it possible sort a page tree by views?
Asked by Many Romero:

i know how to create a page tree , but i want to sorted by views , is it possible?


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: Hi [@Many Romero](/t5/user/viewprofilepage/user-id/2327623),

Unfortunately, it is not possible to sort a page tree by no. of views natively in Confluence neither is there any plugin that does it for you.

Page tree can be sorted only -

* **bitwise** --- sort alphabetically, for example: title1, title10, title2.
* **creation** --- sort by date of creation.
* **modified** --- sort by order of date last modified.
* **natural** --- sort in 'natural' alphabetical order, for example: title1, title2, title10.
* **position** --- sort by the default Confluence sorting rules. If your pages have been ordered manually, this sort will respect the defined order. Otherwise the pages will be displayed in the 'natural' alphabetical order, such as: title1, title2, title10.

For more information, refer to <https://confluence.atlassian.com/display/CONF40/Page+Tree+Macro?_ga=2.259931714.97177607.1543784878-748161253.1533556773>.

You can open a feature request ticket with Atlassian.

Thanks

Sireesha


Tags: page

page-tree

sort

view
Error rendering macro rss: Illegal character in path
Asked by Darya Novik:

Hey everyone :)

I have a problem with RSS feed macro. It still works well for some newsfeeds, and it used to work with <https://aws.amazon.com/new/feed/>. However, since recently I keep getting this error:

**Error rendering macro 'rss'**

com.atlassian.confluence.macro.MacroExecutionException: Illegal character in path at index 61: <https://aws.amazon.com/about-aws/whats-new/2018/11/announcing> aws license manager/

I assume that something has changed from AWS side and this 61th "space" symbol in "announcing aws..." causes the problem. Does anybody know how to solve this?

Thanks!


Answers:
author: Nic Brough -Adaptavist-
body: I haven't tried it in the RSS macro, but I was able to fix another RSS system by encoding the spaces - replace " " with "%20" in the rss url you are trying to call.


author: Piotr Janik
body: <https://confluence.atlassian.com/confkb/rss-feed-macro-shows-error-rendering-macro-rss-962963634.html>

In short, we're advised to check the feed with <https://validator.w3.org/feed/> (or a similar tool). If it doesn't validate there, the feed is the matter. If it does validate there, Confluence is the matter.


Tags: atl-adm

aws

rss
Customer PDF Layout
Asked by serc:

Hi guys,

i try to create a customized Layout for my PDF?s for Confluence. But my Problem ist, how can i do this? My problem is not knowing how to use header settings with HTML later in PDF, for example. Because the headings were not created in HTML format (h1)


Answers:
author: Amith Mathur _Appfire_
body: Hi [@serc](/t5/user/viewprofilepage/user-id/2379213)

Confluence provides a basic PDF export that you can customize and style to suit your needs. You can review [this page](https://confluence.atlassian.com/doc/customize-exports-to-pdf-190480945.html)and try the examples.

Thanks,  
Amith Mathur

comments: author: serc
body: but my problem is, that i dont have the icon "general configuration"


author: Amith Mathur _Appfire_
body: Hi [@serc](/t5/user/viewprofilepage/user-id/2379213),

Are you the space administrator or Confluence Administrator? Can you provide us the screenshot of the options you are seeing ?

Thanks,  
Amith Mathur


author: serc
body: this is everything what i can use to make any konfigurations![Leiste.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/39353iD1B36B0690462C93/image-size/large?v=v2&px=999 "Leiste.PNG")


author: Amith Mathur _Appfire_
body: Hi [@serc](/t5/user/viewprofilepage/user-id/2379213),

As per the screenshot, you are not the administrator for this Confluence instance. Can you please check with your administrator for the access or share the layout/style sheet example with them so that you can test the PDF's layout?

Thanks,  
Amith Mathur
Admin hierarchy
Asked by serc:

Hi guys,

im new in Confluence and try to learn it. Can anyone tell me the Admin heirarchy?

Because i have the Problem, that some Tutorials show me some Buttons, who dont exist in my Confluence.


Answers:
author: Nic Brough -Adaptavist-
body: We need to be careful about what you're looking at.

On Server Confluence, you have an Operating System admin, Confluence Admins (who have two powers - System and Application admin), and Confluence Space admins.

Cloud Server is the similar, but

* You don't care about the OS admin, as you don't have it.
* You don't care about the System part of the Confluence admin role, as you don't have it.
* You additionally have Site admins who can set up Confluence admins but don't have to be Confluence admins (the Site refers to the overall Cloud)

So, you do need to be looking at the right docs and that can be confusing, especially around the Confluence admin role - if you're reading server docs but using a Cloud system, you are going to find things are "missing" because the Server admins have more access than the Cloud ones.

The question becomes "what system are you running" and "what docs are you looking at"?
Why appear error "Page Not Found" when click on Go to included page.
Asked by masfatin norzlan:

The "page-include-macro" now offers basically 2 **options/features**:

1. The source page is embedded into the target page in view-mode
2. You can jump to the source page by clicking on "Go to included page" in edit-mode

BUT,

**Option/Feature1** works, no matter if the title contains a special character or not.

**Option/Feature2** does not work if the title contains special characters

Current Confluence version is **6.6.3**

Special Character that using is '**\&' symbol**

**Title : Git export \& sync with ClearCase (Camino)**

**Location on page not found** **:** location=SCSP49:Git%20export%20**\&**%20sync%20with%20ClearCase%20(Camino)\&contentId=84571691

**Should be :** location=SCSP49:Git%20export%20%**26%**20sync%20with%20ClearCase%20(Camino)\&contentId=84571691(Camino)\&contentId=84571691

As i checked, on URL 'PAGE Not Found' the location is not correct. That is the reason why got error.

![HTML URL Encoding Reference.png](/t5/image/serverpage/image-id/39339i4F78EDD4A9166A9E/image-dimensions/584x181?v=v2 "HTML URL Encoding Reference.png")

Is this a bug?


Answers:
author: Shannon S
body: Hello Masfatin,

It appears this is a known issue and has been reported in the following bug tickets:

* [CONFSERVER-52567](https://jira.atlassian.com/browse/CONFSERVER-52567) *Clicking "Go to Included Page" results in "Page Not Found" if included page has a special character*
* [CONFSERVER-38000](https://jira.atlassian.com/browse/CONFSERVER-38000) *Go to Included Page has problems with page titles that include certain characters*

I've commented internally there with a link to your question here. I would ask that you vote on them in order to show your support, and watch in case of any updates. You can comment as well with your findings.

I think one will likely be closed as a duplicate so please feel free to watch both.

Let me know if you have any questions!

Regards,

Shannon

comments: author: masfatin norzlan
body: Hi Shannon.

Thanks for your quick response!

I have watched and vote on both of the tickets :)

Regards,


author: Shannon S
body: Thank you again, Masfatin!

Shannon


Tags: confluence-server

include

macro

page

server
Not able to create cascading select custom field
Asked by Jay Kantaria:

I know the solution I want to implement is Cascading Select custom field.

Problem: I am not able to create cascading select type custom field. There is no option.

People tells me that this is Native Jira functionality and I do not need any plug-in/Addons.

How do I get to creating "Cascading Select custom filed"? Can someone please help me with plain English?


Answers:
author: Yogesh Mude
body: HI [@Jay Kantaria](/t5/user/viewprofilepage/user-id/1199852)

To creating any custom fields in jira, first you need to have Jira admin rights, if so then go to admin section --\> issues --\> select custom field.

Click on top right side Add Custom field button then it will pop up with all the type of custom fields, just search with the name cascading and you will see the field like Select list (cascading).

Select this field and provide the details and create it.

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


Tags: jira
Error when publishing a confluence page
Asked by Lisa Counsell:

I have created a new confluence page and when I try to publish the page I am getting the error 'There was an error processing the request'. There are no further details about this error.

Is there anyway of finding out the details of the error?

Kind regards

Lisa Counsell


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: Hi [@Lisa Counsell](/t5/user/viewprofilepage/user-id/2384004),

There can be multiple reasons for the error you mentioned while publishing a page in Confluence - @mentions linked to deactivated/deleted accounts in the page, macros used in the page, having multiple tables Or a browser issue.

Sometimes doing one of the following might work:

* Copy all the content (Cntrl/Command + A), paste it in the same page (Cntrl/Command + V) and publish it.  
  Or
* Copy the page to a different location, make the required changes and publish it.

Hope this helps!

Also, [here](https://community.atlassian.com/t5/Confluence-questions/Error-there-was-an-issue-processing-the-request-when-trying-to/qaq-p/460121) is a link to a similar question with possible solutions and links.

Thanks

Sireesha


Tags: cloud

confluence-cloud
Need to be able to add comments to all pages in a Space
Asked by Tammy Fenstermaker:

I have the following Space permissions set up:

COMMENTS

ADD DELETE

Administrators ?? ??

confluence-users ?? x

site-admins ?? ??

The comment section had been removed from the page when the pace was first set up. I would now like the comments section back on the pages in this space. How do I get it back?


Answers:
author: Shannon S
body: Hi Tammy,

There's no current feature in Confluence Cloud that would allow someone to remove the comments section from a space.

Could you let me know how you were able to accomplish it previously if you are indeed on Confluence Cloud?

I'd also like to be able to take a look at your Cloud instance. I can access it in order to troubleshoot, but I just need to verify if it's the same one associated with your email address (ie\*\*\*a.atlassian.net) I've censored the URL but can you confirm if that is the same instance?

If I may, which space is this in regards to, and what is your username?

Regards,

Shannon

comments: author: Tammy Fenstermaker
body: You have the correct instance.

The space called AGENTS has comments enabled.

The following spaces do not:

* 3rd PARTY
* ACCOUNTING
* CORPORATE
* ENGINEERING
* MARKETING
* PRODUCT SERVICES
* REGULATORY
* SALES

I think when I created the first pages, I created as BLANK pages and removed all sections.


author: Shannon S
body: Tammy,

When a page is set as the Overview (home) page of a space, it's not possible to comment on.

I checked the spaces you listed as having disabled comments, but the only pages where it's not possible to comment on is the homepage, which is expected behavior.

In fact, I raised a feature request for this last year:

* [CONFCLOUD-56967](https://jira.atlassian.com/browse/CONFCLOUD-56967) *Space overview home page does not allow comments*

I've confirmed that even if I set a separate page as the homepage, comments are disabled on that page only.

Comments are still possible on all of the other pages within those spaces.

As for your AGENTS space, I'm baffled here. I do see on the overview page you have a comment where you said that comments were now enabled. Is this a change you made recently?

I tried to see if by editing the page I can see maybe if the newer editor is behind it, but due to page restrictions I'm not able to test.

This would require a support ticket for us to get any further with your case. You can raise one at [support.atlassian.com](https://support.atlassian.com/contact/#/), or if you have trouble, please let me know and I can do it for you. I would ask that you include a link to this thread, so they can follow with what we've done so far and so that they don't ask you the same things over again.

Let me know if you have any trouble.

Regards,

Shannon


Tags: cloud

confluence-cloud
How can I filter my Confluence search by page properties?
Asked by BKippelt:

Hi,

Is there a way to perform a search with CQL and filter for page properties?

I know the unofficial REST interface*/rest/masterdetail/1.0/detailssummary/*, but with this interface I can only display the properties and not filter by them.

```
/rest/masterdetail/1.0/detailssummary/lines?cql=type%3Dpage&spaceKey=TEST&label=hello&countLikes=true&headings=...
```

I can't find anything about it under the official REST API : <https://docs.atlassian.com/ConfluenceServer/rest/6.13.0/>.


Answers:
author: Christian Koehle
body: Hi,

if you want to access the service on the server side, you can use the same 'unofficial' API:

<https://bitbucket.org/atlassian/confluence-masterdetail-plugin/src/f4da6483b21a/plugin/src/main/java/com/atlassian/confluence/?at=master>

You find the relevant interfaces and model under com.atlassian.confluence.plugins.pageproperties.api

Example code (groovy, written for the Scriptrunner console):

```
import com.atlassian.sal.api.component.ComponentLocator
import com.atlassian.confluence.plugin.ConfluencePluginManager
import com.atlassian.confluence.pages.PageManager
import com.atlassian.confluence.pages.Page
import com.onresolve.scriptrunner.runner.ScriptRunnerImpl

// For accessing dynamic plugin classes
ConfluencePluginManager confluencePluginManager = ComponentLocator.getComponent(ConfluencePluginManager)

// Get test page using hard-coded page-ID...
def pageManager = ComponentLocator.getComponent(PageManager)
def testPage = pageManager.getPage(12345678)
def pagePropertyService = ScriptRunnerImpl.getPluginComponent(confluencePluginManager.getDynamicPluginClass('com.atlassian.confluence.plugins.pageproperties.api.service.PagePropertiesService'))
def report = pagePropertyService.getReportFromContent(testPage)

// All page property macro (not just page property macros with specific ID:
def macros = report.getAllMacroInstances() /*List<PagePropertiesMacroInstance>*/

// Iterate and collect maps
def map = [:]
macros.each {
 map << it.getPagePropertyReportRow() /*Map<String, PageProperty>*/
}
// Now you can access specific properties in the map, value is a PageProperty object
"""
report=${report.toString()}<br/>
macros=${macros.toString()}<br/>
map=${map.toString()}<br/>
"""
```

Similar concept, but probably using nice features like autowiring, etc. should work for JAVA plugins. With custom CQL functions you can add your own CQL filters using page property service (not tested). The page properties use a lot of XML parsing (see DetailsMacroBodyHandler), so have an eye on the performance.

Christian

comments: author: Hauke H?rhold
body: Hello Christian, thank you for this nice reply!

Could you tell me more detailed how to add my own CQL filters using pagePropertyService?


author: BKippelt
body: Or is there a manager or something with which I can easily read the page properties?


Tags: confluence-server

cql

page-property

search

server