youngmon/atlassian-qna huggingface dataset:
Migrating Confluence cloud to server: can't access
Asked by ????? ???????? ??????????:

Hi.

I was migrated and restored confluence cloud backup to my new server.

I can't access to confluence after restoring backup. However, before restoring i had full access to confluence.

i'm unsuccessfully trying log in with my cloud credential.

I want setup integration with jira.

How can i log in to ?


Answers:
author: ????? ???????? ??????????
body: i tried this method. i get error on the step of inserting values:

    insert into cwd_group(id, group_name, lower_group_name, active, local, created_date, updated_date, description, group_type, directory_id)values ( '888888','confluence-administrators','confluence-administrators','T','F','2011-03-21 12:20:29','2011-03-21 12:20:29',NULL,'GROUP',(select id from cwd_directory where directory_name='Confluence Internal Directory'));

error:

\[Code: 23505, SQL State: 23505\] Unique index or primary key violation: "CWD_GROUP_NAME_DIR_ID_INDEX_C ON PUBLIC.CWD_GROUP(LOWER_GROUP_NAME, DIRECTORY_ID) VALUES ( /\* key:888888 \*/ null, null, 'confluence-administrators', null, null, null, null, null, null, 1)"; SQL statement:  
insert into cwd_group(id, group_name, lower_group_name, active, local, created_date, updated_date, description, group_type, directory_id)  
values ( '888888','confluence-administrators','confluence-administrators','T','F','2011-03-21 12:20:29','2011-03-21 12:20:29',NULL,'GROUP',(select id from cwd_directory where directory_name='Confluence Internal Directory')) \[23505-195\]


author: Mikael Sandberg
body: See if this works, it describe how to reset admin password, and how to add a local admin or how to add one if you do not have a local admin: <https://confluence.atlassian.com/conf57/restoring-passwords-to-recover-admin-user-rights-701435450.html>


Tags: migration

server
Client uses Confluence/Jira and we as Vendor use confluence/Jira ... how can we share content
Asked by Aaron Rose:

We would like to have two different licenced accounts (Client and Vendor) linked to the same content, both with the ability to update particular content spaces / projects. Is this possible? We as a Vendor have other content we do not want to share as is only applicable to other clients, and the client would like the security and control over their own users so would like to maintain their own licences.


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

You can give a try to [link your application](https://confluence.atlassian.com/doc/linking-to-another-application-360677690.html) with the customer's one, so it will work as a secondary link (since the primary will be the one used for your Confluence and Jira).

Once you are sure that the applications are connected, you can work with [Confluence permissions](https://confluence.atlassian.com/doc/permissions-and-restrictions-139557.html) and also, the [Jira restrictions](https://confluence.atlassian.com/jirakb/limit-restrict-user-s-project-access-280069544.html) so you will be sure on not sharing any information that is not supposed to go to the customer and vice-versa.


Tags: jira
Jira and Confluence in same machine
Asked by Shrinivas SHARMA:

Is it possible to install Jira and Confluence in same machine and sharing same DB (MySql).

I am trying to install confluence in machine which Jira was running but after rebooting Jira stop working (showing DB issue) and also confluence failed to connect with DB


Answers:
author: Jonas Andersson
body: Yes, you can.

Create 2 databases in the same mysql server, grant user permissions (since it's test, just grant all privileges) to the same user. In this case username 'atlassian' and password 'easy', for all databases;

    CREATE USER 'atlassian'@'localhost' IDENTIFIED BY 'easy';GRANT ALL ON *.* TO 'atlassian'@'localhost';

Also make sure they run on different native ports, so jira will be port 8080 while confluence will be 8081, or whatever floats your boat.

comments: author: Shrinivas SHARMA
body: Jonas,

I am not getting success to install the Jira and Confluence in same machine. Jira is already working but when I tried to install confluence, Jira also stopped working.

I followed the confluence installation as mentioned in document and able to reach upto url http://localhost:8090. But unable to connect with any one of options: standard JDBC database connection or Datasource Name.

Can you provide simple step by step procedure for installing confluence with existing Jira machine.


author: Shrinivas SHARMA
body: Solved
Display an issue's subtask from Jira
Asked by Luke Fletcher:

I have an Issue named "EV-151" and need to display the many subtasks within it. I'm struggling to create a query in Confluence to pull these in and display the status. Any help greatly appreciated.

Luke.


Answers:
author: Tarun Sapra
body: Use the JIRA macro in confluence and in the macro use the JQL query

```
parent = "EV-151"
```

This will list all the sub-tasks of the issue in confluence.

comments: author: Lael
body: this worked perfectly, thanks Tarun!


Tags: sub-task
Cloud - $content.getIdAsString()?
Asked by David Costa Faidella:

Is there an equivalent way of accessing the ID of a page to be rendered in a page?

Essentially the equivalent of

```
$content.getIdAsString()
```

but for Confluence Cloud?


Answers:
author: Thomas Schlegel
body: Hi David,

as far as I know, this is not possible with Confluence cloud. You can't create user macros or add apps there that will output the id on the page.

comments: author: David Costa Faidella
body: thanks Thomas. Found a way via add-on url contextual parameters.

Had to use page.id (deprecated) since content.id not working as per this bug:

<https://ecosystem.atlassian.net/browse/CE-1009>


author: Thomas Schlegel
body: great you found a solution :-)


Tags: confluence-cloud
"Inline" function
Asked by Johannes:

Hi community,

via \[ALT+Shift+R\] i can define a requirement but i don?t get the pop up according to the description and to the youtube video ? Why, what is wrong?

We have installed the latest version 1.9 with Confluence 6.4.1

...and how to create a new type? I can?t find this dialog....

pls help...the trial version ends on 1.11.2018

thx a lot


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Johannes](/t5/user/viewprofilepage/user-id/1145350) ,

please link the video.

Fabio


Tags: questions-for-confluence
customers can't see knowledge base
Asked by Salva:

Hi,

We have several knowledge bases for our service desk projects. This was working before but now seems that our customers cannot access the knowledge base pages.

![wrong_account.png](/t5/image/serverpage/image-id/7197iA044349ED9CC854A/image-size/large?v=v2&px=999 "wrong_account.png")![knowledge_base.png](/t5/image/serverpage/image-id/7198i0432E3F390356D80/image-size/large?v=v2&px=999 "knowledge_base.png")![space permissions.png](/t5/image/serverpage/image-id/7196iFF2AFD64C1F1645B/image-size/large?v=v2&px=999 "space permissions.png")

Any ideas about why is this happening?

Thanks in advance


Answers:
author: Shannon S
body: Hi Salvador,

I'll need the information you've censored out in able to have a look at your issue; it looks like you're on Cloud.

If this is the case, do you mind if I create a support ticket where I can contact you and obtain the necessary details without you posting it on a public forum such as this?

Kind Regards,  
Shannon

comments: author: Salva
body: Hi Shannon

I already created a support ticket (JST-332314) for that purpose.

Thanks for your support.

Best,

Salva


author: Shannon S
body: Thanks Salva!

Kind Regards,  
Shannon


Tags: jira-service-desk
Confluence: Create space dialog loads indefinitely
Asked by Thomas Spangenberg:

Upon creating a space, the space type dialog appears but seems to load forever / freezes.

System:

- Debian 9.1  
- Postgres 9.6  
- Confluence 6.4.1


Answers:
author: Shannon S
body: Hi, Thomas,

Can you tell us what error occurs in the atlassian-confluence.log when you're attempting to create a space? That will help us to understand what the problem is exactly.

Kind Regards,  
Shannon

comments: author: Thomas Spangenberg
body: Hi Shannon,

sorry, there is no atlassian-confluence.log and no specific error.

![logs.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/7206iCAE85AF923DD647F/image-size/large?v=v2&px=999 "logs.PNG")

<br />

GC:  

2017-10-04T12:22:37.459+0200: 178104,089: \[GC concurrent-root-region-scan-start\]  
2017-10-04T12:22:37.462+0200: 178104,092: \[GC concurrent-root-region-scan-end, 0,0028384 secs\]  
2017-10-04T12:22:37.462+0200: 178104,092: \[GC concurrent-mark-start\]  
2017-10-04T12:22:37.696+0200: 178104,327: \[GC pause (G1 Evacuation Pause) (young) 815M-\>522M(1024M), 0,0093120 secs\]  
2017-10-04T12:22:37.942+0200: 178104,572: \[GC pause (G1 Evacuation Pause) (young) 815M-\>522M(1024M), 0,0115412 secs\]  
2017-10-04T12:22:38.186+0200: 178104,817: \[GC pause (G1 Evacuation Pause) (young) 815M-\>522M(1024M), 0,0157510 secs\]  
2017-10-04T12:22:38.669+0200: 178105,299: \[GC concurrent-mark-end, 1,2070463 secs\]  
2017-10-04T12:22:38.669+0200: 178105,300: \[GC remark, 0,0767425 secs\]  
2017-10-04T12:22:38.746+0200: 178105,377: \[GC cleanup 595M-\>595M(1024M), 0,0072477 secs\]  

catalina.out:  

04-Oct-2017 11:16:42.829 INFORMATION \[http-nio-8090-exec-11\] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating Jersey ap$


author: Thomas Spangenberg
body: ### Thank you Shannon, it was my fault. I had an error in my mod_proxy configuration. {#toc-hId-1566555226}

### You can close the ticket :-) {#toc-hId--985601735}


author: Shannon S
body: Thomas,

Thank you for letting me know!

Take care and have a pleasant week.

Kind Regards,  
Shannon
HTML include macro
Asked by D Felipe Fernandez Rodriguez:

Hi

It's possible send to external url confluence data like user logged and menu option selected?


Answers:
author: Nic Brough -Adaptavist-
body: You'd need to inject javascript into the menu headers to do that, the html macro won't help you.

comments: author: D Felipe Fernandez Rodriguez
body: Hi

I explain us we need.

We need to load html externally generated by php or whatever programing languages over web server. This external html change depending on user logged, maybe the user isn't allowed to view the html result


Tags: html

include
Confluence not working with 8443 port
Asked by Subani Prasad:

I am unable to access confluence with port 8443 while it is working with 8090.

Any help.

Please help me guys


Answers:
author: Nic Brough -Adaptavist-
body: What are you trying to achieve here, and what documentation are you following?

comments: author: Subani Prasad
body: I followed this <https://confluence.atlassian.com/doc/running-confluence-over-ssl-or-https-161203.html>

and below is my configuration (server.xml) file

\<Server port="8000" shutdown="SHUTDOWN" debug="0"\>  
\<Service name="Tomcat-Standalone"\>  
\<Connector port="8090" connectionTimeout="20000" redirectPort="8443"  
maxThreads="48" minSpareThreads="10"  
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"  
protocol="org.apache.coyote.http11.Http11NioProtocol" /\>

\<Engine name="Standalone" defaultHost="localhost" debug="0"\>

\<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false" startStopThreads="4"\>  
\<Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true"\>  
\<!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties --\>  
\<Manager pathname="" /\>  
\<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" /\>  
\</Context\>

\<Context path="${confluence.context.path}/synchrony-proxy" docBase="../synchrony-proxy" debug="0" reloadable="false" useHttpOnly="true"\>  
\<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" /\>  
\</Context\>  
\</Host\>

\</Engine\>

\<!--  
To run Confluence via HTTPS:  
\* Uncomment the Connector below  
\* Execute:  
%JAVA_HOME%\\bin\\keytool -genkey -alias tomcat -keyalg RSA (Windows)  
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)  
with a password value of "changeit" for both the certificate and the keystore itself.  
\* Restart and visit https://localhost:8443/

For more info, see <https://confluence.atlassian.com/display/DOC/Running+Confluence+Over+SSL+or+HTTPS>  
--\>

<br />

\<Connector port="8443" maxHttpHeaderSize="8192"  
maxThreads="150" minSpareThreads="25"  
protocol="org.apache.coyote.http11.Http11NioProtocol"  
enableLookups="false" disableUploadTimeout="true"  
acceptCount="100" scheme="https" secure="true"  
clientAuth="false" sslProtocols="TLSv1,TLSv1.1,TLSv1.2" sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2" SSLEnabled="true"  
URIEncoding="UTF-8" keystorePass="password"  
KeyStoreFile="/root/.keystore"/\>

\</Service\>  
\</Server\>
Unable to Install Confluence
Asked by Shrinivas SHARMA:

I have Jira running with MySQL DB in Linux

Is it possible to install confluence by using existing MySQL??

Please share the document for installing confluence in Linux


Answers:
author: Shannon S
body: Hi Shrinivas,

Jira and Confluence can share the same database but need to have separate schemas. Please carefully review this article for the Dos and Don'ts of this configuration:

* [Can Confluence Share A Database with JIRA](https://confluence.atlassian.com/confkb/can-confluence-share-a-database-with-jira-838424259.html)

Essentially, when you [create your Confluence user](https://confluence.atlassian.com/display/DOC/Database+Setup+For+MySQL#DatabaseSetupForMySQL-Step4.SetupyourMySQLdatabaseanduser ), you are creating a new schema.

1. Run the '`mysql`' command as a MySQL super user. The default user is 'root' with a blank password.
2. Create an empty Confluence database schema by running this command:

   |---------------------------------------------------------------------------------|
   | `CREATE` `DATABASE` `confluence` `CHARACTER` `SET` `utf8` `COLLATE` `utf8_bin;` |

3. Create the Confluence database user by running this command. Replace 'confluenceuser' and 'confluencepass' with a username and password of your choice. If Confluence is not running on the same server as your MySQL database server, replace 'localhost' with the hostname or IP address of the Confluence server:

   |--------------------------------------------------------------------------------------------------------------------------------|
   | `GRANT` `ALL` `PRIVILEGES` `ON` `confluence.*` `TO` `'confluenceuser'``@``'localhost'` `IDENTIFIED` `BY` `'confluencepass'``;` |
   |                                                                                                                                |

To set up Confluence on Linux, you can follow this article closely:

* [Installing Confluence on Linux](https://confluence.atlassian.com/display/DOC/Installing+Confluence+on+Linux)

Let us know if you have any trouble!

Kind Regards,  
Shannon

comments: author: Shrinivas SHARMA
body: Thanks Shannon. Solved
Confluence display document image with a caption?
Asked by HH:

Is there a way to upload a file within confluence, display it as an image but have a caption display underneath it?

I know I could do it manually by setting up a 2x2 table and inserting the document in to once cell, and then the caption with a link to the document in the other. But it feels like duplicated effort.

I want to have a page in confluence for shared team documents. So there will be a lot listed. The images look the nicest, but I'm thinking on a page with 20 or 30 documents it could become hard to navigate!

Has anyone else had this problem? Or something similar! Any suggested work arounds would be appreciated!


Answers:
author: Shannon S
body: Hi Hollie,

There's a feature request for captions, since it's not a built-in Confluence feature yet:

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

Please vote on the case in order to show the popularity of such a feature, comment your use case, and watch it in order to be updated of any progress.

If you're on Confluence server, you may be able to make use of [one of these Marketplace add-ons](https://marketplace.atlassian.com/search?product=confluence&query=captions) to include captions on your images.

I hope this helps! Let us know if you have any questions.

Kind Regards,  
Shannon

comments: author: Leon
body: I am flabbergasted that image captions are not a core part of this documentation software.


author: Aram Andriesian
body: For real, 15 years later, 300+ votes on the issue... so basic


author: mike @ mindbridge
body: Confluence, you continue to amaze me. I am trying to imagine a use-case for including images on a page *without* being able to add a caption. I can't.

Confluence you do know that people recommend *other* products here in your forum simply because they offer standard features. Not more, not better, just the features that are expected.


author: Jonathan Worosylo
body: Yeah, I'm continually amazed at what is NOT part of confluence. Standard things, like being able to stop and continue a numbered list, caption images, figures, and tables, provide a summary table of all comments in a site, etc. Its as if they never actually used a word processing application before in their lives and we should be happy at how limited their offering is. Sad, really. I've turned off numerous customers from Confluence due to these limitations so I hope that is what they're looking for.....


author: Lars Thomsen
body: Captions are a standard way used for reference in any documentation, please add this functionality


Tags: document-management
Storing Database Tables in Confluence
Asked by Martin James:

Hi there,

A lot of our users are starting to use Confluence to save database tables like a data dictionary. Is this the most efficient way to do this?

What are your experiences and what is the best way to set this up?

Thanks

Martin


Answers:
author: Nic Brough -Adaptavist-
body: Possibly. I've seen databases well documented in Confluence, but I'd like you to explain "save database tables like a data dictionary" - what are they saving (text? tables? sql to create tables?) and what are they trying to achieve by doing this?
Unable to load events of Calendarxx (GUID): calendar3.jira.error.jqlwrong.one
Asked by Rik D_huyvetters:

Hi all,

We have a global calendar on share that gathers events from an number of other ones.  
Most of them work, but some generate error's on top of the global calendar:

Unable to load events of CalendarName (someGUID): calendar3.jira.error.jqlwrong.one

Any ideas on the cause, or a way to find out more about them?

Thnx


Answers:
author: Ida Strebel
body: I have the same issue. I'm opening a support ticket to Atlassian as I could find no information about this error and how to resolve it.


Tags: team-calendars-for-confluence
How do I save a chart created from JMP directly to a confluence page?
Asked by Crystal Chueng:

My purpose is to open the confluence page to see the latest version of the chart which will change everyday.


Answers:
author: Shannon S
body: Hi Crystal,

I'm not familiar with JMP.

1. Do you have a link to a page of the software?
2. Can you tell us what format you're able to export the chart of JMP to?
3. Is there a specific add-on you're using in connection with JMP?

Thank you!

Kind Regards,  
Shannon

comments: author: Crystal Chueng
body: I actually save the chart in jpeg format. There is a JMP script that I ran everyday to generate that chart and I save the chart in the same server and same folder.


author: Shannon S
body: Hello Crystal,

You could do this with WebDAV. Have a look at [Configuring a WebDAV client for Confluence](https://confluence.atlassian.com/doc/configuring-a-webdav-client-for-confluence-148044.html) for more details.

You'll want to make sure as the administrator that the WebDAV plugin is enabled in your Confluence add-ons.

1. Connect to the WebDAV folder per the article I sent you above.
2. My test page is in a space which is a global space, and not personal, so from here, I go into the Global folder.
3. Next, I open the folder of the space that contains my page.
4. Followed by the folder of the name of the page that I want to update.
5. Once in here, you'll see the list of attachments in your page. You can easily add a new file here with the exact same name of the file you wish to replace. It will replace the existing image and ensure you have an up-to-date image.

I hope this is clear! Let me know if you have any trouble.

Kind Regards,  
Shannon


author: Crystal Chueng
body: Hi Shannon,

I am not an administrator and the article of Configuring a WebDAV looked too complicated. I also want the Page to update automatically and not ask a user to do it.

Thanks!
Location of DB of confluence in CestOS server
Asked by soldesk:

Hi,

We are using CentOS to our confluence server 5.8 and we cannot access the URL. We need to backup the database and the only way we can access the server is through SSH. My question is where can I find the Postgres database of the Confluence?

I try "$find -name \*.sql" but it failed.

thanks in advance


Answers:
author: Nic Brough -Adaptavist-
body: If you are using PostGres, then you need to look at the database server, not a random file on your file system.

Look in the system information page in Confluence to find out where the database is. Or, on the command line, \<confluence home\>/dbconfig.xml
Google Form results in confluence
Asked by Nieves Garcia:

Hi Confluence team,

I'm trying to link the Google form results in confluence using Confluence macro "Google Connector" without success.

Documentation seems outdated for this topic not adjusted to the new branding \& look \& feel of the tool.

Can you please help me to insert the results?

I will also appreciate recommendations for this Google G suite and Atlassian tools connection.

Thanks a lot in advance. Cheers,

Nieves


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Nieves Garcia](/t5/user/viewprofilepage/user-id/1154538)

Do you use any app for this or the widget connector?


Tags: forms

google
Best Practice for Database setup
Asked by Jayson Lewis:

Is there a recommendation or best practice for a database setup when we are using Jira Service Desk Server and Confluence Server together?

I currently have JSD and Confluence installed on separate servers, but wasn't sure if I should

1. create a separate database server for the both of them to connect
2. create individual database instances on the separate servers themselves
3. create 2 separate database servers for them to individually connect to

We are an SMB and won't have extraordinarily large environments, but I wasn't sure what the best route for this was. I have a MS datacenter server license so don't need to worry about licensing costs for different servers.


Answers:
author: Nic Brough -Adaptavist-
body: A **lot** of people run them on the same database instance, without problems. It's fine to run them on local servers or on separate dedicated servers too. Let your hardware, backup regime and licencing determine the route - the applications just want their own place to store data.

You just need to be sure that they do not share any data space. Use simple separate databases.

comments: author: Jayson Lewis
body: Thank you!


Tags: jira-service-desk
Out-of-the-box macros not working in Confluence
Asked by NOPS CM:

Hello - Under the Insert menu, only the "User mention" and "JIRA Issue/Filter" macros work. The others: Info, Status, Gallery, Table of Contents \& Other macros do not respond. Couldn't find any additional help online...


Answers:
author: Nic Brough -Adaptavist-
body: Could you explain "do not respond"? Do they not appear on the drop down? Do they not insert when clicked? Does the config box come up but not render?

comments: author: NOPS CM
body: Yes - once selected, the "Insert+" dropdown disappears and no other actions occur.


author: NOPS CM
body: There is an error in the log: sendError Could not execute action... url: /plugins/macrobrowser/browse-macros.action... java.lang.NullPointerException


author: Justin Brant
body: I am also having this problem. Where did you find your error message?


Tags: macro