youngmon/atlassian-qna huggingface dataset:
Confluence 3.3 installation with an available MS SQL DB.
Asked by Rony Cohen:

Hello the community !

Do you have any recommendation to get an old version of CONFLUENCE v3.3

and connect it to an available MS SQL SERVER DB ?

We had the bad luck to crash the application layer and now I'm struggling without any documentations of 3 projects.

I tried to install the Confluence v3.3 Evaluation but I didn't find any way to make it work on my windows 10 envt.

I tried also to install a Docker Linux version of a 3.4 version which is integrated with a PostgreSql Server but I didn't find where to reconfigure the connexion to my MS SQL DB......

I'm looking for advices of good souls to help me to recover my datas.

Do you have any recommandation ?

Best regards,

Rony Cohen


Answers:
author: Rony Cohen
body: Hello !

Thank you very much for your answers ! Concerning the DB it's not MySQL but Microsoft SQL Server.

Thank you for your link, I'm on it.

Concerning the version of JAVA I red that the last version runs older java programs without any problems.

Best Regards,

Rony COHEN

comments: author: Nic Brough -Adaptavist-
body: Ah, Atlassian applications generally do not like older versions of Java. You need to go via "bridge" versions usually, ones that supports the old version of Java and the later one.


author: Rony Cohen
body: OK thank you.

How to get the WINDOWS bridge one in the <https://www.atlassian.com/software/confluence/download-archives> ?

I'm looking for a 3.3 version (3.3.1 would work as well I guess).

Regards,

Rony COHEN


author: Nic Brough -Adaptavist-
body: The windows evaluation servers will work - they're still a full install of Confluence, they've just not had any optimisation done for production use (not that the other versions have either)


author: Rony Cohen
body: OK thank you very much !!

I'll follow the installation process and will try to connect the Current MS Sql DB to it.


author: Hermance NDounga
body: Hi Rony,

I've never tried it, so I don't know how to do it in practice, however, I found back the [documentation for Confluence 3.3](https://confluence.atlassian.com/display/CONF33/System+Requirements). As you can see, there are specific versions of MySQL that are supported, and I think if your matching all those requirements, you'd be good

comments: author: Nic Brough -Adaptavist-
body: A requirement to check carefully is the version of Java - I'm not sure the old version you need to run Confluence 3.3 is going to work on Windows 10 (and even if it does, you should only use it to perform an upgrade as both Java and Confluence are totally insecure and should not be used)


author: Rony Cohen
body: OK thank you.

Yes the purpose is to get the specifications and migrate to last version of Confluence.


Tags: database
Migration of MoinMoin Wiki to Confluence 6.5
Asked by Marc Demhartner:

Hello,

we want to migrate/import MoinMoin Wiki to Confluence 6.5.

We found this page :  
<https://migrations.atlassian.net/wiki/spaces/UWC/pages/1015848/UWC+MoinMoin+Notes>

and the page for the MoinMoinExporter (java):  
[https://searchcode.com/codesearch/view/45809340/#](https://searchcode.com/codesearch/view/45809340/#?)

But we are stuck on this point. Can you help us please? Thx

This is our MoinMoin Wiki:  
<https://moinmo.in/>

*Best Regards.*


Answers:
author: sarel botha
body: We also needed to migrate from a MoinMoin wiki so I cobbled together a script to handle this. You can find it here: <https://github.com/sjbotha/moin2confluence/tree/master>


author: Hermance NDounga
body: Hi Marc

So as you know, it's not possible to import any other content than the ones described in [this documentation](https://confluence.atlassian.com/doc/import-content-into-confluence-191141.html). There is no available add-ons either, but there is the [Confluence API](https://developer.atlassian.com/confdev/confluence-server-rest-api) that you could use to build your own add-on; it requires some development.

Regarding UWC, it's actually not supported anymore. I will give you the workaround I found to make it work, but as I said, it's not supported so Atlassian cannot help with this, I just tried to figure out a solution.  
UWC only works with previous versions than the current one. The workaround/advice I can give you regarding UWC would be to download a previous version of Confluence [here](https://www.atlassian.com/software/confluence/download-archives?_ga=2.217586133.2112339977.1497807461-193825289.1497446998), most likely less than 4.3.7 as written on [this archive](https://confluence.atlassian.com/doc/importing-content-from-another-wiki-690847783.html).

Then, you can implement the [UWC](https://migrations.atlassian.net/wiki/display/UWC/Universal+Wiki+Converter) and migrate from MoinMoin to Confluence.  
Once it's done, you will be able to upgrade your instance, export in XML and [import](https://confluence.atlassian.com/doc/import-content-into-confluence-191141.html) in your current Confluence instance.

Finally, I don't have an extended knowledge in moinmoin, so I don't know what are the type of export you can make from it, but on Confluence cloud, there is a [Confluence universal importer](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.pandocconnect/cloud/overview) that can be used to import various format in Confluence Cloud. then importing this content in Confluence server is very easy.

Please let me know if it helped !

Hermance


Tags: export

import

migration

universal-wiki-converter
How do I delte a new cloud Confluence user?
Asked by Garret Olin:

I just created a new user but entered a slightly incorrect email address. I would like to delete him before recreating. He has no content. I can't seem to see how to do this. Thank you.


Answers:
author: Hermance NDounga
body: Hi Garret ! Have you tried this [documentation](https://confluence.atlassian.com/cloud/invite-edit-and-remove-users-744721624.html#Invite,edit,andremoveusers-Deactivateordeleteusers) ? if yes and it's still not working, what's the missing part in the doc or the error you get ?

comments: author: Garret Olin
body: Yes this worked. In the upper right hand corner where it said "Deactivate' I didn't notice the Vdown arrow that allowed me to expose the 'Delete' selection. It worked. Thank you.


Tags: user-management
How to create Jira-Issues automated from a template in Confluence?
Asked by Tilmann Vogel:

Hello,

we have a template which has to be used for the creation of new UserStories in Confluence. This template is currently realised by a Blueprint for new "Product Requirements" in Confluence.

Our goal is to create automated Jira-Tasks when you enter new UserStory in Confluence.

Is that possible? Any suggestions?

Would be awesome:) Thank you in advance.

tillev


Answers:
author: Pascal Beaudry
body: Hi Tilmann, we already implement this feature in a plugin.  

Because the plugin have some limitation (actually, only Summary Field is mandatory), it's not already available on the marketplace.  

Contact us at: <http://support.nuumsolutions.com>  
Say its for the "Confluence Issue Creator" and ask to be refer to Pascal.  
Also, explain what is your needs and how you plan to use it.  

I will see if it could help you.  


author: EPS Software Engineering AG
body: Hi Tillev,

With the Page Tree Creator app you can create a Confluence page and a Jira ticket at the same time.  

May be that could be a solution for your problem.

**I am really sorry. We wanted to implement this. But it is not done yet!**

Regards,  
Stephan (Page Tree Creator App Vendor)


Tags: jira
Open the link of an image in a new tab
Asked by Michael Regelin:

Hello,

I have read the post about opening external link in a new tab by following this [howto](https://confluence.atlassian.com/confkb/how-to-force-links-to-open-in-a-new-window-213518072.html). This works really nicely.

How about opening the link of an image only in a new tab. What will be the code ?

Thanks for any help.

Michael


Answers:
author: Shannon S
body: Hi Michael,

Unfortunately I'm not familiar with javascripting but it appears that [the free add-on](https://marketplace.atlassian.com/plugins/ch.bitvoodoo.confluence.plugins.externallinks/server/overview?_ga=2.230295900.1523230100.1512378984-1429028762.1511781728) mentioned in the article can be applied to certain attachments.

I would recommend giving that a try and see if it helps you accomplish what you need.

Regards,

Shannon


Tags: new-window
Creating copy of a page/pages in another site
Asked by Mohammed Iqbal:

I am using two sites for maintaining document repositories of my product, let's call them Internal and External. The Internal site is for developers and QAs, the External site is for customers. Each page that is created on the Internal site has the same page for External site. A typical page has content, screenshots and file attachments. I want to know if it is possible to move these to the External site automatically/with minimal manual interference.

A simple copy paste operation is possible for the content but the screenshots/file attachments have to be uploaded separately on the External site again. There is also a problem in using macros like Code Block, copy-pasting them into the External site doesn't work, they have to be reinserted.

Any workarounds/resolutions for this?


Answers:
author: Hermance NDounga
body: Hey Mohammed

I'm actually unclear if your two sites are two Spaces of the same instance or two space of two different instance. If they are under the same instance, you can simply copy the page, and move the copy in another space.

If it's two different instance, there is no real option to do that out-of-the-box. Apparently there is an add-on [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP) which has a [copyPage](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-copyPage) action and you can use the [targetServer](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-targetServer) parameter. I fond this on this question : <https://community.atlassian.com/t5/Confluence-questions/How-to-copy-pages-from-one-confluence-to-another/qaq-p/251783>

comments: author: Mohammed Iqbal
body: They are two separate instances. Thanks, will try this CLI out.


Tags: copy

page
How long does Confluence keep XML space exports in temp folder?
Asked by Pavel Boev:

Hello,

I am about to migrate one Confluence site to another by exporting all the spaces one by one and importing them on the new site.

I will use Full XML export.

I noticed that the export zip file is created under \<confluence-home\>/temp folder.

Does anyone know for how long the files are kept in this folder?

I was thinking about exporting several spaces in a row from the UI and then copy all of the exported files from temp directory to the restore directory of the target server with scp.

I am hoping to save some clicks and reduce the waiting time in this way, as I will be doing the migration on Saturday, and let's face it, nobody wants to work on Saturday.

Do you also know if spaces can be exported in parallel?

If I open several browser tabs and initiate export of different spaces from each of them, is it going to work?


Answers:
author: AnnWorley
body: The XML file will stay in the temp folder indefinitely. You may back them up to make sure you have them when you start importing them on the destination instance.

I do not recommend running several space exports at the same time as you are likely to run into out of memory errors.

Please let me know more about what you are seeking to accomplish. Is it a case of needing to consolidate two instances, retaining spaces from each? If so, the space by space imports make sense.

The versions of the two instances are also a consideration. The source Confluence instance must not be a higher version than the destination. Please see: [Restoring a Space](https://confluence.atlassian.com/doc/restoring-a-space-152036.html) for details.

If you want to upgrade by importing the spaces into a later version, please see: [Restoring a Site](https://confluence.atlassian.com/doc/restoring-a-site-152034.html)
> XML export files should not be used to upgrade Confluence. Upgrade Confluence by following [Upgrading Confluence](https://confluence.atlassian.com/doc/upgrading-confluence-4578.html).


Tags: export
Cannot create a uri link in wiki to start an im sip chat session
Asked by Steve Blomley:

Were running Confluence 5.6.5 and I'm trying to embed a link into a blank wiki page to start an im chat.

When embedded in a standard html5 page all that is required is:

\<a href="im:\<sip:tom@tge.eu\>\<sip:dick@tge@the.eu\>"\>start team chat\</a\>

And the browser happily launches the client as expected.

I cannot successfully place the href destination into a confluence wiki page.

Thanks


Answers:
author: Shannon S
body: Hi Steve,

I enabled the [HTML Macro](https://confluence.atlassian.com/doc/html-macro-38273085.html) on my instance and am inserting a URI (Skype, to be specific), and I was able to get it to open in Skype. Perhaps this would work for you?

I wasn't familiar with the im: URI so I couldn't test that one specifically, as I'm not sure which app I would need to have in order for it to work.

I wanted to let you know also you may want to consider upgrading your Confluence instance to at least 5.10.\*, since 5.6.5 reached End of Life in 2016. Anything we suggest you here may not have worked in earlier iterations of Confluence.

Kind regards,

Shannon


author: GMK
body: Steve confirmed that provided solution with HTML macro works fine.

How the future reference, please be aware of possible security risks related to HTML macro:

The HTML macro will only be available if it has been enabled by an administrator. **Enabling these macros can make your Confluence site** **vulnerable** **to** **[cross-site scripting attacks](https://en.wikipedia.org/wiki/Cross-site_scripting)**.


Tags: link

wiki
Error with database
Asked by NicoDeluxe:

Hi want to set up confluence new, but i get following install error during database setup

Your database must use 'READ-COMMITTED' as the default isolation level. [Learn more](http://confluence.atlassian.com/x/GAtmDg)

i added

\<property name="hibernate.dialect"\>com.atlassian.confluence.impl.hibernate.dialect.MySQLDialect\</property\>

to the confluence.cfg.xml and restared but the error stay.

Please help me


Answers:
author: Nic Brough -Adaptavist-
body: Duplicate of <https://community.atlassian.com/t5/Confluence-questions/Error-with-database/qaq-p/681730>
Confluence?????JIRA??/????????????????????
Asked by ?? ??:

Confluence?????????JIRA??/??????????  
??????????????????????  
????????????????????

????????????  
??????????????????????????????????

?????????????????????????????  

?????  
??????????  
??????????????????????????????  
????????????????

??????????????????????????????  
???????????????????????????????

???

* Confluence?Server 6.31
* JIRA?Server 7.4.1


Answers:
author: OHSAKI Kengo [Ricksoft]
body: ??...??????????????

[CONFSERVER-51568 JIRA issues Macro instead of Epic Name showing Epic Link column](https://jira.atlassian.com/browse/CONFSERVER-51568 "CONFSERVER-51568 JIRA issues Macro instead of Epic Name showing Epic Link column")

???????? Confluence Version 6.5.0 ??????????????

Confluence Version 6.5.0 ???????????????????????????

?????????????? ?Confluence?Server 6.3.1?????????????...

?????????????????????????????????????????

Confluence Server?????????????????????????????????

<https://ja.confluence.atlassian.com/doc/upgrading-confluence-4578.html>

comments: author: ?? ??
body: Ohsaki?

??????????????????????  
?????????????????


author: OHSAKI Kengo [Ricksoft]
body: [@?? ??](/t5/user/viewprofilepage/user-id/824330)-san,

??????????????

???????????????????????...?


author: ?? ??
body: Ohsaki?

??????????????????????????????????

???????????????


author: OHSAKI Kengo [Ricksoft]
body: [@?? ??](/t5/user/viewprofilepage/user-id/824330)-san,,

??????????????

??????????????????????????

???????2????????????..???????????


author: OHSAKI Kengo [Ricksoft]
body: ??...??????????????

[CONFSERVER-51568 JIRA issues Macro instead of Epic Name showing Epic Link column](https://jira.atlassian.com/browse/CONFSERVER-51568 "CONFSERVER-51568 JIRA issues Macro instead of Epic Name showing Epic Link column")

Confluence Version 6.5.0 ????????????

???? Confluence ? 6.5.0 ??????????????????????


Tags: language-ja
Combined Confluence with Nginx Ldap Auth, Authentication window pops up multiple times
Asked by Raphael:

Hi, all.

For some security reason, I combined the Confluence with Nginx LDAP Auth(the nginx module link: <https://github.com/kvspb/nginx-auth-ldap> )

And I'm using Nginx as a reverse proxy server, At the first time, it seems ok, When i type the Confluence URL in the browser, the browser pop up a window and let me type in my AD username and password. And then the page will turn to the home page automaticly... but I want it shows the Confluence login page.

I think browser passed the username/password automaticly to the Confluence authentication api?So I add the following in my nginx config:

**proxy_set_header Authorization "";**

it will drop the authorization info when LDAP auth succeed. then the page turned to Confluence login page successfully.

but some new issues occur again... after i added this, the authentication window pops up three or four times..

does anyone have some solutions?

thanks.


Answers:
author: Roland Pons
body: Hello Raphael,

may you describe more in detail how you configured nginx?

Thanks in advance,

Roland

.


Tags: authentication

ldap

nginx

proxy
Macros - Is it possible to edit the Macros' list?
Asked by Mohammed Iqbal:

The macros I most-often use are not displayed in the primary drop-down menu, each time I have to use them I have to go for the "Other macros" option and then search for the macro I need. Is it possible to edit the Macro menu to show me the macros I need? Is it also possible to show the most recently used macros in this list?


Answers:
author: Brant Schroeder
body: [@Mohammed Iqbal](/t5/user/viewprofilepage/user-id/1167909)

No way to currently adjust which macros are shown or hidden.


Tags: macro
Is there a way/plugin to list down broken links or attachments of confluence recursively?
Asked by jayadev devagiri:

There are many broken links and attachments in our confluence. Is there any plugin/way to list down all the broken links and attachments recursively?


Answers:
author: Vero Rivas
body: Hi [@jayadev devagiri](/t5/user/viewprofilepage/user-id/1167648)

Look at this addon, maybe can help you

[https://marketplace.atlassian.com/apps/1223326/broken-links-for-confluence?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/1223326/broken-links-for-confluence?tab=overview&hosting=cloud)

Cheers
Confluence installation failed
Asked by Domanin Vladimir Sergeevich:

Friends, please, explain possible reasons and ways of solving the problem

<http://192.168.0.3:8090/bootstrap/selectsetupstep.action>

During the installation I received the following

HTTP Status 500 - com.atlassian.spring.container.ComponentNotFoundException: Failed to find component: Error creating bean with name 'i18NBean' defined in class path resource \[i18NContext.xml\]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate \[com.atlassian.confluence.util.i18n.I18NBean\]: Factory method 'getI18NBean' threw exception; nested exception is java.util.concurrent.CompletionException: org.springframework.dao.InvalidDataAccessResourceUsageException: could not extract ResultSet; SQL \[n/a\]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet

Note! the database is located on another computer on the local network


Answers:
author: Nic Brough -Adaptavist-
body: "could not extract ResultSet" is only the top level of the error - could you read further down the error to the explanation of why? A connection error with the database or a SQL error are likely to be the root cause.
Script Runner Http Post to splunk
Asked by Rowan Matulis:

Hi All,

I am following this article on version 5.8.10 of Confluence and also version 6.2 but am not able to get it working. I keep getting errors.

<http://www.mos-eisley.dk/display/ATLASSIAN/Logging+PageEvents+to+Splunk>

Current errors are below:

post2splunk.groovy

* Script38.groovy:44 \[Static type checking\] - Cannot find matching method java.net.URLConnection#setRequestMethod(java.lang.String). Please check if the declared type is right and if the method exists. @ line 44, column 1.
* Script38.groovy:71 \[Static type checking\] - Cannot find matching method java.net.URLConnection#getResponseCode(). Please check if the declared type is right and if the method exists. @ line 71, column 15.
* Script38.groovy:72 \[Static type checking\] - Cannot find matching method java.net.URLConnection#getResponseMessage(). Please check if the declared type is right and if the method exists. @ line 72, column 16.


Answers:
author: Normann P_ Nielsen _Netic_
body: Hi,

The post should happend anyway (?) Its my script and all places in JIRA i get the:

* Script1231.groovy:85 \[Static type checking\] - Cannot find matching method java.net.URLConnection#setRequestMethod(java.lang.String). Please check if the declared type is right and if the method exists. @ line 85, column 7.
* Script1231.groovy:97 \[Static type checking\] - Cannot find matching method java.net.URLConnection#getResponseCode(). Please check if the declared type is right and if the method exists. @ line 97, column 126.
* Script1231.groovy:97 \[Static type checking\] - Cannot find matching method java.net.URLConnection#getResponseMessage(). Please check if the declared type is right and if the method exists. @ line 97, column 179.
* Script1231.groovy:101 \[Static type checking\] - Cannot find matching method java.net.URLConnection#getResponseCode(). Please check if the declared type is right and if the method exists. @ line 101, column 15.
* Script1231.groovy:106 \[Static type checking\] - Cannot find matching method java.net.URLConnection#getResponseCode(). Please check if the declared type is right and if the method exists. @ line 106, column 128.
* Script1231.groovy:106 \[Static type checking\] - Cannot find matching method java.net.URLConnection#getResponseMessage(). Please check if the declared type is right and if the method exists. @ line 106, column 181.
* Script1231.groovy:110

But thing do work fine anyway


Tags: scriptrunner
Can I use a script to create a server status page on Confluence?
Asked by Cameron_Rosier:

We have a ton of different servers and services to keep track of and each of which has it's own status page.

I have a script that spits out the status of each page and I was wondering if it's possible to write a script on a confluence page that will work as a 'status page'.

I've seen Bob Swifts Script plugin but I'm not too sure if this is capable of this.

Does anyone have any experience with this?

Thanks.


Answers:
author: Vero Rivas
body: Hi [@Cameron_Rosier](/t5/user/viewprofilepage/user-id/1167870)

Look at this posts, maybe can help you

<https://support.atlassian.com/statuspage/docs/create-and-configure-the-recommended-status-embed/>

<https://support.atlassian.com/statuspage/docs/what-is-status-embed/>

<https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Script-runner-post-function-to-create-confluence-page-FROM/qaq-p/842469>

Cheers