youngmon/atlassian-qna huggingface dataset:
Unable to start on Windows Server 2008 R2
Asked by casupport:

I have been unsuccessful in getting FishEye to start on Windows Server 2008 R2. I have tried Java sdk versions 1.6 u16 and 7u7 installed to C: Java jdk1.6.0_16 or C: Java jdk1.7.0_07 . %java_home% displays C: Java jdk1.6.0_16 or C: Java jdk1.7.0_07

When I run start.bat, the application starts and closes after displaying the FishEye/Crucible build number.

I had no problem installing on Windows Vista with Java sdk 7u7.


Answers:
author: LeonardoL
body: Hi,

As per the support ticket resolved, our Hercules plugin took you to the KB article below which helped you fixing the issue by orerwriting the config.xml file.

[https://confluence.atlassian.com/pages/viewpage.action?pageId=304579027\&utm_source=SAC\&utm_medium=hercules-email\&utm_content=382820](https://confluence.atlassian.com/pages/viewpage.action?pageId=304579027&utm_source=SAC&utm_medium=hercules-email&utm_content=382820)

I'm sharing the resolution here for future references of community users.

Cheers,

Leonardo Macedo.


author: FagnerF
body: Hi Anyomous5325,

Have you configured your [JAVA_HOME](https://confluence.atlassian.com/display/FISHEYE027/Environment+Variables) environment variable?

Checking out too I found this note in [Supported Platforms](https://confluence.atlassian.com/display/FISHEYE027/Supported+Platforms) for FishEye: "*1. FishEye requires Java Runtime (JDK or JRE), version as noted in the table above. Pre-release/Early access versions of the Java Runtime are not supported".*If so, I'm guessing Java sdk 7u7 is not supported.

As a guide I'd like to reccomend read [Installing FishEye](https://confluence.atlassian.com/display/FISHEYE027/Installing+FishEye) documentation, you may are able to figure out what's going on.

I hope it helps.


Tags: install

server

windows
Wiki Upgrading
Asked by shirin rad:

That is what I have done for manually upgrading Confluence-4.3, but there is some error on its operation.

1- install manualy

2- change DB name on confluence-init.properties

3- copy crowd.properties and osuser.xml from Confluence-4.2 to -4.3

4- change localhost:8095 to ip:port

Cause

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.confluence.setup.actions.SetupLicenseAction': Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are: PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'bootstrapSidManager' threw exception; nested exception is com.atlassian.config.ConfigurationException: Couldn't save confluence.cfg.xml to /opt/Confluence-data directory.

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1279)

caused by: org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are: PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'bootstrapSidManager' threw exception; nested exception is com.atlassian.config.ConfigurationException: Couldn't save confluence.cfg.xml to /opt/Confluence-data directory.

at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:104)

<br />


Answers:
author: FagnerF
body: Hi Shirin,

Have you checked out [Upgrading Confluence](https://confluence.atlassian.com/display/CONF43/Upgrading+Confluence) documentation ?

It may clarifies your doubts.

I hope it helps

Cheers.


Tags: wiki
How can I include "some" content from one template to another in Confluence.
Asked by Jennifer Mazurowski:

I am looking to "include" content from one template to another but I do not want to include an entire page of content; nore do I just want to include a link to the page.

For example,

Master Page has GLOBAL requirements

Child Page needs to incorporate the Global Requirements in a grid and should have the option to add more just for that page.


Answers:
author: Antti Mattila
body: Is there any plans to get support for using excerpt macro in blog posts as well? Currently it seems that only regular pages are supported as source of information.

I have made separate question but about the case:

[https://answers.atlassian.com/questions/98956/how-to-fetch-part-of-blog-post-to-page-blog-post-in-confluence](/questions/98956/how-to-fetch-part-of-blog-post-to-page-blog-post-in-confluence)


author: Abdulrazaq Mohammed Ali Omar
body: You can use the **Excerpt Include macro,** which is used to include an "excerpt" part of another page in the current working page, but excerpt must have been defined using the [Excerpt macro](https://confluence.atlassian.com/display/AOD/Excerpt+Macro), here's a page that explains how to do this in details:

<https://confluence.atlassian.com/display/AOD/Excerpt+Include+Macro>

Hope this helps

comments: author: Lynette Perkins
body: However, it only allows you to include ONE excerpt per page. I have 4 excerpts on 6 different pages I need to push all to one page and it won't let me. HELP


author: Lynette Perkins
body: Can you label sections of content on pages and then push those labels to a master page? I don't want the entire page's content, only specific sections.


author: Antti Mattila
body: I have managed to use excerpt and excerpt include macros successfully only when the source is a regular wiki page i.e. where the excerpt macro is placed.

If I have placed the excerpt macro to a source blog post, and defined that blog post inside excerpt include macro on the target page, I get an error message *"Page \<name\> does not exist"*.

When setting the blog post as the source of information via excerpt include macro dialog / wizard, the wizard finds the blog post and I can select it. But still I get the same error message when I check the page via Preview tab or after saving the page =(

I have tried this with both Confluence v3.5 and v4.2.


Tags: cloud

confluence-cloud
unable to delete attachments which contain the character ?
Asked by JoeI:

An employee uploaded a few attachments and was unable to delete some of them. We realized that the only attachments with the problem were the ones with the character ? in the file name. As a temporary workaround, we've renamed the attachments to omit the character.


Answers:
author: JoeI
body: Thanks to help from Atlassian Support, we learned that there were two reasons that we were unable to delete attachments with special characters:

1. It seems that our Lockpoint plugin had gotten corrupted.
2. Tomcat lacked an encoding setting.

The fixes:

1.

* Review the contents of WEB-INF/lib and WEB-INF/classes. Compare them with a vanilla install
  * Back them up
  * Remove any non standard jars
* Stop Confluence
* Empty the contents of all folders in your \<confluence-home\> directory that have the word 'plugin' in the folder name:
  * \<confluence-home\>/plugin-cache
  * \<confluence-home\>/plugins-osgi-cache
  * \<confluence-home\>/plugins-temp
  * \<confluence-home\>/bundled-plugins
  * \<confluence-home\>/bundled-plugins_language
* Restart Confluence.

2.

Added the missing tag "URIEncoding=UTF-8" to the tomcat connectors configuration.


author: Andy Brook [Plugin People]
body: If this is specific to the core application I would raise a support request as it may be a bug or may be related to database storge, the support peeps are best to advise. <http://support.atlassian.com>

comments: author: JoeI
body: Thanks, Andy. I created support issue [CSP-90414](https://support.atlassian.com/browse/CSP-90414) at the same time that I posted the question, and I'll update Atlassian answers once I have a resolution to share that's better than the workaround. :)


Tags: attachment
OnDemand Confluence General Configuration complains about base url when changing the site homepage
Asked by Guy L Winterbotham:

When I change the default site page under administration to an exisiting space, then save, I get the following error message:

**The following error(s) occurred:**

* The \<Space Name\> space must be accessible to the confluence-users group (or anonymous view permissions must be granted) in order to be set as the Site Homepage.

With the following warning above the Server Base URL:  
**Warning:** The Server Base URL **must** be set to the same URL by which browsers will be viewing your Confluence site. [See Knowledge Base](http://confluence.atlassian.com/display/CONFKB/Various+issues+Caused+when+Server+Base+URL+does+not+Match+the+URL+used+to+access+Confluence)  
The Server Base field is now blank.  
The field is disabled before and after the save (makes sense for OnDemand) so I can't have messed it up. I did create the **confluence-users** group but this did not fix it.


Answers:
author: Guy L Winterbotham
body: I had to create a confluence-users group, add it to the Permissions of the project then add the users to that group.


Tags: base-url
Upgrade path from Confluence 3.2.1_01 and Oracle 10g to 4.3.1 and Oracle 11g
Asked by Alberto Oca?a da Costa:

Hello,

We need to make an upgrade of our Confluence System from 3.2.1_01 version in Oracle 10g to another server, Confluence 4.3.1 and Oracle 11g.

What is the best way of doing this?

Recently we've made a similar scenario with JIRA. Then we did this:

1. Install the latest version of JIRA in a new machine with a new Database in Oracle 11g

2. Make an export of old instance

3. make an import in the new one (and Oracle 11g

4. Copy attachments for the old to the new one.

Everything went fine.

Is it possible to make the same approach for migrating Confluence?

<br />


Answers:
author: Bruna Griebeler
body: Hello there!  

Since your Confluence is an old version, there's important to perform some intermediate upgrades:  

1) First upgrade your 3.2.1_01 to a 3.5.x version.  
2) Then upgrade your 3.5 version to 4.3.1.  
3) Now you can install a new Confluence 4.3.1 with Oracle 11g in a new machine.  
4) Export the data from your Old Confluence with Oracle 10g;  
5) Import the data to your new Confluence with Oracle 11g;  

Hope it helps! :)


author: BernardoA
body: Hello,

I suggest to first migrate your instance, according to this following documentation:

<https://confluence.atlassian.com/display/DOC/Migrating+Confluence+Between+Servers>

After that start the upgrade as expalined in this article:

<https://confluence.atlassian.com/display/DOC/Upgrading+Confluence>

Just keep in mind that is necessary first to upgrade to 3.5.17 where most bugs are fixed and to avoid other issues, and then upgrade to 4.3.1

comments: author: Jorge Ortiz
body: Did you mean v3.5.13? I can't find version 3.5.17 in the Downloads Archive ([](https://www.atlassian.com/software/confluence/download-archives)<https://www.atlassian.com/software/confluence/download-archives>)


author: Rodrigo Girardi Adami
body: Hi Jorge,

This [link](http://www.atlassian.com/software/confluence/downloads/binary/confluence-3.5.17-std.zip) should work for you to download the 3.5.17.

Cheers,

Rodrigo


Tags: install

migration

upgrade
I can't upload edited Office documents back to Confluence
Asked by Trevor Norris:

We're evaluating Confluence on-demand as a document repository. We mostly use Win7 and Office 2010, the browser is typically IE.

I've uploaded original documents (docx and xlsx) for testing. I can open them to edit from within Confluence, but when I try to save-and-upload from the editing application (excel or word) the application responds with

"upload failed. your changes were saved (locally) but could not be uploaded because of an error"

What could be causing this? where do I start? Thanks.


Answers:
author: Michael Knight
body: This is a current known issue with Confluence: <https://jira.atlassian.com/browse/CONF-26911>

We are currently working on a fix, but it probably won't be ready for a couple of weeks yet.


author: Scott Merry
body: I'm having the same problem described in the original October 2012 post.

Has this issue been solved in the 5 1/2 years since it was posted?

Thanks.

comments: author: Laurence Chiu
body: I am on Atlassian 5.10.07 and experiened the problem myself. This is with Office 2013 and Edge. I tried IE but I get an ActiveX error which seems to be security related


author: Paulius Ribakovas
body: Facing the same issue on Confluence 6.0.3, using MSO 2016. I used to be able to do this and my colleagues are still able to, but it is not possible from my PC


author: Gonchik Tsymzhitov
body: Hello Paulius,

Could you provide error logs from catalina.out?

In fact, on Confluence 6.6.0 with MSO 2016 it works.

Cheers,

Gonchik Tsymzhitov


author: jjak
body: This seems to still be an issue with Confluence 5.1.3 standalone with java 1.7.0_21.When attempting to "edit in office" and save docx or xlsx error message "Upload failed Your changes were saved but could not be uploaded because of an error. You may be able to upload this file using the server web page." is displayed. Using Office Connector Plugin 3.0.3.

comments: author: jjak
body: Based on a comment by sap in <https://jira.atlassian.com/i#browse/CONF-26911> I have verified that in voth confluence standalone 4.1.10 \& 5.1.3 if I have jave 1.7.x in use I get the error. If I switch to java 1.6.x "edit in office" works fine and I can save without problem or error. Of course staying with 1.6.x is not really an option.


author: Susan Parker
body: We have this issue too. After extensive back and forth communications with support, the conclusion is the same as Michael Knight's answer above.


author: Harry Chan
body: Despite the error message, can you check if it has uploaded successfully?

Do you have office in protected mode?

comments: author: Trevor Norris
body: Thanks for the replies. When the document opens, it is "edit disabled" until I click the "enable editing" button that MSO provides (this is office 2010, BTW).

The document is not uploaded due to the failure. If I re-open the doc from Confluence, none of my edits are present. So the online and offline versions of the doc are now out of sync. The MSO upload manager continues to show me the failed uploads, but offers no assistance to overcoming the issue.


Tags: cloud

confluence-cloud

ms-office-connector
Submit issue from Confluence
Asked by alfredo parisi:

Hi, I created a new custom type of issue on Jira.  

I would to submit a new issue (with custom templaete) from a page on Confluence. Is it possible? Thank you


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Have a look at issue collector plugin.

<https://marketplace.atlassian.com/plugins/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin>

You can embed the javascript it generate into the Confluence page within html macro or something.

comments: author: alfredo parisi
body: ok thank you. Created an Issue Collector on Jira and enabled Html Plugin on Confluence.  
In which mode can I import the java script code on a new page on Confluence? Thanks


author: Jobin Kuruvilla [Adaptavist]
body: In the edit mode, add the html macro and add the javascript in it. Hope that is what you were asking about?


author: alfredo parisi
body: Do you mean in this way?

![](../../upfiles/Schermata-Modifica_-_Test_Page_JS_-_CCOS_-_Confluence_-_Mozilla_Firefox_1.png)


Tags: app
problem with "Mentions" in 4.3.2
Asked by Bogumi? ?asi?ski:

When I try to add @User (User Mentioned) anywhere in Confluence this function doesn't work correctly.

In javascript console I get error:

\*Uncaught TypeError: Cannot read property 'dropDownClassName' of undefined\* batch.js:5647

Any idea what is the problem?


Answers:
author: RianA
body: Hi, it might be caused by corrupted plugin cache. Please try to do the following and check whether it worked or not.

# Shutdown Confluence  
# Remove the following folders (they will be regenerated at startup):  
#\* \<confluence_home\>/bundled-plugins  
#\* \<confluence_home\>/plugins-cache  
#\* \<confluence_home\>/plugins-osgi-cache  
#\* \<confluence_home\>/plugins-temp  
# Startup Confluence
Upgraded Confluence from 4.2.8 to 4.3.2 and now we get a 404 error
Asked by Network Administrator:

I upgraded our existing Confluence installation with the 64-bit executable of 4.3.2. I followed the Confluence Installation and Upgrade Guide. Below are my installation notes.

10/22/2012 - Upgrade to Confluence 4.3.2

Backed up the DB

Backed up the install and home directories

Ran the executable file

Selected the Upgrade an existing Confluence installation option

Allowed it to backup the home directory

Here is the list of file modifications within the confluence directory

Modified files:

confluence styles aui-overrides-css.vm

confluence WEB-INF classes seraph-config.xml

confluence WEB-INF classes crowd.properties

conf server.xml

Removed files:

confluence WEB-INF lib mail-1.4.1.jar

confluence WEB-INF lib activation-1.0.2.jar

Added files:

confluence .htaccess

confluence fonts eurosti-webfont.eot

confluence fonts eurosti-webfont.svg

confluence fonts eurosti-webfont.ttf

confluence fonts eurosti-webfont.woff

confluence fonts eurostile-font.css

confluence fonts generator_generator_config.txt

confluence WEB-ING lib activation-1.0.2.jar.back

confluence WEB-ING lib crowd-integration-client-2.4.2.jar

confluence WEB-ING lib mail-1.4.1.jar.bak

lib activation-1.0.2.jar

lib mail-1.4.1.jar

Changed the Modified Files

In the aui-overrides-css.vm, I added something for line 9

In the seraph-config.xml, I commented out one line and uncommented another

In the crowd.properties, I changed the values to be what they should be

In server.xml, I changed some of the values in \<context and="" added="" a="" resource="" \<="" p=""\>

Re-Removed the Removed Files

Mail-1.4.1.jar -- copied and pasted into the root lib folder and renamed (the one in the Confluence web-inf folder) with a .bak extension

Activation.jar -- copied and pasted into the root lib folder and renamed (the one in the Confluence web-inf folder) with a .bak extension

Re-Added the Added Files

Copied and pasted from the backup, except for the .bak files and the mail-1.4.1.jar and activation.jar that I addressed in the Removed Files section

After all of this, I started the Confluence service back up. Now when I browse to our Confluence page, I get this 404 error message:

HTTP Status 404 -

type Status report

message

description The requested resource () is not available.

Apache Tomcat/6.0.32

Is there any way I can get some help fixing this? Do I need to roll back to the previous version?


Answers:
author: RianA
body: Hi,

We need to look into Confluence's logs in regard of this. However I would really encourage you to raise a support ticket at <https://support.atlassian.com>. Please do include atlassian-confluence.log and catalina.out files that can be found in confluence-home/logs and confluence-install/logs respectively.

Cheers!

comments: author: Network Administrator
body: Atlassian Support helped me roll back successfully to 4.2.8. I will try the upgrade again in the future, preferably in a test environment.
Confluence: a nightmare to make simple things.
Asked by Kinto Soft:

Hi,

I want to insert a simple iFrame on Confluce. I appreciate the 3rd party plugin that allows me to do it. But... do I really need to install another 3rd party license plugin and answer a lot of mandatory questions before to get a license?.... And all those things to use one iFrame???

I guess Atlassian respects their partners and does not compete with them, but something basic features should not be handled by partners in that way.

Likely there was a meeting within Atlassian about it: business managers vs product managers. And the business managers won, so the product lost.

Regards,

Pablo.


Answers:
author: Bristow
body: This isn't a question.

For what you are trying to do, I imagine you could use the [HTML Macro](https://marketplace.atlassian.com/plugins/confluence.macros.html) which has a {html-include} that allows you to retrieves content of an external html page and inserts it in the page. It is by Atlassian. Not sure why it is listed as a plugin, and not freely available with Confluence by default but I guess they're scared of cross-scripting attacks.

comments: author: Harry Chan
body: It got superceded by the xhtml macro?


author: Bristow
body: I thought this maybe the case but why didn't they mark it obsolete like their [code macro](https://marketplace.atlassian.com/plugins/confluence.macros.code)?

Having a closer look, the xhtml macro only acts as include page. Rather than adding pure html, include page of html and rss content to the page, so your way wouldn't work without a third party addition like [HTML Marco](https://marketplace.atlassian.com/plugins/confluence.macros.html).


author: Harry Chan
body: Hi, does the xhtml macro that comes with Confluence out of the box not work for you? It's disabled perhaps in your instance. You just have to enable it.

comments: author: Kinto Soft
body: Can pages from other servers (http://...) be rendered by using the xhtml macro? I got an error:

Unable to render {include} You can only link to a page or blog post.
Rendering an included Confluence page several times with different parameters
Asked by Joe Clark:

I'm developing a dashboard on a Confluence page to display some contribution statistics for individual users.

Using the SQL macro and the Chart macro, I've built some nicely formatted charts and tables to display information for a single user. I want to re-use this content multiple times to display the output for several users on a single page. I thought a good way to do this would be to save the individual user report as one page, and then create another page which can then include the individual report page multiple times - specifying a different username each time it gets included. That way, I'm not endlessly copying and pasting the same wiki markup into several different places and having to update it multiple places each time I want to tweak it.

I seem to have backed myself into a corner now, because I can't quite figure out the correct combination of include macro/run macro/groovy macro to set the parameters for the run macro from another page. The only way I can see to alter the parameters of a run macro from outside the page context is to specify URL query parameters, but I don't think that would be appropriate in this situation?

(Doing this on Atlassian's intranet - we have most of Bob's plugins installed, but none of the more formal 'reporting' plugins like scaffolding).

What's the best way to achieve this "Write Once, Render Many" goal where I define the wiki markup once and then include it in multiple places with different parameters?


Answers:
author: Bob Swift (personal)
body: Hey, this is a switch, me answering one of your questions!!! A key part of your question is: **display the output for several users on a single page** , otherwise the standard techniques work. Its late here, so best I can do is give you some ideas.

1. Run macro supports exporting the content created to an attachment
2. Similarly, chart macro can create png attachments
3. You can script the rendering of the run macro to produce multiple attachments, one for each user
4. [How to archive pages with dynamic content](https://bobswift.atlassian.net/wiki/display/RUN/How+to+archive+pages+with+dynamic+content) has techniques that bring multiple pieces of content together on a single page using the [HTML Plugin for Confluence](https://bobswift.atlassian.net/wiki/display/HTML)

comments: author: Joe Clark
body: Thanks, bob! That got me most of the way there.


Tags: report

run

sql