youngmon/atlassian-qna huggingface dataset:
how to provide video content only to authenticated users using SSO authentication
Asked by Ambar Patil:

Confluence version : 5.10.4

We have to play video on client side, which are stored on one server.  
I am using iframe to play videos. Actual requirement is that,

We are going to embed video content from one server to some other servers.

For that we have to use iframe or any other way to play video, but only those people can play video who have permissions for video. For this we need to implement SSO authentication, so that only verified/permitted user can play video.

I am totally new to SSO authentication, can any one please suggest me how I can deal with this.

How I can use SSO authentication to play video?  


Answers:
author: Hermance NDounga
body: Hi Ambar,

So I'm not sure if you want to implement SSO \*only\* for this purpose, but if it's the case I don't think it would be necessary.

What's for sure it's that you can't tight the fact that a video is playing to a user logged via SSO.

I don't exactly know your usecase, but I will assume that all your user are licensed and only some of them need to see the video.

The first, simple and free solution is that you can place the videos on some pages that are restricted to few users thanks to [permissions.](https://confluence.atlassian.com/doc/permissions-and-restrictions-139557.html)  

The second solution if you actually want all the users to access the same pages, but only few of them can see the videos, I would recommand this [add-on](https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.visibility/server/overview).


Tags: authentication

sso
How to hide a specific label (or labels) in Confluence pages
Asked by Mordechai Cikk:

Hi Guys,

We have a situation where we have scripts that generate labels and other scripts that find and process pages based on those labels.

This works fine.

The problem is that we end up with a lot of labels (for internal use ) messing up the page for the user.

And worse, if the user decides to clean up his page and delete some of these "meaningless" labels, the scripts won't work.

**Any ideas of how we can hide specific labels while still allowing the user to create and delete his own?**

Many thanks

Mordechai


Answers:
author: Sandy Johnson
body: Mordechai

This can't stop users from deleting the labels, but what if all your internal labels were prefixed with an underscore. You could then educate your users thatny label in this format is an internal label and not to be touched.

Sandy

comments: author: Mordechai Cikk
body: yes. that is what we had ended up doing.

Thanks


author: Peter DeWitt
body: Mordechai, not sure if you can get that granular. Maybe you could create a new label field for users to use. You could then make the default label field read only or remove it from the edit screen for your issues.

comments: author: Mordechai Cikk
body: Thanks Peter.

Sorry I neglected to mention that the problem is in Confluence (not Jira) :( .

I corrected the heading above.


author: Peter DeWitt
body: :)
403 - Forbidden Error
Asked by Parthiban Narayanasamy:

We running 4 confluence server in clustering (data centre). users were not able to access the application and they have got 403 forbidden error. somehow the issue is resolved by restarting the services.

error in at.log: datetime=2017-09-27 13:27:56,824 priority=ERROR thread=http-nio-8090-exec-910 category=rest.api.model.ExceptionConverter method=convertServiceException message=No status code found for exception, converting to internal server error :

in cat.log: 27-Sep-2017 01:26:13.109 WARNING \[ContainerBackgroundProcessor\[StandardEngine\[Standalone\]\]\] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread "http-nio-8090-exec-841"

anyone please assist me to identify the root cause?

we are using confluence 5.10.8 server


Answers:
author: AnnWorley
body: To find a root cause we will need to examine logs and other materials, so I opened a support ticket on your behalf. You should get an email from our portal shortly.

When your ticket is resolved, I will circle back to let the Community know what the issue turned out to be.

comments: author: Parthiban Narayanasamy
body: thanks for your response Ann. I have raised a ticket, number [CSP-214021](https://getsupport.atlassian.com/servicedesk/customer/portal/14/CSP-214021)


Tags: confluence-server

data-center
Setting Anonymous access for questions
Asked by Prabu Murugan:

I am trying to follow this to set anonymous access for Confluence questions. But I do not see "Confluence Questions**Permissions"** under General Configurations that is mentioned in step 1.

<https://confluence.atlassian.com/questions/permissions-407724476.html>


Answers:
author: Marlon Palha
body: Hi AEM Techie,

Are you on Server or Cloud?

If on Server, do you see "Questions for Confluence - Permissions" under General Configuration?

If on Cloud, you might have to look at <https://confluence.atlassian.com/questionscloud/permissions-738361787.html> which indicates that permissions are governed by the space permissions.

comments: author: Prabu Murugan
body: ![Screen Shot 2017-09-26 at 10.15.31 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/6882i06B36DCC7B14EC25/image-size/large?v=v2&px=999 "Screen Shot 2017-09-26 at 10.15.31 PM.png")

Hi [@Marlon Palha](/t5/user/viewprofilepage/user-id/787020) - See attached image. I have enabled every single permission I could possibly enable in the cloud -\>space permissions


Tags: questions-for-confluence
Cannot start Synchrony Service on Linux Server
Asked by Anne Lee:

Hi ,

I download **Confluence 6.4.0 tar file** (Server version) for evaluation. When I execute start-confluence.sh, I found Synchrony Service not start on 8091 port. And no service running on 8091. The error message show "\[confluence.plugins.synchrony.SynchronyContextProvider\] getContextMap This instance could not be registered with Synchrony."

The config of tomcat are all use the default value, except add data source setting.

Does anyone know what's step or configure setting I miss?

![2017-09-27_135321.png](/t5/image/serverpage/image-id/6886iDF00F8EB24396615/image-size/large?v=v2&px=999 "2017-09-27_135321.png")

![2017-09-27_135459.png](/t5/image/serverpage/image-id/6888iB0629C338882835A/image-size/large?v=v2&px=999 "2017-09-27_135459.png")


Answers:
author: Anne Lee
body: JRE_HOME of tomcat default set to "/usr" and need to set JRE_HOME to correct path in `<Confluence_Installation_Directory>/bin/catalina.sh.`

`It's strange there is no Error or Warning log about this.`


Tags: synchrony
Confluence Server: Problems terminating numbered list
Asked by Stephen Kairys:

**Confluence Server 6.1.1**

Has anyone observed the following behavior?

<br />

Suppose I have a numbered list as follows:

1. Apples
2. Plums
3. 

If I'm entering the list items in sequence, all I should have to do to "terminate" the list is to press \[ENTER\] twice when the next number (in this case, 3) is displayed. Now and then, I find that I can't end the list. When I press \[ENTER\] , 4 displays. Then 4. Then 5. etc. (

This behavior seems to occur after I've done some sort of manipulation with inserted images and/or macros. It's annoying b/c most of the time, I can't fix it and have to start the list from scratch.

Has anyone seen this issue. If so, have you discovered a workaround? Thanks! (This is how it looks on screen...)

Steve![CannotTerminateNumberedList.PNG](/t5/image/serverpage/image-id/6870i2EA401EBF453EA0E/image-size/large?v=v2&px=999 "CannotTerminateNumberedList.PNG")


Answers:
author: Marlon Palha
body: Hi Stephen,

I don't think I have experienced that yet and hope I don't :)

Have you tried clicking "outdent" in the toolbar when at the number on the list that you want to remove?

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/6881iE7B5AE30F0858A75/image-size/large?v=v2&px=999 "image.png")

comments: author: Stephen Kairys
body: Thank you. I had to do it twice b/c my real-life example is a two-level list but looks like it may have worked. I'll keep an eye on it and get back to you if there are further issues.


author: Stephen Kairys
body: Hey Marlon, I received an email asking me to mark this answer as a solution. How do I do that? Thanks.
Gliffy Add-on does not work
Asked by Info:

Hi,

I have problems with Gliffy. Sometimes the add-on is no longer accessible. Pages that contain Gliffy Diagram, displays a macro error. And when I check on the add-on manager, Gliffy no longer appears in the list of installed add-ons.  
When I stop and restart the service. everything becomes normal again.  
this happened to me twice this week.  
I reinstalled the Gliffy add-on again, but to no avail.  
What else can I do?

Thanks


Answers:
author: Brant Schroeder
body: This sounds like a resource issue with your confluence server. I am assuming that you are hosted. Check the logs and see if you are running out of ram.

comments: author: Info
body: Thanks Brant,

But we host. I asked our technical resource and there is no connection with the RAM, he said that it has to be because of the physical server becoming old. For the moment, when I restart the Confluence service, the Gliffy reappear.

We'll probably migrate the Confluence instance to a more recent server

Thanks.


author: Brant Schroeder
body: Sorry meant to say self hosted and since you are you should check the logs and see if you are reaching the allocated ram threshold, is garbage collection happening often, are there any errors around memory usage. You might just need to bump in confluence the amount of ram the application is using to resolve this. In fact that would be my recommendation.
Cannot login to Confluence Server after rebooting server
Asked by Luis Ramos:

Server was rebooted and now no one can login to Confluence once the server came up. The main page can be accessed but when entering name and password - it comes back with -

503 Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later


Answers:
author: Nic Brough -Adaptavist-
body: You'll need to read the confluence and tomcat logs to find out what is going wrong. (Atlassian-confluence.log in \<confluence-data\>/logs and catalina.out in \<confluence-install\>/log)
Confluence Lnk broken after Upgrading to Jira core 7.5
Asked by noel.morales-chavez:

I'm getting error:

Service Unavailable {#toc-hId-1762972571}
-----------------------------------------

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Also getting authentication error:

**Authentication failed!**

An error occurred while trying to obtain an access token. For application link "Confluence (8120c6bc-d3dc-3a39-b18a-d40e78970691) <http://atg-pm.biotronik.com/confluence> confluence"

This happened after Jira was upgraded. Try different things to resolve issue with no success.

Thank you.


Answers:
author: AnnWorley
body: I understand your application links are not working as expected between Confluence and Jira since you upgraded Jira.

Please see: [Application Links Troubleshooting Guide](https://confluence.atlassian.com/kb/application-links-troubleshooting-guide-718668765.html):
If your application links have stopped working after a recent upgrade it's possible that your customizations to the application's server.xml file were overwritten. Custom changes can include reverse proxy configuration and HTTPS configuration. You should check that the upgraded server.xml file matches the pre-upgrade server.xml.  
The server.xml files are in the **conf** subdirectory under each application's installation directory.  
Please let me know the different things you tried already to resolve the issue, so I won't suggest steps you already took.
A macro is picking up a deleted page. Why?
Asked by Oksana riberdy:

The "content report table" macro filtered on label = "file list" is picking up a deleted page. Why does that happen?


Answers:
author: Peter DeWitt
body: Oksana, check you Space Admin page to make sure the page was actually deleted on not just orphaned. If it was deleted, empty it from the trash (Space Admin). You could also run a reindex to make sure its up to date and current.

-pd
Confluence cannot be accessed on localhost
Asked by tanujk:

Tried http://localhost:8090/ however i get error "page not found"

Jira software is running on the same server without any issues.

Firewall is off. confluence service is running.

I dont even see confluence in the admin configuration options like i used to


Answers:
author: Nic Brough -Adaptavist-
body: Could you check what the end of the catalina.out and atlassian-confluence.log files say?
Confluence installation error
Asked by RDovi:

We are new to Atlassian and support model. We have installed Jira, FishEye and Crucible with minor effort. We are now trying to install Confluence server with a compatible postgreSQL database but get an error message I was unable to find in the issues blogs. The Confluence database portion of the installation correctly connected to the postgrSQL 9.6 confluence database created. The install failed after starting Confluence for the first time at the end of the install, the following error message is displayed in the browser along with a type exception report with several sections not included below.....

---------------------------------------------------------------------------

HTTP Status 500 - com.atlassian.spring.container.ComponentNotFoundException: Failed to find component: Error creating bean with name 'i18NBean' defined in class path resource \[i18NContext.xml\]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate \[com.atlassian.confluence.util.i18n.I18NBean\]: Factory method 'getI18NBean' threw exception; nested exception is java.util.concurrent.CompletionException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantedTransactionManager' defined in class path resource \[databaseSubsystemContext.xml\]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantedLocalSessionFactoryBean5' defined in class path resource \[productionDatabaseContext.xml\]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: premature SessionFactory initialisation, Hibernate properties have not yet been persisted in confluence.cfg.xml

--------------------------------------------------------------------------------

Any idea what is causing this?


Answers:
author: Peter DeWitt
body: Bob, here is another issue similar to yours, maybe it will help get you headed in the right direction.

<https://community.atlassian.com/t5/Confluence-questions/Installation-Configuration-Issue-Confluence-Installing-on/qaq-p/613410>

-pd
Renaming existing Variables
Asked by Casey Maynard:

I am trying to determine how to rename an existing variable from a template.

I named my variable $oldvariablename, but I want to remove that variable from my list of current variables or rename it to $newvariablename

Is this possible


Answers:
author: AnnWorley
body: I found this answer on the Community: [How to remove variables from Confluence templates?](https://community.atlassian.com/t5/Confluence-questions/How-to-remove-variables-from-Confluence-templates/qaq-p/391252)

I tried on my test instance and indeed when I delete a variable from the template then save and reopen, it is no longer on the menu. So instead of renaming, a workaround would be to create a new one with the name you want.
Changing the side bar header
Asked by Kimberly Hopson:

I'm new to Confluence. How exactly do you change the header/title for a side bar in a new space? (Not sure if this is the correct name for it, but that's what it looks like.)

I'm using Documentation theme, and I have read the **Configuring the Side Bar** article. Changing the space name and logo in Global theme just shows as a page title when you change it back to Documentation theme.

The first screenshot is of the existing documentation that I need to match. See how the side bar there has a neat little header?

![header.png](/t5/image/serverpage/image-id/6812iA4CF7D4E3CCB7A84/image-dimensions/446x257?v=v2 "header.png")

Here's a screenshot of the new space I created:

![no header.png](/t5/image/serverpage/image-id/6811iB207EC16F81D4082/image-dimensions/448x157?v=v2 "no header.png")


Answers:
author: AnnWorley
body: I understand that when you configure the space logo in the default theme and then switch over to the Documentation theme the logo does not appear as expected. I should mention that the Documentation theme was discontinued in Confluence 6 and above.

To customize the sidebar for the Documentation Theme, please see this guide: [Configure the Documentation Theme](https://confluence.atlassian.com/conf510/configure-the-documentation-theme-829077138.html#ConfiguretheDocumentationTheme-CustomizingtheDocumentationtheme) You may need to copy the custom sidebar content from the space tools on the space you are aiming to match.

comments: author: Kimberly Hopson
body: Hi Ann,

Thank you for answering. To clarify, it's not the logo I'm trying to display on my new page, just the side bar heading itself, as highlighted in my first screenshot.

I actually did copy over everything I could from the Space Admin \> Stylesheet section of the space I'm attempting to match. My new space still doesn't show a side bar heading after saving the Stylesheet.


author: AnnWorley
body: Please go to Browse\>Space Admin\>Themes and click the little link that says **Configure theme**.

![ConfigureTheme.png](https://community.atlassian.com/t5/image/serverpage/image-id/6854i4910C468722F93F5/image-dimensions/461x356?v=v2 "ConfigureTheme.png")

Then add what you want in the sidebar to the Navigation field:

![Screen Shot 2017-09-26 at 1.30.37 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/6858iF75091ECD8FADB7C/image-dimensions/499x273?v=v2 "Screen Shot 2017-09-26 at 1.30.37 PM.png")

Then the text should appear as expected:

![Screen Shot 2017-09-26 at 1.26.03 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/6855iE157C723A7BA1406/image-size/large?v=v2&px=999 "Screen Shot 2017-09-26 at 1.26.03 PM.png")


author: Kimberly Hopson
body: OH yes! Awesome, thank you so much!
Drop down list User Macro
Asked by d98kas:

I would like to add a drop Down list where I have the name of all users. I would like to select the persons from the list


Answers:
author: Peter DeWitt
body: Kalid, if all you want is a drop down with information take a look at the easy drop-down menu add-on. <https://marketplace.atlassian.com/plugins/eps.focuspro.EasyDropdownMenu/server/overviewIf> your looking for something connected to the user database try the @mention function. It will auto complete user names for you.

-pd
What Linux distro should I use for Confluence (9/2017)?
Asked by petritis:

What is a good out of the box Linux distro to put Confluence on?

I am looking for something that will need as little tweaking as possible.

I plan to put it on a relatively low powered machine as a family wiki for 4 light use users.


Answers:
author: Nic Brough -Adaptavist-
body: RedHat if you want an OS you can get formal support on, CentOS if not (as that's what Atlassian tend to use). It will work find on most Debian based distributions too - obviously Ubuntu is at the top of the popularity list there. It works fine on plenty of other distros, and even the non-Linux FreeBSD.

The answer you need though is not a flat "CentOS" - I would pick the style of distribution you are most familiar with and go for the biggest most widely supported one of those. (I'm most familiar with Debian, so I'd choose Ubuntu. If I was ahead on the RedHat family, CentOS for test and RHEL for Production, and so-on)
Notification about outdated content
Asked by ??? ??????????:

Hi everyone,

Please, help me with my question.

I will need send a notification to owner the topic if topic not updates in 1 month. How i can make it?

Thank all for response!


Answers:
author: Marlon Palha
body: Hello,

When you say "topic", are you referring to Confluence Questions topics or do you just mean Confluence pages i.e. send a notification to the owner of the page if it hasn't been updated in a month?

If you are referring to outdated pages, have you looked into using something like <https://marketplace.atlassian.com/plugins/com.midori.confluence.plugin.archiving/server/overview>?

comments: author: ??? ??????????
body: Hello Marlon!

Yes I do a Confluence pages. Thank you very much!


author: ??? ??????????
body: If my Confluence installed in cloud, how i can use this plugin? In marketplace for "cloud" i see the following:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/6914iFB223F8410CC72FB/image-size/large?v=v2&px=999 "image.png")
Disable email for every like at a page
Asked by Michael Ruderer:

Hello,

our user?s are complaining about the mail which get?s sent to the creator of a page for every single like. Is there a way to disable this specific email notification? I haven?t found any configuration module at the Confluence Content Notifications Plugin...

Have you got an idea how to disable this?

Regards,

Michael


Answers:
author: Peter DeWitt
body: Michael, not sure we can disable the emails for just likes. It looks like there was another discussion in the community regarding the disabling of the like button. It cover two options for both Cloud and Server. Good luck!

<https://community.atlassian.com/t5/Confluence-questions/disable-like-button/qaq-p/90327>

-pd

comments: author: Michael Ruderer
body: Mhm ok, thank your for your answer!

Regards,

Michael
Migrate documents on confluence
Asked by Amit Lohia:

Is there any way to bulk migrate existing documentation to confluence.

basically requirement is

1. Bulk migrate documents from lotus to confluence

2. All the documents should be created as pages in confluence

3. Version control for future edits

Addon :

If approval flow can be implemented that would be add on.

Thanks


Answers:
author: Stephen Deutsch
body: Hi Amit,

Especially for the most recent versions of Confluence, you're probably going to have to roll your own solution. Here's a community thread from a while ago about the issue: <https://community.atlassian.com/t5/Questions/Method-tool-to-convert-any-other-markup-to-Confluence-Wiki/qaq-p/121518>

The good news is that once your pages are in Confluence, version control will be there for all further edits, and the Comala Workflows addon makes adding an approval flow quite easy.

comments: author: Amit Lohia
body: Ok thanks. Looks confluence in itself does not have a good way to migrate.


author: Nic Brough -Adaptavist-
body: It's more a case of Lotus not having a usable export format, but yes, it's going to be a lot of work to do this.


Tags: documentation

migration