youngmon/atlassian-qna huggingface dataset:
restore confluence space data from zip file
Asked by Hsu Yao Chang:

Dear all,

Would it be possible to restore confluence data from zip file by command as listed as below:

**confluence --action restoreExport --file "exportSpace.zip" --noIndex**

We tried the command , but it can not run . We can backup space by command, and we would like to use command to restore space data.

Thank you.


Answers:
author: Bob Swift (personal)
body: Not sure what you mean by: **it can not run** ? However it should work provided you have your zip file in the proper location as specified in the documention for [restoreExport](https://bobswift.atlassian.net/wiki/display/CSOAP/Reference#Reference-restoreExport). If you have a problem, [open a support issue](https://bobswift.atlassian.net/browse/CSOAP).


author: Nic Brough -Adaptavist-
body: You probably need to tell us what "confluence" is provided by - is it Bob Swift's cli?


Tags: confluence-administration
Hi , can anyone help me with this please? https://answers.atlassian.com/questions/30936609/answers/30939365/comments/30939370
Asked by Akhil_vs:

[https://answers.atlassian.com/questions/30936609/answers/30939365/comments/30939370](https://answers.atlassian.com/questions/30940635/hi-can-anyone-help-me-with-this-please-httpsanswers.atlassian.comquestions30936609answers30939365comments30939370) {#toc-hId-1651050667}
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Answers:
author: Stephen Deutsch
body: I tried answering your question, I don't know if that's good enough for you.


author: Lukas Knoch -Rumpelcoders-
body:     Exception in thread "main" java.lang.StackOverflowError

     at Answers.<init>(Answers.java:3)


author: Nic Brough -Adaptavist-
body: Putting a link in a summary so we can't even click or copy and paste it is REALLY unhelpful

comments: author: no_longer_in_sudoers_file
body: @Nic Brough \[Adaptavist\] , I edited his question to put the link in the question for ya. ;-)


Tags: cloud

confluence-cloud
HTTP Error of upload Atlassian Question Attachment
Asked by Hsu Yao Chang:

Dear all,

Have you ever meet the situation when you upload picture file to Atlassian question attachment, it always show the message of HTTP Error? We have try ie, google chrome, firefox, the situation is the same.

Thank you.


Answers:
author: Hsu Yao Chang
body: Sorry, I mean I can not add picture file in the confluence community as refer at the address : <https://drive.google.com/file/d/0BxriXuT0xeaFSnNqVVQ0Y2VUa1U/view?usp=sharing>

Thank you.


author: Daniel Eads {unmonitored account}
body: Hi Hsu,

Is your Confluence install running behind a reverse proxy (Apache, nginx)? If the proxy is configured with a lower maximum upload size than the file you're trying to attach, it will throw an error.

See these documents for more info:

Apache - <http://www.cyberciti.biz/faq/apache-limiting-upload-size/>

nginx - <https://laracasts.com/discuss/channels/forge/413-request-entity-too-large-nginx162>

comments: author: Geoff Wilson
body: It doesn't sound like he's trying to upload an image to his own Confluence install, but rather Atlassian's Confluence. I'm having a likely similar issue here with [Atlassian Answers Image Upload HTTP Error](https://answers.atlassian.com/questions/37056478/why-am-i-getting-an-http-error-when-attempting-to-upload-an-image-to-a-solution-here-on-atlassian-answers)
How to post a tutorial clip to a confluence page?
Asked by Shannon McCullough:

I'm trying to publish some 'how to' mp4 clips on a confluence cloud page using the multimedia macro. I'm struggling to find a working set of mp4 settings, everything I upload results in a message "a plugin is needed to display this content". However I can open the clips directly in the browser at they play fine.   

I'm new to publishing video content so grabed a sample mp4 clip <http://www.sample-videos.com/video/mp4/480/big_buck_bunny_480p_1mb.mp4> and I'm getting the same result.  

<br />

Question:  
Is there a set of video settings I need to use?  
Are there any sample of working videos I could investigate?

Thanks,

Shannon


Answers:
author: Tim Eddelb?ttel
body: Hello Shannon,

in my opinion the *Multimedia Macro* doesn't a good job. If you use MP4 your browser say you need the QuickTime Plugin.

Can you create a user macro in Confluence Cloud? If yes, you can create a macro with an HTML5 Video Player. (Example: <https://davidsimpson.me/2013/07/28/html-5-video-user-macro-for-atlassian-confluence/>)

Regards,  
Tim


Tags: cloud

confluence-cloud
No spaces available after update to 5.8.13
Asked by Jan-Peter Rusch:

After upgrading to Confluence 5.8.13 each login fails with "Currently no spaces available" and the login page.


Answers:
author: Jan-Peter Rusch
body: As release notes cannot be commented anymore ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad"), I'll give some explanation here...

Atlassian upgraded the bundled Tomcat server to version 8.0.26 from 8.0.23 with Confluence 5.8.13.

This leads to a new handling of the parameter maxpostsize when using Tomcat with an AJP connector behind a frontend HTTP server.

Before Tomcat 8.0.24 maxpostsize = 0 meant, that POST request could send an infinite sized request. This was set in our environment. Starting with 8.0.24 the value 0 is handled as NO POST request size allowed. This is wrongfully handled by Confluence as an anonymous login. No message is logged in atlassian.log.

Setting maxpostsize to -1 in server.xml and restart the Confluence server solves the issue.

A hint in the release notes for 5.8.13 on an upgraded Tomcat server would've solved the problem MUCH quicker...

comments: author: Nic Brough -Adaptavist-
body: Er, they don't need to mention it in the release notes because you don't need to change that setting to make it work. You just use the software as distributed. They can't write release notes to try to cover every single change you might have made after installation.


author: Jan-Peter Rusch
body: Nic,we're using Confluence according to:<https://confluence.atlassian.com/doc/using-apache-with-mod_jk-173681.html>in the official documentation. As they point out in the documentation, we're using this on our own risk.As we had problems with MAXPOSTSIZE default value, we set this value to 0 to allow unlimited POSTs. You might be right, that not every change must \& should be commented in release notes, but just listing 9 bugs fixed or improved is sometimes not enough, when the underlying application server is updated. Anyway, I really appreciate running Conflunce on an up-to-date Tomcat...


Tags: confluence-administration
Where can I find information on how Word styles are used (or not) during import to Confluence?
Asked by Sandy Arvidson:

Some formatting in my Word documents is not importing how I want it. For example, if a list has list items with multiple paragraphs, the first paragraph in each item becomes a single list with paragraphs underneath it. I would like to know if there are things I can do in Word to improve the import. Thanks!


Answers:
author: Giuliano C.
body: Hey Sandy,

As the content could have different results. For that, do you have some examples on the formatting that you are trying to work?

Some options:

* You can try to get the Source [Code from Word](http://gregmaxey.mvps.org/word_tip_pages/extract_data_from_document_file.html) and then, paste it inside the [Source Editor](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor)
* This web article have some other options to use a workaround, that you can give a try: <https://webapp.usm.maine.edu/confluence/display/webcms/Pasting+from+MS+Word>

Hope it helps you!

Cheers,

Giu


author: Milo Test
body: The best way I've found to import Word docs is to start with an exported Word doc. I get the doc styled right in Confluence then export it to Word and use it as a template. Then the import success goes from about 80% to about 95%.
Errors during install of Tableau Plugin
Asked by Stephano Woo:

Hello,

I am receiving the following error during installation. Do you have any suggestions to resolve these issues?

atlassian-confluence.log:Caused by: java.lang.UnsupportedClassVersionError: com/schubergphilis/confluence/configuration/ConfigureTableauPlugin : Unsupported major.minor version 52.0

atlassian-confluence.log- at java.lang.ClassLoader.defineClass1(Native Method)

atlassian-confluence.log- at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

atlassian-confluence.log- at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1829)

atlassian-confluence.log- at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716)

atlassian-confluence.log- at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)


Answers:
author: vickey palzor lepcha
body: Looks like a version compatibility issue to me - not quite sure . Better check versions .


author: Roel Gerrits
body: Hi Stephano,

I think you get this message because I compiled it with java 1.8 and possibly your java version is older.

Are you able to upgrade your java version? If not, I will recompile it and create a new version.

Question, what version of confluence are you using?

Regards,

Roel


author: Stephano Woo
body: Thank-you both for your answers. I agree that it appears to be a compatibility issue. Thank-you for pointing that out.


author: Guilherme V.
body: I think it's a compatibility issue too.

Please, refer to this [site](https://marketplace.atlassian.com/plugins/tableau-plugin/versions)and download the proper file to your Confluence version.

Cheers,


Tags: confluence-administration

tableau
Markup {color} doesn't work
Asked by Jan Schwoebel:

In Confluence 5, I can no longer write markup in the rich text editor, at least not everything is working

I can use

```
*bold* to make it bold
```

but

```
{color:red} bla {color} doesn't work
```

Did the syntax change? Is there a different way then opening up the actual markup editor?  


Answers:
author: Jared Dohrman [Design Industries]
body: Hi @Craig Skipsey, @Jan Schwoebel,

Agree with Sharon, the Color macro appears to have been removed, however you can still use it and use custom hex colours by doing the following:

* From the menu, click the Markup macro ![plus](/html/@FFB122F77CA920A8EA19F633E8E71F4E/images/emoticons/plus.png "plus") Insert \> Markup
* Ensure Confluence wiki is selected
* Enter your text on the left, confirm preview is correct and then click Insert

(example: {color:#FF0000}text{color} will show a red colour)

*Note: Any and all text typed after this will be in that colour.*

Thanks,

Jared.

comments: author: Yuremi Y Conde
body: This worked for me, thank you!


author: Jan Schwoebel
body: Craig, unfortunately, I didn't find a solution. We currently use the "rich-text" editor, which is build in.


author: Craig Skipsey
body: Jan, did you find a solution to this? I have the same problem

I really hope it hasn't been removed as Sharon suggested above. The editor only lets you choose standard colors, not custom ones by hex code.


author: Sharon Hinde
body: Hi Jan,

from the looks of it the 'color' macro has been removed in favour of using the 'Word' style text option at the top of the menu. So to change the colour of text in the latest editors:

* select the text to highlight it
* use the text formatting menu (dropdown starts with an underlined A)
* choose a colour from the picker

Your text should be coloured.


author: Milo Test
body: Something may have changed, perhaps unintentionally; consider browsing for and/or opening a bug ticket: <https://jira.atlassian.com>

In the meantime, if you are using confluence server, here is a quick user macro that nearly replicates it:

```
## Macro title: Text Color## Macro has a body: Y## Body processing: Rendered## Output: HTML#### Developed by: MIlo Grika## Date created: 09/28/2015## This is a replacement text coloring macro## @param color:title=Color|type=string|required=true|desc=The color of the text.&lt;font color="$paramcolor"&gt;$body&lt;/font&gt;
```

just type

```
{textcolor:color=red}
```

then whatever you want to be that color, then the down arrow on the keyboard to leave the macro and continue typing.


Tags: confluence-administration
How to display a list of spaces by a specific category?
Asked by Wade Koehn:

I want to have a home page with a several columns listing specifically categorized spaces. For example: the first column would show all product documentation spaces, the second column would list all internal company spaces, etc..

If this is not an option are there any workarounds to have a clean, easy to read at a glance home page besides manually creating links to the spaces?

This is needed for Confluence Cloud. All the plugins I have found so far are only for server.


Answers:
author: Stephen Deutsch
body: Hi Wade,

I also wondered why this wasn't possible, so I reproduced the "category" tab of the Spaces List macro as a Cloud addon. You can choose a category and it will display all spaces from that category. It is almost exactly the same, with a few limitations (for example, links open in a new tab/window, since Cloud addons render inside of an iframe). Send an e-mail to [stephendeutsch1@gmail.com](mailto:stephendeutsch1@gmail.com) and I will send you an access token that you can use to install it on your instance to try it out.


author: Achim Brunner (AB) FN-11
body: I have the same issue and I would like to solve it with a user macro like the Spacelist-by-label macro.

Could maybe someone give me a hint which Class can be used for this


author: Giuliano C.
body: Hi Wade,

A good and quick option to have a list if spaces based on their categories would be to use the [Spaces List](https://confluence.atlassian.com/confcloud/spaces-list-macro-724765290.html) macro and select the option related to **category** . After saving it, the macro will display a list of spaces with the specific category, that you need to insert through the **Space Tools** option. A good example can be found in [this article](https://confluence.atlassian.com/display/ConfCloud/Use+Labels+to+Categorise+Spaces).

While the page using different Spaces List for different categories, you can use it as the dashboard by [changing it to be the Home page](https://confluence.atlassian.com/display/ConfCloud/Configuring+the+Site+Home+Page).

Hope it helps you!

Cheers,

Giu

comments: author: Wade Koehn
body: This only gives me a dropdown list where the user would have to manually select the category. I want to have a home page that has a list of spaces of ONE specific category in one area and a different SINGLE specific category in another section of the page. I need to be able to set the category parameters in the macro and disable the dropdown. Thanks!


author: Olivia Hydari
body: Hi the site breaks when i select category. Can you fix this?


Tags: cloud

confluence-cloud
How can I add a task to a meeting note without going into Editor?
Asked by Nicholas Aceto:

Is it possible to add new tasks and or notes/text to a page in confluence without evoking the editor? I want to use the meeting notes page as the agenda and minutes at the same time. This will require that I add tasks as they come up in discussion. If I have to keep switching to editor mode it becomes a bit cumbersome.


Answers:
author: Daniel Eads {unmonitored account}
body: I may be missing something obvious, but why not just stay in Editor mode? You can still read the page contents there. Just wait to save until the meeting is over.

comments: author: Nicholas Aceto
body: If a user wishes to use a meeting note as an agenda, it's content (especially when in the form of a macro) is useless when in editor mode. Confluence meeting notes assumes tasks are created and assigned prior to a meeting, when in reality, tasks are created as the result of a meeting.
Confluence: Recently Updated Macro doesnt work, Activity Stream works
Asked by Marc Sch?pers:

Hi at all,

as you can see in the title, in our Confluence instance the "Recently Updated Macro" doesnt work anymore.

The activity stream works.

A few days ago the "Recenty Updated Macro" worked, but we couldnt find an entry in the logfiles which implicates such a behaviour. A thing a could mention is that we had java heap memory problems and we will raise it.

Does anybody know if there is a configuration to do ?

Anybody knows this behaviour?

Thank you and best regards

Marc sch?pers


Answers:
author: Giuliano C.
body: Hi Marc,

If the case is about the macro information not updating, it could be caused by a possible corrupted index. For that, check which version of Confluence you are running and then, perform the mentioned procedures from [this article](https://confluence.atlassian.com/display/CONFKB/How+to+rebuild+the+content+indexes+from+scratch), which will rebuild the content indices from scratch.

If that's not the case, you can try to check the information in your log files related to this macro or let us know if this is related to some specific behaviour only affecting this macro. Remember that we can also help you through our support channel: <https://support.atlassian.com>

Hope it helps you!

Cheers,

Giu
I can't delete one space from the favourite list! Any idea why?
Asked by Almar Hollaar:

I have one space that I can't delete from my favourite list, all the other spaces no problem.

Any idea what is wrong?


Answers:
author: Almar Hollaar
body: Hello All,

Thanks for all your help.

I can't find anything in the log files and in the console output the same.  
There are no symptoms! When I click the star it changes, but nothing happens. After refreshing the page the space is a favourite again.

I have not tried to export the space and import it again. I found a couple of more spaces with the same problem, so I'm not sure if that is something we want to do.

regards,

Almar


author: Giuliano C.
body: Hi Almar,

Can you share what's happening when you try to remove the space? Depending on the symptoms, we could be facing different causes, such some specific content inside the space. If possible, as mentioned above, can you share what's in the logs once you try to remove the space?

Cheers,

Giu


author: Luiz Maia
body: Hi Almar,

Not sure this is your case because I don't know what Confluence version you're running, however we had a bug on Confluence 3.3 related to this. Please refer to this article for more information and how to workaround this: <https://confluence.atlassian.com/display/CONFKB/Spaces+Cannot+Be+Unmarked+as+Favourites>

Thanks.

Regards,  
LM


author: Lukas Knoch -Rumpelcoders-
body: If you have the possibility, look at the server log files.

What also might help is the console output in your browser. in Chrome, you get it by pressing F12 and selecting the "Console" tab. Try to unfavourite it now and look at the output.

That helped me debugging similar issues before.

Best,

Lukas
Losing modifications when updating Confluence
Asked by DM:

Hello, I have a question about updating Confluence (Server-version). On the documentation page is written:

"Make a note of any **modifications** to your Confluence instance (for example layouts or a custom theme).  
Any customisation you wish to maintain will need to be reapplied after upgrading. "

Now my question is, what would I EXACTLY lose and is there a way to avoid that?

Lots of thanks


Answers:
author: Giuliano C.
body: Hi Daniel ,

If you have customised files inside the Confluence installation folder, it will be displayed in **Confluence Admin \> System Information** on the **Modified** tab. There you can have a list of files that you need to have a backup prior to upgrading.

You can also refer to **Confluence Admin \> Look \& Feel** session and check what's inserted inside the Custom HTML and Sytlesheet session, including themes. There you can also see what has been modified through the interface of Confluence. Inside the **decorator** table you can also find some modified content:

```
select * from decorator;
```

Lastly, if you use some third-party add-ons to modify the content, you can search through the database or check under **Confluence Admin \> Manage Add-ons \> User-Installed (tab)**. For the DB, you need to search through the following one:

```
select * from plugindata;
```

Hope it helps you!

Cheers,

Giu


Tags: confluence-administration

server

update
How to customize the login page of Confluence?
Asked by Madhumita Datta:

Hi

We are in a plan to customize the login page (page in which we enter our username and password) in Confluence to contain a hyper link through which users can fill a form and request for access. Is there any way to change the HTML source code of the login page to incorporate this requirement.

Please suggest any method to achieve this.

Regards  
Madhumita.


Answers:
author: Giuliano C.
body: In addition to the suggestions above, you need to have in mind the following files, that are responsible for modifications of content in the login screen:

* login.vm (inside the \<Confluence Install/confluence\> folder)
* login.vmd (inside the \<Confluence Install/confluence/decorators)

These are the main responsible for such modifications. If you want to change the text in the login page, for example, you can refer to [this other page](https://confluence.atlassian.com/display/CONFKB/How+to+Customise+the+Sign+Up+Page).

Hope it helps you!

Cheers,

Giu


author: Luiz Maia
body: Hi there,

Yes, it is possible to customise the HTML code. You should edit the **login.vm** file which is located inside the Install-Directory/confluence folder.

You can refer to the below article for more instructions: <https://confluence.atlassian.com/display/DOC/Customising+the+Login+Page>

Thanks.

Regards,  
LM


author: Guilherme V.
body: Hey there,

You can take a look on this [documentation](https://confluence.atlassian.com/doc/customising-the-login-page-163938553.html). This doc informs what file you have to change.

Cheers,
Full text search on page
Asked by Dominique Hein:

Hey :smile:

I'm looking for a way to search within a page.I don't want to search the whole space. Can you help me?

Thank you very much! :smile:


Answers:
author: Giuliano C.
body: Hi Dominique,

Have you considered using the search on specific texts by using some syntaxes or configuring the search options, so you can find it without needing to access the space/page? Good examples and explanations can be found here:

* <https://confluence.atlassian.com/doc/confluence-search-syntax-158720.html>
* <https://confluence.atlassian.com/doc/search-139528.html>

Hope it helps you! If that's not the case, let us know with a quick clarification. :smile:

Cheers,

Giu

comments: author: Dominique Hein
body: Yes, I tried everything. I found no possibility. The 'LiveSearch' search for pages, not for text within a page. The Ctrl+F is also not useable. What I'm looking for is a search function to search for keywords and for sentences within a page. :(


author: Stephen Deutsch
body: Have you tried Ctrl/Cmd + F?


Tags: page

search

space

text
When pasting a JIRA issue into Confluence I would love it if it would also pull through assigned to.
Asked by Jamie Gerace:

Something like this :

![](http://cl.ly/image/0G041g3E290d/Screen%20Shot%202015-09-24%20at%205.35.04%20PM.png)


Answers:
author: Mike Rathwell
body: Are you pasting in a URL to the JIRA issue? You can have full control over how issues are displayed if you use the "JIRA" macro in Confluence. Any field is displayable then. You can do either discrete issues or you can display the results of a JQL query.

That's the way we do it here.... works out very nicely.