youngmon/atlassian-qna huggingface dataset:
Math plugin/macro for confluence ondemand?
Asked by ????:

Hi,

Is there any option to support writing math formula in Page of Confluence Ondemand environment?

Looks like bundled plugin doesn't include math support, no user macro allowed which get me in stuck...

I really need it to use Confluence for software docmentation which need to describe mathematical algorithm behind the program behavior...

Thanks!


Answers:
author: Michael Burkhalter
body: Hi,

I'm having the same problem. I'm using confluence-ondemand for documentation. Unfortunately some formulas should be included in my documentation and i didn't find a way to do it properly. Can anybody help me with this issue?

In my opinion a math-formula plugin/macro is essential.

Thanks

comments: author: ????
body: with agreement with Michael's opinion, I mark this as an Answer.

I also think math formula is basic feature.


author: Jobin Kuruvilla [Adaptavist]
body: OnDemand doesn't allow plugins. You will have to go for downloaded version. See <https://confluence.atlassian.com/display/AOD/Atlassian+OnDemand+Plugin+Policy>

comments: author: ????
body: I know plugins are not allowed. Is there any option other than plugin?


author: CelesteCS
body: Hello!

For any calculations in Confluence, including any manipulations with table data, you may use [CelesteCS Math for Confluence](https://marketplace.atlassian.com/plugins/com.celestecs.confluence.celestecs-math).

Assume you have a table with three columns and three rows on your page -- from A1 till C3, where row 1 is the header row. The sum calculation formula for rows 2 and 3 will be simple:

|-------------------|
| SUM(Table1.A2:C3) |

There is a plenty of other functions in the macro, so you may perform any calculations using formulas in EXCEL style.

Cloud version of this plugin is on the way!

Thanks!


Tags: calculation

cloud

confluence-cloud
Restrictions pane does not show in 1 space
Asked by Michiel Nieuwstraten:

Just in 1 space restrictions can't be set.

Using Firebug I found that clicking 'Restrictions' in the Tools-menu gives a 403 on the GET getpagepermissions. [http://publicwiki.deltares.nl/pages/getpagepermissions.action?pageId=17334313\&parentPageId=\&parentPageTitle=](http://publicwiki.deltares.nl/pages/getpagepermissions.action?pageId=17334313&parentPageId=&parentPageTitle=)

If I compare that to another space it looks that the spacekey-ref is missing:

[http://publicwiki.deltares.nl/pages/getpagepermissions.action?pageId=25722899\&parentPageId=\&parentPageTitle=\&spaceKey=HBTDB](http://publicwiki.deltares.nl/pages/getpagepermissions.action?pageId=25722899&parentPageId=&parentPageTitle=&spaceKey=HBTDB)

Strangely I don't find anything in any log concerning this. How to troubleshoot further?


Answers:
author: HuseinA
body: I have worked with Michiel on this issue through our [Support](https://support.atlassian.com). The issue was caused by an incompatible custom Page Layout in the affected Space. This is a known issue covered in this KB:

<https://confluence.atlassian.com/x/sRdODQ>


author: CharlesH
body: Why not add the spacekey-ref manually to the URL, as a work-around?

comments: author: Michiel Nieuwstraten
body: It's part of a GET. If one would paste this URL you get only the params needed:

```
{"users":{},"userCanEditRestrictions":true,"permissions":[],"groups":{}}
```
Menus conflicting with macros
Asked by epohl:

I have noticed that sometimes Confluence menus conflict with macros on Confluence pages.

For example, when I have a composition macro on the page and use the deck macro in it, the Browse menu disappears after the first couple of menu items. If I click Browse, I can see Pages, Blogs and half of labels...seems like the rest of the menu is somehow behind the rest of the page.

On another page, I use a Panel macro at the top of the page. When I save, the Tools menu becomes inactive when it overlaps the panel macro. So, I can select the first few items on the menu (Attachments through Restrictions). The rest of the items are visible, but I can't select them.


Answers:
author: epohl
body: The Subspace plugin was the main culprit. I submitted an issue with the developer and they fixed it in a more recent version. Works like a charm now!


author: hsuhailah
body: I agree with Josua. It seems that SubSpace Plugin and Composition Plugin are contributing towards the issue. It's best to contact and report this matter to the plugin developers for further troubleshooting.


author: RianA
body: Hi,

It seems that there's some conflict with menus and macros. Usually this is caused by third party plugin where they have overlapping variable or function with the bundled one and this conflict happen. Perhaps you could try to enable safe mode and check whether the issue still occurring, by right it should not. If it does, this might be a valid bug of Confluence.

Cheers, Josua
Confluence - Blog Post Macro rendering error
Asked by Cornelius Engelhardt:

After adding a new blog post, all the blog post macros display this error message:

Error rendering macro 'blog-posts' : com.atlassian.renderer.v2.macro.MacroException: com.atlassian.confluence.pages.Page cannot be cast to com.atlassian.confluence.pages.BlogPost

<br />

I have googled this error and a few other users have it as well but no solution is desplayed anywhere.

Thanks for helping!


Answers:
author: Septa Cahyadiputra
body: Hi Cornelius,

The cause of your issue might be due to a corrupted plugin cache or due to third party plugin. Before you proceed to create support ticket, you might want to try the following steps to narrow down the root cause of your issue

<br />

1. Shutdown Confluence instance
2. Remove the following directories
   * \<confluence-home\>/bundled-plugins
   * \<confluence-home\>/plugin-cache
   * \<confluence-home\>/plugins-osgi-cache
   * \<confluence-home\>/plugins-temp
   * \<confluence-home\>/bundled-plugins_language
3. Rename \<confluence-home\>/logs/atlassian-confluence.log
4. Restart Confluence
5. Please try to replicate the issue and see if it persist
6. If the issue still persist, please try to [enable plugin safe mode](http://confluence.atlassian.com/display/DOC/Disabling+or+Enabling+a+Plugin#DisablingorEnablingaPlugin-DisablingEnablingalluser-installedpluginssafemode) and see if the problem persist

<br />

The above steps will ensure that the cause of your issue is not due to third party plugin and corrupted plugin cache on your end. Please attach the fresh logs created by Confluence during the restart process on the created ticket so that our engineer could review it for you.

<br />

Hope it helps.

<br />

Cheers,  
Septa Cahyadiputra

<br />


author: m.stelzner
body: Hi Cornelius,

I had the same issue. My blogpost was somehow transformed into a "normal" page. Deleting the page and a rebuild of the index solved the problem.

How did you fix this? Support Ticket at Atlassian?

Michael


author: Thomas Schlegel
body: Hi Cornelius,

I don't have an answer, but I think, you should contact Atlassian Support with this: <http://support.atlassian.com>

Good Luck

Thomas


Tags: blog
Assign a Page to a User For Editing
Asked by Adam Shawley:

Hi there:

I have what I think is a simple question. I have a page that needs updating. Basically it's incomplete, but I want someone else to be responsible for updating that page. They are the owner of the process we're documenting and they need to update it.

My question is, how can I assign an "owner" to a page so they are aware that they need to update it. Is there anything outside of AdHoc Workflows that can do this?

I'm not looking for anything fancy, just assigning say a status to the page (i.e. "Needs Updating") and assigning a User to be the person responsible for updating that page.

Ideally I'd be able to see somewhere all pages with their status and owners.

Anything out there?


Answers:
author: CharlesH
body: How about writing a comment with a @ mention? The intended person should receive a notification as a result, plus the comment will be visible to others. If you really need the ability to track these assignments then you could also use labels - one for the assignee, another for the status. The content by label macro will then give you the listings.
Widget Connector seems to break SSL, doesn't work with weather feeds?
Asked by Jarett DeAngelis:

We have been trying to use the Widget Connector macro to present Twitter feeds to our users. The problem is that it appears to be written such that it insists on using http rather than https even if you tell it explicitly to use SSL, so every time you load our Confluence front page with the Twitter feeds on it, browsers complain of mixed secure/insecure content. This looks unprofessional and we'd like a way to fix it.

We've also been trying to use the Widget Connector to present a weather feed, thus far with no luck as it doesn't seem to support anything we've tried. Is there a Right Way? to do this?

Thanks.


Answers:
author: Mark Hrynczak
body: I think Twitter switched to https by default after the Widget Connector was written. It might be in need of an update. If you want us to confirm this and look into workarounds, raise a [support request](https://support.atlassian.com).

Alternatively, you can log an issue against the plugin [directly](https://studio.plugins.atlassian.com/browse/WC).

For the weather feed, the Widget Connector may be the wrong tool - it only works with a predefined set of external sites. If all you need to do is embed an RSS Feed into a page, then try using the [RSS Feed macro](https://confluence.atlassian.com/display/DOC/RSS+Feed+Macro).
Confluence unable to load com.atlassian.confluence.plugins.soy:soy-core-functions
Asked by Pepe:

Restarting confluence I get this error. Some parts of confluence work, others do not. In general it appears that \<a\> tags work but javascript functions don't. I.e. clicking a link to another confluence page works, dropping down the Browse menu does not. Anyone have any idea what happened?

2012-06-28 10:35:21,902 ERROR \[http-80-11\] \[\[Standalone\].\[localhost\].\[/\].\[noop\]\] log Servlet.service() for servlet noop threw exception

java.lang.IllegalStateException: Required plugin module com.atlassian.confluence.plugins.soy:soy-core-functions was either missing or disabled

at com.atlassian.soy.impl.DefaultSoyManager.addSoyResourceForModuleKey(DefaultSoyManager.java:199)

at com.atlassian.soy.impl.DefaultSoyManager.makeBuilder(DefaultSoyManager.java:176)

at com.atlassian.soy.impl.SoyTransformer$SoyResource.transform(SoyTransformer.java:66)

at com.atlassian.plugin.webresource.transformer.CharSequenceDownloadableResource$1.apply(CharSequenceDownloadableResource.java:50)

at com.atlassian.plugin.webresource.transformer.CharSequenceDownloadableResource$1.apply(CharSequenceDownloadableResource.java:47)

at com.atlassian.plugin.webresource.transformer.TransformerUtils.transformAndStreamResource(TransformerUtils.java:41)


Answers:
author: Matthew J. Horn
body: This is related to core plugins, I think. Check in the plugins manager and make sure that all the plugins you use are enabled in the plugin manager (especially the System Plugins). Be sure to look for plugins where not all modules are enabled. For example, you can enable/disable some of the modules within a plugin like the HTML plugin.

comments: author: Pepe
body: It definitely is. There were a number of system plugins disabled which is abnormal. I've re-enabled them which hasn't solved my problem. Hopefully a restart will but need to wait a bit longer for that.


author: Don Willis
body: Hi Christopher,

The missing module should be in the "Confluence Soy Template Support" plugin, which should be in the System Plugins.

comments: author: Pepe
body: Thanks Don. The issue I was seeing was that this and many other system plugins were being disabled when Confluence restarted. I believe it ended up being memory issues. Confluence was running on a 32bit Windows machine and the memory was maxed out. I don't recall getting OOM errors but I'm pretty sure we solved it by moving to a 64bit machine with more RAM.
JIRA Activity Stream times out connecting to Confluence
Asked by Eric Eric:

We have our JIRA and Confluence applications linked and primarily use the link to pull JIRA issue data into Confluence wiki pages. After a recent JIRA upgrade (to 5.0.6), the Activity Stream panel on our JIRA System Dashboard consistently times out pulling data from Confluence. If we extend the timeout, the Confluence events eventually show up in the Activity Stream. If we remove the application link, the Activity Stream panel populates quickly. We are not terribly interested in seeing the Confluence events in JIRA. Is there some way to make this a one-way application link or to filter the Confluence content from the Activity stream?


Answers:
author: John Chin
body: Hi Eric,

Are you able to add Global Filters in the activity stream gadget? I believe you can choose which instance to be show the data in the gadgets or any filters on it. Please check it out the document below, maybe it will help you to prevent the timeout to be happen:

<https://confluence.atlassian.com/display/JIRA/Adding+the+Activity+Stream+Gadget>

Hope it helps.

comments: author: Eric Eric
body: Hi John,

Thanks for the suggestion. I looked at <https://confluence.atlassian.com/display/JIRA050/Adding+the+Activity+Stream+Gadget> since we are running JIRA 5.0.6. I only see "Filters" (not "Global Filters") and more importantly I don't see any "Available Streams" section.

Any idea why my UI differs?

Thanks,

Eric


Tags: activity-stream

application-link

performance
Edit in Office opens read only using Windows Server 2008 R2 and Office 2007
Asked by Ethan Foulkes:

We use Server 2008 R2 with Microsoft Office 2007. Edit in office functionality opens in read only mode. I am familiar with compatibility mode etc as I have tweaked user configurations for our desktop users on XP and Vista but I'm unable to get our Citrix users working. I've tried every compatibility mode without success. I have not installed the Vista Web Folders update, should I?

<https://jira.atlassian.com/browse/CONF-18174> doesn't seem to come up with a final resolution. Please help!


Answers:
author: Ethan Foulkes
body: The problem was that we were using the 64 bit version of Internet Explorer. Switched to 32 bit and it worked no problem.


author: William Zanchet [Atlassian]
body: Hi Ethan,  

I noticed that you opened a support ticket, about this problem: <https://support.atlassian.com/browse/CSP-83992>

May I ask you, if you tried the steps that are in this KB? <https://confluence.atlassian.com/display/CONFKB/Troubleshooting+Read-Only+problems+in+the+Office+Connector> If yes, could you please let us know if that worked?  

Cheers,  

WZ
How do you reset the Confluence administrator password?
Asked by Tom:

in Confluence 3.5...


Answers:
author: Thomas Schlegel
body: Hi,

look here: <https://confluence.atlassian.com/display/CONF35/Restoring+Passwords+To+Recover+Admin+User+Rights>

Cheers

Thomas


author: Nic Brough -Adaptavist-
body: See <https://confluence.atlassian.com/display/DOC/Restoring+Passwords+To+Recover+Admin+User+Rights>


Tags: administration

confluence-administration
Header and footer on pdf's TOC page
Asked by Igor Gubaidulin:

How to add header and footer to TOC page in PDF?


Answers:
author: Ian Godfrey
body: I used the following in the PDF Stylesheet to add a title to the Contents page.

```
div.toc:before?{?????font-size:?26px;?????content:?"Contents";?????display:?block;?????margin-bottom:?13px;??}
```


author: Bruce Michelsen
body: For the title page and TOC pages, use the "@ page title", then set the @top or @bottom settings.

@page title  
/\* Any page title-specific properties for title and toc pages.\*/  
{  
/\* Override default settings \*/  
margin: .5in;  
padding: 0em;  
@top-left {content: "Header"}  
@top-center{}  
@top-right {}  
@bottom-left {}  
@bottom-center{}  
@bottom-right {}  
}


author: Steffen Heller
body: Just a quick answer:

I had another look at it and discovered that it is more tricky than I thought. But what about making your headers/footers in the Space Admin \> Look and Feel \> PDF Stylesheet.

Just use some code like the following and refine it with whatever css formatting you like:

```
@page {@top-center { content: "this is a header"} @bottom-center {content: "this is a footer";}}
```


author: Steffen Heller
body: Hi Igor,

headers and footers can be included directly via   
Space Admin \> Look and Feel \> PDF Layout + Edit "PDF Space Export Header" or "PDF Space Export Footer"

or as CSS via the Space Admin \> Look and Feel \> PDF Stylesheet

But it seems these headers and footers only appear on "normal" pages but not on the toc page.

If you want the same headers and footers on the toc page you can edit the "PDF Space Export Title Page" and include some html that "rebuilds" these headers.

comments: author: Igor Gubaidulin
body: Hey, Steffen. Thank you for your answer.

As you wrote, these headers and footers appear only on normal pages, but not on TOC. Any suggestion how to add header and footer to TOC page with HTML?


Tags: footer

header

pdf

table-of-contents
What does this string mean? file://${env.ATLAS_HOME}/repository
Asked by Elisabeth Friedrich:

While Developing some confluence-plugins (just getting used to it) I sometimes came over this: file://${env.ATLAS_HOME}/repository

I just wondered what it is good for, and how it is used...

Can anybody give me some information about that?

Thanks!!


Answers:
author: Matthew J. Horn
body: I think it's a reference to the plugin repository, which I don't think is used any more:

<https://confluence.atlassian.com/pages/viewpage.action?pageId=179437715>


author: Kevin O_Neal
body: I was able to get past this erro by setting the ATLAS_HOME variable

```
export ATLAS_HOME=/usr/share/atlassian-plugin-sdk-6.2.6
```


Tags: development

sdk
Upgrade to 4.2.6 fails
Asked by Rick Snaric:

The upgrade is failing because the ojdbc6.jar file isn't getting put into the new confluence home lib directory. So the database connection is failing for the schema update portion of the upgrade.

Please let me know how I'm supposed to get past this problem.

Thanks.


Answers:
author: PeterKoczan
body: Dear Rick,

Two things came in my mind:

* Have you checked the file permissions on your ojdbc6.jar file? It might fail to copy since the user executing the upgrade does not have permission to read it.
* Have you tried copying the file to the target directory yourself?

Otherwise, I advise you to look at the logfiles generated during the upgrade if any error message indicates the cause of the problem.

Kind regards,

Peter
4.2.6 upgrade fails because of ojdbc6.jar
Asked by Rick Snaric:

Our upgrade is failing because the upgrade program fails to put ojdbc6.jar back in the lib directory. This causes the database connection to fail for the schema updates.

Please advise on how to fix this.

Thanks.


Answers:
author: Colin Goudie
body: I don't use the confluence installer but couldn't you just copy the odbc6.jar from your previous install into the WEB-INF/lib directory yourself then reboot confluence?


author: Benjamin Horst
body: Hello,

this is a link to the installation of Oracle with Confluence:

<https://confluence.atlassian.com/display/DOC/Database+Setup+for+Oracle>

It basically says: do it manually if needed and make sure you have the correct version of the driver.


Tags: upgrade
JIRA issue macro for private and shared filters
Asked by Daisuke Niwa:

Hi there,

We have created several private and shared filters within JIRA, and would ike to see issues matching those filters from within Confluence using JIRA issue macro.

My understanding is as below, and I would like to confirm this is correct.

case 1. Suppose user A has an account on both JIRA and Confluence, and has created a private filter on JIRA. In this case, when he writes JIRA issue macro within Confluence using that filter, only he can see issues from within Confluence page.

case 2. Suppose user A has created a shared filter for certain group on JIRA, and then he writes JIRA issue macro within Confluence using that filter.

In this case, only users which belong to that group and have same username on Confluence can see issues from within Confluence page.

Please inform.

Regards,  
Daisuke Niwa


Answers:
author: Harry Chan
body: Hi, what you described should be correct. Assuming application links, permissions etc have all been setup correctly, users will only be able to see what they can see.
how to change the url redirect after user register??
Asked by liljoint:

Hi, I need to do a user register, but than can be redirected to a specific page, not to dashboard or another Home page...

Can I do that???

please help thnx.


Answers:
author: David at David Simpson Apps
body: You could use a [Servlet Filter](https://developer.atlassian.com/display/CONFDEV/Servlet+Filter+Module) on the page they go to for successful registration :)


author: Colin Goudie
body: I've used the code below to set the user's site homepage. Hopefully can point you in the right direction

```
UserPreferences userPreferences = new UserPreferences(userAccessor.getPropertySet(user));            userPreferences.setString(UserPreferencesKeys.PROPERTY_USER_SITE_HOMEPAGE, userDetails.getHomeSpaceKey());
```

comments: author: liljoint
body: it doesn't work to me, I need send a parameter to "register.action" with the url after register... like the "os_location" used in "login.action".... do you understand???????


author: Colin Goudie
body: ah sorry, mis-read your post


Tags: redirect

user
Calendar is locked into Monday-Sunday format, no obvious configuration option to change to Sunday-Saturday
Asked by Jarett DeAngelis:

See summary. This is probably really obvious and/or stupid, but I can't find it documented anywhere.

TIA.


Answers:
author: Adam Laskowski
body: Team Calendars uses the language settings in the browser to determine what calendar week format to use. If you install the [US Engligh Language Pack](https://marketplace.atlassian.com/plugins/tac.confluence.languages.en_US) and set it as the site default, it will shift the calendar to Sun-Sat.

At the time of posting, there is a bug that prevents Confluence from recognizing browser language settings. There is a workaround provided in [CONF-23220](https://jira.atlassian.com/browse/CONF-23220) that will allow you to manually set you site default language.
Search Index Always Needs Manually Rebuilding
Asked by heyjon:

No matter what we try our queue never optimizes itself anymore, so we always need to rebuild the search index manually. Support said our JVM heapsizes look fine based on our usage, and I've taken the steps to recreate the index from scratch. This fix seems to work for a week or so, but eventually we have to start rebuilding the search index everyday. Here is a screenshot taken on 6/27 (I've had to rebuild the search queue manually everyday since):

![](../../upfiles/Screen_Shot_2012-06-27_at_9.39.43_AM.png)

We're currently running Confluence 4.1.7 on a RHEL 6.2 VM server, with 4GBs of RAM. We may get a dozen updates per day. Any info that could lead us to a permanent solution would be highly appreciated.


Answers:
author: CharlesH
body: Have you checked the scheduled jobs for flushing the index queue? Details here: <https://confluence.atlassian.com/display/DOC/Scheduled+Jobs>. According to the docs the default interval is 1 minute, so if this is the case and the job is failing you'll have some idea of what is going wrong thanks to the entries in the log file. What database are you running Confluence on?


Tags: index

search