youngmon/atlassian-qna huggingface dataset:
How do I remove existing follow connections?
Asked by werner_baderschneider:

My company does not want users being able to follow other users. So we set all calling links to this functionality invisible. But how could we remove the follow connections that were made before that? Could we just delete the content of the database table FOLLOW_CONNECTIONS? Would this have any side effects or affect the rest of confluence?

We are using Confluence 5.4.3 with Confluence Questions 2.1.5.


Answers:
author: Mallmann
body: Hello Werner,

Yes, you should be able to delete all existing follow connections between your users by running a delete query against the FOLLOW_CONNECTIONS table.

This action should not affect you in any other Confluence functionality other than the follow user itself. So since you do not want to let your users to follow other users, that would be a good way to remove existing connections from the instance.

Remember to save a backup copy of your database before running the delete query and restart your Confluence afterwards.

I hope it helps,

Eduardo


Tags: confluence-administration
Do we have BigGantt plugin for Ubuntu as well?
Asked by Raghunath:

Hi,

I was searching for the BiGantt plugin for Ubuntu, please let me know. if this is available or not?

Thanks,

Raghunath


Answers:
author: Nic Brough -Adaptavist-
body: Add-ons are independent of the operating system, they run inside Atlassian applications


Tags: confluence-administration
What is Maximum upload size in Confluence ?
Asked by Sandeep Kumar Are:

What is Maximum upload size in Confluence ?


Answers:
author: Emma Rush [T&D]
body: Note that this has changed and the current default is 100Mb and this is true for both server and cloud.


author: Nic Brough -Adaptavist-
body: The default is 10Mb, but you can change it in Admin -\> Attachments. Don't go too large though - Confluence isn't designed to be an upload/download manager or a file repository, and you can get timeout problems with very large files.

comments: author: TomC
body: Nic, what do you find to be a tolerable maximum? We - large instance with 10's of thousands of pages and attachments - have had it set for years at 100MB with no issues.


author: Nic Brough -Adaptavist-
body: I've not seen anything significant up to 100Mb, so that's the highest I tend to set it before I start resisting the requests for higher amounts with any gusto. 250Mb is the point at which the problems tend to start in my expericnce - it's where I start telling people to use proper file storage and not to rely on being able to attach or read files with Confluence.


author: Nic Brough -Adaptavist-
body: Oops, I also wanted to say that it's on a file-by-file basis - doesn't matter if you've got hundreds of thousands of large files, it's just that for any one selected large file, you can run into upload/download problems. Most of the time, even much bigger files will work. You just can't \*rely\* on the upload or download working.


author: TomC
body: Nic, Thanks for the insights - appreciate the full explanations as this was a topic I had wondered about for a while as I have received requests to raise it too. We started at 50MB, raised it to 100 MB and I think will stop there. :-)
How to reduce Confluence notification polling?
Asked by David Hergert _PAYX_:

In my access logs, my server is handling hundreds of requests a minute (in the middle of the night) from people's browsers pinging the server for notifications. And to make it worse, each tab is independently pinging the server causing even more load. Is there a way to reduce this polling interval? Just seems like unnecessary overhead.

I've read <https://confluence.atlassian.com/display/CONF43/Configuring+Workbox+Notifications> but that appears to be how often the in-app notifications work between other apps, like JIRA.

Example from logs:

```
2015-10-23 02:04:20,702 INFO [http-nio-8090-exec-5] [atlassian.confluence.util.AccessLogFilter] doFilter userA GET http://wiki.company.com/rest/mywork/latest/status/notification/count 4183556 23 10.23.21.1112015-10-23 02:04:20,979 INFO [http-nio-8090-exec-7] [atlassian.confluence.util.AccessLogFilter] doFilter userB GET http://wiki.company.com/rest/mywork/latest/status/notification/count 4182709 24 10.21.33.1842015-10-23 02:04:21,359 INFO [http-nio-8090-exec-37] [atlassian.confluence.util.AccessLogFilter] doFilter userC GET http://wiki.company.com/rest/mywork/latest/status/notification/count 4181481-133 24 10.11.231.245
```


Answers:
author: Guilherme V.
body: Hey there,

Go to the **Logging and Profiling** page and check if the "atlassian.confluence.util.AccessLogFilter" entry is in there. If yes, you can remove it or change its level.

Cheers,


Tags: confluence-administration
active directory
Asked by Reza Riazi:

Dear Sir/Madam

Currently we are using Windows 2003 for Active Directory and I was wondering if Confluence can be connected to the AD?


Answers:
author: Mallmann
body: Hello Reza,

As Nic has mentioned, Confluence and other Altassian Applications can connect to LDAP directories including Active Directory. I'd just like to mention that it's not possible to retrieve all details from the LDAP as you might wish, such as phone number, department, etc.

Here's a Suggestion related to this, though: <https://jira.atlassian.com/browse/CONF-21982>

Let us know if you have any questions here.

Eduardo


author: Hamed Seifoddini
body: @Eduardo Mallmann, do Atlassian cloud products (e.g. Bitbucket and JIRA) support integration with LDAP or is it supported for on premise implementation?

comments: author: Nic Brough -Adaptavist-
body: No. Cloud does not yet do LDAP. If you want to connect LDAP, you have to use Server.


author: Reza Riazi
body: Thank you,


author: Nic Brough -Adaptavist-
body: Yes, see <https://confluence.atlassian.com/doc/connecting-to-an-ldap-directory-229838241.html>


Tags: confluence-administration
How to migrate licence to another confluence server?
Asked by Xiao Wan:

The scene is that the machine of production confluence server crashed, so i set up another confluence server which licence is evaluation version and i had migrated the datas from the old one. Now the problem is that licence how to migrate?Because i had buy the production licence, so i don't want to buy annother licence. How to migrate license?


Answers:
author: Abdoulaye Kindy Diallo
body: Xiao, you should be able to migrate the license as it's not tied to any machine. You can refer to the below explanation:

* [Can I move my Confluence license to a new server?](https://confluence.atlassian.com/pages/viewpage.action?pageId=179438999)
* <https://answers.atlassian.com/questions/137511>


Tags: confluence-administration
How to change mediaType of attachment with REST API?
Asked by Nick Irvine:

Here's what I'm trying:

```
curl -n -Ss -X PUT -H 'X-Atlassian-Token: nocheck' '-d{"metadata": {"mediaType": "image/svg+xml" }' https://xxx.atlassian.net/wiki/rest/api/content/26509481/child/attachment/att26869829
```

This yields: HTTP Status 415 - Unsupported Media Type

Both the [PUT /rest/api/content/{id}/child/attachment/{attachmentId}](https://docs.atlassian.com/atlassian-confluence/REST/latest/#d3e293) (after uploading) and [POST /rest/api/content/{id}/child/attachment/{attachmentId}/data](https://docs.atlassian.com/atlassian-confluence/REST/latest/#d3e263) (while uploading) endpoints claim to be able to update the media type (although it confusingly switches between the media-type and content-type terminology), but neither give any indication of how to do so.

Another method I've tried is setting the Content-Type HTTP header to "image/svg+xml", but this is rejected with an "invalid media type" error.

I can update using the UI just fine.

I also tried the REST API Browser, but like all useful parts of Confluence, it's not available on a cloud install \>:\[


Answers:
author: Neil Russell
body: The error message you are getting is because you are not setting the Content Type header for the PUT request to application/json. You need to add -H 'Content-Type: application/json' to your curl request. I've included an example below.

```
curl -n -u admin:admin -X PUT -H 'Content-Type: application/json' -H 'X-Atlassian-Token: nocheck' -d '{"id":"att917507", "version":{"number":1}, "metadata": {"mediaType": "image/svg+xml" }}' http://localhost:1990/confluence/rest/api/content/98310/child/attachment/att917507
```

comments: author: Nick Irvine
body: That's probably it. I can't test any more, but have a checkmark.


author: LostInMadness Forever
body: here is my code to upload an image.. i got 415 status, meaning bad content-type

of course, i longon first using "auth/1/session"

here to upload..

file = "C:\\Users\\User\\Documents\\file.jpg"

oRequest.Open("POST", jiraURL)  
oRequest.SetRequestHeader("X-Atlassian-Token", "no-check")

oRequest.SetRequestHeader("Content-Disposition", "form-data; name=""file""; filename=""file.jpg""")  
oRequest.SetRequestHeader("Content-Type", "image/jpeg; boundary=WebKitFormBoundaryE19zNvXGzXaLvS5C")

oRequest.Send(file)


Tags: cloud

confluence-cloud
Confluence Licensing
Asked by Brad Griffin:

With user licenses in Confluence, does the license count actual users configured in Confluence or the number of users logged into Confluence at any time?

Cheers

Brad


Answers:
author: Mallmann
body: Hey Brad,

Confluence's license count is based on [Global Permissions](https://confluence.atlassian.com/display/DOC/Global+Permissions+Overview). Users will count towards the license in the following cases:

* If the user belongs to a group that has global permissions to use Confluence
* If the user is individually granted global permissions to use Confluence

Within the UI, you can get a list of users and groups that have Global Permissions and will count against your license by navigating to **Confluence Admin \> Global Permissions**. You can click on each group individually to reveal their members.
> Also, the following query will return users that belong to a group which has global permissions:  
> SELECT DISTINCT u.lower_user_name  
> FROM cwd_user u  
> JOIN cwd_membership m ON [u.id](http://u.id) = child_user_id  
> JOIN cwd_group g ON m.parent_id = [g.id](http://g.id)  
> JOIN spacepermissions sp ON g.group_name = sp.permgroupname  
> WHERE permtype='USECONFLUENCE' AND u.active = 'T';

To get your user count down, the following guidelines may be helpful:

* If you have more than one directory, ensure that the same user does not exist in multiple directories.
* We recommend that you allow only particular groups to log in to each application, rather than entire directories.
* Note that a mapped application can 'see' all users in a directory, even if not all of them can log in to the application. For example, a Human Resources application might be mapped to your entire Active Directory server, but only the HR group is allowed to log in to the application.

I hope it helps!

Eduardo


author: Abdoulaye Kindy Diallo
body: Brad,

The license count is based on created users with application access.

In another wording, as shared in the below link:

<https://confluence.atlassian.com/display/CONFKB/How+to+get+a+list+of+active+users+counting+towards+the+Confluence+license>

Users will count towards the license in the following ways:

* If the user is a member of a group that has global permissions to use Confluence
* If the user is individually granted global permissions to use Confluence
Confluence Scheduled Jobs HTML Bug
Asked by Jason Rider:

I am getting this in all the 3 main browsers (Google Chrome 46.0.2490.71 m, IE 11.0.9600.18059, Firefox 41.0.2).

<https://imgur.com/kX0VKD9>

The Help Tips column is being displayed over the Jobs table, and thus blocking the links for the first 2 jobs. I can get around it by using Chrome Developer Tools to just delete it.

AdBlockPlus is not blocking it (I tried with it disabled).


Answers:
author: Guilherme V.
body: Hey there,

I found this bug report <https://jira.atlassian.com/browse/CONF-31646> where the developers fixed on the 5.4.4, but I confirmed and it's back again on the latest version, so I've reopened the bug again.

For workaround, you can decrease the page's zoom with (CTRL + Scroll Down).

Cheers,


Tags: confluence-administration
How to get the information for deleted pages
Asked by IPAAdmins:

Is it a way to display the deleted pages information, such as: Who deleted, when is deleted? I have not find any reference on how to do it yet.

Thank you,


Answers:
author: Andrii Tkachenko [BeastieHut]
body: Hello!

You can try to use <https://marketplace.atlassian.com/1220751> plugin to track pages deletion by spaces - in admin menu and in space tools.

Thank you


author: Monique Khairuliana
body: This is not possible yet: refer <https://jira.atlassian.com/browse/CONF-4792>

This question was asked previously in <https://answers.atlassian.com/questions/178482>


Tags: delete
Is there any limit on the number of versions a page can have?
Asked by Elena Lurye:

*This question is in reference to Atlassian Documentation: [Page History and Page Comparison Views](https://confluence.atlassian.com/pages/viewpage.action?pageId=139379)*

Just wondering if there is any limit on the number of versions a page can have? How far back can I go?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: There is no hard limit as far as I am aware.

comments: author: Carolyn Brunner
body: I am on the Cloud version of Confluence and am having an issue in that I can only view the last 100 versions of a page on the Page History page. (No option to Go To Page 2 or expand the list). See pic1.

Besides scrolling through using the "Previous" button from the individual pages (see pic2), is there any way to display the full list of versions on the Page History page![Capture1.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/4406iD135C4A2EDFDC745/image-size/large?v=v2&px=999 "Capture1.JPG")![Capture2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/4407iF791D267FB31966A/image-size/large?v=v2&px=999 "Capture2.JPG")


Tags: limit

page-history
In Confluence 5.8.13 what happened to the Thread Dump admin item?
Asked by Don Gamble:

*This question is in reference to Atlassian Documentation: [Generating a Thread Dump](https://confluence.atlassian.com/pages/viewpage.action?pageId=188095)*

Confluence Docs say that there is a Thread Dump in the Admin. I've used it in the past, but now it seems to be gone?


Answers:
author: Don Gamble
body: Can you make a note that the current documentation is therefore wrong.

Thanks.


author: William Zanchet [Atlassian]
body: Hi Don,  

Yes, I could confirm that we took the Thread dump option from the administration panel. Basically the way that Confluence was generating the Thread dump wasn't useful, the majority of the Thread dump readers won't read it. So we took it off.

The best way to generate a Thread dump is through this documentation:  
<https://confluence.atlassian.com/display/DOC/Generating+a+Thread+Dump+Externally>

Cheers,  
WZ


Tags: confluence-administration

documentation
Inserting two or more files with the same name doesn't work correctly
Asked by Shantanu Singh:

Consider two text files

folder2/a.txt with contents "This is the first file"

folder1/a.txt with contents "This is the second file"

Insert the first file and then the second.

Confluence replaces the first file with the second but it doesn't warn you. Both text files will have the content "This is the second file"

Please fix this bug.


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: It is actually a feature of Confluence for file versioning. There is no folder structure in Confluence and it just thinks that you are uploading a new version of the same file (file name is the unique attribute here). And you can browse the different versions when you are viewing the file!

If those 2 files are different, either you should rename it or they should go to different pages in Confluence.

comments: author: Peter O'Connor
body: It's not a well-implemented feature then! File name should not be used as the unique attribute. You drop two different files into a document and then you see two of the same file there - this is clearly unexpected behaviour.


author: Peter O'Connor
body: I've had this bug so many times. It is not a feature, it is a bug. It seems especially crazy when you drag-and-drop the files into the document. You drag and drop different files and then see that they're all the same.

comments: author: Seth Green
body: I agree with this assessment. I've been doing this with recordings of zoom meetings, which are always named \`zoom_0.mp4\` by default, only recently realizing that pages with multiple recordings actually just have the same recording multiple times because of this bug.

It would be great if this worked the way Mac downloads (for example) works, where it creates \`zoom_0 (1).mp4\` automatically when you add a file with the same name. Maybe warning you first, as mentioned above.


author: Shantanu Singh
body: Thanks for clarifying.

But doesn't this call for a warning?

The only way I figured this was happening was that I was inserting PDFs and could see the previews. If it were a non-previewable file, there was no way I would have known.

A warning like this would be helpful:

"An older item named "a.txt" already exists in this page. Do you want to replace it with the newer one you're inserting?"

comments: author: Jobin Kuruvilla [Adaptavist]
body: Makes sense for new users. But imagine the warning appearing to all the users who knows about this feature. Can be annoying for many :) Having said that, it is my personal opinion and it won't hurt to create a feature request for the same in jira.atlassian.com. Maybe the warning needs to appear only for new users or it can be a one time pop-up which can be turned off.


author: Matthew Read
body: If someone is intentionally trying to replace a file under one path by uploading it to *a different path*, then a warning is unquestionably the least of the things they deserve to deal with.


Tags: attachment

bug

cloud

confluence-cloud
It looks like '{' in external link is not taken as link in confluence
Asked by Shamith Shankar:

Hi,

I need to use a hyperlink which has '{' in it. but looks like confluence doesn't like it and after saving the page i am getting as plain text instead of hyperlink. Any workaround ?


Answers:
author: Shamith Shankar
body: Hi Chuck,

Thanks for the response. Its a sharepoint link, so replacing '{' with '\[' will lead to dead link in sharepoint.

Thanks,

Shamith


author: chucktalk
body: Hi Shamith,

I think you want to use the character

```
[
```

instead as the '{' character is for opening a macro statement.

Give that a try and I hope that helps.

Sincerely,

Chuck


Tags: confluence-administration
Link not saved on draw.io
Asked by Cyril Menigoz:

Hello

When I insert url link into text most of the time the link disappear.

Does any of you know a way to fix it / a workaround?

Thanks in advance

---

I can not answer (not enough points)

I've answered on youtube but my response is :

The main difference I think is that I insert a link into a text box  
I have a text box inside shape inside a shape.   
Thanks


Answers:
author: David Benson _draw_io_
body: <http://www.youtube.com/watch?v=mqkoNsSNmVY> . This is a video of me adding a linking to a cell and going back in to edit the link, it's still there. This is using Firefox 41.0.2 on OS X 10.11.Precisely, how do the steps you have taken vary from mine about. What I really need is exact details on how I can recreate what you are seeing please.


author: Cyril Menigoz
body: Hello Thanks for you answers.This is using draw.io for confluence cloud.Neither of it. Once I click outside the shape the link isn't present anymore : I can not see it, if I try to edit the link to value is empty.It worked a few weeks ago.


author: David Benson _draw_io_
body: This is using draw.io for Confluence Cloud? When you say the link disappears are you saying that click on the shape doesn't show the link, or the shape in the viewer on the Confluence page doesn't show the link?


Tags: addon-com.mxgraph.jira.plugins.drawio

cloud

confluence-cloud

draw.io
how to I collect approvals on a page
Asked by Scott Way:


Answers:
author: Eduardo Nunes
body: Hey Scott,  

There are a couple of plugins in Confluence that enables you to manage page approvals:

* **Page Approvals -** <https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.pageapproval>
* **Comala Workflows -** <https://marketplace.atlassian.com/plugins/com.comalatech.workflow>

<!-- -->

* **Comala Publishing -** <https://marketplace.atlassian.com/plugins/com.comalatech.publishing>

I suggest you to take a look at them to check which one better fits to your needs.  

Cheers,  
ENunes
Restore Items from Trash
Asked by Anne EQS:

Is a page restored including all attachments, comments and versions?

When does an attachment show up in the space trash? (I assume that only attachments deleted manually show up there?)

What happens to an attachment in trash when it's 'hosting page' (i.e. the one it was attached to) is deleted?

Any further items show up in the Space trash?


Answers:
author: Robert Louie
body: Hi Anne,

Yes, a restored page includes all attachments, comments, and previous versions. Starting in Confluence 5.8, individually deleted attachments will appear in the space's trash and the attachment can be restored on its own by an administrator of the space.

If a page with an attachment is deleted, the attachment will be restored if the page is restored, however, the attachment itself will not be available to be restored on its own.

Here are some links for further information on [Deleting and Restoring a Page](https://confluence.atlassian.com/doc/delete-or-restore-a-page-139429.html), and [Deleting Attachments](https://confluence.atlassian.com/conf56/confluence-user-s-guide/organising-content/working-with-attachments/deleting-an-attachment).  

Thanks,  
Robert


Tags: confluence-administration
Availability of SOAP in future versions of Confluence
Asked by Paul Johnson:

We are currently using the SOAP api against version 5.7.1 of Confluence. We know it has been depracated and some stage will be removed.

What is the final version of Confluence that will support this api?


Answers:
author: Davin Studer
body: I have not seen anything specifying a removal date. There are many features in the SOAP API that have not been created in REST yet. My hunch is until they replicate that functionality in the REST API it will stick around ... it just isn't being expanded upon any more.

comments: author: Nic Brough -Adaptavist-
body: I suspect it will be here for a while too. But I notice that JIRA's REST interface didn't cover all the functions SOAP did before they removed SOAP, so I wouldn't bet on it covering everything SOAP does.
Content by label macro question
Asked by Stephane Talbot:

*This question is in reference to Atlassian Documentation: [Content by Label Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=145566)*

Is it possible to specify the labels used in this macro to be the labels attached to page? Right now, if I add a label to my page, I also need to add it to the macro for the related content to appear. Can I specify to the macro to use the page labels?


Answers:
author: Davin Studer
body: The best way I can think would be to create a user macro that will gather up the labels for the current page and then embed the content by label macro and dynamically put in the label values.


author: Steve Gerstner [bridgingIT]
body: What you want is a dynomc content by label macro, there was one, once, in this plugin:

<https://marketplace.atlassian.com/plugins/confluence.plugins.knowledgebase.survey>

But I think it's no longer supported....


Tags: content-by-label

documentation