youngmon/atlassian-qna huggingface dataset:
Confluence version 2.4.5 for upgrade
Asked by Patrik Cevela:

Hello guys,

I'm looking for linux package for Confluence version 2.4.5 or compatible. In Download archives I was able to find only versions 2.2.10 and then 2.6.3 nothing in between.

Why I need confluence this old? I've inherited infrastructure with confluence this old running on some Solaris + Oracle DB platform and I want to migrate to Linux and MariaDB. So I want to export data from 2.4.5 Solaris, import it into Linux platform and then upgrade it towards last version without data corruption.

Thanks for help


Answers:
author: Nic Brough -Adaptavist-
body: From memory, 2.3 and 2.4 had serious licencing issues, and are not legally distributable.

In your case, as you have 2.4.5, installed at the time, in good faith, I suspect Atlassian might give you a copy. You should ask over at <https://support.atlassian.com>

comments: author: Patrik Cevela
body: yeah, I was trying to do it but I'm doing PoC with starter licences so I can't use direct support channels. If this upgrade can be done without harm on data, then we will buy 1000+ seat license but till end of successfull PoC my managers don't want to hear about any extra money spent...

You know.. typical corporate war...


author: Nic Brough -Adaptavist-
body: An evaluation licence should let you raise one, and you can then explain what you're doing!


author: Patrik Cevela
body: hmm, okey I didn't thought about it...

I'll try it, thanks for tip! :)
Baselining page hierarchy with comala worklflow ?
Asked by Rebecca Puypalat:

Hello, I know that the main feature of plugin Comala workflow is not baseline pages. But I'm wondering it can suit our need to manage product documentation in Confluence.

One document will be a page hierarchy. and when we need to release product documentation, we basline the space or page hierarchy.

and we will be able at any time to download a previous version or roll back to a previous version of document.

BR

Rebecca


Answers:
author: Aron Gombas _Midori_
body: I don't think Comala Workflows does this (although I'm not deeply familiar with it).

But there is a dedicated add-on that provides exactly what you look for: <https://marketplace.atlassian.com/plugins/tr.com.obss.plugin.confluence-baseline-plugin/server/overview>


Tags: documentation

version
Pre-order question: Is it possible to edit Header section on Wordpress pages with Visual Composer?
Asked by Robert Er?en:

Hi,  

I'm thinking about to buy Visual Composer because I found it impossible to customize purchased theme to my client's wishes.  
But...!  
First I need to know if I'll be able to edit Header section (you know - menu and logo part of web page) with Visual Composer?  
Will I need any additional VC extension?  
Thanks.


Answers:
author: Nic Brough -Adaptavist-
body: Visual Composer is not an Atlassian product, I think you've landed in the wrong place. (Visual Composer uses Confluence for docs, but appears not to have put any "help me" links in them, so people click the Confluence "help me" and land here)


Tags: bitbucket

jira

jira-service-desk
Tree copy
Asked by Benjamin Jank:

```
Hello,I successfully completed the update from 5.10.x to 6.3.1. Now I desperately search the "Copy tree" function. This is now supposed to be natively available.
```


Answers:
author: Boris Berenberg - Atlas Authority
body: From <https://confluence.atlassian.com/doc/copy-a-page-139013.html>:

> To copy a page and all its child pages:  
> Go to the page and choose \> Copy.  
> Choose a Location for the new pages.  
> Select Include child pages.  
> Use the options provided to customize your new page titles.  
> You can add a prefix, replace a keyword or phrase in existing titles, or both. The preview will give you a good idea of what your new page hierarchy will look like, and warn you if there are any problems.  
> Deselect any items you do not want to copy over (attached files, labels, restrictions)  
> Hit Copy.
Domaine name change without access to confluence
Asked by cocomw:

Hello,

I recently changed domain for my JIRA and Confluence . I have JIRA and confluence on separate servers (self-hosting) - nothing changed in here.

I cannot login to Confluence with any credentials. I don't have an access to confluence admin page.

When I try reset the password, link to the reseting password page refers to the old domain (support.X.pl/resetpaswordpage). When I replace old domain with the server

When I replace old domain with the server ip (IP-ADRESS/resetpaswordpagein reseting password page, error occurs:

"

### Cause {#toc-hId-1563662494}

com.atlassian.crowd.exception.runtime.OperationFailedException: java.net.UnknownHostException: support.cedesign.pl: unknown error  
at com.atlassian.crowd.embedded.core.CrowdServiceImpl.updateUserCredential(CrowdServiceImpl.java:385)

caused by: java.net.UnknownHostException: support.X.pl: unknown error  
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)

"

I have full access to the servers. I didn't try anything with database. How can I fix this?


Answers:
author: Boris Berenberg - Atlas Authority
body: Is Confluence using JIRA as it's user directory? I am guessing that Confluence can no longer find the JIRA User Directory. You will need to update it in the DB and restart the application if this is the case.

comments: author: cocomw
body: There is no Confluence in "User directories" so you are probably right.

What should I be looking for in DB? Restarting confluence was not clear to me as well.


author: Boris Berenberg - Atlas Authority
body: I am not sure what your first statement means.

As for the DB, you will need to look in the cwd_directory table and then correlate it to the cwd_directory_attribute table. Then update the location of your JIRA server so that Confluence can find the right info.  

Before doing this, I would confirm that JIRA is in fact a user directory for Confluence by going into JIRA and In your JIRA application go to the Cog in the upper right \> User Management \> JIRA User Server. and see if it is listed in there.


author: cocomw
body: Jira is user directory for confluence. Ip address for it is 127.0.0.1

I have no idea how to get to the database and restart confluence... Should I download something for database connection? And about restarting... I didn't find any .sh files called start/stop/restart or something similar


Tags: jira

server

url
Deleting unlisted attachment
Asked by miktil:

Hi Guys,

We had some sensitive information on our Confluence that had to be removed including pages and attachments.  
Now when i search for a phrase result shows attachments but if i go to the page -\> Attachments it's not there.

I was trying to use macro and find it in whole space but i couldn't find anything.

How i can delete attachment if link to it is:

.../CS/Product+-+Onboarding?preview=%2F25690571%2F38244424%2FUser_Guide.docx

Thanks!


Answers:
author: Boris Berenberg - Atlas Authority
body: Known bug <https://jira.atlassian.com/browse/CONFSERVER-40833>  

comments: author: miktil
body: Thanks. That solved the issue


Tags: attachment
See images in use on a page
Asked by Maya Pedersen:

I'm trying to do housekeeping on our documentation pages which means deleting image attachments no longer in use. We have a lot of images being added through trial and error, ie. you paste an image, find out it lacks something, and then overwrite it with a better one, leaving the old, unused one as unwanted attachments on the page.

My question is then:  
Is there a way to see which images are in use on a Confluence page? I need to weed out the ones that aren't actually in use by the page anymore and delete them.


Answers:
author: Shannon S
body: Hello Maya,

While this isn't currently built into Confluence, I can see how useful this would be! We do have an ongoing feature request for this that you can vote on:

- [CONFSERVER-16577](https://jira.atlassian.com/browse/CONFSERVER-16577)

Thankfully, there's a 3rd party add-on called [Confluentis Unused Attachments](https://marketplace.atlassian.com/plugins/com.alutustech.confluentis.confluentis-unused-attachments/server/overview) that will help you with this in Confluence Server. Have a look at that and go ahead and give the free trial a chance if you'd like to test it out.

Do let us know if you have any questions about any of this.

Kind Regards,  
Shannon

comments: author: Maya Pedersen
body: Awesome, thank you Shannon, much appreciated! I've voted for the feature request and will give the add-on a try when I'm back at work. Thank you again,

-Maya


author: Shannon S
body: Thank you, Maya!

Take care and Kind Regards,  
Shannon


Tags: image
How can I get the object of a comment by an add-on (Talk-Advanced Inline Comments) in ScriptRunner ?
Asked by Nadav Dahan:

I'm trying to get the object of an in-line comment by Talk. but after several tries I still cannot. This only gets me the ID of the comment.

```
def xhtmlContent = ComponentLocator.getComponent(XhtmlContent)
```

```
final List<String> ids = new ArrayList<>();xhtmlContent.handleMacroDefinitions(page.getBodyAsString(), new DefaultConversionContext(page.toPageContext()), new MacroDefinitionHandler() {    @Override    public void handle(MacroDefinition macroDefinition) {        if ("talk".equals(macroDefinition.getName())) {            ids.add(macroDefinition.getParameters().get("id"));        }    }});
```

But I am trying to get the whole object so I can get all the parameters for a report I am making.(Comment Text, Created On, Created By, Status, Color .....)

So I tried other imports such as:

```
import com.stiltsoft.confluence.talk.manager.TalkManager
```

and getting the object like this:

```
def talkManager = ComponentLocator.getComponent(TalkManager)def talkComment = talkManager.getCommentById(page, "talk-1")
```

or:

```
@WithPlugin(com.stiltsoft.confluence.talk.confluence-talk-plugin)@PluginModule(TalkManager)
```

using this link:

<https://scriptrunner.adaptavist.com/latest/jira/scripting-other-plugins.html>

Does anyone know how to do this?


Answers:
author: Ashraful Hasan [Adaptavist]
body: Hello,

Following code loads as expected.

```
import com.onresolve.scriptrunner.runner.ScriptRunnerImpl
import com.onresolve.scriptrunner.runner.customisers.WithPlugin
import org.apache.log4j.Level
import org.apache.log4j.Logger

def log = Logger.getLogger("com.test.talk")
log.setLevel(Level.DEBUG)

@WithPlugin("com.stiltsoft.confluence.talk.confluence-talk-plugin")

def talkManager = ScriptRunnerImpl.getPluginComponent(com.stiltsoft.confluence.talk.manager.TalkManager)
talkManager ? log.info("Found: " + talkManager.toString()) : log.info("Not Found")
```


author: Andrey Khaneev _StiltSoft_
body: Try this one

```
@WithPlugin(com.stiltsoft.confluence.talk.confluence-talk-plugin)
@PluginModule 
TalkManger talkManager
```

comments: author: Nadav Dahan
body: I've tried this and it still is unable to resolve the TalkManager classs.


author: Andrey Khaneev _StiltSoft_
body: What error messages do you get?


author: Nadav Dahan
body: ![error_3.png](https://community.atlassian.com/t5/image/serverpage/image-id/3772i6DBDEAB1A3158A2A/image-size/large?v=v2&px=999 "error_3.png")


Tags: adaptavist

comment

scriptrunner
Errror message might be temporarily down or it may have moved permanently to a new web address.
Asked by Steve Boydon:

Hi

Applies to Confluence Server 6.1.2

I have been getting the below error and cannot fathom what has changed

The web page at **<https://xxxxx.xx.xx/admin/viewgeneralconfig.action>**might be temporarily down or it may have moved permanently to a new web address.  
ERR_CONTENT_DECODING_FAILED  
I can access all spaces but not the 'backends'  
I have rebooted server  
delete plugin caches  
rebooted again  
Tried another browser and PC to access from.  
Current tailend of log.  
2017-07-27 15:58:28,522 WARN \[ajp-nio-8009-exec-7\] \[confluence.impl.hibernate.ConfluenceHibernateTransactionManager\] doRollback Performing rollback. Transactions:  
-\>\[null\]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #179922504)  
-- referer: <https://confluence.help2.co.uk/display/DEV/Chiran+Decision+Template> \| url: /pages/templates2/listpagetemplates.action \| traceId: 476ebf937b589628 \| userName: admin  
2017-07-27 15:58:28,524 ERROR \[ajp-nio-8009-exec-7\] \[ContainerBase.\[Standalone\].\[localhost\].\[/\]\] log Unhandled exception occurred whilst decorating page  
-- referer: <https://confluence.help2.co.uk/display/DEV/Chiran+Decision+Template> \| url: /pages/templates2/listpagetemplates.action \| traceId: 476ebf937b589628 \| userName: admin  
java.lang.RuntimeException: javax.servlet.ServletException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getConfluenceResourceTags' in class com.atlassian.confluence.setup.velocity.VelocityFriendlyPageBuilderService threw exception java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.upm.osgi.impl.Versions at /decorators/includes/header.vm\[line 88, column 24\]  
at com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator.render(BaseWebAppDecorator.java:37)  


Answers:
author: Steve Boydon
body: Hi Ann

I decided to reinstall Confluence and restore from the previous days backup. Everything is now fine.

It was probably a database entry errror somewhere.

Steve

comments: author: AnnWorley
body: Glad to hear all is well now, thanks for following up!


author: AnnWorley
body: The error you posted is similar to what is in this knowledgebase article, where the same symptom was reported: [Error 500 while trying to access some admin functions (NoClassDefFoundError com.atlassian.upm.osgi.impl.Versions)](https://confluence.atlassian.com/confkb/error-500-while-trying-to-access-some-admin-functions-noclassdeffounderror-com-atlassian-upm-osgi-impl-versions-867176931.html)

* Please check the log for entries related to the admin page URL where you are getting the error (admin/viewgeneralconfig.action). That will give us an idea what is happening when you go to the page.
* Please let me know what database management system you are running, for example PostgreSQL, MySQL, Oracle or MS SQL.
Missing AddOns after Server-Restart
Asked by Knut_Luebke:

Dear Support-Team,

there are some AddOns missing after we restarted our confluence-server. I already shutdown confluence, cleared the plugin-chaches and started confluence again... The missing AddOns are still away. ... How can I restore these AddOns?

I?m looking forward to get a solution for this problem.

Kind Regards

The first picture shows the availabe AddOns after the server-restart. The second picture shows the AddOns before the restart.

![addons after serverrestart.PNG](/t5/image/serverpage/image-id/3649i7AE07DC7BD321520/image-size/large?v=v2&px=999 "addons after serverrestart.PNG")![addons before serverrestart.PNG](/t5/image/serverpage/image-id/3650iEFF2559B05A3B19A/image-size/large?v=v2&px=999 "addons before serverrestart.PNG")


Answers:
author: Nic Brough -Adaptavist-
body: I suspect they went away because you cleared more than the caches.

That will not have affected your data though, and you should be able to go back to the "find new add-ons" to re-install the missing ones.

comments: author: Knut_Luebke
body: I?m sure that they dont went away, because i cleared more than the caches because i cleared the plugin caches after i mentioned that some addons are not available. My first idea was, that the caches are maybe corrupt and thats why some addons couldnt be loaded correct ... but i doesnt work.

Btw. i could replicate this behaviour in my virtual test-environment...

And the solution was, as u suggested, the re-install of the missed addons. All configurations and settings are still present after the re-install. I thought that they are lost, but they ar\`nt

thx :)
Macro browser wouldn't work after moving from cloud to server
Asked by Katya Godneva:

Hello everyone.

We've just moved from cloud to server, and , after that, macros browser stopped working, it renders the

![Screenshot_2.png](/t5/image/serverpage/image-id/3640i31166B5C06396A98/image-size/large?v=v2&px=999 "Screenshot_2.png")

I wonderm if that has to do our proxies...

I would be grateful for any advice!

WE use macros all the time, and it doesn't make sense to use conf without them.


Answers:
author: Nic Brough -Adaptavist-
body: It could be proxies or addressing.

Two debugging things to try first:

* Check the base url is correct, then go on to the server and use "sslpoke" to check that Confluence can resolve it's own url and connect to it.
* Check the logs at the time the macro error appears - what do they say?

comments: author: Katya Godneva
body: Hello, Nic.

Thanks for the advice. But it turned out in the end, I needed to turn off Gadget Plugins...


author: Nic Brough -Adaptavist-
body: Hmm. Ok, do you mean you had an add-on with a broken gadget that was stopping the others from appearing?


Tags: macro
How to define select option input parameter type in user macro creation?
Asked by Alana Fernando:

I need to define a select option input parameter in my user macro. how can i do this?

assume that i want below drop down list.

\<select\>  
\<option value="volvo"\>Volvo\</option\>  
\<option value="saab"\>Saab\</option\>  
\<option value="mercedes"\>Mercedes\</option\>  
\<option value="audi"\>Audi\</option\>  
\</select\>


Answers:
author: Alana Fernando
body: I found it by myself.

It is **enum type.**

for those who have the same issue, here is a example code for how to use enum type.

*## @param fontfamily:title=Font family\|type=enum\|desc=Choose font family. (some font families may not compatible with browsers)\|enumValues=Times New Roman,Arial,Courier New,Tahoma,Trebuchet MS,Open Sans*

*\<div style="font-family:$paramfontfamily;"\>$body\</div\>*


Tags: user-macro
How to change the Confluence system date?
Asked by Varsha Muzumdar:

The time shown by confluence server in system settings is ahead of my regional time zone. When I change this time-zone to my regional time under Settings-\>Users-\>ViewSettings anc change time zone to PST it still does not get updated in system settings. How can I change my system date and time-zone so that the uptime property in settings is 0?


Answers:
author: Boris Berenberg - Atlas Authority
body: If your host is in a different timezone than your main organization, you can change the JVM parameters to specify your organization's timezone as the default.

Example of this is:
> -Duser.timezone=Europe/Sofia

comments: author: Varsha Muzumdar
body: In which file should I be adding this parameter?


author: Boris Berenberg - Atlas Authority
body: <https://confluence.atlassian.com/adminjiraserver072/setting-properties-and-options-on-startup-828788225.html>


author: Nguyen Tran
body: When I change the timezone using this method, the editor stopped working. It shows "The editor is taking too long to load ... " message. Any idea why?


author: Shai Dahan
body: You probably have added the wrong line in setenv.sh file  
I also came across this issue with the error message

"This page is taking longer to load than usual. Give it a few moments, then try refreshing. {#toc-hId--556637547}
-----------------------------------------------------------------------------------------------------------------

when I've mistakenly added the bellow line in the file:

```
CATALINA_OPTS="-Duser.timezone=Europe/London"
```

instead of

```
CATALINA_OPTS="-Duser.timezone=Europe/London ${CATALINA_OPTS}"
```

I've tested this in our staging and production systems after correcting the line in the file and it works as expected.  
Hope it helps


author: Steven F Behnke
body: The system time is taken from the host, isn't it?

comments: author: Varsha Muzumdar
body: It did not ask me for it while setting up confluence


Tags: date
Can you configure sidebar page order in space blueprint?
Asked by Stephanie Blotner:

I created a space blueprint with a parent page and 5 child pages. When I create a space with the space blueprint in Confluence, the child pages appear in the left sidebar in alphabetical order.

I want the child pages to appear in the sidebar in the order I defined the \<content-template\>s in the \<space-blueprint\>. Is there a way to configure this in the atlassian-plugin.xml file?


Answers:
author: Michael Sann
body: Did you find a solution? Currently I'm trying to prepend numbers and automatically delete them after the space creation.


Tags: page

side-bar

sort

space-blueprint
If I restore a space via Restore a backup from the Confluence Home Directory will it overwrite?
Asked by Alex More:

I am restoring a few larger spaces via **Restore a backup from the Confluence Home Directory.**In doing so will it overwrite the existing content that is already live?


Answers:
author: Boris Berenberg - Atlas Authority
body: From: <https://confluence.atlassian.com/doc/restoring-a-space-152036.html>

> Does a space with the same space key already exist?  
> Space keys are unique, so if you already have a space with the same key, you'll need to delete the existing space before importing the new one.
Upgrading Confluence 5.5 Recommendations
Asked by mfarrell:

We need to upgrade Confluence 5.5 to the latest stable version of Confluence. We are looking for suggestions on the best way to do this. Should we just:

1. Stop Confluence  
2. Take a backup of the database  
3. Download the Confluence 6 executable  
4. Run the upgrade  
5. Restart Confluence

What about plugins? What other gotcha's should we be watching out for?

Thanks,

Mike Farrell


Answers:
author: Thomas Buchhorn
body: As Boris said, always do a test upgrade on a staging server.

You can check if compatible upgrades to your plugins are available for the new confluence version in the add-on manager.

Check if you need to buy a licence. Sometimes plugins change from a free version to a non-free version.

Check your system environment: Do you need java upgrades, database upgrades, etc? Check the End of support announcements / upgrade guides of each confluence version you skip.

The configuration of the connector parameters might have changed. Check if the parameters are still valid.


author: Boris Berenberg - Atlas Authority
body: Test it in staging. You can even do it on your computer. Doing this live in prod without testing is a huge risk.


Tags: upgrade
If anyone checks a task list item as complete, does that update for everyone?
Asked by Hannah Dublinski:

Hi everyone! So I know you can add a task list to a page you are editing. My question is if I add the task list and someone goes on the page and checks an item as complete, will everyone else who comes to the page after that be able to see that task as complete?

I really want to just have a blank checklist at all times because I want the task list to merely be used as a sort of worksheet guideline for those who need it.

Thanks!


Answers:
author: Boris Berenberg - Atlas Authority
body: Yes it checks it for everyone.