youngmon/atlassian-qna huggingface dataset:
confluence java.io.IOException Stream closed ?
Asked by ALO:

Hi,

We had a storage outage last week and the underlaying database had to be rebooted. The application confluence was restarted and works fine, but now I noticed that some user installed plugins like sql for confluence are no longer installed or at least they are not found. In catalina.out I see only this:

```
java.io.IOException: Stream closed	at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:159)	at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)	at java.io.InputStreamReader.read(InputStreamReader.java:184)	at org.xhtmlrenderer.css.parser.Lexer.zzRefill(Lexer.java:1634)	at org.xhtmlrenderer.css.parser.Lexer.yylex(Lexer.java:1865)	at org.xhtmlrenderer.css.parser.CSSParser.next(CSSParser.java:1779)	at org.xhtmlrenderer.css.parser.CSSParser.la(CSSParser.java:1791)	at org.xhtmlrenderer.css.parser.CSSParser.stylesheet(CSSParser.java:157)	at org.xhtmlrenderer.css.parser.CSSParser.parseStylesheet(CSSParser.java:87)	at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:79)	at org.xhtmlrenderer.context.StylesheetFactoryImpl.parse(StylesheetFactoryImpl.java:103)	at org.xhtmlrenderer.context.StylesheetFactoryImpl.getStylesheet(StylesheetFactoryImpl.java:182)	at org.xhtmlrenderer.context.StyleReference.readAndParseAll(StyleReference.java:123)	at org.xhtmlrenderer.context.StyleReference.setDocumentContext(StyleReference.java:111)	at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:176)	at org.xhtmlrenderer.pdf.ITextRenderer.setDocument(ITextRenderer.java:143)...
```

Can you please help?

Many thanks!

Best regards,

Loredana


Answers:
author: Maarten Cautreels
body: Hi Loredana,

Luckily I have not had this issue myself but I think it will be best if you contact [Atlassian Support](https://support.atlassian.com) about this. They might have seen the issue on another instance and might know how to help you.

Or you could contact the vendor of the plugins that stopped working.

Best,

Maarten


Tags: app

confluence-app
Error Occured in Team Calendars on Confluence
Asked by Andrew Lonardelli:

Hey guys, I am wondering if anybody knows what this error means:

"Unable to load events of X - Issues (0f17412d-c125-4b65-aaa7-a3a33b73b032): calendar3.error.jiralink"

If I understand correctly it just means that I am unable to load any events from the project X. I have been working on this a couple of days now and I can't seem to find any problems. Let me know if anybody finds something.


Answers:
author: AnnWorley
body: It looks like one cause can be a disabled plugin in JIRA:

[Unable to load events of X: You may want to check the connection to JIRA](https://confluence.atlassian.com/confkb/unable-to-load-events-of-x-you-may-want-to-check-the-connection-to-jira-317194824.html)

A similar error is reported in this other doc, which describes the troubleshooting steps for various possible causes:

[Team Calendars for Confluence unable to load events from JIRA calendar](https://confluence.atlassian.com/confkb/team-calendars-for-confluence-unable-to-load-events-from-jira-calendar-310379060.html)

comments: author: Andrew Lonardelli
body: Thank you, my JIRA iCalendar Plugin wasn't enabled


author: AnnWorley
body: I appreciate your following up to let us know!


Tags: team-calendars-for-confluence
Migrating Confluence Between Servers (Centos to Redhat)
Asked by Sanjeev kumar N:

Hi Team,

We have requirement of migrating Confluence (Version 5.8.19) server (cent OS) to new server (Redhat OS), then we will upgrade it to Latest 6.X version.

ENV details:

We have installed Confluence V5.8.18 with Oracle DB on single box and we need to split the same to individual Redhat box and then upgrade it latest version.

Please help me on the same. Good if we have any videos for the same

Thanks

Sanjeev Kumar N


Answers:
author: Nic Brough -Adaptavist-
body: I'm not sure that your description is clear on what you are doing.

The first paragraph makes sense - you want to move a Confluence from one server to another (see <https://confluence.atlassian.com/doc/migrating-confluence-between-servers-184150.html> ), and later upgrade it as a second step.

But then you say something about installing on a single box and splitting it. This does not appear to have anything to do with moving from one server to another. Could you explain?

comments: author: Sanjeev kumar N
body: Hi Nic Brough,

Thanks for the support.

In current ENV we have installed Confluence V 5.8.18, configured with Oracle DB 11G on CentOS 6.x.

As the current ENV are getting de-commissioned, we need to migrate the same to new box (with Redhat 6.X installed).

We have two NEW Linux box, one for Confluence and other for Oracle DB.

++**For Confluence:**++ I have reffered link and it was not very clear.

(<https://confluence.atlassian.com/conf58/migrating-confluence-between-servers-771893123.html>)

Migration steps: As per link

1: If the operating systems on both servers are the same, then the home and install folders can be copied straight into an identical external database and user management setup.

On the original server, create zips of the Confluence install and home directories

++Can i know which folders needs to copied to new server.++

++Do we need install the Confluence on new server and copy.++

<br />

++**For Oracle DB:**++ Will export (from Production server )and import the same (New server).

Thanks

Sanjeev Kumar N


Tags: migration
Is it possible to get batch notification on ?task marked complete??
Asked by Andr? Jaenisch:

Imagine I am watching a page, which has a subpage containing a checklist with several items.

Now, someone else of my team ticks off a bunch of checklist, I currently get a notification email for every single checkmark ticked.

It would be handy, if Confluence could wait for a defined amount of time (say, three minutes?) and then send a batch email listing all checked items. This could be done similiar to ?Recommended articles".

I can't write a support mail directly because I am only a user. But maybe the community has a tip for me.


Answers:
author: Mirek
body: I guess Confluence supports not Batch notifications to this should not be a problem if those would be executed in specific time frame (it would be changed - default 10min)

See "Send batch notifications"

<https://confluence.atlassian.com/doc/scheduled-jobs-96567525.html>
Confluence Backup Permissions
Asked by Eva Kasiak:

We have Confluence Cloud and wanted to leave Administration/Backup option to sys admin but turn this option off for Confluence admin. Is there a way to do it at all? We don't seem to find any solution for that in cloud hosting. Any advises?


Answers:
author: Nic Brough -Adaptavist-
body: You don't get "sys admin" on Cloud. The backup option remains available to Confluence administrators, as that's the only route you have of getting a backup.

comments: author: Eva Kasiak
body: thanks that helps


Tags: backup

confluence-cloud
Find active users in atlassian using java api
Asked by Ankit:

Hi Team,

I'm trying to find the number of active users in confluence to test atlassian-license. I found a method to get max number of uses allowed in the license but couldn't find any function to get active number of users in confluence to compare that with. Any help wpuld be appreciated.


Answers:
author: Mirek
body: There is thread related to this

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

Where we can find a [comment](https://jira.atlassian.com/browse/CONFSERVER-37100?focusedCommentId=2274391&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-2274391) that starting from Confluence 7.1 it should be possible via those endpoints

```
/rest/license/1.0/license/userCount /rest/license/1.0/license/remainingSeats /rest/license/1.0/license/maxUsers
```


Tags: developer
impossible to delete all subpages
Asked by batou22003@yahoo.fr:

Hello.

I have manager rights and when I try to delete a page

and its subpages, I get the error message as following : "deletion failed : delete.page.hierarchy.dialog.deleteHierarchy error"

Any idea?


Answers:
author: Mirek
body: It might be that Content index is broken/outdated and need to be recreated

<https://confluence.atlassian.com/confkb/a-delete-failed-message-displays-when-trying-to-delete-a-page-1005788905.html>


Tags: child-page

delete
Search for text embedded in a web link (content search) in a confluence page
Asked by Aswini Vayyala:

Hi,

I am able to get content search results when the link is added as text within the page.

eg: cql=space=test and text\~"<https://test.xyz.com.au/test1/xyz/test2>"

But if the same link is embedded as link text in the web link of the page, the above CQL does not work. Is there a way to search the embedded content especially web link text?


Answers:
author: AnnWorley
body: The links are not searchable within Confluence. If you only need to identify the links once for a project, please consider exporting the instance to XML and then using a text editor to find the links as described in [How Do I replace all 'hard' links to my old Base URL](https://confluence.atlassian.com/confkb/how-do-i-replace-all-hard-links-to-my-old-base-url-284366235.html).

comments: author: Martin Cleaver
body: [@AnnWorley](/t5/user/viewprofilepage/user-id/502040) is it still true that CQL can't find URL link values? I don't see it on <https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/>

I've been looking for a JAC ticket so I can vote.

Is it the case that a CQL function handler could be written, or is it that it would never be possible?


author: vlad
body: [@AnnWorley](/t5/user/viewprofilepage/user-id/502040) a clarification would be much appreciated: I can confirm that the web search interface @ \`http://.../wiki/search?text=\<url-path-element\>\` finds the said path element inside URLs just fine, but the "equivalent" CQL \`cql=text\~\<url-path-element\>\` does not. Pointers, ideas, thoughts? Thanks!


author: vlad
body: Aha, it would appear that \`siteSearch\~\<url-path-element\>\` does the trick, at least for now.


Tags: link

rest-api

search

text
Just pointing out a typo in the documentation
Asked by Bruce Blanos:

On the "Blueprints" page in the Confluence documentation, under the heading, "Create content using a blueprint," I couldn't help but notice an error in the second full paragraph.

The following sentence has a problem:

The index displays a list of pages made with the blueprint, and **information selected information** from your blueprint pages.

I believe that the phrase that I highlighted in bold should read, "selected information."

You have great documentation in general. I am a technical writer and like to suggest improvements when I can. :-)

Thanks,

--Bruce


Answers:
author: Mirek
body: From what I see the text is now displayed as:

*The index displays a list of pages made with the blueprint, and information selected from your blueprint pages.*

Reference:

<https://confluence.atlassian.com/doc/blueprints-323982376.html>


Tags: documentation
Authenticate Confluence Cloud URLs
Asked by Blake Williams:

We're looking to use confluence cloud to store client specific documentation for our system.

Our users will already be logged in to our system.

We want to embed a document search inside our system, and allow users to click through to see the articles on confluence.

How can we give users a link to view the article without requiring them to sign in to another site (i.e. confluence cloud)?

We should have control of the logins for confluence. I have looked into using basic authentication - but I haven't been able to get it to work.


Answers:
author: AnnWorley
body: If you enable anonymous access to the pages you want to display from your Cloud instance, the users won't have to log into Cloud. It sounds like you want some security on the Cloud pages, though, since you mention client specific documentation.

What is the system that you are looking to embed the Confluence pages in?


Tags: authentication
How can I turn off the auto emojis?
Asked by Nathan:

I am writing game dialog on confluence pages and it is not helpful when I type (sigh) as a stage direction and it turns into a little sighing alien. How do I turn off this annoying feature?


Answers:
author: Fabian Lim
body: Hi Nathan,

Here are some instructions on how you can deal with the emojis: [https://community.atlassian.com/t5/Confluence-questions/remove-automatic-smiley-display-when-typing-quot-quot-line-break/qaq-p/1338838?utm_source=atlcomm\&utm_medium=email\&utm_campaign=digest_notification\&utm_content=topic](https://community.atlassian.com/t5/Confluence-questions/remove-automatic-smiley-display-when-typing-quot-quot-line-break/qaq-p/1338838?utm_source=atlcomm&utm_medium=email&utm_campaign=digest_notification&utm_content=topic)
Create users for specific spaces
Asked by Lindsay Coughlan:

Please can someone help us setting up Confluence with new users.

We want to have multiple spaces but only allow users access certain spaces.

For example, John can access Space A but not Space B. And Julie can access Space B but not Space A.

Can you please confirm how this is done?

Ideally we want to invite a user and set the permissions before they have logged in. Same example as above, can I invite John to Confluence but only to view Space A?


Answers:
author: AnnWorley
body: Yes, what you are describing is very doable. Use a group like confluence-users to allow Global permissions and then use space access groups to allow access to each space. It is worthwhile to review these docs:

[Global Permissions Overview](https://confluence.atlassian.com/doc/global-permissions-overview-138709.html)

[Space Permissions Overview](https://confluence.atlassian.com/doc/space-permissions-overview-139521.html)


Tags: permission

space

user
I would like to add a search macro on the image
Asked by sachin reddy:

I would like to add a search macro on an image like the one you can see in the attached image below. Can you please help me understand how can this be done.![Screen Shot 2017-05-15 at 3.04.04 PM.png](/t5/image/serverpage/image-id/1266iF0E40070554126A7/image-size/large?v=v2&px=999 "Screen Shot 2017-05-15 at 3.04.04 PM.png")


Answers:
author: Mirek
body: Similar to what I posted here

<https://community.atlassian.com/t5/Confluence-questions/Is-it-possible-to-embed-the-space-level-Search-bar-into-an-image/qaq-p/1290551#U1898684>
How to identify JRE used by Confluence?
Asked by Christoph Malassa:

Hi,

I am running mutliple Confluence and JIRA instances on the same server (behind a reverse proxy). All over sudden, one of my confluence instances started not trusting its corresponding JIRA server. My first guess was that the JIRA server's SSL cert was not in the Confluence server's cacert file. But it was.

So now I am thinking: am I even sure I am looking at the correct JRE? Since the system has its own JRE and JDK and every single JIRA and Confluence instance also installed its own JRE, how can I _know_ which JRE a particular confluence (or JIRA for that matter) instance is using?

Thanks!  
Christoph


Answers:
author: AnnWorley
body: Great question. You can actually view in the UI the path to the Java being used. It's on Admin\>System Information (Base URL//admin/systeminfo.action). Do a find for "java.home".

comments: author: AnnWorley
body: ![Screen Shot 2017-05-15 at 2.20.44 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/1265i8892B62E8273730F/image-size/large?v=v2&px=999 "Screen Shot 2017-05-15 at 2.20.44 PM.png")


author: YongTack_ Lim
body: Is there a way to check it from the command line in Linux?


Tags: certificate

jre

ssl
Can you turn the Atlassian/Confluence Markup off and Markdown On?
Asked by Peter Luttrell:

I despise the Atlassian/Confluence Markup and the way the Confluence and JIRA editors handle it.

Is there a way to completely disable it and use Markdown instead?

If you want to reference code in markdown it takes \<2 seconds to add the \` char around it. But in Atlassian/Confluence Markup it's an absolute pain every time. Using the \`Preformatted\` works horribly because the editor forces you to a new line.

The \`Import Markup\` and then pasting in Markdown works, but it's a one-time thing. So I've started keeping my documentation in a GIT repo in Markdown format and every time I want to change it I use a real Markdown editor and paste it in. And when others update Confluence, I have to manually merge their changes. Not cool.


Answers:
author: Stephen Deutsch
body: If you want to just use Markdown, why not use one of the plugins that renders Markdown in Confluence? There are some free options:

Server:

[Markdown Macro for Confluence](https://marketplace.atlassian.com/plugins/com.atlassian.plugins.confluence.markdown.confluence-markdown-macro/server/overview)

Cloud:

[Render Markdown](https://marketplace.atlassian.com/plugins/render-Markdown/cloud/overview)

Note that you won't be able to embed Confluence macros inside, so you'd have to break your markdown in pieces (i.e. insert multiple macros as such: Markdown macro, Confluence Macro, another Markdown macro for the rest of your text, etc.).
Setting up Tasks/Task-Lists to assign as checklists
Asked by Chris Jackson:

I'm currently working to recreate some of our department's checklists within Confluence, but am running into some roadblocks. The main page I need help with is a checklist we use for onboarding of new personnel. Here's what I'm trying to do:

- Create a checklist supervisors can assign to a particular user for completion

- Have a page we can save/archive for documentation purposes, and also export as a PDF

- Be able to check the progress of an assigned checklist/task

Not sure if this is a tall order for Confluence's capabilities, I'm trying to roll multiple processes into it, to streamline our own procedures and consolidate several steps/processes to 1 place/method.


Answers:
author: JP _AC Bielefeld Leader_
body: Confluence only allows a task to be done or not done. There are no other states possible. You could create a page template (global or space) and have a checklist with tasks assigned to defined users as content. But when creating a page with this template you still hav to define the due dates for every task.

You might want to try out Jira in combination with Confluence to achive all want you want to do.


Tags: task
Trouble to delete page and subpages
Asked by batou22003@yahoo.fr:

Hello.

I have manager rights and when I try to delete a page

and its subpages, I get the error message as following : "deletion failed : delete.page.hierarchy.dialog.deleteHierarchy error"

Any idea?


Answers:
author: Mirek
body: It might be that Content index is broken/outdated and need to be recreated

<https://confluence.atlassian.com/confkb/a-delete-failed-message-displays-when-trying-to-delete-a-page-1005788905.html>


author: Thomas Schlegel
body: Hi,

please use another username, not your email-address. This is an invitiation for spammers.

comments: author: batou22003@yahoo.fr
body: Thanks for the tip. I changed it.


author: 1334587353
body: Hi, use another username? What do you mean? Login again with a different username?  
delete.page.hierarchy.dialog.deleteHierarchy


Tags: child-page

delete
How can I authorize a users to modify CSS Stylesheets in Confluence Server instance
Asked by Greg Della-Croce:

We use a version 5.10 (plans are still in the works to upgrade to 6.x).

I have a user that want to customize the CSS Stylesheet for his space. He, however, can not see the stylesheets. How do I give him the permissions he needs without making him a full admin?


Answers:
author: AnnWorley
body: You may make the user an admin only on the space, then he can access the stylesheets for his space but not Global stylesheets or stylesheets on other spaces:

[Space Permissions Overview](https://confluence.atlassian.com/doc/space-permissions-overview-139521.html)


Tags: stylesheet
Confluence Team Calendar From JIRA Issue
Asked by Andrew Lonardelli:

Hi everyone,

I am wondering if there is a way to export an issue with a custom issuetype from JIRA to the Confluence Team Calendars. This issuetype has custom fields consisting of a starting date and an ending date. The starting date and ending date would be the dates that would need to be exported to the team calendar on Confluence.  

I want it to export from JIRA to Confluence once it reaches a certain status on the Workflow, either through a postfunction or maybe a trigger. Hopefully there is an automatic way to do it, instead of having to manually insert the dates inside the team calendar.


Answers:
author: Anton Chemlev - Toolstrek -
body: Hi,

Try this:

1. Create and save filter in Jira, which shows issues you need. Don't forget to share your filter. For example, you want get issues with custom issuetype "Project" and status "In progress".

2. Go to Team Calendars, choose calendar you want and create new event with type Jira Issue Dates. While creating you should see your custom fields with Date/Datetime types.

3. If you experience any issues with visibility, first of all check permissions both in Jira and Confluence.

comments: author: Dave Collins
body: She, and I, are wanting a team calendar event automatically created when an issue is set (with date range) to "done". So, no...


Tags: jira

team-calendars-for-confluence
Restrictions on web links in Confluence
Asked by Daniel Vlad:

Hello there,

i want to set restrictions on a confluence template, so that only certain groups can create pages via this confluence template. How can i do this?

Or can I configure a confluence template, via comala workflows, so that it always started with the same workflow? For the most pages I use another workflow. I have then two concurrent workflows on a space. Is this possible? The first workflow I want to use to creat parental level. The second vor normal pages.

Regards  
Daniel


Answers:
author: Mirek
body: Basically from what I see it is related to Comala workflows.. When you want to restrict specific workflow to a page I think labels can be used.

More information can be found here in a similar topic

<https://community.atlassian.com/t5/Confluence-questions/How-do-you-assign-a-Comala-workflow-to-a-Template-page/qaq-p/158438>

For restrictions there is a documentation

<https://wiki.comalatech.com/display/CWL/Add%2C+remove+and+set+page+restrictions>
Can we create a form in confluence page which fills out some information in another page?
Asked by Brian Bugagga:

Hi Everyone,

We have created a space for every client and have created pages for particular things e.g,

\[Client Space\] --\> ABC

\[Space page\]---\> ABC Network Diagrams

\[Space page\]---\> ABC SLA and Contract

\[Space page\]---\> ABC NDA

I would like to be able to create a form with variables in ABC Client Space and use that form to popullate other pages with that same information. E.g, i input the client name and address and it gets inserted in the other pages, wherever i call the variables used in the form.

Is this possible.

Thanks alot.

Brian_B


Answers:
author: AnnWorley
body: Please check out the [Excerpt Include Macro](https://confluence.atlassian.com/doc/excerpt-include-macro-148067.html) and let us know if it suits your use case.


Tags: developer

forms

variable
How do I remove contents of a Word document from the Table of Contents macro?
Asked by Daniela Schmitzov?:

Hey, I'm new to working with Confluence, our version is 5.10.8. When I upload a Word document to a page, the table of contents doesn't only show the contents of the page, but also contents of the document, which is really confusing.

Can the document contents be removed? I tried excluding them (through Exclude Headings in TOC macro), but it didn't work.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Daniela Schmitzov?](/t5/user/viewprofilepage/user-id/1132494) ,

please check the type of text. "Normal text" should not appear on the table of contents.

Fabio


Tags: table-of-contents