youngmon/atlassian-qna huggingface dataset:
Where files are stored
Asked by ????????? ??????:

On the page I inserted the plugin diagram draw.io.  
Where is the source of the created chart stored? <http://prntscr.com/jho581>


Answers:
author: ????????? ??????
body: Can I view all the files in one place in one space?

comments: author: Nic Brough -Adaptavist-
body: Space tools -\> Attachments


author: David Benson _draw_io_
body: <https://desk.draw.io/support/solutions/articles/16000059766-how-to-determine-how-many-draw-io-diagrams-there-are-in-a-confluence-instance->

<https://desk.draw.io/support/solutions/articles/16000060408-what-is-the-data-storage-flow-of-user-data-in-draw-io-for-confluence-and-jira-cloud>


author: Thomas Schlegel
body: Hi,

it is stored as attachment to the page.


author: Nic Brough -Adaptavist-
body: As an attachment on the page


Tags: confluence-server

server
Unable to login Confluence server 6.8.2 after migrate from cloud
Asked by rila@p33.org:

I installed the ?onfluence and restored him with backup created on the ?onfluence cloud. After that, I could not login with administrator account. I used the **recovery_admin** account to access the system and reset the administrator password. But there are still about 500 users of Confluence Cloud that can not be logged.  
In the confluence database (Postgres), the table **cwd_user** stored logins, but **credential** field is **empty** . The credential field is filled only for administrator account, which I restored.  

How to correctly export the user database from ?onfluence cloud and import it into the ?onfluence server to save all passwords?


Answers:
author: kennyngkk
body: Unfortunately, it looks like you are hitting a bug mention in the article below.

* <https://jira.atlassian.com/browse/CONFSERVER-52990>

What happens is, Cloud stores the password in an external directory and while doing an export, the password is not retrieved as its being store externally. Causing users to not be able to log in. We apologize for that. You may use the knowledge base below to reset the password without credential

* <https://confluence.atlassian.com/conf64/restore-passwords-to-recover-admin-user-rights-936511358.html>

The SQL below will change all the password to admin where the credential is null value

    update cwd_user set credential ='x61Ey612Kl2gpFL56FT9weDnpSo4AV8j8+qx2AuTHdRyY036xxzTTrw10Wq3+4qQyB+XURPWx1ONxp3Y3pB37A=='where id= is null;


Tags: confluence-cloud

confluence-server

developer

migration

server
Add hidden tag in Confluence Storage Format
Asked by Mousset Michael:

Hello everyone,

I'm looking for documentation on Confluence Storage Format, but could not find what Im looking for so far (<https://confluence.atlassian.com/doc/confluence-storage-format-790796544.html>)

I have access to One Confluence Page, where I need to store one id inside a tag that wont be visible to users in edit mode of the page, so that they could not remove this tag accidentaly.

I will use the confluence api to get the source code of this page, and need to add that tag with my hidden id before updating the page body through the API again.

Does such a tag exists? Or could you help me goign in the right direction?

Thks a lot


Answers:
author: Fadel Trivandi Dipantara
body: Wow it's been 5 years, I am looking for this too


Tags: atl-adm

confluence-server

server
Confluence (self-hosted) fails to start
Asked by Harish K:

Hi,

I am unable to launch the confluence application after the succesful installation. Below are the sequence of steps i performed while installing confluence.

1. Installed MySql Server 5.6.40 Successfully

2. Created database and also granted the permissions in MySQl

3. Installed Confluence.

I am accessing confluence using http://localhost:8090/ and i am getting an error "

Confluence had failed to start, but we're back up and running again" {#toc-hId-1796191526}
------------------------------------------------------------------------------------------

The above message is continuously displaying and there is no error popping up even after 30 minutes.

Please suggest how to proceed further. Is there any configuration i forgot to do .

Regards

Harish


Answers:
author: Sloan
body: Hi [@Harish K](/t5/user/viewprofilepage/user-id/830677)

Have a look inside the Confluence application logs and look for something pointing to an error or fatal during or quickly after the startup process.

Here you learn where the Log files are located: [Working with Confluence Logs](https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html)

Cheers  
Niklas


Tags: server
Upload files from Sharepoint to Confluence
Asked by Ana Rita Estev?o Rocha:

Hi All

Our project is moving from Sharepoint to Confluence and as we have all the files and folders as currently stored in Sharepoint, is there any tool or process to massively upload these files directly to Confluence?

Thank you!


Answers:
author: Bob Do
body: You can open the files on the file server and upload them to Confluence.

<https://support.office.com/en-us/article/open-in-explorer-or-view-with-file-explorer-in-sharepoint-66b574bb-08b4-46b6-a6a0-435fd98194cc>

comments: author: Ana Rita Estev?o Rocha
body: Hi Bob

Thank you for your answer! Though I'm looking for a more automatic solution, something like a pointer to have on confluence pages and get the documents on sharepoint. Thank you!


Tags: cloud

confluence-cloud
Can't install add-on in JIRA Cloud
Asked by Kurt Galle:

Hello,

I tried to install 'Outlook app for JIRA' (Yasoon) from the Atlassian Marketplace, but i get the following message:

"The add-on host returned HTTP response code 500 when we tried to contact it during installation. Please try again later or contact the add-on vendor."

Does anyone knows the solution to solve this?

Kurt


Answers:
author: Nic Brough -Adaptavist-
body: You will need to talk to the add-on provider, as their server is not working.


Tags: cloud

confluence-cloud
Authentication methods to export single page to PDF from script
Asked by Eugenio Rustico:

Hi,

I need to export a single page to PDF from a script. As far as I understand, the options are:

1. Use an external plugin for PDF export (such as Scroll PDF) and its API
2. Use the Confluence CLI interface
3. Get the URL with a the web browser (e.g. https://.../confluence/spaces/flyingpdf/pdfpageexport.action?pageId=12345678) and use e.g. curl

I would like to use option 3. According to the docs I can use either Basic authentication, which means hardcoding user credentials in a script, or OAuth, which requires a token. I would be happier about OAuth, but from the admin panel it looks like I can generate tokens only for apps/plugins; therefore I must use some user credentials in the scripts, which looks unsafe and cumbersome.

Is there any other way to export a PDF without additional plugins and without using user credentials? Is there any way to generate a token for a script?  

Thank you.


Answers:
author: Eugenio Rustico
body: In case someone else is interested: yes, it is possible. The "app URL" can be an arbitrary "virtual" URL and the authentication process can be triggered by command line (the sample clients will provide a link to authenticate a token via browser once).

comments: author: Elwyn Chow
body: How did you get it to work?

I can get the Chrome to visit https://domain_name/rest/api/content/38699012

When I run curl:

curl -u user_id:password "https://domain_name/spaces/flyingpdf/pdfexport.action?pageId=38699012"

I get a Page Not Found HTML document.


author: Eugenio Rustico
body: Hi,

it should work with the same link used in the browser (e.g. inspecting "download to PDF" item). In my case:

"https://domain/confluence/spaces/flyingpdf/pdfpageexport.action?pageId=$pageId"  


author: Elwyn Chow
body: I'm not sure why but Postman handles those sorts of URLs while curl didn't. I also tried Postman's feature that exports the code to run it in curl.

I found that solution #2 of <https://stackoverflow.com/questions/38770934/how-to-export-to-pdf-a-confluence-page-within-a-script> worked.

(Our domain is on Confluence 5.10.2 and had the XML-RPC and SOAP APIs enabled as in solution #1)


author: Eugenio Rustico
body: The "page not found" is probably a mistake in the URL. With the correct URL, curl should output the HTTP response headers, which include the Location. Maybe postman automatically parses the Location and redirects the request to it? That should be the PDF URL.


author: Elwyn Chow
body: It's not that since the URL is okay with Postman then the curl command exported from Postman doesn't work.


Tags: authentication

confluence-server

export

pdf

server
how to upload an image to Confluence from harddrive while creating a page
Asked by d.petropoulos:

Hello, i'm trying to create a page that contains images using the structural format

{"type":"page","title":"#pagename#","space":{"key":"#space_name#"},"body":{"storage":{"value":"#jason_data#","representation":"storage"}}}

text is replaced inside ##

How can i include images located to my hard drive to the text above? Do i have to attach them first?


Answers:
author: Henricus Fluthgraf
body: Have a look to the k15t Tools

i think this solves your Problem

**[see: scroll-imagemap](https://www.k15t.com/software/scroll-imagemap)**

Best Henry

comments: author: d.petropoulos
body: thanks Henry, but i do not have the possibility to buy an application. I've created a whole structure format, but unable to include code for image upload. if anyone has knowledge about this, i would appreciate. thanks


Tags: atl-adm

cloud

confluence-cloud

image

rest

upload
Possible issue when creating a page
Asked by Tim Ruijters:

When I create a page in IE or Chrome (latest versions) it takes very long. Is this a known issue?


Answers:
author: Krisztian Kovacs
body: hi Tim,

can you check if the jira server (if it's server) is eating up all the processors? Maybe a restart helps if it's just a random error.

if it's cloud, you can check out <https://status.atlassian.com/>

so ultimately, is this a one off thing or are you experiencing this issue all the time? what about others in your team?

comments: author: Tim Ruijters
body: I'm working in the cloud. Thanks for the tip regarding status.atlassion.com


author: Charlie Misonne
body: Hi Tim

Is this for Confluence Server or Cloud?

In case it is a server instance: do you see any errors in the log files?

comments: author: Tim Ruijters
body: I'm working in the cloud.
Effect of Deleting Add Ons
Asked by Rosalind Loo:

Hi,

I was wondering if we delete an addon like Gliffy- do existing diagrams all disappear or will they remain?

Thanks in advance!


Answers:
author: Nic Brough -Adaptavist-
body: That very much depends on the add-on. The data for add-ons usually remains intact when you remove one, but often becomes invisible or unusable.

For Gliffy, that works by attaching two files to a page, a gliffy coded file and an image to display that's built from the coded file. If you remove the add-on, both files remain attached, but you won't be able to read or edit the coded file. The image will still display.


Tags: cloud

confluence-cloud
How to create or deactive or delete group via Rest API in confluence server?
Asked by Nate _???_ _Project Management_ _:

Hi, Guys.

We have our own CRM application. At this moment, we manage user account both 2 system(CRM, Confluence server).

Is it possible to create or deactive(or delete whole group) via Rest API from CRM application?

If Rest API is impossible, do you know any add-on to handle this requirements?

your comment would be appreciated.

Best Regards


Answers:
author: Charlie Misonne
body: Hi Nate

The [Confluence server REST API](https://docs.atlassian.com/ConfluenceServer/rest/6.8.2/) does not support this.

Apaprently there is a plugin to extend the API: [REST API Extender for Confluence](https://marketplace.atlassian.com/apps/1217507/rest-api-extender-for-confluence?hosting=server&tab=overview). I have no experience with it myself.

You can also consider using [Crowd](https://www.atlassian.com/software/crowd), connect it to Confluence and use its REST API instead

comments: author: Nate _???_ _Project Management_ _
body: Thank you for answer.

I solved my issue by your reply.

Appreciated.


author: Charlie Misonne
body: Hi Nate

Glad I could help!

Please mark the answer as accepted :-)

cheers


author: Monique Khairuliana
body: Hi Nate,

Currently this feature is being requested here:

[Group CRUD APIs](https://jira.atlassian.com/browse/CONFSERVER-57988)


Tags: confluence-server

server
How to disable Word and PDF export on a page or for a space ?
Asked by Alain wind:

Hi,

Could you please tell me how to disable Word and PDF export on a page or for a space.

Thanks

Alain


Answers:
author: Fabienne Gerhard
body: Hi [@Alain wind](/t5/user/viewprofilepage/user-id/1142789)

PDF Export can be disabled like described [here](https://confluence.atlassian.com/confkb/how-to-disable-pdf-export-for-pages-or-spaces-711361415.html).

General Configuration -\> Manage Addons -\> All Addons -\> Search for PDF Export -\> Disable

Word Export is a bit more difficult -\> you can find it also in the Addons

Page Operations Addon -\> Export as Word but I couldn't find an opportunity to disable it.

Maybe you want to try the costum html solution already mentioned by Yagnesh Bhat [here](https://community.atlassian.com/t5/Confluence-questions/How-can-i-disable-export-to-word/qaq-p/335482).

comments: author: Alain wind
body: Hi Fabienne,

Thanks a lot !

Both solutions work fine.

Have a good day.

Alain


author: Di Chen
body: How about confluence cloud?

comments: author: Jan St?hle
body: Curious, too.


author: Alison Wolfenden
body: Me too. There is no disable button


Tags: confluence-server

server
Stuck at page deleting
Asked by sadasdasd:

Hi,  

I installed Confluence few hours ago, everything working fine. But when I try to delete pages, I can see the "loading" circle, but thats all what is doing. I checked the logs, but found nothing.

(English is not my mother tongue; please excuse any errors on my part.)


Answers:
author: AnnWorley
body: Hi - We opened a support ticket so we could examine your logs and configuration files. Please stand by for an email from our support portal.


Tags: confluence-server

server
I would like to change the text size in a Confluence page I am writing
Asked by Riccardo de Sangro:

I have not been able to find how to change the size of text in a Confluence page I am writing. I can only change the Style (say headings 1 to enlarge) to do that but I do not want to do that.

Is there any other way?

thank you,

best regards,  
Riccardo


Answers:
author: kennyngkk
body: You can use the knowledge base below to change the font

* <https://wikis.nyu.edu/display/DOC/Styling+Fonts+in+Confluence>

While it may seem a pain there is actually a real reason for this. My hunch is this won't change in the future. The main reason is that Confluence is meant originally to be a document repository. Typically you want all your documentation to adhere to the same standard for font/sizing so, they have not included it so that you don't have some goofball who is stuck in the 90s writing documentation in Comic Sans and the font is not available for the rest of the users.

comments: author: Marilyn DeLuca
body: Hey I like Comic Sans! I guess I'm a goofball! Anyways I think most folks find the default text just too small.


author: perk627
body: On my Apple iMac Control + and Control - worked in Confluence to make my font viewing size smaller and larger.
Confluence Initial setup error - Linux server AWS
Asked by tattoodxb:

Hi

I have installed Confluence in AWS Linux server as per the documentation, but when it is run it gives error in the beginning itself. httt://domain:8090/setup/setupembeddeddb-default.action

HTTP Status 500 - Cannot call sendError() after the response has been committed {#toc-hId-1796166664}
-----------------------------------------------------------------------------------------------------

I read other articles about it but there is no correct answer, most of the articles points to putting mysql-connector-java-5.1.44.jar file in following location which is done.  
/opt/atlassian/confluence/confluence/WEB-INF/lib/  

On the same server Jira is installed and it is working.

Regards

Santy


Answers:
author: tattoodxb
body: Hi Guys

This has been resolved by suggestion mentioned in following link. After adding mysql jar file in lib (i.e. **Resolution 3** ) we need to delete config file (i.e. **Resolution 10**)

<https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-spring-application-context-has-not-been-set-218278311.html>

Resolution 10 {#toc-hId-1796187554}
-----------------------------------

1. Stop Confluence.

2. Delete the *\<confluence-home\>/confluence.cfg.*xml file.

3. Start Confluence.

4. Access the Base URL in your browser to start the Setup Wizard from the beginning.

5. During the database configuration step, choose "Continue and overwrite existing data" if prompted.

6. Make sure all the steps are completed successfully.

Thanks


author: Nic Brough -Adaptavist-
body: What versions of Confluence and MySQL are you using?

comments: author: tattoodxb
body: MySQL 5.6.39

Confluence: atlassian-confluence-6.9.0


Tags: confluence-server

server
Difficulties installing Javaa JDK and Aandroid Studio in 64 win7 machine
Asked by Ammar Ibrahim:

Big hassle to install java jdk in win7, i tried many versions starting with jdk-8u171, to jdk-10.01 it is either suspended in the following stage (see picture)

![11.png](/t5/image/serverpage/image-id/21915i31D10B0F51CC11E4/image-size/large?v=v2&px=999 "11.png")

or similar stage using other versions.

then if you look to the programs \& features list you will find it there !!!

checking through cmd it is not their !!!!!!!

trying the path-Environment story ... nothing changed and the Android Studio will display you the Android SDK in grey color.

replacing space in file name where the jdk will be installed by \~ is with no effect.

so any one has an idea how to solve it??


Answers:
author: Nic Brough -Adaptavist-
body: Could you explain what this has to do with Atlassian stuff?

comments: author: Ammar Ibrahim
body: Oooooops it looks like I pasted this query in the wrong place, I beg your pardon


author: Nic Brough -Adaptavist-
body: No problem, accidents happen. :-)


author: Jonnywalter
body: It needs JDK 7, as stated on the System Requirements page: <http://developer.android.com/sdk/index.html#Requirements>

For Android Studio 2.1, it needs JDK 8 for Windows or Linux, and JDK 6 for Mac machine


Tags: mistaken-post
Confluence Server 6.8 on Linux: "invalid locale name" on PostgreSQL 9.6
Asked by James Harris:

Server: Ubuntu 18.04 Desktop 64-bit

In the Atlassian Instructions:

<https://confluence.atlassian.com/conf68/database-setup-for-postgresql-947171095.html>

I am trying to follow the step:

2. Next, create a database (for example `confluence`):

* **Owner** is your new database user (for example `confluenceuser`)
* **Character encoding** must be set to `utf8` encoding.
* **Collation** must also be set to `utf8`. Other collations, such as "C", are known to cause issues with Confluence.

These are my commands and results:

sudo -u postgres psql

postgres=# \\c  
You are now connected to database "postgres" as user "postgres".  
postgres-# \\du  
List of roles  
Role name \| Attribute \| Member of  
------------------------+---------------------------------------------------------------------------------------+-----------  
confluenceuser \| Superuser, Create role, Create DB \| {}  
postgres \| Superuser, Create role, Create DB, Replication, Bypass RLS \| {}

postgres=# create database test1 owner=confluenceuser encoding=utf8 lc_collate=utf8;  
ERROR: invalid locale name: "utf8"

I have Googled for several hours on this, and found only one possible cause and no solutions.

Possible cause: There is no file /etc/locale.conf, even though I ran:

root@JGist-Server-1:/etc# locale-gen  
Generating locales (this might take a while)...  
en_AG.UTF-8... done  
...  
en_US.UTF-8... done  
en_ZA.UTF-8... done  
en_ZM.UTF-8... done  
en_ZW.UTF-8... done  
Generation complete.  
root@JGist-Server-1:/etc#

At any rate, it seems there are no possible candidates in the "supported locales" documentation that are anything like a simple "utf8" (or UTF8, UTF-8, etc.); all have language and country codes, like en_US.UTF-8 as seen above.

It seems to me there is something missing from the Instructions page linked above.

Please help.


Answers:
author: Gonchik Tsymzhitov
body: Hi James,

1. In your command looks like you need also dpkg-reconfigure locales.

2. Regarding related locale in DBMS, in my experience, I use the ru_RU.utf-8 like this

```
 ENCODING 'UTF8' LC_COLLATE = 'ru_RU.UTF-8' LC_CTYPE = 'ru_RU.UTF-8';
```

Hence don't afraid, let's set the en_US.UTF-8 locale for the LC_COLLATE.

Cheers,

Gonchik Tsymzhitov

comments: author: James Harris
body: I had already tried en_US.UTF-8 and it didn't work either; I think it generated a syntax error with the arrow pointing at the hyphen as the cause of the syntax error.


Tags: confluence-server

server
HOW CAN I CREATE FORMULAS ON A PAGE?
Asked by Olga Luc?a Gutierrez:

I WOULD LIKE TO CREATE TEMPLATES WITH FORMULAS TO LINK COLUMNS IN TABLES


Answers:
author: Natalie Paramonova [Stiltsoft]
body: Hi Olga,

Starting from version 5.0 of the [Table Filter and Charts](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=server&tab=overview) app you can use formulas in tables with the help of the [Table Transformer](https://docs.stiltsoft.com/display/TableFilter/Custom+Transformation+-+use+cases+with+advanced+SQL+queries) macro. [Here](https://docs.stiltsoft.com/pages/viewpage.action?pageId=33359436#CustomTransformation-usecaseswithadvancedSQLqueries-Usingformulas) you can find the examples of using formulas.

Let me know if you need more details.


author: Bob Do
body: Maybe this plugin can help you? [https://marketplace.atlassian.com/apps/261/forms-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/261/forms-for-confluence?hosting=server&tab=overview )

comments: author: Olga Luc?a Gutierrez
body: Thanks, I'll try it.


author: Krisztian Kovacs
body: Hi [@Olga Luc?a Gutierrez](/t5/user/viewprofilepage/user-id/1371702),

do you mean something like you'd do in excel?

or a template with variables like this: <https://confluence.atlassian.com/doc/create-a-template-296093779.html>

comments: author: Olga Luc?a Gutierrez
body: Like excel or project!


author: Andrey Khaneev _StiltSoft_
body: Hi Olga,

What calculations do you want to perform?

comments: author: Olga Luc?a Gutierrez
body: Simple formulas as lab.days.... Could it be used as well as a planning tool?


author: Andrey Khaneev _StiltSoft_
body: You can try [Table Filter](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) macro options to output [total columns or rows](https://docs.stiltsoft.com/display/TableFilter/Managing+Look+of+the+Table+and+Filtration+Pane#ManagingLookoftheTableandFiltrationPane-OutputtingtheTotalcolumn).


Tags: atl-gruland

cloud

confluence-cloud