youngmon/atlassian-qna huggingface dataset:
Jira and Confluence server on the same https port 8443?
Asked by Olle Wessel:

Hi, I am looking at installing Jira and Confluence on the same server, and to install the applications with https. However in the documentation it says that both applications have 8443 as the default https port. Is this possible when both applications run on the same server?


Answers:
author: Alexey Matveev
body: Hello,

It is possible to configure Jira and Confluence on the same server but you have to provide different ports for Jira and Confluence. You can make these changes in server.xml file.

<https://confluence.atlassian.com/doc/change-listen-port-for-confluence-165823.html>


author: Moses Thomas
body: [@Olle Wessel](/t5/user/viewprofilepage/user-id/1094117)Yes you can run application on same server. At first once you have installed Jira/confluence it will run via HTTP at some port, then you will need to use (nginx or apache) reverse proxy to run both instance via HTTPs.

Best!


author: PJ Wysota
body: Hi there... First of all I would avoid if possible to have both on the same machine... There is a variety of reasons (multiple tomcats, apps availability, JVM resource consumption, etc.) to have JIRA and Confluence separated, and of course You CAN have them on the same server, but if possible - healthier would be separate machines... even smaller instances with weaker architecture, but still - separate...  

Still with one server - https will be a challenge if possible at all. You would need to redirect one of apps traffic via ssl to different port. But then it is about Apache - if it will serve 2 diff ports for SSL? (And I not enough experienced with Apache to answer that) plus manually create whole routing configuration and apply to both JIRA and Confluence.

comments: author: Olle Wessel
body: Unfortunately I have to keep both applications on the same server. And we are also planning to put Bitbucket on the same server.

So the short way forward is, configure Apache to reverse proxy for all three applications on https, and then update the server.xml file in the three applications?

And just to be clear, one Apache instance on the server will handle all three applications?


author: Nic Brough -Adaptavist-
body: Make sure you have a server capable of supporting all three at the same time - you do need something quite powerful for all but the smallest of installs of the stack.

Yes, your way to configure them there is correct, and the Apache can handle all three easily (I'm looking at an Apache handling around 40 applications right now, including the Atlassian ones)


author: Olle Wessel
body: Thank you, yes we will have to monitor the server. Just waiting for the server to arrive now :-)


Tags: confluence-server

https

jira

jira-server

server

ssl
How can we have 2 pages with the same name but different parents?
Asked by Miriam Mart?nez:

Hello,

I am trying to migrate from "local folders" to Jira and Confluence, maintaining the same structure of the information in order to make things easier for my colleagues. Nevertheless, for that I need to reproduce the same structure of files under different fathers, and Confluence doesn't allow me to do that.

I would like to have something such as:

Customer1: Requirements - Development - Final

Customer2: Requirements - Development - Final

...

But Confluence doesn't allow me to craate 2 pages with the same name.

What do you propose me to do?

Thank you


Answers:
author: Suren Raj
body: Hi Miriam.

The "solution" is to create individual spaces for the customers. This allows you to name the pages identically. This does work well for large projects, where using two different spaces improves navigation in general.

We found another user who claims to use a dirty way to have a page with the same name on a space. You may refer to the following URL and go to the last comment:

* <https://community.atlassian.com/t5/Confluence-questions/Handling-duplicate-page-names/qaq-p/374995>

Hope it helps. Let us know if you have further question.  

Cheers  
Suren Raj


author: Jonathan Smith
body: @Miriam Martinez

If creating spaces for each project is out of the question, your only other easy option is to put the customer name in front of each page title.

*I can feel all the frowns across the community...*

**Box company Requirements --- Box company Development --- Box company Final**

**Software company Requirements --- Software company Development --- Software company Final**
Confluence unable to restore from builtin backup
Asked by F?bio Cabrita:

Hello,

I am trying to restore all my data from a backup that I have made from Confluence builtin tool but I am allways getting this error, and seems like after day 6 of this month after another restore that I have done, my backups seems compromised.

This is the error that I am getting:

![Screenshot_8.jpg](/t5/image/serverpage/image-id/24877iDA00D3D20AAA9E4F/image-size/large?v=v2&px=999 "Screenshot_8.jpg")

Help! ='(


Answers:
author: F?bio Cabrita
body: After trying other backups after day 6 I discover another backup in good conditions, from day 14, and I was able to recover, but still I cannot relay on this system, there was no changes in Confluence setup in those days where I was unable to recovery.

So, do you know what can be doing this?
How do I redirect to an existing single page application (SPA)
Asked by Fabian Schwarzkopf:

I have a bundled single page application (SPA), that is build with Vue.js, and is working as is when served from a server. Now I want to create a confluence add-on that redirects to my SPA upon certain interaction.

What is the general setup for this? I found that [jirban-jira](https://github.com/jirban/jirban-jira) is doing something similar, though it is an angular application and the setup is still unclear to me.

I've got it to the point, where my servlet renders a vm template that itself redirects to the download resources where I've placed the SPA and its index.html file. So the redirect part seems to be working. In fact, it is currently set up as the [index.vm of the jirban-jira](https://github.com/jirban/jirban-jira/blob/master/src/main/resources/webapp/index.vm) project.

Now the main problem seems to be that serving the SPA as a static download resource of the plugin does not work. Although the index.html is opened, all the relative paths within the SPA are not resolved correctly.

I assume that I need to serve the SPA differently, i.e. not as a download resource of my plugin. How do I do this and what is the URL under which it will be accessible then? Is there any public example of how to achieve this?

Or do I need to go down a totally different road, e.g. by using an i-frame somehow?


Answers:
author: Fabian Schwarzkopf
body: Nevermind, I got it working now. The problem was that the bundled index.html used references without './' prefix, e.g.

src=/static/.... instead of src=./static/....

replacing them seems to do the trick.


Tags: confluence-server

server
Can I provide access to my group only for people outside the organization?
Asked by Grigorios Chatzigiannakos:

Hi, I would like to provide access to people outside the organization for my new blog/page

However I dont want them to have access to other pages that concern my organization only

Is there a way to limit their access to my page only once they are in?

Thank you!


Answers:
author: Grigory Salnikov
body: Yes, this should be done the following way:

1. provide anonymous access in global permission

2. provide anonymous access to the space you want while making sure there's no such access in other spaces

comments: author: Grigory Salnikov
body: Yes, forgot to mention. This could be done on Space level so you'd want to consider creating a dedicated space for such an access.


author: Grigory Salnikov
body: [This article](https://confluence.atlassian.com/doc/setting-up-public-access-156.html) might be helpful.


author: Grigorios Chatzigiannakos
body: Thank you very much Greg!

Appreciate it


author: Grigory Salnikov
body: Glad to be helpful.

Please, let me know when you manage to accomplish this task or if there are any difficulties.

Also, you may want to mark the answer as accepted so that other people who encounter the same issue would find it easily.
Making your CQL Field available more then once
Asked by lukas:

Most of the CQL-Fields can only be chosen once and you won't be able to select two filters of the same field-type.

The label field is an exception, you can choose as many of those as you want.  

Is it possible to make your own CQL-Field being chosen more than once too?

Greets,  
Lukas


Answers:
author: Moses Thomas
body: [@lukas](/t5/user/viewprofilepage/user-id/1424543)Could you give a sample query using label , that allows you to choose as many as you want ?

comments: author: lukas
body: ![LabelFilters.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/24889iE69F05D13CAB3596/image-size/large?v=v2&px=999 "LabelFilters.PNG")

In the picture you can see that I added two label filters.   
I couldn't find anything in the documentation or source code which allows my customized field to be chosen twice too.   


author: Moses Thomas
body: [@lukas](/t5/user/viewprofilepage/user-id/1424543)Because only label has this feature, this will be done by development. but there is whole stack of documentation on CQL field module and more!

[https://developer.atlassian.com/server/confluence/cql-field-module/](https://developer.atlassian.com/server/confluence/cql-field-module/?)

Best!.


author: lukas
body: [@Moses Thomas](/t5/user/viewprofilepage/user-id/1138700)

Hi Moses,   
Thanky you for the answer.   
I used this and other documentation for my field and included ui-support too.

But for now the user has to type the query with \&\& and i think it would be much easier if he could just put two filters.   

As of now i couldn't find a hint on how to enable this either in the documentation or the confluence source code.   

Also in the ui-support, by pressing white space it automatically creates a second query in the field input, which then doesnt behave as one long string.   

Greets,  
Lukas


Tags: developer
????????????????
Asked by PP:

1.????\>????\>??\>xml

2.xml?????confluence??

???????:

1.balabala..

2..

3..

4..

???????:

1.

2.

---

3,4 ???

???????,????


Answers:
author: Ollie Guan
body: Hi [@PP](/t5/user/viewprofilepage/user-id/1528510),

Please use the screenshot to reflect the difference between the old space and the new one  

In addition, please check whether the versions of Confluence are different in the two places. Are the installed plug-ins consistent?

Whether it is caused by a particular macro?
How can I give acces to external users to only a couple of pages
Asked by RoW:

We want external users to see only ++some of our pages++ in our space. We don't want to have to create a new space just fo them, and have the information scattered or double.


Answers:
author: Ollie Guan
body: Hi [@RoW](/t5/user/viewprofilepage/user-id/1460569),

You can configure it by following steps:  

1. Group this part of external users into a special user group, not the default Confluence user group  

2. Allow special user groups to access the specified page

comments: author: Pavel Potcheptsov
body: Above won't work.

First you have to grant for that user or group Page View permission is Space settings.

If you just add user/group to Page Viewing and editing Restriction it won't give access.

The only way to give access to specified page for customer/external user it's 1) create account for customer and remove it from any group 2) grant him View permission in Space settings 3) restrict all pages in space except pages that should be visible for customer 4) in case of many local users working with this space you might need to create group for them and restrict all pages for this group.


author: RoW
body: Our company has many local users and just a few external ones. The number of pages is growing rapidly by various people. It seems very elaborate to block access to say 80 percent of the pages, just to leave some 20 percent accessible to a couple of others.  
I still hope there is another way.


author: Pavel Potcheptsov
body: You can even raise support ticket for that.

But the result will be the same: you have to stick with Confluence security model which isn't suitable for such case.


Tags: cloud

confluence-cloud
Add or remove users from a Confluence group
Asked by Tara Cetinski:

I need to add or remove users from a confluence group. However I cant find the Cog icon or the Configure users button to do so.

Can some assist me with this matter?


Answers:
author: Ollie Guan
body: Which version of Confluence do you use? Server or cloud?

comments: author: Tara Cetinski
body: I think Cloud.


author: Tara Cetinski
body: Could the issue be that I don't have the right permissions to see who the members of the group are?


author: Ollie Guan
body: <https://confluence.atlassian.com/confcloud/confluence-groups-724765433.html>


author: Tara Cetinski
body: Thank you Ollie, this somewhat helps however, I still cant view which members are in each of the groups. Do you know how I can view this?


Tags: user-management
CVE-2017-9506, Is there a fix/patch available for Confluence?
Asked by Kenton Andersen:

Self-hosted, starter edition. Confluence Version 5.9.4. Build Number 6211.

The plugins/servlet/upm/manage/system page shows several OAuth plugins at version 2.0.2. There is no setting to apply patches/updates to these add-ons.

Bug report at <https://ecosystem.atlassian.net/browse/OAUTH-344>


Answers:
author: Kenton Andersen
body: I found the patch.

[https://jira.atlassian.com/browse/CONFSERVER-53362?focusedCommentId=1726500\&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1726500](https://jira.atlassian.com/browse/CONFSERVER-53362?focusedCommentId=1726500&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1726500 "I found the patch")


Tags: confluence-server

server
import 23GB XML (space) into confluence data center 5.10.2
Asked by Parthiban Narayanasamy:

Hi There,

we have a largest space export around 23GB, could you please advise how to import into confluence data centre (5.10.2).

is that possible to import this huge space? any other suggestion please?


Answers:
author: Neha Lokhande
body: Hi Parthiban,

<br />

To import a space, navigate to the "cog" icon \> General Configuration \> Backup and Restore.

Since your file is too large to upload, instead of using the "Upload and Restore" option, the recommended way would be to use the "restore from the Confluence Home directory" option. Drop your exported XML file into \<confluence-home\>/restore directory, and import it from there. The former method has chances of your browser timing out before the import could complete.

Also, due to the file size, the import process could be memory intensive. You may need to temporarily increase the memory available for your Confluence instance if you face out-of-memory errors or if the import keeps timing out. You can refer this article for increasing memory -- [How to fix out-of-memory errors by increasing available memory](https://confluence.atlassian.com/confkb/how-to-fix-out-of-memory-errors-by-increasing-available-memory-154071.html)

For your reference: [Restoring a Space](https://confluence.atlassian.com/conf510/restoring-a-space-829078090.html)

Let us know if you have any questions!

Thanks,

Neha

comments: author: Parthiban Narayanasamy
body: thanks Neha. will try the above option.


author: Sara
body: Hi,

How did this go? Did you export your 23 GB file via UI backup and restore -\> back up options? Does that include attachments?


author: Zwe Ko Ko Zwe Ko Ko

Tags: confluence-server

data-center

server
Can you prevent users from using the Confluence Mobile App?
Asked by Rich Lewis:

We are finding some unpleasant issues with using the Mobile App versus the online version. We are using Confluence Cloud as a knowledge-base, not a collaboration tool, and it appears that drafts for pages/articles are visible in the mobile app, but not online. I was not able to find any settings regarding drafts and visibility, so the stakeholders asked if we could just remove Mobile capabilities altogether.

Please advise


Answers:
author: Suren Raj
body: Hi, Rich.  

I'm afraid we won't be able to disable the mobile app. Unfortunately, the plugin management can be done by only a System Administrator and which is available in Server only. According to our [Restricted Function In Cloud](https://confluence.atlassian.com/confcloud/restricted-functions-in-confluence-cloud-734070955.html) we won't be able to disable the system plugin anymore.

Kind Regard  
Suren Raj


Tags: cloud

confluence-cloud
Is there any way to make my own Autocomplete shortcut ?
Asked by Lee Myung Hee [KIC Consulting]:

Hi,,

I want to make my own autocomplete shortcut like @ , \[ so on.

Is there any pluggable module for auto-complete short-cut ?

I really want to know this.

Thanks advance....


Answers:
author: Jason B
body: Hello!

If you mean the Shortcut Links, then yes that is built in to Confluence. You can find some documentation for it here: [Configuring Shortcut Links](https://confluence.atlassian.com/doc/configuring-shortcut-links-135903.html "Configuring Shortcut Links"). I hope this helps, but if not please do let us know.

Kind Regards,  
Jason


Tags: confluence-server

server
Need help transferring and setting up MySQL/Confluence on new Windows server.
Asked by Steven John Kirner:

I currently have Confluence running from my Linux 2.6 server. I am having trouble transferring/starting up Confluence on my new Windows Server 2016.

I installed the same Confluence v.5.9.6 with MySQL 5.1.72, but am having trouble setting up MySQL to finish connecting it all together.

I am new to MySQL, so any step by step information on setting up MySQL to work with my Confluence would be greatly appreciated.


Answers:
author: AnnWorley
body: Hi Steven,

Here is a doc for transferring Confluence 5.9.x from one server to another: [Migrating Confluence Between Servers](https://confluence.atlassian.com/display/CONF59/Migrating+Confluence+Between+Servers)

I am not sure why Confluence 5.9.6 is working on Linux with MySQL 5.1.72, as the lowest supported platform version is MySQL 5.5: [Supported Platforms](https://confluence.atlassian.com/display/CONF59/Supported+Platforms) For best results please install MySQL 5.6.16 or above and follow this setup doc for the database: [Database Setup For MySQL](https://confluence.atlassian.com/display/CONF59/Database+Setup+For+MySQL)

Please note that Confluence 5.9 has reached end of life status: [Atlassian Support End of Life Policy](https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html). There are upgrade instructions at: [Upgrading Confluence](https://confluence.atlassian.com/doc/upgrading-confluence-4578.html)

Thanks,

Ann


Tags: confluence-server

server
Confluence server no longer works from my Linux server.
Asked by Steven John Kirner:

I currently have Confluence v.5.9.6/MySQL v.5.1.73 running on my old Linux 2.6 desktop. After manually stopping MySQL services and making database dump, I can no longer connect to my Confluence server online. I get the following error:

"MySQL isolation level could not be read. Isolation level must be 'READ-COMMITTED'. See <http://confluence.atlassian.com/x/GAtmDg>"

I have tried manually starting the services and rebooting my Linux desktop.


Answers:
author: AnnWorley
body: Hi Steven,

You may set the isolation level two different ways as described in: [Confluence fails to start and throws 'MySQL session isolation level 'REPEATABLE-READ' is no longer supported' error](https://confluence.atlassian.com/display/CONFKB/Confluence+fails+to+start+and+throws+%27MySQL+session+isolation+level+%27REPEATABLE-READ%27+is+no+longer+supported%27+error)

Please set it to READ-COMMITTED and let us know if Confluence starts as expected.

Thanks,

Ann

comments: author: Steven John Kirner
body: Hi Ann,

Thanks for the prompt reply. I checked the "my.cnf" file and it was already set to READ-COMMITTED.

Any other ideas that could be causing this?

Thanks


author: AnnWorley
body: That is interesting. I noticed the error you are seeing is not "REPEATABLE-READ is no longer supported" but rather "MySQL isolation level could not be read". I am not sure why Confluence would suddenly be unable to determine the isolation level after MySQL and Confluence were both restarted. I found some support tickets where that error was reported and in most cases the MySQL server was overloaded, had been upgraded incompletely or was not allowing connections for some reason.

Please check the log \<[confluence_home](https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html)\>/atlassian-confluence.log for errors indicating a connection could not be acquired from the database. You may also diagnose the connection and access by using another database management tool ([DbVisualizer](https://www.dbvis.com/download/10.0) is a good free option we use) using the URL, username and password from \<confluence_home\>/confluence.cfg.xml.

Please also check your MySQL logs to make sure all is well with the MySQL instance.

For the sake of others on the Community I would like to mention that you are using an unsupported version of MySQL for Confluence 5.9.x but am not belaboring that in this thread as I mentioned it already on: [Need help transferring and setting up MySQL/Confluence on new Windows server](https://community.atlassian.com/t5/Confluence-questions/Need-help-transferring-and-setting-up-MySQL-Confluence-on-new/qaq-p/823940)


Tags: confluence-server

server
Logs flooded with Caused by: java.sql.SQLException: ORA-01408: such column list already indexed
Asked by Jason Liwag:

Upgraded our Confluence application from 6.4.1 to 6.9.0 including add-ons. Noticed lots of exception in the logs

Caused by: java.sql.SQLException: ORA-01408: such column list already indexed

Ex.
> 2018-06-18 14:36:49,365 INFO \[UpmAsynchronousTaskManager:thread-2\] \[atlassian.plugin.manager.DefaultPluginManager\] updatePlugin Updating plugin 'com.atlassian.troubleshooting.plugin-confluence' from version '1.8.9' to version '1.11.0'
>
> 2018-06-18 14:36:49,366 INFO \[UpmAsynchronousTaskManager:thread-2\] \[atlassian.plugin.manager.DefaultPluginManager\] broadcastPluginDisabling Disabling com.atlassian.troubleshooting.plugin-confluence  
> 2018-06-18 14:36:51,792 ERROR \[active-objects-init-system tenant-0\] \[net.java.ao.sql\] handleUpdateError Exception executing SQL update \<CREATE INDEX "index_ao_4789dd_tas639956211" ON "AO_4789DD_TASK_MONITOR"("TASK_ID")\>  
> -- url: /confluence/rest/plugins/1.0/ \| referer: https://atlassian-test/confluence/plugins/servlet/upm \| traceId: db63a1d9a6735cb8 \| userName: caxxxx  
> java.sql.SQLException: ORA-01408: such column list already indexed
>
> at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450)

**Root Cause:** Using plugin Atlassian Troubleshooting and Support Tools**v1.11.0.**

**Workaround:** UseAtlassian Troubleshooting and Support Tools**v1.10.3**plugin instead.


Answers:
author: Jason Liwag
body: Fixed version has been released for this plugin v1.11.1


author: Jason Liwag
body: I already tried that approach, confirmed/verified that index has been deleted before starting server and didn't help. Thank you!


author: Mesut Yilmazyildirim
body: Just a suggestion, not sure if that will solve the problem but I would take below actions;

(Always back up your data before performing any modification to the database. If possible, try your modifications on a test server.)

1. Stop Confluence.
2. Drop the index in your database:

       DROP INDEX index_ao_4789dd_tas639956211

3. Start Confluence. Upon restarting, Confluence will re-build the missing index.


Tags: confluence-server

server