youngmon/atlassian-qna huggingface dataset:
Numbered headings - in cross references ?
Asked by John Alexander:

is it possible to include in links / cross references the section numbers provide by the Numbered headings add-on ?

With thanks for your help


Answers:
author: Gert-Jan van de Streek
body: Yes, like the toc macro is able to get the number out of the page content, so can any link / cross reference mechanism that copies the header value.

From a user perspective, using the anchor / link functionality from the editor: no. This mechanism ask for the link text, it does not copy it from the heading.


author: Gert-Jan van de Streek
body: No, this is not possible with the existing editor functionality.


author: Carolyn Valiquette
body: I have the same question, but I'm not sure I understand the answer provided. I'm using the numbered heading macro and I want in a later section to refer to a numbered heading. E.g. "...As in 1.1.1 above...". It would be OK to display the number or the number and the heading text, as long as the reference updated if those change.

Thank you.


author: Gert-Jan van de Streek
body: From what I understand it is really a different question from the one in the link.


author: Raju KC
body: Do not open same request twice <https://answers.atlassian.com/questions/182826/numbered-headings-numbering-across-pages-spaces>


Tags: addon-nl.avisi.confluence.plugins.numberedheadings
Zen missing preview and save buttons
Asked by lizo:

Hi

We have just switched on Zen on our existing confluence site and can't see the preview or save button when editing an existing page. Does anyone know if this is a known issue and if there is any way to resolve this otherwise we will not be able to use it.

We are using the default Chameleon brand and our version details are as follows

|------------------------|-------|
| **Confluence Version** | 5.0.1 |
| **Build Number**       | 4107  |

|------------------------|----------------------------|
| **Operating System**   | Windows Server 2008 R2 6.1 |
| **OS Architecture**    | amd64                      |
| **Application Server** | Apache Tomcat/6.0.35       |
| **Servlet Version**    | 2.5                        |


Answers:
author: Danielle Zhu
body: I would try disabling other plugins to see if there is a conflict between Zen and any plugin.


Tags: addon-com.zenfoundation
Could not upload the file to Confluence. The server may be unavailable
Asked by Build Server:

OK. I read answers about base URL.But:1. My base url matches url for access to site.2. My base url is not editable.What I am doing wrong?Is there any solution\\workaround how I can upload file into confluence page?


Answers:
author: GaryM
body: The problem can be reproduced by using Insert/Link/Attachments and browsing to a filename where the filename includes one or more single quotes (Example: filename = a'test.xlsx )

The drag-drop method of adding attachments (Go to "Tools" -\> "Attachments") works fine.


author: GaryM
body: We've experienced this problem too. After checking URL setup as described.

The problem can be reproduced by using Insert/Link/Attachments and browsing to a filename where the filename includes one or more single quotes (Example: filename = a'test.xlsx )

The drag-drop method of adding attachments (Go to "Tools" -\> "Attachments") works fine.


author: fsim
body: Sometimes caused by DB errors, for example, if you have DB storage for attachments. A quite popular issue would be Oracle DB running out of tablespace during the attachment upload. Check the Confluence logs in ConfluenceHomeDirectory/logs. Should have more details in there.


author: C. Faysal
body: hi.

<https://confluence.atlassian.com/display/DOC/Working+with+Attachments>

this one is not working for you?

that the server may be unavailable could be caused by an timeout wich you run into due to file size problem.

can you provide some more details?

log lines are always welcome to nail down the issue


Tags: attachment

upload
RefinedWiki License Issue
Asked by SooOk Kim:

Hello,

We used RefinedWiki plugin but suddenly I am seeing messages as below.

"Please manage your RefinedWiki Original Theme license origin from Atlassian Marketplace at the Universal Plugin Manager."

I checked RefinedWiki license but I couldn't find any issues. Also there are many warnings in log files.

Thanks and regards,

SooOK


Answers:
author: PeterKoczan
body: Hi,

Can you put example warnings from your logfiles? You may also want to contact the plugin vendor directly regarding this issue at: <http://www.refinedwiki.com/en/display/support.aspx>

Kind regards,

Peter
Users forget to uncheck "Notify Watchers" before saving. How to solve this?
Asked by Nicholas DeMarco:

How can I rework the bottom to include a button "Save" and "Save without notify"?Getting users to look left a bit hasn't worked. I'm not about to turn off the default to notify lest nobody turns it back on!


Answers:
author: Raju KC
body: Any users can disable it by:

**Your profile-\>Settings-\>Email
uncheck autowatch \& notify on my actions**


Tags: notification

watcher
Upgrade 3.4.2 to 5.X
Asked by Eli Lindner:

Hi,

I currently have an confluence 3.4.2 installation that I'd like to upgrade to the latest 5.X version. It is currently setup using an MySQL database.

Could I please get a top down overview of the steps I'll need to take to upgrade? Should I upgrade 3-\>4-\>5 etc.

My home directory is not terribly big, 200Mb mostly attachments.

Thanks


Answers:
author: fsim
body: Hey Eli,

The recommended upgrade path for you would be: 3.4.2 \> 3.5.13 \> 4.3.7 \>5.1.3

3.5.13 first because there is a critical upgrade task in 3.5.x to upgrade your user management framework, which is known to fail quite often, especially if you have external usermanagement such as JIRA, Crowd or LDAP.

4.3.7 because of the change in content storage format (wiki markup to xhtml), which will trigger the wikiToXhtml migration task and change your storage format to xhtml. This is known to break pages with certain third party plugins that are no longer compatible with 4.x and above.

Before the upgrade, make sure to take backups of your Confluence Home Directory, and Confluence Database, and always test the upgrade in a test environment.

<br />

All the best!

Foogie

comments: author: Eli Lindner
body: Thanks I think that is the way to go as you suggest. Still having an issue upgrading to 3.5.13 getting this at the output:

```
26/06/2013 2:12:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbcSEVERE: The web application [] registered the JDBC driver [org.hsqldb.jdbc.JDBCDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.26/06/2013 2:12:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbcSEVERE: The web application [] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.26/06/2013 2:12:17 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbcSEVERE: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
```

Working through it slowly. Thanks for the advice.


author: Jobin Kuruvilla [Adaptavist]
body: You should go from 3.x to 4.x and from 4.x to 5.x. I would suggest the latest stable release of 4.x and 5.x as the versions to use.

comments: author: Zul NS _Atlassian_
body: Reading the top notes from [Upgrading Confluence](https://confluence.atlassian.com/display/DOC/Upgrading+Confluence) would help.


Tags: confluence-administration
Setting Variables
Asked by Cogenesis:

Hi,

Where in confluence can I set a variable, that if typed will show up on any page?

Thx,

Kurt.


Answers:
author: Cogenesis
body: Hi,

This is similar, but it does not suit my needs.

When creating a template, you can specify the following:  

$variable1 = bRx

$variable2 = HHq

Then, wherever on the page you place $variable1 it will show bRx

How can I set $variable1 in confluence, so then no matter what page/space I am in, when entering $variable1 or $variable 2, this will show the result?

Instead of updating each page with new information, I would just like to change the variable to then show on each page/space.

Thanks.

Kurt.


author: C. Faysal
body: hi cogenesis,

do you mean macros?

<https://confluence.atlassian.com/display/DOC/Examples+of+User+Macros>

if that doesn't match your request please clearify what you mean by variables in confluence to show up on pages

cheers


Tags: variable
After upgrading to 5.1.3, some space lists show no spaces
Asked by Jonathan Simonoff:

We have a test upgrade from 4.0.4 to 5.1.3. In the test upgrade, no spaces from the old version show in the list of "Site Spaces", although when I browse to the Spaces page, they are all there. In addition, the "Spaces in categories" macro shows no spaces, but the Space List macro lists them.

If I add a space to the 5.1.3 test, that space alone shows in the list on the default landing page. They do not show in the Spaces in categories list.

Anyone know what is going on?


Answers:
author: PeterKoczan
body: Hi,

most comonly this is caused by indexing, so you may want to rebuild indices from scratch: <https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch>

If that does not help, maybe the space status field is not containing the correct value.

Can you query it by:

```
select * from SPACES;
```

if the space status field contains anything but 'CURRENT' for the missing spaces, most likely this is the cause of the problem.

Kind regards,

Peter

comments: author: Jonathan Simonoff
body: The content re-indexing didn't help, sadly. (I tried both rebuilding the index in the GUI and the full reindexing where you shut down the wiki and delete the index.)

I have to find someone to help me with the db query.


author: Jonathan Simonoff
body: All of the space show CURRENT, so that is not the problem.

Any other suggestions?


author: Jim Anderson
body: same problem here. upgraded to 5.1.3 in test enviornment and no Spaces listed when clicking on the 'Spaces' nav at the top. if you can get to the dashboard, it lists all the spaces ok. some users have a specific default Space set in their profile which makes it impossible to get to the dashboard since the breadcrumb trail was removed.

comments: author: Jonathan Simonoff
body: Just to clarify, we (weirdly) have the opposite problem: the Spaces nav page works just great, and the default dashboard spaces widget says there are no spaces. The dashboard widget does list spaces created since the upgrade, though.
Does a mail server exist in Confluence?
Asked by Rocco Balsamo:

I am following this tutorial on sending mail from a plugin:

<https://developer.atlassian.com/display/CONFDEV/Sending+Emails+in+a+Plugin>

I have boiled this down to two working lines:

```
MailQueueItem mailQueueItem = new ConfluenceMailQueueItem("xxx@yyy.com", "A test email", "I request the world!", ConfluenceMailQueueItem.MIME_TYPE_TEXT);        multiQueueTaskManager.addTask("mail", mailQueueItem);
```

This ouputs

```
[confluence.mail.template.ConfluenceMailQueueItem] send Unable to send email since no mail server has been configured.
```

I realize that Confluence may not always have a mail server configured. How, in code, do I detect whether a mail server has been configured (so that I can do an alternate operation)?

Thanks!


Answers:
author: J D
body: Hey Roccio,

how did you get this output, and where?

Thank you in advance


Tags: email
Diagramly - Import Visio diagram
Asked by JBennett:

Hi,

When will Diagramly support Visio diagrams in Confluence? This would be a really useful feature.

Thanks


Answers:
author: William Zanchet [Atlassian]
body: Hey JBennet,  

Yes, I agree with you. Actually in the past I was able to raise an improvement request based on this situation as you can see here:  

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

I would strongly suggest that you vote on this feature request to increase its popularity and add it to your watchlist for future updates.


author: David Benson _draw_io_
body: It'll be a gradual process of supporting more and more of the spec in the [draw.io plugin](https://marketplace.atlassian.com/plugins/com.mxgraph.confluence.plugins.diagramly) (previously Diagramly). You can try importing a .vsdx file via the File menu (use the Import function) in the editor.


author: Jan Vajas
body: Hi, I have also problem with import vdx file to Diagramly. When I clicked on the Import button, the dialog freezes (looks like disabled) and nothing happened

comments: author: David Benson _draw_io_
body: .vdx files are no longer supported, only .vsdx files.


author: Jessica Muehlberg
body: I tried using the import feature today. What is did was insert a new attachment to my confluence page, but did not actually import into a Diagramly widget for further editing. When I do try to view the attachment, I just get HTML code. I tried doing imports in multiple browsers as well (IE and Chrome).

This ability would be awesome functionality and I have 'voted' to hopefully continue the development of this feature.


Tags: addon-com.mxgraph.confluence.plugins.diagramly
Atlassian HTML macro makes saved page redirect to "data:text/html,"
Asked by Jonathan Simonoff:

We're preparing to move to Confluence 5.1.3, and in our test installation, one of our pages does something very strange -- when you go from the editor, either saving or cancelling, the page displays briefly, then immediately redirects to a garbage address "data:text/html,\<p\>\</p\>". That looks like there might be an extra quote mark somewhere when the HTML is rendered.

I've tracked this down to an HTML macro that has some fairly complex HTML in it, but does not have an extra quote or other errors. This does not happen in version 4.0.4, our previous version.

Note that this DOES NOT happen when simply going to view the page, but only when you edit the page and either cancel and save.


Answers:
author: Jonathan Simonoff
body: This appears to be a known bug, probably introduced in 4.3 <https://jira.atlassian.com/browse/CONF-27287> .

The simplest case that I found is to have an HTML macro containing an empty form with an empty (but povided) action:

\<form action=""\>

\</form\>


author: Juri_Reinsalu
body: Tried to narrow it down as much as possible. So, on a clean confluence to reproduce it you need to add following custom html from Confluence Administration:  

|---|------------------------|
| 1 | `<a onclick = "f()"/>` |

Now on any page if you would have inside your content something like:  

|---|------------------|
| 1 | `oNcLiCk = "F()` |

e.g.:

|---|-----------------------------|
| 1 | `blahoNcLiCk = "F()))akldf` |

when saving, previewing or canceling an edit, you would reproduce this behavior.   
If you change at least one character in the match (like remove space before or after =, or make it single quote instead of double quote) - you will be able to save the page properly.


author: Guy Hood
body: is there a registered issue in atlassian's jira project for Confluence???

comments: author: Jonathan Simonoff
body: Found one that seems to be the same. [https://jira.atlassian.com/browse/CONF-27287](https://jira.atlassian.com/browse/CONF-27287.). It does not account for the case I saw where this happens when saving a page layout. It looks like this bug was introduced in 4.3.


author: Jonathan Simonoff
body: Additional data point: this isn't due to the HTML macro -- it also happens when saving one of the page layout templates (e.g., the Global page layout).


Tags: confluence-administration
Small edit window in Chrome
Asked by Tom Symons:

We are running Confluence 5.1.1. I can't remember if I've edited a page since we updated, but now I get a rather small edit window. It's as wide as my browser window, but very short - only 10 or so lines. I cannot see any way to resize it. I tried it with IE9 and it displays a full window.

Is this configurable or ???

I'm using Chrome version 27.0.1453.116 m, which I believe is the latest.

Any help would be appreciated.


Answers:
author: fsim
body: This is a bug: <https://jira.atlassian.com/browse/CONF-28415>

Workaround as per Matthew's answer above. An upgrade to 5.1.3 fixes the issue completely.


author: Matthew J. Horn
body: There's a plugin to fix this issue:

<https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor-height-fix>
Disable Mail Updates
Asked by Lars:

Hello,

can i disable the mail updates? Everytime someone is creating, updating, commenting etc. stuff me and the other users recieving a mail notification. Very annyoing...

Any ideas?

Greetings


Answers:
author: William Zanchet [Atlassian]
body: Hi Lars,  

I found a KB, that will help us in this case:  

<https://confluence.atlassian.com/display/CONFKB/Unable+to+disable+the+Send+By+Default+option+in+Recommended+Updates+Email+Configuration>  

Basically this KB proposes to us, to update the BANDANA table, that way we can set a value as false in the table, and the recommended update mail should be off.  

I hope this helps.  

Cheers,  

WZ


author: Lars
body: Everythings disabled, still getting mails, uhm...

comments: author: Raju KC
body: Reindex then.


author: Raju KC
body: Your profile-\>Settings-\>Email  
uncheck autowatch \& notify on my actions


Tags: cloud

confluence-cloud
Confluence - Locking user group to specific space
Asked by Brandon Pal:

Hey all,

We are using confluence for many departments and are currently adding in our customer sucess department (CS). We only want our CS department to be able to access the CS space. We do not want them being able to see other spaces and when they search we only want them to see results from the CS space.

From what I have read we will need to remove the CS users from the confluence-users group and then that should make it so they only what they have permission for.

I have removed the test user from confluse-usersbut she is still able to see all spaces and search all spaces.

Where am I going wrong?


Answers:
author: AndrewA
body: Hi Brandon,  
I'm not sure but I think the confusing here might be the idea that if a user is logged in then they will not be able to see content which is set to anonymous access only. On the contrary, if a user is logged in they have their permissions in addition to all permissions allowed to anonymous users. That is to say, if the CS gorup has no permisisons to the space but anonymouse access is enabled then the CS gorup will use the anonymous access permissions to use the space.

Cheers,  
Andrew

comments: author: Brandon Pal
body: That's what I thoght. Thank you. I'm going to disable anonymous access on all my spaces and then it seems that I will be able to lock down CS to only the CS section.

<br />

Thank you.


author: Brandon Pal
body: It looks like Anonymous Access might play a role in this. If Anonymous Access from a space and the test user lost access. But from what it says Anonymous Access only applies when a user is not logged in so I"m confused ?


Tags: confluence-administration
Global Layout after an upgrade
Asked by KP11:

Does the Global layout change diring an upgrade? We included a line for a macro/plugin in the Global Layout aka Globalvmd. Do all the changes go across a Confluence upgrade? Confluence 4.3.3 to 5.x


Answers:
author: hsuhailah
body: If you were referring to applying the customization onto Confluence Admin \> Global Layout, the layout customization will be retained even after the upgrade (it goes accross from Confluence 4.3 to 5.x) and it applies globally for the appearance of the dashboard and a user's profile.


Tags: confluence-app

global

layout
Confluence Anonymous users 4.3.3
Asked by KP11:

Is there way to check how many anonymous users logon to Confluence?

I see in security permissions there is a anaonymous access but need to know who uses it and what sites they visit, usage and how many people it will affect if we turn it off


Answers:
author: PeterKoczan
body: Hi,

You can turn on user access logging which will give you additional information, but since the anonymous users do not technically log in to your instance you will only be able to distinguish between them based on IP address: <https://confluence.atlassian.com/display/CONF35/How+to+audit+Confluence+-+enabling+user+access+logging>

Kind regards,

Peter


Tags: anonymous

confluence-administration
Can't use Zen theme with my space
Asked by Jeffrey Lee:

I choose the Zen theme for one of my spaces and I get the following error:

Error occurred during template rendering: Invocation of method 'cssBundle' in class com.zenfoundation.theme.ZenTheme threw exception com.atlassian.core.exception.InfrastructureException: Error occurred rendering template content at theme/html/macros.html\[line 242, column 30\]. Contact your administrator for assistance.


Answers:
author: Jeffrey Lee
body: The problem appears to be within the Breeze brand plugin. In order to fix the space, disable the Zen plugin. This will allow you to access the space. Switch the the theme to some other theme (I was left with documentation as the only unused one). Confirm that then switch back to global. This clears the Zen theme.

You can then re-enable the Zen plugin. At this point, I switched to Zen Intranet as the default plugin and changed the theme to Zen and it worked fine.

comments: author: Jeffrey Lee
body: I should add that along the way I uninstalled the Zen lightning plugin. The brand plugin is still in place.


author: Jeffrey Lee
body: Well, uninstall Zen, upgrade Confluence to 5.4.2, reinstall Zen seems to fix things. I'll hold my breath for a while while I develop some custom themes on a test site. If it appears stable, I'll stick with it, as it makes brand development relatively straightforward.


author: Jeffrey Lee
body: I'm going to first fully upgrade Confluence to get it current then install Zen again. If that doesn't work, I'll try the support team. However, this is one of those if troubleshooting takes too much effort, the tool isn't worth the trouble.

Also, if we can't nail down an actual cause and get it fixed, but rather magically get it working again, I'm going to drop it. There was nothing odd about my installation, and I can't have a situation where if I change the look and feel on a space have it rendered completely inaccessible. Even the risk that it might happen is a bit much.


author: AnnWorley
body: Hi Jeffrey,

Maybe try Brikit support before tossing it out?

[](http://www.brikit.com/display/brikit/Welcome)<http://www.brikit.com/display/brikit/Welcome>

Cheers,

Ann


author: Jeffrey Lee
body: FWIW, I just was playing with yet another space with another Zen plugin and it broke again. I'm thinking that Zen is so utterly unreliable that I'll probably just toss it out altogehter.


author: yusuf_ekin_guvencoglu
body: I'm also getting same error, does anyone know the solution? thanks


author: BernardoA
body: ```
Can you confirm you installed the latest version of the plugin? This could be the reason for this issue.
```

comments: author: Jeffrey Lee
body: I'm also not gettng an "update available" indication.


author: Jeffrey Lee
body: I'm at 5.2.8 for Zen Foundation, 1.0.3 for Intranet, and 1.0 for Lightning.


Tags: confluence-administration