youngmon/atlassian-qna huggingface dataset:
Pages disappear as soon as I setup a Space Home Page
Asked by Julian Weiss:

Hi guys,

I have a confluence space with 5 Sub Pages. When I go to space settings and define a Space Homepage, all the Sub Pages disappear. We have the SaaS Confluence from Atlassian.

Seems like a bug? I have Admin rights.


Answers:
author: Mario Carabelli
body: Hi [@Julian Weiss](/t5/user/viewprofilepage/user-id/1234050)

This isn't a bug. The homepage you chosen is just on the same level as the previously created pages. The shown pages have their rootpage set as your new homepage and is showing only the page tree under this homepage.

You can reorder the old pages under the new homepage by clicking on the 3dots at the top of a page and tge choosing view in page hierarchy. Thereyou can reorder the pages under tge home page and everything will be visible again.

With kind regards

Mario

comments: author: Julian Weiss
body: Thanks!


author: Mario Carabelli
body: Glad I could help!

With kind regards

Mario


author: Windson Lins
body: What a fright! I thought I had lost over 300 pages! Thank you for this post!


author: Tong Tanapat
body: I cannot find the "by clicking on the 3dots at the top of a page and tge choosing view in page hierarchy. "   
When i click 3 dots it have only "Page History" that most relate with my problem, What should i do?   
Please.

comments: author: Denise
body: I have the same issue there is not page Hierarchy to choose from?


author: Jesper Sahlin
body: Same here. Any solution? I wish I could just undo setting the homepage, now this just wastes precious time. Will remember not to set homepage ever again.


author: Adam Eva
body: Would dearly like an answer please..

Do you need workspace Admin rights to see ... displaying "Page Hierarchy"? As I can see re-order on manage space, but this does not help. Wish to avoid adding all the pages previously created, as sub pages to the new homepage, by dragging around in the left Nav bar.. Laborious, wish to avoid, as there are lots of previous pages prior new homepage.. Point of interest is I put the original URLs of the pages onto the new homepage (that wiped all left Nav bar page listings), if I click on that URL link, or the shortcuts I created, then I see the old pages listed again. But if I click back on the homepage, they go...


author: Alexi Weeks
body: I didn't have the "view in page hierarchy" option either but, when I clicked the "All content" button in my space, the content that had previously been there showed up and I was able to drag and drop everything under the new homepage.

Hope this helps someone.  

This is absolutely dreadful design; what a scare to have all the content disappear just because the homepage was changed!


Tags: cloud

confluence-cloud
How can I configure links to page attachments to behave consistently?
Asked by Hannah Roberts:

Hello! :)

I am having inconsistent behavior in links which I added to a page. Each of these links connects to an attachment (pdf, xlsx, doc, docx, vsd, etc.) that has been uploaded to another Confluence page.

The links will sometimes preview the attachment (my preference) and sometimes download it. It does not appear to be consistent with doc type, e.g., some pdf's will download, while other pdf's preview. I added the links the same way each time, and re-did my work to ensure that it wasn't user error. Also, documents that previewed at one time may download another time. (No change in page or user permissions)

I am wondering why the link experience is changing, and if there is a way to configure all links to Confluence attachments to preview (assuming the file type is appropriate).  

Help! Haha. :)


Answers:
author: James Dellow
body: BTW if this is the new editor, there are some bugs that might be impacting this including:

* <https://jira.atlassian.com/browse/CONFCLOUD-65583>
* <https://jira.atlassian.com/browse/CONFCLOUD-65731>


author: James Dellow
body: It does appear to be a bit hit and miss.

In the original editor, for attachments stored on other pages, the best way I've found is to use the insert link option in the text editor and search for the file name. Then view as thumbnail.

In the new editor, there doesn't appear to be an option to do this (yet) - even if you paste in the same link.


Tags: cloud

confluence-cloud

link
How to increase AO_92296B_AORECENTLY_VIEWED storage period?
Asked by JongBum Lee:

Dear All.

I would like to set the storage period of "AO_92296B_AORECENTLY_VIEWED table" to more than 2 months.

Please help me.

Best Regards


Answers:
author: Nic Brough -Adaptavist-
body: You will need to amend the core code that is clearing out the old "recently viewed" records to get it to keep more. This means replacing the "recently viewed" system plugin with your version, which we can't recommend doing as it renders you unsupported.


Tags: confluence-server

server
I am unable to open and edit uploaded excel and MS documents in MS Excel and MS Word
Asked by Ankit Gaiha:

I am unable to open uploaded excel and MS documents in native applications and edit them, after the recent update.

I am getting the error like,

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


Answers:
author: Kiran Panduga {Appfire}
body: Hi [@Ankit Gaiha](/t5/user/viewprofilepage/user-id/2595041),

Confluence 5.9.7 and above have the option to edit the excel and word document. Can you change your browser and verify ? try using Chrome browser.

Additionally, make sure that the office connector plugin modules are enabled.

Please go through the below KB article to edit office documents:

<https://confluence.atlassian.com/conf610/edit-office-files-952622479.html>

Thanks,

Kiran.

comments: author: Ankit Gaiha
body: Hello [@kiran](/t5/user/viewprofilepage/user-id/408178) Panduga,

Confluence was recently updated from 6.1.2 to 6.12 version.

I was able to edit the document in IE and Chrome in 6.1.2 version.

I have started facing this issue after the upgrade.

I am not able to find the office connector plugin anywhere on my system.

And based on documentation, I do not find the option to edit:![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/43246i14FCC4AAEFFB6FB5/image-size/large?v=v2&px=999 "image.png")

Thanks \& Regards

Ankit


author: Kiran Panduga {Appfire}
body: Hi [@Ankit Gaiha](/t5/user/viewprofilepage/user-id/2595041),

Office Connector plugin comes as part of the system add-ons in latest Confluence. Please check under the system add-on section.

Thanks,

Kiran.


Tags: confluence-server

server
Include Section Macro, how to name Sections
Asked by Rose Gulley:

I want to create pages with sections and use the Include section macro to include certain sections but not all sections in the original page.

Below the parameter option named, 'Section Names,' in the 'Include Section' macro says "Comma-separated list of the names of the sections to be included. Leave blank to include all sections in the page's main column."

How do you name a section? I have tried putting a word in the section with the heading format but that does not work.

I have tried putting the name of the section outside of the section with the heading format. That also did not work.

I tried adding columns and they do not let you name them either. I'm at a loss here.

The only thing that does work is to leave it blank and then every section appears. However his is not what I want. I might as well use include page if I wanted everything.


Answers:
author: Jared Brenner
body: Hi Rose,

Are you referring to the [Excerpt](https://confluence.atlassian.com/conf612/excerpt-macro-958777740.html) and [Excerpt Include](https://confluence.atlassian.com/conf612/excerpt-include-macro-958777739.html) macros? They provide the functionality you seem to be describing. The content that is to be pulled in to the other page is stored on its home page using the Excerpt macro, and then the page pulling in that information does so with the Excerpt Include macro.

Good luck!


author: Diego
body: Hello there Rose!

Could you share some **screenshots of this behaviour** with us? There is **no need** for those screenshots to contain the **actual content** you are trying to create. You can **replicate the issue with dummy content.**

Further, I tried to replicate the issue locally with the **Section macro** that is native to Confluence but was unable to. There is only one option, to show or not to show borders on the section.

Could you clarify if the plugin that you are using is a **third-party plugin?** Knowing this we could try out the plugin and figure out what might be happening!
Page Properties Report - Sorting
Asked by Caroline Burgess:

Hi. I am trying to sort a page properties report on multiple fields. I tried separating the fields with commas as well as separating them with "AND".

I appreciate any assistance.


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

You can use [Table Filter](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) macro to set [default sorting order](https://docs.stiltsoft.com/display/TableFilter/Managing+Look+of+the+Table+and+Filtration+Pane#ManagingLookoftheTableandFiltrationPane-Applyingthedefaultsortingordertocolumns) on multiple fields. Page Properties Report macro should be placed inside Table Filter macro.
restored from upgrade failure but I am getting java error
Asked by Angelo H Kang:

Error message from Confluence even if Postgres and Jira were restored and Confluence restored too but with this error.

HTTP Status 500 - com.atlassian.confluence.tenant.VacantException: Confluence is vacant, a call to tenanted \[public abstract net.sf.hibernate.connection.ConnectionProvider net.sf.hibernate.engine.SessionFactoryImplementor.getConnectionProvider()\] is not allowed. {#toc-hId-1852559072}
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

**type** Exception report

**message** ++com.atlassian.confluence.tenant.VacantException: Confluence is vacant, a call to tenanted \[public abstract net.sf.hibernate.connection.ConnectionProvider net.sf.hibernate.engine.SessionFactoryImplementor.getConnectionProvider()\] is not allowed.++

**description** ++The server encountered an internal error that prevented it from fulfilling this request.++

**exception**

```
java.util.concurrent.CompletionException: com.atlassian.confluence.tenant.VacantException: Confluence is vacant, a call to tenanted [public abstract net.sf.hibernate.connection.ConnectionProvider net.sf.hibernate.engine.SessionFactoryImplementor.getConnectionProvider()] is not allowed.	java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)	java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
```


Answers:
author: Kiran Panduga {Appfire}
body: Hi [@Angelo H Kang](/t5/user/viewprofilepage/user-id/2241385),

It appears to be an issue with hostname not resolving to an IP address.

Please go through the below KB article to address this issue.

<https://confluence.atlassian.com/confkb/confluence-generates-confluence-is-vacant-error-on-install-779164449.html>

Thanks,

Kiran.


Tags: confluence-server

server
What should be used to embed video in a page
Asked by James Banting:

We have lunch and learn sessions at our company and record the video from these sessions. Previously, we would use the multimedia macro to embed the video. This is broken now and slated for deprecation.

Is there an alternative to the macro or some other process to embed video in a page?


Answers:
author: Jared Brenner
body: Hi James,

If your content is online you can use the [Widget Connector Macro](https://confluence.atlassian.com/conf612/widget-connector-macro-958777870.html) to embed it directly on your page. If not, then you can easily upload the file on the page and let users download it if the Multimedia macro stops working.

Good luck!


author: Mario Carabelli
body: You can just drag and drop the multimedia file into your page and it should automatically create a player if yourvideo is a mp4 file.

But you can also still use the multimedia macro in version 6.13 so if you gave snother formst feel free to use it.

In the Confluence administration area you can see all used macris and the pages where they appear. So if in tge future the macro isn't working anymoe it is not hard to replace them with an alternative.

With kind regards

Mario
How can I save a macro I've edited?
Asked by Bill Legge:

I use a couple of different panel (macros) in my Confluence pages:

1. To draw reviewers attention to particular queries,
2. To document reviewers' responses or resolution of those queries.

I have to manage a diverse portfolio of business and technical experts, frequently with short attention spans and an annoying ability to ignore the trickier queries. I know I can copy and paste my panels from one page to another - but surely I should be able to save their attributes so I can insert them?


Answers:
author: Shannon S
body: Hi Bill,

From my understanding, you want to be able to duplicate the settings you put in for a macro on another page without having to re-enter everything?

I have two ideas for this.

1. You could use the [Excerpt Include Macro](https://confluence.atlassian.com/confcloud/excerpt-include-macro-724765190.html) to include the same snippet on other pages within Confluence without having to re-type everything. This is also useful if you just want to edit a few attributes for all instances of the same snippet. It would be applied to all pages that contain the snippet.
2. You can use the [Source Editor for Confluence Cloud](https://marketplace.atlassian.com/apps/1215664/source-editor-for-confluence?hosting=cloud&tab=overview&gclid=Cj0KCQiAhKviBRCNARIsAAGZ7CeC2bbT__GexeS5fbqs8p3Kke8G6wtN3I7lfw56tGcQLPDroyQrbs8aAv7mEALw_wcB) macro. With this, you could copy the source code for the exact macro you want to duplicate, and then manually paste in the code onto the other pages.

Have a look at that and let me know if you have any questions about the proposed solutions.

Regards,

Shannon

comments: author: Bill Legge
body: Thanks Shannon,

I'll give Source Editor a try

Bill


author: Jared Brenner
body: Hi Bill,

You could also try keeping your commonly-used macros on a page in your personal space for quick reference. The macro's attributes should be preserved if copied from an editor page into another editor page.

Good luck!

comments: author: Bill Legge
body: Hi Jared,

That's pretty much what I've been doing. Thanks for the suggestion.

Bill


Tags: cloud

confluence-cloud
Table of Contents error
Asked by Greg Walters:

Trying to insert the TOC I receive this message

Error rendering macro 'toc' : \[com.ctc.wstx.exc.WstxLazyException\] com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61) (expected a name start character) at \[row,col {unknown-source}\]: \[24,136\]


Answers:
author: Greg Walters
body: Thanks all - every one of my TOC's is throwing that error - no idea where it is coming from. I have inserted a Children Display macro which is fine I guess.

Thank you everyone.


author: CARLISLE
body: The TOC is picking up an unexpected character that more than likely is a data type mismatch somehow. The code is attempting to pick up a name variable character (expected a name start) and might have picked up a a numeric character or special character instead of what the code value it was expecting to pick up on that line, row, and column. I would try to see if you can determine what data type it is trying to pick up when it does the pull to create the values in the TOC.


author: Nic Brough -Adaptavist-
body: I think you've hit a known bug - see <https://jira.atlassian.com/browse/CONFSERVER-25584>
Confluence Space Import Error "This site can?t be reached"
Asked by Juan Silva:

Hello,

When I try to import a space to my Confluence, I get a "Connection was reset" error after a few minutes. Anyone else with this problem and/or any known fix?

I am importing from version 6.3.4 to 6.9.1

Thanks!


Answers:
author: CARLISLE
body: This error is a networking error more than likely. It could be client side or server side.

Does it have a number associated with it? Like 4XX or 5XX? The typical this site can't be reached are mostly 404 PAGE NOT FOUND or 503 SERVICE UNAVAILABLE. Most networking door errors revolve around the 400s or 500s like I stated.

It is like the door is down or you just can't get in because the road is blocked (it is uploading your data). Think of it as a clogged artery so to speak. :)


author: Sid
body: Can you see what the logs say?


Tags: confluence-server

error

import

server
Update JDBC driver with Integrated Security
Asked by Victor Prasad:

Hello,

We were using the jtds driver before our upgrade.

Now we need to [upgrade](https://confluence.atlassian.com/confkb/migrate-from-the-jtds-driver-to-the-supported-microsoft-sql-server-driver-in-confluence-6-4-or-later-939505122.html "jtds replacement")

We currently use a service account on the domain.

Does anyone know the correct syntax to use to make it work?

The old jtds still **works**:

\<property name="hibernate.connection.url"\>jdbc:jtds:sqlserver://\<dbserver\>:\<port\>/ConfluenceDb;instance=\<conf\>;domain=\<corp\>;useNTLMv2=true\</property\>

The jdbc driver is configured like this but Confluence will not start:

\<property name="hibernate.connection.url"\>jdbc:sqlserver://\<dbserver\>:\<port\>;IntegratedSecurity=true;database=ConfluenceDb;instance=\<conf\>;domain=\<corp\>;useNTLMv2=true\</property\>

Update:

I have tried using:

\<property name="hibernate.connection.url"\>jdbc:sqlserver://\<dbserver\>;\<portl\>database=ConfluenceDb;instance=conf;domain=corp;useNTLMv2=true\</property\>

And getting and error that the domain account that the login failed for the user. But the DBA thinks it is trying to login as an SQL login, not and integrated user.

Error:

**Login failed for user 'confluence'. ClientConnectionId:5afedcf3-22a6-4450-be7a-3a4ab00d070b**


Answers:
author: Victor Prasad
body: from the kind folks at Confluence support:

switch from jtds to jdbc - Confluence Support - Service Desk

*
  * Download and extract sqljdbc_auth.dll from [Microsoft JDBC Driver 6.0 for SQL Server](https://www.microsoft.com/en-au/download/details.aspx?id=11774)
  * If you are running a 64-bit JVM on an x64 processor, copy the sqljdbc_auth.dll file to the x64 folder.
  * Add the following to the JVM argument and restart Confluence in order for it to use sqljdbc_auth.dll -

    ```
    -Djava.library.path=C:\Microsoft JDBC Driver 6.0 for SQL Server\sqljdbc_<version>\enu\auth\x64
    ```

    Please check our documentation on [Configuring System Properties](https://confluence.atlassian.com/doc/configuring-system-properties-168002854.html) for more details.


author: Victor Prasad
body: Update.

I took out the integrated security part - getting a login error - better than before!


Tags: confluence-server

database
Exporting Spaces
Asked by Stephanie Comtois:

Hi,

I know there is a way to export individual sites within a space, however, is there anyway to export an entire compilation of spaces, so the entire documentation product, in one export?


Answers:
author: Mario Carabelli
body: Hi  
Yes you can export (and import) a whole space as xml. You can also make a pdf export of a space.  
All details are here:  
<https://confluence.atlassian.com/doc/export-content-to-word-pdf-html-and-xml-139475.html>  
<https://confluence.atlassian.com/doc/restoring-a-space-152036.html>  
With kind regards  
Mario

comments: author: Stephanie Comtois
body: Thanks Mario.

Is it possible to export multiple spaces at the same time?


author: Mario Carabelli
body: Hi [@Stephanie Comtois](/t5/user/viewprofilepage/user-id/2593681)

You can export your full instance as a xml file. But this is only a real option if you plan to import the content into another Confluence Instance.

So if you want to import your content in something human readable there is no built-in way to export more then one space at once.

If my answers helped you I would appreciate if you accept one of them ?

With kind regards,

Mario


author: Stephanie Comtois
body: Thank you [@Mario Carabelli](/t5/user/viewprofilepage/user-id/1181108) for your responses. They are helpful but won't work for my specific instance.

It sounds like I have to go one at a time.

Thank you again.

<br />

Cheers,

Stephanie


author: Mario Carabelli
body: My pleasure[@Stephanie Comtois](/t5/user/viewprofilepage/user-id/2593681)

I am glad I could help you a bit.

Best of luck with your task!

With kind regards,

Mario
Cyrillic pop-up notifications have encoding problems
Asked by nick.rozhdestvensky:

Hi!

When I share a document with someone Confluence shows pop-up message "Shared with [@username](/t5/user/viewprofilepage/user-id/1677494)". With english system language it's ok.

![EN.jpg](/t5/image/serverpage/image-id/43095i5CE1ED9532B73E45/image-size/large?v=v2&px=999 "EN.jpg")

But in RU locale I have a problem in cyrillic encoding:

![RU.jpg](/t5/image/serverpage/image-id/43094i88B815B2EB38E9E3/image-size/large?v=v2&px=999 "RU.jpg")

Does anyone know how to fix it?


Answers:
author: Shannon S
body: Nick,

Can you let us know what version of Confluence you are using and what database type/version? If you're on Server, you want to make sure that your instance and database are all using UTF-8 for the collation.

Have a look here if you want to test your encoding:

* [Troubleshooting Character Encodings](https://confluence.atlassian.com/doc/troubleshooting-character-encodings-167194.html)

Regards,

Shannon

comments: author: nick.rozhdestvensky
body: Hi Shannon,

* Confluence Server 6.9.1.
* PostgreSQL 9.6.9.
* The encoding test is OK.
* "UTF-8" is everywhere in my instance's system information.


author: Shannon S
body: Thank you for confirming, Nick.

Could you [check the collation](https://confluence.atlassian.com/jirakb/health-check-database-collation-in-postgresql-943951450.html) of both your tables and database for your Postgres server?

Secondly, please clear your plugin cache and see if that helps.

* [How to Clear Confluence Plugins Cache](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html)

Thank you!

Shannon


author: nick.rozhdestvensky
body: DB is ok.

Cleared cache - unsuccessfully.


author: Shannon S
body: Hi Nick,

I'm sorry to hear that none of this worked for you. Could you show us the results of all the collation tests you ran on your database?

When you say that you cleared the cache unsuccessfully, does that mean you weren't able to clear it, or that you did, but it didn't work?

Regards,

Shannon


Tags: language-ru