youngmon/atlassian-qna huggingface dataset:
Unable to find the existing Layouts
Asked by Sozhavendhan M:

There were some 6 layouts under Availabe Default layouts. Are all missing now.

But when I tried to create a new Layout with the same name it shows the Layout already exist.

How can I make the existing layouts visible?

![](../../upfiles/Error_1.JPG)

And on Theme Builder \>\> Backup I am getting an error as below:

A system error has occurred --- our apologies!

### Cause {#toc-hId-1482454334}

javax.servlet.ServletException: Servlet execution threw an exception  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313)

caused by: java.lang.StackOverflowError  
at java.util.concurrent.ConcurrentHashMap.get(Unknown Source)


Answers:
author: LuizA
body: Hello There,

Per the description and screen-shots it seems that you're using the Builder Theme from Adaptavist and this kind of error it seems related with a behaviour(unexpected) of the plugin and not from Confluence, so if this is the case here then I would suggest you to make a contact with them by the following:

[help@adaptavist.com](mailto:help@adaptavist.com)

+44 1925 321 000

<http://www.adaptavist.com/>

Contacting the provider of the plugin would be the best way to obtain an efective help to solve the problem in this kind of situation and as it is an error that can be affecting the application itself, hope this helps.

Kind Regards,

LJ.
@mention-Function doesn't work
Asked by Peter Hurlemann:

The @mention-Function was used to work on our installation. Some weeks ago user informed us (the administrators) that the function obviously doesn't work properly any more. When you start typing a user's name in the edit page-mode the pull down menu appears an it's still possible to select a user who should receive an E-Mail. The result is, that no message is sent. The system itself (Confluence) can still send E-Mails, e.g. the share-function sends E-Mails which can be watched in the mail log.

We tried to deactivate/re-activate the mentions-plugins and deactivated all user-installed plugins with no success. Do you have any suggestions?

The log files atlassian-confluence.log and catalina.out show no error messages or hint what could be the reason.


Answers:
author: Peter Hurlemann
body: The resolution was that a script automatically de-activated the 'notify watchers'-checkbox. By activating the notify-watchers-function also the @mention did work again.


author: LuizA
body: Hello Peter,

Maybe this can be related with indexes, so in a first approach I would suggest you to try to rebuild your content indexes from the scratch by the following:

1. Shut down your Confluence server.
2. Make a backup of your `<confluence-home>/index/plugin` directory if it exists. This is where the Usage Tracking plugin stores it's index for the usage statistics and it cannot be rebuilt.
3. Remove the `<confluence-home>/index` directory.
4. If in step 2, you have the `<confluence-home>/index/plugin` directory, create the `<confluence-home>/index` directory and copy in the backup of `<confluence-home>/index/plugin` directory made in step 2.
5. Restart server - A new **index** directory will be created upon restart of your application.
6. Now perform the manual re-indexing of your site to build a brand new index from scratch by these steps: <https://confluence.atlassian.com/display/CONF43/Content+Index+Administration#ContentIndexAdministration-RebuildingtheContentIndexes>

Then try to check the mentions again. Hope this helps.

Kind Regards,

LJ.

comments: author: Peter Hurlemann
body: The resolution was that a script automatically de-activated the 'notify watchers'-checkbox. By activating the notify-watchers-function also the @mention did work again.


author: Craig Goodenough
body: This worked for me. But I am unsure why it happened as it was a fresh install of Confluence and the first time I went to use @mention it didn't show any user results.


Tags: mention
User Macros import-export
Asked by KPAH:

Due to Confluence limitations, I had to create lots of user macroses, and I mean over 9000 of them. I think I would be better off writing my own wiki instead of tweaking somebody's else work.

Anyway, is there a way to export these precious macros without paid (!!!) plugins?

Thanks in advance.


Answers:
author: Amalia
body: Which version of Confluence are you using now? I believe that the user macros are stored in the BANDANA table. Example, in Confluence 4.3:

```
SELECT bandanavalue FROM bandana WHERE bandanacontext = '_GLOBAL' AND bandanakey = 'atlassian.confluence.user.macros';
```

If the format is not too different between these two Confluence versions, then I believe you can copy these data and import them into the new Confluence version (after that, try to restart or flush cache).

comments: author: KPAH
body: Brilliant, thanks!!  


author: KPAH
body: Hi, thanks for quick reply. It is 4.3 standalone.

I've used Database Browser to connect to my db, which is MySQL. The transact above returns just "bandanavalue"  
"(BLOB)"

Am I missing something?


author: Amalia
body: usually, you will be able to double click the BLOB to see the data. Otherwise, use the MySQL command line instead


author: pdr
body: To export this in an importable way, use mysqldump:

```
mysqldump -t confluence BANDANA --where="bandanacontext = '_GLOBAL' AND bandanakey = 'atlassian.confluence.user.macros'" &gt; usermacros.sql
```

You'll then need to shutdown your new instance, then from mysql do:

```
delete from BANDANA where BANDANACONTEXT='_GLOBAL' AND bandanakey = 'atlassian.confluence.user.macros';
```

Then import the record from the other instance before starting up confluence again:

```
mysql confluence &lt; usermacros.sql
```


author: Matthew J. Horn
body: 9000 macros?! I thought \*I\* used alot of macros. Wow!


Tags: user-macro
What are the recommended dimensions of the confluence gobal Logo for a) Version 4.3 and b) Version 5 ?
Asked by Felix Herzog:

Hi,

ask one get two answers! :)

In our company we have to keep on our CI. Our graphic designers have to make new logos for our Confluence. They ask for optimum size of the global logos.

As Confluence 4.3 is different from 5.x I ask for both recommended formats.

Thank you.


Answers:
author: Daniel Borcherding
body: Felix,

I am doing a bit of diggig aroudn our documentation to see if I can find this answer, but am not having much luck yet. I did find the following document on space logos.

https://confluence.atlassian.com/display/DOC/Changing+a+Space's+Logo

In the new version of Confluence it is possible to upload an image and programatically generate a space logo. We use now using circular images as opposed to square ones. Any upgrade of previous version of Confluence will automatically convert all previous space logos into this new circular format. You can use the reziser utility above to adjust any cropping on previous space logos.

I will continue to look for documentation on prescribed image sizes.

comments: author: Andre van der Elst
body: Hi Daniel,

is there a way to disable this circular formatting for logos ?

Is it a stylesheet trick that can easily be disabled ? It looks horrible on most space logos that were not circular to begin with.

see screenshots below.

![](../../upfiles/Schermafbeelding_2013-03-25_om_15.32.25_1.png)

![](../../upfiles/Schermafbeelding_2013-03-25_om_15.32.02_1.png)


author: Ramiro Pointis
body: Hi Andre, there's an issue with information about that. It says why that change and how you can go to the original logo type with css.

<https://jira.atlassian.com/browse/CONF-28275>

Hope this helps.


author: Andre van der Elst
body: Thank you Ramiro, that fixes my problem.

@Atlassian, I mostly use the logos of companies we work for, most logos a rectangular instead of circular. I don't mind you trying out new things, but maybe you can do this stuff in a custom theme instead of making it default for everyone ?

comments: author: Ramiro Pointis
body: Hi Andre, I think it would be better if you create a new question, it's difficult to pay attention to the request if it is inside other question.


author: Andre van der Elst
body: Hi Ramiro, I agree. Looking at the Jira issue you linked to I think Atlassian paying attention is one of the problems we're having with all these changes.


Tags: global

logo
Issues with database migration from Mac OS X to Debian Linux
Asked by Andrew Preece:

Error occurred during template rendering: Invocation of method 'getLogoForGlobalcontext' in class $Proxy43 threw exception org.springframework.jdbc.BadSqlGrammarException: Hibernate operation: Could not execute query; bad SQL grammar ; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'confluence.CONTENT' doesn't exist at template/includes/macros.vm line 1351, column 43 . Contact your administrator for assistance.


Answers:
author: Bruna Griebeler
body: Hi Andy.

In fact this table should exists but I believe your MySQL should be set to understand the table names both in upper and lowercase.

I suggest you to include the**lower_case_table_names = 1** line on the mysqld section on your /etc/mysql/my.cnf.

Example:

\[mysqld\]  
#  
# \* Basic Settings  
#  
user = mysql  
pid-file = /var/run/mysqld/mysqld.pid  
socket = /var/run/mysqld/mysqld.sock  
port = 3306  
basedir = /usr  
datadir = /var/lib/mysql  
tmpdir = /tmp  
lc-messages-dir = /usr/share/mysql  
skip-external-locking  
lower_case_table_names = 1  
transaction-isolation=READ-COMMITTED

After that, restart both, Mysql and Confluence.

Hope it helps!
Dashboard Spaces Limit
Asked by Johannes H?fner:

Hi guys,

we have 23 Spaces, but only 20 are showed on the left side of the Confluence Dashboard.  
How can i set the display Limit higher ?

Confluence Version: 5.0.1  
Setup Type: EAR / WAR with PgSQL DB

thanks

Johannes from munich / germany


Answers:
author: Daniel Borcherding
body: Hello Johannes,

Out of curiosity are you seing 20 out of 23 spaces at the bottom of page or does the list just end at 20 spaces?

We have the following document that details all of the operations of viewing all of the spaces.

<https://confluence.atlassian.com/display/DOC/Viewing+All+Confluence+Spaces>

You can see that the best way to do this is from the space directory.

There is no current way to view all of the spaces from the dashboard. I would be more than happy to file a feature request on your behalf to add an option to display all spaces.

comments: author: Johannes H?fner
body: Hi Daniel,

the list ends at 20 spaces.  
I see all the spaces in the space directory.  
This would be a nice feature an would help find your space quicker.

regards

Johannes


author: IT Administrator
body: Was someone able to review this feature request? As of 5.4.4, the Site Spaces list is limited to the first 20 spaces, listed in alphabetical order. I would like the option to display all spaces right there (or definable number of spaces) in the dashboard and not require my users to click into the directory.


author: Jack Tsang
body: Was a Jira ticket created for this request? If yes, what is the number so I can vote and track it?

Thanks.


author: Johannes H?fner
body: Hi Daniel,

the list ends at 20 spaces.  
I see all the spaces in the space directory.  
This would be a nice feature an would help find your space quicker.

regards

Johannes


Tags: limit

space
Exporting page tree view (left pane) along with the spaces and pages as HTML
Asked by Azhar Ali Buttar:

Hi,

We tried to export the space as HTML, but the tree view avaible in the theme was not exported in the HTML pages. Can you please let us know is it possible to export the "Page Tree" (left panel)

Thanks

Rahat


Answers:
author: Sean King
body: Are you using the documentation theme or the default theme? I'm assuming the Page Tree you're mentioning is located in the sidebar of the documentation theme.

comments: author: Azhar Ali Buttar
body: We are usign the documentation theme, is it possible to export it with the HTML ?
Index does not work correctly
Asked by Egbert Jansen:

Still having problems with the index.

If a reindex works, the index will be updated for around 2 weeks, after that there will be no update anymore.

I have to do a reindex manually. During the reindex, people can not use Confluence (it's locked up) and most of the times I have to stop and start confluence to get it working again.


Answers:
author: JohnA
body: Hi Egbert,

It sounds like your index may have actually become corrupted and that is why re-indexing works for 2 weeks and then it starts to degrade again. So, top test this theory I'd like to ask you to rebuild the index from scratch by following the instructions in this document: <https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch>

You can also check the things in this document to make sure your index isn't failing for some of the most common reasons, such as the disk running out of space and/or the instance running low on memory: <https://confluence.atlassian.com/display/CONFKB/Searching+and+Indexing+Troubleshooting>

If none of those work for you, please contact [Support](https://support.atlassian.com/) so that we can investigate what is breaking your index and advise you how to resolve the problem.

All the best,  
John


Tags: index
OnDemand doesnt like attached Excel files
Asked by aigroup:

I have tried to open excel files from both Mizilla and Explorer and cannot.

Is this problem specific to OnDemand?

What's up?

<br />


Answers:
author: Paul Greig
body: Hi Paul,

If you are trying to edit the embedded attachments with Firefox you should also ensure you have the following add-on installed: <https://confluence.atlassian.com/display/AOD/Installing+the+Firefox+Add-On+for+the+Office+Connector>

Additional documentation on this tool is available here: <https://addons.mozilla.org/en-US/firefox/addon/webdav-launcher/>

Could you confirm how these spreadsheets are currently embedded, are they just attached or embdedded with the office macro's?

Thanks,

Paul


Tags: cloud
inviting user to specific space
Asked by aigroup:

i have 2 spaces in my confluence site - one demonstatrion and one project.

when i invite a new user they open on a 'demonstration space'.

how do i direct them tot he project sace?


Answers:
author: Marlon Aguiar
body: Hi there Paul,

You'll have to set your homepage at the General Configuration menu, this document explains step by step how to do that: <https://confluence.atlassian.com/display/DOC/Configuring+the+Site+Home+Page>

Hope this information helps!

Cheers,  
Marlon Aguiar


Tags: cloud

confluence-cloud
How can I create a link to a specific category of the space directory?
Asked by Mutsumi Kogawa:

In the welcome message on the dashboard, I'm trying to create links to categories in the space directory so that with just one click the user can jump to the directory of the spaces under the requested cagegory.

The problem is that the categories displayed on the space directory don't have links associated to each category. Therefore all I can do is to make a link on the dashboard and send the user to the space directory where all spaces are listed and not categorized.

Is there any way I can create a link to a specific category of the space directory?


Answers:
author: Larry Wilson
body: Any fixes out there? Any other way to get this to work?

comments: author: James Perry
body: Such a simple function - surely there should be a fix for this?


author: Bernhard Peissl
body: How about:

https://\<conf-host\>/spacedirectory/view.action?selectedSpaceCategory=\<category-name\>

i took the link from the overview tab in "space tools" where you assign the space categories.


author: Sean King
body: Instead of linking to the space directory you can use the "list-spaces" macro and in the teams text input put the category. Should show only the spaces with that category/label

comments: author: Jason Plumhoff
body: The space list macro has been broken since 4.1. Trying to select any category but the default results in a malformed link.


Tags: category

space-directory
Using Confluence live search for external knowledge bases
Asked by Svante Gustafsson Bj?rkegren:

Hi,

We are using Askbot as a knowledge base app and I wonder if it possible to search that database as well with the Confluence live search macro (or similar)

With our current roll-out of Confluence, information is now growing in two places and it would be extremely valuable if it is possible to have one "global" search engine for both these databases.

I know that Atlassian Answer in built on something similar (QSQA) so maybe there is some neat integration available.

Rgrds,

// Svante


Answers:
author: LuizA
body: Hello Svante,

Being honest with you is not so common this kind of configuration and unfortunately is not possible to search in Askbot using Confluence as a integrated search, even a plugin that could perform a kind of integration between these two applications is not available yet.

So if you want to perform this kind of integrated search then you'll have to perform a customization in your Confluence and probably this would require some development. To customize your Confluence I would suggest you to make a contact with one Atlassian Expert, that probably will be able to analyze your environment and see if it would be possible to integrate Confluence and Askbot, you can contact them by the following:

<http://www.atlassian.com/resources/experts>

Hope this helps.

Regards,

LJ.

comments: author: Svante Gustafsson Bj?rkegren
body: Yes, thnx! I will look into this more in detail! The functionality is definitely valuable so it may be feasable to develop something here!


author: Luana da Silva Machado
body: Is it possible with JIRA?

I imported some data from Jira to Confluence, but I cannot seem to find a solution for the search functionality. I created tons of filters, but it is still a workaround.

Thanks


Tags: integration

live-search

search
Customize fields on "Create JIRA issue" page on Confluence
Asked by Chirine Abou Adily:

We have integrated JIRA and confluence. While creating JIRA issue on Confluence, we need to add more than the default fields such as labels, version, ...


Answers:
author: Abdoulaye Kindy Diallo
body: I think this may require customizing the source files to add more fields which is not allowed in OnDemand. Kindly have a look at the [Restricted Functions](https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand). You can have a look at the available custom fields from [here](https://confluence.atlassian.com/display/AOD/Adding+a+Custom+Field).


Tags: cloud

confluence-cloud
Is there a way to specify variables as macro parameters in Confluence 5 templates
Asked by Daniel Brice:

In Confluence 4 I had a number of very useful templates that passed variables to macro parameters. For example a trivial example of a template like this is:

```
Specify Page Name to Include: @PAGE@{excerpt-include:@PAGE@}
```

However in confluence 5 with the new rich text template editor, I can not see how I can do the same. I've tried entering $PAGE or @PAGE@ as a parameter, and but that is ignored. I've tried using the source editor add on - but that does not seem to work with templates.

This feature is very useful to me - is there any way to do it in Confluence 5?


Answers:
author: Daniel Brice
body: Yes it is a duplicate, I'll vote on your question.


author: EddieW
body: Bob's question did speak to this, but also wiki markup.

To speak specificly to Daniels question, yes you can still insert variables in confluence 5, just use the "$ variables" drop down, or start typing $blah. below is the docs for conf 5 and an example i tried to validate.

<https://confluence.atlassian.com/display/DOC/Adding+a+Template>

![](../../upfiles/wikimarkup_1.PNG)![](../../upfiles/macro_variables_template_1.PNG)

comments: author: Bob Swift (personal)
body: The key words in the question are: **as macro parameters**


author: EddieW
body: Yeah, sorry, ten minutes after walkign away I realized what you both meant. I figured my answer was too obvious!


author: Bob Swift (personal)
body: I think this is a duplicate of: [How do you add template variables as macro parameters or in plain text macro bodies?](../141785/how-do-you-add-template-variables-as-macro-parameters-or-in-plain-text-macro-bodies)

comments: author: Nick Worth
body: Duplicate is gone... 404 page


author: MercyShips RoleAccount
body: Was this it maybe?  
<https://community.atlassian.com/t5/Confluence-questions/How-do-you-add-template-variables-as-macro-parameters-or-in/qaq-p/116958>


Tags: macro

template
error: unmappable character for encoding UTF8, when trying to build Universal Wiki converter
Asked by kamal2222ahmed:

I am trying to build uwc, and getting lots of errors ALL related to UTF-8. How can i include the UTF-8 lib, to get rid of the errors.

```
[javac2] /home/kahmed/universal-wiki-converter/src/com/atlassian/uwc/exporters/MindtouchExporterTest.java:251: error: unmappable character for encoding UTF8   [javac2] 						"&lt;p&gt;?&lt;/p&gt;\n" +    [javac2] 						    ^   [javac2] /home/kahmed/universal-wiki-converter/src/com/atlassian/uwc/exporters/MindtouchExporterTest.java:256: error: unmappable character for encoding UTF8   [javac2] 						"&lt;p&gt;?&lt;/p&gt;\n" +    [javac2] 						    ^   [javac2] /home/kahmed/universal-wiki-converter/src/com/atlassian/uwc/exporters/MindtouchExporterTest.java:265: error: unmappable character for encoding UTF8   [javac2] 						"&lt;p&gt;?&lt;/p&gt;\n" +    [javac2] 						    ^   [javac2] 54 errorsBUILD FAILED/home/kahmed/universal-wiki-converter/build.xml:156: Compile failed; see the compiler error output for details.
```


Answers:
author: Jon Kokko
body: For those struggling with this issue, you need to recode the files from UTF8 into Latin. This is easily done with the recode utility on Linux.


author: John Moore
body: Hi Kamal,

just posted the same error. Did you find what the issue was?

r,  
john


Tags: universal-wiki-converter
Does Confluence allow SSL/Encryption to MSSQL
Asked by Pepe:

I've found a bit of information that JIRA can connect to Postgres over SSL and need to know if Confluence can connect to Microsoft SQL Server over SSL. If so can you point me to some docs?

I also need to know if Confluence would support an encrypted database? I don't know much about the technical side but I would assume that the encryption/decryption would be a function of the database and Conflence wouldn't really need to know anything about it. It would just use the jdbc connector to query the database... I'd like a confirmation that that assumption is true. Thanks!


Answers:
author: Daniel Borcherding
body: Christopher,

I think you haev two seperate questions here. The first is easy. Confluence can absolutely connect to a database running over ssl. The following external document describes the flags that you need to add to your database connection string to allow this to happen.

<https://www.icts.uiowa.edu/confluence/display/ICTSit/SSL+database+connections+in+Confluence+and+Jira>

The databse encryption is a seperate issue. We have the following outstanding issue to support encyption.

<https://jira.atlassian.com/browse/CONF-20449>

Please take a moment to visit this issue and vote on it. This will ensure our developers roll it into a future release of Confluence.


author: Jozef Kotl?r
body: I would not say it is Confluence related - standard JDBC configuration would do - see [Microsoft](http://msdn.microsoft.com/en-us/library/bb879949%28v=sql.90%29.aspx).