youngmon/atlassian-qna huggingface dataset:
Sidebar collapses by default
Asked by Andy Bain:

Confluence Server 6.0 browser IE11

I found something re zero width setting in sidebar settings on the server?

Entering a new page always has the sidebar minimised by default.

Previously was OK (99% of our pages have a sidebar)

IE11: Logging in as another user sidebar OK, logging in using 'In private browsing' OK

Chrome OK


Answers:
author: Ana Retamal
body: Hi Andy, as it looks like this is only happening for your user, please perform these actions:

1. Clear cache and cookies
2. Make sure you're not useing Documentatio theme (it was deprecated some time ago and we sent a note about it)
3. Disable customizations

If after that your sidebar is still collapsed by default, send us a screenshot so we can see exactly how it looks for you.

Cheers!

Ana

comments: author: Andy Bain
body: Thanks Ana

Clearing cookies/javascript. I'm a bit of a dill, they have changed the logic in IE11 you now have to untick the option to clear cookies and tick everything else (apart from passwords) to clear them

Cheers,


author: Ana Retamal
body: Not very intuitive maybe, but I'm glad you figured that out!

Have a nice day :)


Tags: confluence-server
DIV with Custom Style Doesn't work on the Page, but works in preview
Asked by Vasily Provotorov:

Hello!

I am using Confluence OnDemand.

I have a DIV container (which holds some text and a TOC), with a custom CSS Style, set to "position:fixed".

In the page Preview, the DIV and the text is working fine, it stays fixed in place with the page, if you scroll down.

But when I Publish the page and open it, fixed positioning DOESN'T work. If i scroll down, the text scrolls away.

Any suggestions?

I used the guide from Mick Davidson from this post to do the whole thing:

<https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-set-a-fixed-floating-image-that-scrolls-with-page/qaq-p/501072>


Answers:
author: Shannon S
body: Vasily,

Can you show us where exactly you added the container, and what it contains in terms of CSS? Is there any other CSS within the container that are working or are not working?

I suspect it may be due to the New Look Confluence, but I'd like to test out a few things.

Kind Regards,  
Shannon

comments: author: Charbel Dammous
body: Having the same issue Shannon!

Here is my CSS.

.img-emptest{

position: fixed;

z-index: 4;

overflow-x:

hidden;

top: 50%;

left: 50%; }

Whatever image I load into this does not work the same in preview and when published.


author: Kem McFadden
body: Having the same issue. Works in Preview but not in Published mode. There are a couple other reports @ <https://community.atlassian.com/t5/Questions-for-Confluence/Floating-TOC-in-the-right-column/qaq-p/106867#U895078>
non-canned label searching against specified Spaces
Asked by eamonn mcquaid:

Hi,

Trying to find a way, whereby Confluence users can search for labels across several spaces (i.e. a space category as opposed to a single space or all spaces). The user enters a label into a search box (so not a pre-canned search query) and it only searches for the label in a number of specified spaces (possibly using a space category)

With the current confluence search macros  
1. Existing search macro work either or a single space or all spaces  
2. To specify a label you need to do so by adding a filter following the initial search  
Would like to achieve this type of searching without having to develop customised code or using the labelText syntax  
I have searched for plug-ins to address this and have not managed to locate any. Has anyone found a solution to the above challenge ?


Answers:
author: eamonn mcquaid
body: Hi Stephen, many thanks for the response and effort - yes that is what i am looking for


author: Stephen Deutsch
body: You can almost get there with standard CQL. Something like

```
space.title ~ "space" and type=page
```

would return all pages in spaces which contain "space" in their name.

Unfortunately there doesn't seem to be any extension for space category like space.category or space.label.

Are you running Confluence Server? Scriptrunner for Confluence would be able to help you out here as it includes a CQL Search macro and has an option to write an extension to CQL that could include the space category. However, as far as I know, this is not a built in element, so code would have to be written (although there are examples on the documentation page).

Otherwise you can search multiple spaces with CQL, but you have to know the space key for each space, so this probably wouldn't work so well...

comments: author: eamonn mcquaid
body: Stephen thanks for your response. Running Confluence Server 6.2.2. Our end users will not be in a position to create CQL syntax. looking to have a search box that a user can provide a label and then the secrch is limited ot a number of spaces


author: Stephen Deutsch
body: Hi Eamonn,

I thought about it and there might be a way to do it with a user macro. Give me some time and I'll get back to you.

My idea is to have a search box that has a predefined space category field from the editor but that will search for a particular label that is input on the page. This is what you are looking for, right?


Tags: label

search
Confluence siteurl with german ? ? ?
Asked by Marco Schrieck:

Hello,  

Is there any way, that confluence will support german letters (???) in the url ?  

For Example  

Sitename DE: Vertrag verl?ngern.  
Sitename EN: Renew contract.  

These are the two URLs generated by confluence :  
German url : confluence.com/pages/viewpage.action?pageId=6717458  
English url : confluence.com/display/contract/Renew+contract  

<br />

Is there any way, to force the german url to confluence.com/display/contract/Vertrag+verl?ngern ?  

<br />

Greetings


Answers:
author: Nic Brough -Adaptavist-
body: Not without a lot of coding - characters like that are not valid in uri's and have to be used with % escaping and Confluence only generates simple uris without encoding.
Livesearch with rounded edges
Asked by Marcin:

Hi,

Hey, I look for a liveserach with rounded lateral edges.

Can I find such a thing?

Example: ![Bez?tytu?u.png](/t5/image/serverpage/image-id/5621i3AE39BCDE8C6A1E6/image-size/large?v=v2&px=999 "Bez?tytu?u.png")


Answers:
author: Shannon S
body: Hi Marcin,

To give the LiveSearch Macro rounded corners, you will want to add the following to the Custom HTML section footer: **Confluence Admin \> Custom HTML**

```
<script type="text/javascript">
AJS.$("document").ready(function(){
 AJS.$(".search-macro-query input[type='text']").css("border-radius","40px");
});
</script>
```

Then it will appear like this:

![Screen Shot 2017-09-08 at 6.40.12 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/5868iEAC27E1815AC5251/image-size/large?v=v2&px=999 "Screen Shot 2017-09-08 at 6.40.12 PM.png")

Can you give that a try and let us know how it goes?

comments: author: Marcin
body: Thanks ! It's work ;)


author: Shannon S
body: Super! Thank you for letting me know :)

Take care and have a pleasant week!

Kind Regards,  
Shannon
Export to word
Asked by Hugh:

Hi All,

I'm trying to export a document to word from my wiki. It's a word doc that I imported.

The formatting isn't quite right - For instance, the table at the beginning of the document is ignored, but the *contents* of that table is available in the exported version. However this same table was correctly imported into the wiki, and is displayed as expected within the tool.

When importing word documents, do I need to pay attention to the formatting of the originial to ensure it is displayed correctly once it is re-exported?

Thanks,

Hugh


Answers:
author: Thomas Schlegel
body: Hi Hugh,

you can't expect an first imported then exported Word doc to look the same as before.

We import old word documents just to have their content in Confluence. Importing a word doc works quite good. And answering your question: you can't influence the import. Just have a look after importing the doc and make some slight corrections if necessary.

But we never export a Confluence page back to word. Maybe pdf, for external usage, but not word. It does not look the same as in Confluence (and therefore not the same as the document you've imported). PDF export instead looks fine. Did you try that already?

comments: author: Hugh
body: Hi Thomas,

Yes, I tried to export to PDF and while it looks a bit better, there are a number of formatting issues.

For example, tables inside of tables do not seem to be correctly recognized, and so Jira splits them into two separate tables.

I need to have the files exported for internal processes, so it's a pretty important feature for me.

Thanks,

Hugh


author: Eric Franklin
body: Hey Hugh,

I know there are quite a few word export issues and feature requests floating around in Atlassian's JIRA and some do revolve around table formatting issues when exporting. I found the following dealing with embedded images in tables and it could be linked to the same root cause:

<https://jira.atlassian.com/browse/CONFSERVER-34385>

Another similar table formatting bug can be found here:

<https://jira.atlassian.com/browse/CONFSERVER-39967>

I would recommend reaching out to Atlassian support (you might want to reference these bugs) and see if they have a specific bug related to this or can reproduce it on their end (if so, they can report a new bug if it does end up being one). Hope this helps.

-Stephen "Eric" Franklin


Tags: jira
Search bar missing
Asked by St?phane Veraart (Devoteam):

Is it just me or is the search bar on top missing? I was demonstrating it to my users a few days ago but just this morning I found it missing from the top menu and/or is it part of the new UI in some way?


Answers:
author: Nic Brough -Adaptavist-
body: Yes, Atlassian released a new layout for Cloud a few weeks ago.

See [https://community.atlassian.com/t5/Confluence-discussions/What-just-happened-to-Confluence-Cloud/m-p/622890#M237%3Futm_source=atlcomm\&utm_medium=email\&utm_campaign=immediate_general_reply\&utm_content=topic](https://community.atlassian.com/t5/Confluence-discussions/What-just-happened-to-Confluence-Cloud/m-p/622890#M237%3Futm_source=atlcomm&utm_medium=email&utm_campaign=immediate_general_reply&utm_content=topic) for some discussions about the changes.

comments: author: St?phane Veraart (Devoteam)
body: Thanks, Nic. I already replied in that thread as well before posting this question - meaning that I was in the right place to put it there.

I'm not particularly fond of the magnifying glass option now, since it doesn't bring up search results as it did before. For a knowledge base that can be useful\*

*\* understatement might be applicable*
Confluence Backup fails with IOException
Asked by Christopher Lewis:

I'm trying to make a backup of my Confluence installation (General configuration / Backup and restore). I choose "Archive to backups folder" and "Backup attachments" and always get this error:

```
java.io.IOException: No such file or directory	at java.io.UnixFileSystem.createFileExclusively(Native Method)	at java.io.File.createNewFile(File.java:1012)	at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:461)	at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:397)	at com.atlassian.confluence.importexport.actions.BackupAction.execute(BackupAction.java:69)
```

It also happens if "Backup attachments" is unchecked.

When I uncheck the option "Archive to backups folder", no error is shown, but not backup file is created in the expected location.

Now this error message isn't that helpful. The restore folder exists and is writeable for the confluence user; it even contains an older backup file, so the backup functionality seems to have worked before.

Any ideas?


Answers:
author: Ahmet Kilic
body: ### Enabling Backup Path Configuration {#toc-hId-1173040847}

For security reasons, the ability to change the backup file location **Backup administration** screen is disabled by default.

To enable custom backup paths:

1. Stop Confluence.
2. Edit the `<confluence-home>/confluence.cfg.xml` file.
3. Change the value of the following property to true:


author: Nic Brough -Adaptavist-
body: It might not be the exports/backups directory that it cannot read/write. It uses temporary caches and temp directories, so it could be one of them, and it might even be the attachments directories its trying to write.

Does the error not say what it was trying to do?

comments: author: Christopher Lewis
body: Unfortunateley not.

I now managed to migrate my Confluence installation by importing a database dump on the new server after the installation process, even if this is not the recommended way to do it.

Thanks for your help anyway!
Application Links
Asked by Sebastian Heybrok:

Hi there,

I am having trouble connecting Jira and Confluence. Jira is running via HTTPS and can connect to confluence using incoming oAuth and nothing for outgoing.

On Confluence it says NetworkError wiht "java.lang.NullPointerException: null"

I am using the Jira base url in the connector configuration.

Pls advice and let me know what logs are needed to get this done.


Answers:
author: Jeremy M
body: Dear Sebastian,

You could check the logs; atlassian-confluence.log, located at... \<confluence-home\>/logs/atlassian-confluence.log

Your error has thankfully also been documented by Atlassian;

<https://confluence.atlassian.com/confkb/nullpointerexception-when-trying-to-configure-application-links-273285733.html>

Atlassian states that the cause is that the Server ID of Confluence is either missing in the database or incorrectly set. Please take a look at the documentation, I will be here to help should you have any questions about the docs.

Friendly Regards,

Jeremy Mooiman

comments: author: Sebastian Heybrok
body: Hi Jeremy,

thanks for your fast reply. Unfortunately the SQL statement return the correct value in the format "\<string\>my-con-fluence-ServerID\</string\>" and I can also manually find it in the confluence.cfg.xml showing as

\<property name="confluence.setup.server.id"\>my-con-fluence-ServerID\</property\>

In the atlassian-confluence.log it says

WARN \[http-nio-8090-exec-2\] \[atlassian.applinks.core.DefaultApplinkStatusService\] logApplinkError Unrecognized error while attempting to retrieve status of Application Link '49603bdc-8b72-3138-927c-85e62ea77f03'  
-- referer: http://confluence:8090/plugins/servlet/applinks/listApplicationLinks \| url: /rest/applinks/3.0/status/49603bdc-8b72-3138-927c-85e62ea77f03 \| traceId: 77a91b4929e7c501 \| userName: admin![Confluence rest.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/5605i10BC770C313D857A/image-dimensions/1998x48?v=v2 "Confluence rest.JPG")


author: Lars Olav Velle
body: Running on the same server? Java has no knowledge of search dominans. Have you tried using the FQDN?


author: jira guy
body: Running into similar issue..server id and everything is correct. Also, tried using FDQN. Any idea why the integration isn't working.

[@Sebastian Heybrok](/t5/user/viewprofilepage/user-id/858734) were you able to fix this issue?


author: Sebastian Heybrok
body: I got this working but cant remember the root cause of the problem tbh.  
Any chance to get some more details from your end? We are running with oauth for in and outgoing connection.


author: jira guy
body: I deleted all oauth tokens from bandana table in confluence database and it is working now. I just have to make sure docker container timezone and jira timezone are same now


Tags: application-link
Synchronize Data form Database into User Profiles
Asked by Michael Zronek:

Is there a possibility to extract Data from a Database and insert it as Custom User Field in the User Management?

A plugin like Seibert Medias [User Profile](https://marketplace.atlassian.com/plugins/net.seibertmedia.plugin.confluence.cup/server/overview) Plugin can sync data from LDAP and insert it as new fields in the User Management in Confluence. They also support XML import or extra LDAP directories but no Database as Data Source.

Is there any way to achieve this via a plugin or natively?


Answers:
author: Gaston Valente
body: I'm sorry, i think that this question is about jira.

In confluence you can try by implementing a job module:

<https://developer.atlassian.com/confdev/confluence-plugin-guide/confluence-plugin-module-types/job-module>


Tags: jira
Double bolded text after copy and paste in some browers
Asked by Maciej Obarzanek:

Hello.

The bug from this topic: [Copy and paste bold text results in a double bold text in Firefox and IE](https://jira.atlassian.com/browse/CONFSERVER-28856) is still happens in Confluence 6.1.2. Can you fix this?

Quick steps to reproduce (from original topic):

1. Create a new page using any browser
2. Type a text bold
3. Select the text and bold the text
4. Select the bold text and copy it
5. Place your cursor after bold text (besides letter d)
6. Ensure that the bold icon is turned on/selected and then press ENTER to go to the second paragraph
7. Paste the text
8. Copy the text that you pasted in the previous step
9. Paste the text into the third paragraph

The problem occurs in IE and Firefox.

Regards, Maciej.


Answers:
author: Shannon S
body: Maciej,

Thank you for this feedback! I've reopened the case and placed an internal comment there letting the development team know that you have provided a good set of instructions for replicating.

I'm also including your version 6.1.2 as an affected version.

Kind Regards,  
Shannon


Tags: bug
Favourite spaces are not updating in the dashboard
Asked by Transversal It - it tools:

Favourite spaces which I used to see all the updates under "Favourite Spaces" tab on my dashboard is not getting updated.

Please let me know the reason and workaround so that the recent update date/contents should be get changed periodically under "Favourite Spaces" tab on my dashboard .


Answers:
author: Shannon S
body: Hi there,

Did this work prior to an update? Can you let us know what version of Confluence you are running?

Lastly, does triggering an index display the recently added Favorite Spaces?

Kind Regards,  
Shannon

comments: author: Transversal It - it tools
body: Dear Shannon,

Yes this was working prior to an update.

Confluence version is 5.8.18.

Can you please brief me on triggering an index display?

Thanks.


author: Shannon S
body: Sure!

You can do so in the [Confluence Index Administration](https://confluence.atlassian.com/doc/content-index-administration-148844.html).

1. Use the Cog icon and click on **General Configuration**.
2. Choose **Content Indexing** under the heading**Administration.**
3. Click the**Rebuild**button.

Keep us updated on how this goes!

Kind Regards,  
Shannon


author: Mark H_ Williams
body: We are running Confluence 5.8.10 and we are having the same issue. Is there a way to automatically update the "Favorite Spaces" list?


author: Shannon S
body: Hi Mark,

This should automatically update on its own whenever indexing is automatically run on Confluence. Can you confirm you have manually reindexing Confluence?

You can also try [rebuilding the indexes from scratch](https://confluence.atlassian.com/confkb/how-to-rebuild-the-content-indexes-from-scratch-on-confluence-server-110035351.html) and see if your results populate after that.

Regards,

Shannon
Forgot Admin Password
Asked by Drose Technologies:

I have forgotten my admin user password. I am using H2 Embedded Database. Where can i reset my password from.


Answers:
author: noamdah
body: Connect to the embedded database, check out this [link](https://confluence.atlassian.com/doc/embedded-h2-database-145098285.html).

You can reset your password from the database, check out step 2 of this [link](https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html).

(It is not recommended to use H2 Embedded Database for Production environments, check out this [link](https://confluence.atlassian.com/doc/from-confluence-evaluation-through-to-production-installation-345211000.html))
Has anyone else noticed that their lists no longer appear on their pages?
Asked by Wade Milne:

None of my children pages are appearing on the parent page anymore. This is happening on all template types including forum, meeting notes, documents, etc. It seems to be related to the refreshed design. My recent updates and user activity is also not appearing on the home page.

Any solutions to fix this?


Answers:
author: Bruno Miretti
body: Hi,

what do you mean by they do not appear on the parent page ? do you use an include or page tree macro on the parent page or is this related to the page tree no more displayed on the overview page ?

Maybe you could have a look at this discussion, you'll maybe find some requests to vote for as the new shiny UI has broken many things:

[What-just-happened-to-Confluence-Cloud](https://community.atlassian.com/t5/Confluence-discussions/What-just-happened-to-Confluence-Cloud/m-p/622890#M237%3Futm_source=atlcomm&utm_medium=email&utm_campaign=immediate_general_reply&utm_content=topic)

Hope this helps

comments: author: Wade Milne
body: Thanks for the response Bruno. It has seemed to magically have fixed itself today when I logged in. The issue was that none of my macros like 'content report table' or 'recently updated' were actually pulling in any of the content. But everything is working now.
User Admin with edit permissions cannot edit any page on Spaces
Asked by ignatiosgr:

Hello,

The Admin user who has the appropriate rights to edit and add to pages cannot edit the page and receives the following pop up error message:

![error_message.jpg](/t5/image/serverpage/image-id/5585i9CBD7A89A47BFF7F/image-size/large?v=v2&px=999 "error_message.jpg")


Answers:
author: LarryBrock
body: What do the permissions say if you click the lock icon? Is this a space admin or a confluence admin account?

comments: author: ignatiosgr
body: Hello,

Thanks for the reply.

The user is the support and it belongs to confluence-administrators ![lock_icons.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/5589i28E795B6024DB5E9/image-dimensions/691x316?v=v2 "lock_icons.jpg")

I checked also the debug console and this error mesage when press the update button:

Error: Unsupported Method {#toc-hId-1958505112}
===============================================

The HTTP method requested is not enabled for this website. Please try to access the site later or click here to refresh the page.

   1. Request Method:  
   PUT
   2. Status Code:  
   405  
   3. Referrer Policy:  
   no-referrer-when-downgrade


Tags: edit

error

page
Why Confluence is so sensitive to FQDN ?
Asked by padauk:

To setup Confluence server with reverse proxy, one needs to set consistent FQDN to all of Server Base URL, proxyName of server.xml and reverse proxy setting of Apache/Nginx. This is not simple (?1).

What is the reason for all of these to be consistent ? There are many web applications which works without the care of FQDN part of the URL.

(?1) Especially when the application server is runing in private network with external access with port mapping, host naming of private network is different from the external (public) network which makes Confluence setup complicated.


Answers:
author: AnnWorley
body: I understand your naming scheme is different internally than on your public network so you would like to be able to access Confluence from either one.

Confluence does need to be accessed on the base URL to work properly. Internal links are built using the base URL and also the plugin manager depends on the base URL. For more insight into why a single base URL is required, please see: [Various Issues Caused when Server Base URL Does Not Match the URL Used to Access Confluence](https://confluence.atlassian.com/confkb/various-issues-caused-when-server-base-url-does-not-match-the-url-used-to-access-confluence-215485002.html)

We do have a suggestion open to allow Confluence to be accessed on more than one URL:

[Support accessing Confluence from alias that is different to the server base URL](https://jira.atlassian.com/browse/CONFSERVER-19818)

You may vote and/or comment on the ticket to emphasize your use case for the development team.