youngmon/atlassian-qna huggingface dataset:
How to restrict a user only to the pages of a specific space?
Asked by Sanjay Zalavadia:

I'm trying to restrict a user or a group to only the pages of a specific space. I need to make sure that that user isn't able to somehow navigate to other spaces. Currently, i created a user, added them to a group and associated that group to the space I want to restrict them to. But when I log in to Confluence using that user's creds, i get dropped in the #all-updates page. So I can see updates being made across all spaces. Even worse, I can click on any of those pages and it'll take me there even if it's in a totally different space. Can't have that happen.

What am I missing?

Thank you!


Answers:
author: Ollie Guan
body: Hi [@Sanjay Zalavadia](/t5/user/viewprofilepage/user-id/1446694) ,

Do these users have access to other spaces besides the specific space?  

I think you can try to check the following configurations:

[1. Global permissions](https://confluence.atlassian.com/doc/global-permissions-overview-138709.html)  
[2. Space permissions](https://confluence.atlassian.com/doc/assign-space-permissions-139460.html)  
[3. Page restrictions](https://confluence.atlassian.com/doc/permissions-and-restrictions-139557.html)

Hope it helps.

comments: author: Sanjay Zalavadia
body: Thanks Ollie. I haven't added the user nor the group to any other space under space permissions so I'm assuming that they shouldn't have access to any other space. But like i mentioned in my original note, since they're landed on the #all-updates page, they can navigate to another space from the links on that #all-updates page. I looked at page restrictions but that only talks about restricting access to pages under a space. It doesn't say anything about restricting from pages that are global like the #all-updates page.


author: Nic Brough -Adaptavist-
body: What are the permissions on the space that they can see that they should not?

You need to remove whatever it is that is letting them into that!


Tags: confluence-server

server
zombie process of user "confluence" causes High CPU usage
Asked by VujacicSun:

First of all, the server I run Confluence has no enough disk for the weekly backup job for the Confluence website and I can not access the Confluence website from my web browser.

Then, I run stop-confluence.sh which reports that kill the process failed. I run 'kill -9 XXXX' on the confluence process I can see in the 'top' command shows.

Then, I start the confluence server by running 'start-confluence.sh' as root. But I still cannot access the Confluence website and I found the zombie process of user "confluence" causes High CPU usage:

![conf.jpg](/t5/image/serverpage/image-id/52133i368BBE92EE2C43FF/image-size/large?v=v2&px=999 "conf.jpg")

and I CAN NOT kill the process any more, even I reboot the system.

I see in the atlassian-confluence.log as following:

2019-04-19 13:30:29,421 WARN \[synchrony-interop-executor:thread-2\] \[plugins.synchrony.bootstrap.DefaultSynchronyProxyMonitor\] pollHealthcheck Could not ping the synchrony-proxy \[<http://127.0.0.1:8090/synchrony-proxy/healthcheck>\]: {}  
-- url: /longrunningtaskxml.action \| referer: http://\*\*\*\*:8090/admin/restore-local-file.action \| traceId: 5eb0806c7e6e9c96 \| userName: \*\*\* \| action: longrunningtaskxml

The Confluence Version I used is 6.9.1-x64


Answers:
author: Daniel Eads
body: Hey Vujacic, welcome to the Community.

As Bastian linked, it looks like your instance has been attacked due to a security vulnerability. [I've written up some general first steps for detection (you've identified a malicious process) on this article](https://community.atlassian.com/t5/Confluence-articles/Confluence-CVEs-and-common-questions/ba-p/1062634). For your case, I would recommend looking at the crontab next (instructions in the article) to stop the process from re-launching itself.

We are happy to help on this question if you continue to have issues after going through the article. Please let us know!

Thanks,  
Daniel \| Atlassian Support

comments: author: VujacicSun
body: Thanks for your help.

I see the virus in '/var/spool/cron/confluence' and I have upgraded Confluence already.

Thx!


author: Bastian Stehmann
body: Hi [@VujacicSun](/t5/user/viewprofilepage/user-id/3062524) ,

There is a vulnerability in confluence that is attached a lot this month and it seems that you have been hit by that.

Here is the advisory regarding this <https://confluence.atlassian.com/doc/confluence-security-advisory-2019-04-10-968660855.html>

comments: author: VujacicSun
body: Thanks for your help.

It's exactly the problem as you attached and I have upgraded Confluence from 6.9.1 to 6.12.4. It seems back to normal.

Thx!


Tags: atl-confsec

confluence-server

server
Copy and Paste
Asked by Claysa Diamond:

I'm attempting to copy a 60 page document into confluence so as to better work/edit it with my team. However, when I paste into a Blank Page on Confluence, a good majority of my words are put together and there are a lot of errors that get translated within the text. Any way to do this differently to avoid the errors?


Answers:
author: Thomas Bowskill
body: Hi [@Claysa Diamond](/t5/user/viewprofilepage/user-id/3065635)

I would recommend these options to try (in order):

1. Use the Confluence Office Connector functionality, which loads in the Word doc itself (not a copy and paste), which gives you a better chance of the document being understood correctly. Atlassian has [a guide for importing Word documents](https://confluence.atlassian.com/confcloud/import-content-into-confluence-724765058.html) that is worth a read
2. (This step is a pure guess) maybe try saving your Word Doc as a .doc file (opposed to docx, as it may dumb-down some of the richer formatting and make it more import-friendly -- total speculation though!
3. If the above fails, another (albeit a bit arduous) step would be to copy and paste sections of the Word doc to a text editor (e.g. Notepad) to remove all formatting. Downside is that if your document contains a lot of formatting you will have to re-do all this


Tags: cloud

confluence-cloud
Embedded database doesn't appear as option
Asked by Brett Rowberry:

Here's my setup:

* macOS Mojave (10.14.4) with
* Docker Desktop: Version 2.0.0.3 (31259)

I opened a Terminal and entered

* docker pull atlassian/confluence-server
* docker run -v /Users/brett/Docker:/var/atlassian/application-data/confluence --name="confluence" -d -p 8090:8090 -p 8091:8091 atlassian/confluence-server

I visited localhost:8090 and the setup screen came up without any problems. I followed the flow but the embedded database option never came up and instead asks for external database connection information. How to I choose the embedded database?


Answers:
author: Shannon S
body: Hello Brett,

Thank you for reaching out on Community! Happy to help.

I'm installing the latest Confluence right now on MacOS version 10.14.4, Docker version 2.0.0.3.

You will get the option either when you say that it's an Evaluation. If you say it's a Production intsance, then you'll find the option on this screen:

![Screenshot 2019-04-23 at 11.22.49.png](https://community.atlassian.com/t5/image/serverpage/image-id/52292i221781B12462410B/image-dimensions/528x340?v=v2 "Screenshot 2019-04-23 at 11.22.49.png")

If you missed that screen, you can blow away the image in Docker and re-install. However, it might just be better if you install it on an external database if you plan on keeping this installation. The reason being is that the embedded database isn't supported for production instances and you risk losing your data should anything go wrong.

I hope this helps but do let me know if you have any trouble.

Regards,

Shannon


Tags: confluence-server

database

server
I am looking for suggestions on how to document contact lists in Confluence
Asked by Kathy Parker:

The organization has many technical and stakeholder contact lists. We are trying to transition those documents into Confluence and seeking recommendations for best practices.


Answers:
author: Robert Reiner _smartics_
body: We have page blueprints for persons, roles, organizations, and stakeholders. Stakeholders map persons to roles for particular projects.

So we have a single document for each person. These have properties so that we can create address lists in tabular form.

I'm a fan of having each thing described in its own document and then having other pages to collect information from those documents (like the organization a stakeholder works for, phone numbers, or homepages) in tabular form.

comments: author: Kathy Parker
body: Thank you for a prompt reply. Are the templates you references add-ons? If you would you be able to provide the Blueprint name? I am looking through my list and don't see which reflect your description.


author: Robert Reiner _smartics_
body: I'm sorry, I thought you are looking for a conceptual approach. Since I know many who prefer to have a long table of information, I wanted to provide a positive view on the one-thing-on-one-page approach. :)

We use our own blueprints which are based on our [projectdoc Toolbox.](https://www.smartics.eu/confluence/x/1YEp) The projectdoc Toolbox is a commercial add-on I am one of the authors (biased alert!).

In [Web of Documents](https://www.smartics.eu/confluence/display/PDAC1/Web+of+Documents) we describe the relationship of the document types I mentioned above and provides links to further information.

Maybe you can use some of the ideas for your own blueprints.
Trying to edit Space Meeting Note template w/o editing Global
Asked by Robert Matney:

When I edit "Meeting notes" template \[Space Settings \> Content tools \> Templates \> Meeting notes Blueprint \> Meeting notes\] and submit changes, the screen shifts after save to Global Templates and the outcome is that the Meeting notes template is changed for all spaces.

What's my user error here?


Answers:
author: Diego
body: Hello there Robert!

As I understand your issue, the blueprints page changes to the Global Templates page after save and the edit is applied instance wide, instead of Space Specific. Is that correct?

This is indeed a strange behaviour. There seems to be no user error, following the described path (**Space Settings \> Content tools \> Templates \> Meeting notes Blueprint \> Meeting notes**) I am able to edit the template on a Space level.

Would it be possible for you to try the same with:

* Browser incognito mode on
* Another browser

Further, could you clarify a few things for us:
> 1. Is this affecting other users?
> 2. When did you first face this issue?
> 3. Is this happening to other blueprints as well?

Looking forward to your reply Robert!


Tags: cloud

confluence-cloud
Formatting Issue on confluence page
Asked by rmuller123:

Hi there,

I'm trying to transfer documentation from an old site to a new confluence page. Basically just copying over all text. When I do this and I am in the edit mode, everything looks perfect but as soon as I leave edit mode and publish my changes I see additional '???' or '??' or '?' added to the text. It is randomly applied and when looking at the html code I don't see anything distinctly different.

Could someone please help me understand why '???' is automatically being added in and how to remove it?

Published/Unpublished

![2019-04-19 08_17_19-D.png](/t5/image/serverpage/image-id/52094i5470EDF4401E4DB2/image-size/large?v=v2&px=999 "2019-04-19 08_17_19-D.png")![2019-04-19 08_18_01-t.png](/t5/image/serverpage/image-id/52095i7C614530824F0FE8/image-size/large?v=v2&px=999 "2019-04-19 08_18_01-t.png")


Answers:
author: Ed Gaile _Atlanta_ GA_
body: Usually that means some sort of non standard characters or collation issue. You might want to eyeball this - [https://confluence.atlassian.com/jirakb/jira-application-internationalisation-and-encoding-troubleshooting-203394762.html](https://confluence.atlassian.com/jirakb/jira-application-internationalisation-and-encoding-troubleshooting-203394762.html?_ga=2.2745651.2045175521.1555608590-185130839.1550550709)

or also try and throw the information into a text editor and see if you find any special characters.


Tags: confluence-server

server
Can you add a multiline string in plain text via the Confluence API to a web page?
Asked by Louis Gallo:

I am new to programming with Confluence. I am using Python 3 and the Confluence API to create Confluence pages.

The one thing that I cannot figure out is if I can add a multiline string to a Confluence page via the API?

It seems to strip all my carriage return line feeds and sticks everything on one line.

Example: (Python)

#Declare my multiline string

myString = '''a

b

c'''

When I use this call:

# Creating page in confluence  
create_page_result = confluence.update_or_create(  
parent_id=9999999,  
title= 'My Test Page',  
body=myString

It writes this string to the new Confluence page all on one line:

a b c

Is there any way around this?

Help!!!

Thanks,

Lou


Answers:
author: John Fetzik
body: You probably need to use the inline newline escape sequence, "\\n". Check out the following page for more details.

<https://confluence.atlassian.com/jirakb/how-to-insert-a-new-line-when-using-lines-the-jira-core-rest-api-779160736.html>


Tags: confluence-server

server
How do I create a scrolling text box?
Asked by Jennifer Bukacek:

I would like to have a section at the bottom of my home page that shows a scrolling list of updates. Is there a macro for this, or a way to constrain the section I'm putting the list in?


Answers:
author: Ed Gaile _Atlanta_ GA_
body: You want to see all the latest updates in a confluence space? If so, you can use the 'Recently Updated' macro and configure it for the space you want and max number of entries to show.

comments: author: Jennifer Bukacek
body: Thanks for the answer, Ed! This is an option for sure. However, I'd like to control the list of updates, showing only the significant changes and not minor edits. Can I use the Recently Updated macro with some control like that? Thanks, again!


author: Jennifer Bukacek
body: Hmm, I might have a solution using this Recently Updated macro. I've filtered the list using labels "new" and "updated." If there is no other macro that gives me a scrolling text box, then I'll use this method. Thanks, again!


author: Nicolai Sibler
body: Hi Jennifer,

there is a paid third party app which includes a "News Ticker" macro: [https://marketplace.atlassian.com/apps/1213955/news-teaser-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1213955/news-teaser-for-confluence?hosting=server&tab=overview)
Decision log items missing options
Asked by Bill_Kornick:

My favorite feature in Confluence is the decision log. All project meetings begin with a review of the decision log as a full list and we examine any that are not resolved/decided.

It appears that the "add a decision" template has changed significantly. I. Instead of a table presenting status, stakeholders, outcome, due date, owner;

I see impact, driver, informed, and contributors. For contributors, the label says "add stakeholders", yet that does not show up as stakeholders in the list widget.

Is there a "classic" version I can use?


Answers:
author: Shannon S
body: Hello Bill,

Thank you for reaching out! I believe you may be on Confluence Cloud; could you confirm?

If so, you might have run into the following bug.

* [CONFCLOUD-65374](https://jira.atlassian.com/browse/CONFCLOUD-65374) *Decision log page doesn't retrieve some information*

According to this, the Decisions Log isn't retrieving information from the Stakeholders field. The workaround is as follows:
>
> ### Workaround {#toc-hId-1058610678}
>
1.
   > Go to the Decision page and **Edit** it
2.
   > Change the **Contributors** field in the table to **Stakeholders**
3.
   > **Publish** the Page(The same workaround can be applied to other fields that are not being rendered in the Decision Log)

Can you please try that and let me know if it works for you?

Regards,

Shannon

comments: author: Daniel Mackay
body: I had this issue, and the solution above worked for me.  

I edited the page report on the decision log page and changed the following:  
- 'Owner' to 'Driver'  
- 'Statekholders' to 'Contributors'


author: Shannon S
body: Hi Daniel,

Thank you for providing the alternative workaround! I'll be sharing this in the future if the other one doesn't work.

Take care,

Shannon


Tags: confluence-cloud
Watch a page in Confluence with macro: "insert jira issue/filter" included
Asked by Iris Knuvers:

Hello,

I'm trying to watch a page in Confluence to which I have attached the macro: "Insert Jira Issue/ Filter" but it doesn't work.  
When I change an issue in Jira, I don't get a notification in Confluence.   

Does anyone have an idea if the notifications work by using this macro?   
The user who wants to receive the notifications only has a Confluence account, not a Jira account.

Thanks!


Answers:
author: Jack Brickey
body: Hi [@Iris Knuvers](/t5/user/viewprofilepage/user-id/1382363) ,

I am working on addressing old posts that have never been answered. I am unaware of any such notification that would be generated within Confluence if a jury issue was updated. Did you ever find a solution for this? I expect it is not possible OOTB but maybe there is an add-on?


Tags: jira
Connection error in mysql
Asked by image ghimire:

**Incorrect username or password**

SQLState - 28000  
Error Code - 1698  
java.sql.SQLException: Access denied for user 'root'@'localhost'

Can you please help me out.

Thanks

Image


Answers:
author: Dave Theodore [Coyote Creek Consulting]
body: A quick google search on your error code came up with this [stackoverflow post.](https://stackoverflow.com/questions/39281594/error-1698-28000-access-denied-for-user-rootlocalhost)

If you followed the [Atlassian documentation](https://confluence.atlassian.com/doc/database-setup-for-mysql-128747.html), you should not have encountered this, so I would recommend reading over the doc and making sure you have your instance set up exactly as it states in the article.


Tags: confluence-server

server
Atlassian companion app in beta fase?
Asked by Ronny van Maanen:

Hello world,

Seeing the buildnumber of the companion app is stil in its 0.x.x range, does this mean it is still in beta?

Kind regards,

Ronny


Answers:
author: Andy - PTC Redundant
body: [@Ronny van Maanen](/t5/user/viewprofilepage/user-id/2679830) : Not clear from the release notes:

<https://confluence.atlassian.com/doc/atlassian-companion-app-release-notes-958455712.html>

...but the most recent JIRA ticket can help maybe point you in the right direction in regards to its assignee:

[https://jira.atlassian.com/browse/CONFSERVER-57445?src=confmacro\&_ga=2.179394086.303731345.1555597790-1445252486.1540800682](https://jira.atlassian.com/browse/CONFSERVER-57445?src=confmacro&_ga=2.179394086.303731345.1555597790-1445252486.1540800682)

[@Alex K](/t5/user/viewprofilepage/user-id/1882108) : is this app still in Beta phase? Hope you can shed some light.

comments: author: Ronny van Maanen
body: [@Andy - PTC Redundant](/t5/user/viewprofilepage/user-id/1182002) Thank you for the response. Going to check out the ticket. Did already see the release notes, it's prettig unclear indeed ;-). Can't release beta apps in my organization.


author: Andy - PTC Redundant
body: You're most welcome [@Ronny van Maanen](/t5/user/viewprofilepage/user-id/2679830) ! That's a wise approach and even wiser to suspect that anything not v1.0 is still in Beta (or some form of test state!)


Tags: companion-app

confluence-server

server
When doing search redirect to login
Asked by Simon:

Hi,

When do the search confluence redirects to login, even when login on admin it still redirects on loop.

What could be the reason?


Answers:
author: Andrew
body: Hi [@Simon](/t5/user/viewprofilepage/user-id/964021) ,

Could You pleas tell more details? Can You open page directly? What are You see on action address? Open page press F12 and find element 'form'![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/52081i64746C57177EC74C/image-dimensions/500x73?v=v2 "Capture.PNG")

Are You use nginx etc? Do You see some strange in log files?

B.R.

comments: author: Simon
body: Sorted already it was modsecurity issue, Thanks


author: Florian Schomakers
body: Hi Simon,   
late response but could you clarify what was your issue?  
"modsecurity"?


Tags: confluence-server

server
Getting error message while upgrading Confluence 6.8.1 to 6.13.4
Asked by Srimanta_Mukherjee:

When executing the bin file, the following error is received:

confluence$ ./atlassian-confluence-6.13.4-x64.bin  
Unpacking JRE ...  
Starting Installer ...  
Error: dl failure on line 893  
Error: failed /confluence/atlassian-confluence-6.13.4-x64.bin.25781.dir/jre/lib/amd64/server/libjvm.so, because /confluence/atlassian-confluence-6.13.4-x64.bin.25781.dir/jre/lib/amd64/server/libjvm.so: ELF file OS ABI invalid

The process stops after that. Ideas?


Answers:
author: Jeem Tan
body: So there was no solution to this but alternatives?

I faced a similar problem. But for me, I am performing an upgrade and by using the tar.gz file on my linux 64bit machine, is going to be alot of work.

comments: author: Daniel Eads
body: Hi Jeem,

What specific error are you getting when trying to upgrade? What version of Confluence do you currently have and what version are you trying to upgrade to? What operating system are you using?

Thanks,  
Daniel \| Atlassian Support


author: Daniel Eads
body: Hi Srimanta,

Confluence 6.13 uses AdoptOpenJDK instead of the previous Oracle JRE for its Java environment. I was able to find [similar errors for folks in the OpenJDK project](https://github.com/AdoptOpenJDK/openjdk-build/issues/698) who were running on CentOS 5. What operating system are you running specifically?

If you are on CentOS 5 (or another release from that era), you may get around this by using your system's Java instead. Our requirements for Confluence 6.13 are simply Java 8, either Oracle or AdoptOpenJDK, [although in our supported platforms document we advise against a couple specific releases known to have bugs](https://confluence.atlassian.com/conf613/supported-platforms-964961686.html#SupportedPlatforms-Java).

Assuming you want to use system Java, [we have a walkthrough for using the archive file to install Confluence](https://confluence.atlassian.com/doc/installing-confluence-on-linux-from-archive-file-255362363.html). This will be a tar.gz file instead of the .bin installer, and takes a little longer to set up than the .bin installer overall.

Let me know if you have questions!

Cheers,  
Daniel


author: Andrew
body: Hi [@Srimanta_Mukherjee](/t5/user/viewprofilepage/user-id/1169065) ,

Maybe selinux or your OS is x32?

B.R.

comments: author: Srimanta_Mukherjee
body: The OS version is 64-bit.

confluence$ uname -m  
x86_64


author: Andrew
body: Selinux enabled? If yes try disabled.


author: Dharma Ramos
body: I am not sure about the reason for the error, but are you aware that there is a security advisory that lists the version you are upgrading to as an affected version?

<https://confluence.atlassian.com/doc/confluence-security-advisory-2019-04-17-968660855.html>

comments: author: Srimanta_Mukherjee
body: Yes Dharma, so tried upgrading to 6.13.4. Got the same error as above.


Tags: confluence-server

server