youngmon/atlassian-qna huggingface dataset:
Can't display mp4 video using Multimedia macro after exporting to HTML
Asked by Kris Fininen:

We're trying to use the Multimedia macro to insert an .mp4 video file and then export the page to HTML. The video works great on the Confluence page but after exporting to HTML using Confluence's HTML export, we get the error, "Video format or MIME type is not supported."

When exporting using Scroll HTML Exporter we get the error, "Your browser does not support the HTML5 video element." I think this may just be wrong because as far as I know, Firefox *does* support the HTML5 \<video\> tag. The fact the video plays great on the Confluence page (in Firefox) also confirms Firefox supports the tag and the video format.

We are using Windows 10 and Firefox 56.0.1. Both the \<video\> tag and the mp4 video format should be supported in both the OS and the browser.

Any ideas out there?

Thanks!


Answers:
author: Zak Laughton
body: Hi Kris!

I was able to reproduce the behavior you're describing in Firefox. The error shown is misleading, because I found actual cause of the issue was that the file path in the \<video\> tag is incorrect. When Confluence exports pages with attachments, it does not always properly update attachment paths in macros.

To fix this, update the file path in the \<video\> tag of the HTML file to point to the correct file path.

As an example, in my case, this meant updating from...

```
<video src="/c691/download/attachments/3375142/MyVideo.mp4" height="380" width="480" $properties.html5Autoplay controls>
```

to...

```
<video src="attachments/3375142/3375149.mp4" height="380" width="480" $properties.html5Autoplay controls>
```

If you have a large amount of attachments in your export, you should be able to find the proper file by searching for files with the .mp4 extension, or by searching for the page ID shown in the incorrect file path ("3375142" in the example above).

**Bug ticket**

We also have a bug ticket open with our developers for this issue: [CONFSERVER-52839 --](https://jira.atlassian.com/browse/CONFSERVER-52839)[Some Macros related to attachments in HTML Export are broken](https://jira.atlassian.com/browse/CONFSERVER-52839). Feel free to vote and comment on this bug ticket to help give our developers more context around the issue (see also: [Atlassian Bug Fixing Policy](https://confluence.atlassian.com/support/atlassian-bug-fixing-policy-201294573.html)).

Thanks!  
Zak

comments: author: Kris Fininen
body: Thanks, Zak! We'll keep this in mind and get the src pointed to the correct location. Appreciate the help. Also voted for CONFSERVER-52839, but there are only 7 of us voting for it so not sure this will get attention.


Tags: confluence-server

export

html

multimedia

video
Roadmap Planner macro breaks the scrolling dynamic of the page?
Asked by Walker Ford:

When I add the Roadmap Planner macro to a page, the scrolling dynamic or the viewport of that page changes. The page no longer scrolls as one large page. Instead the comment section becomes fixed at the bottom of the screen and the rest of the content scrolls within a sub-screen. It gives the appearance that the viewport is half the size. Is this normal?

You can see the problem by creating a blank page with a 10-paragraph lorem-ipsum, then add the Roadmap planner beneath that. Contrast how scrolling changes when Roadmap Planner is included and also when it is removed.

I have observed this problem in Firefox and Chrome.


Answers:
author: AnnWorley
body: Hi Walker,

I was not able to reproduce the issue in Confluence Cloud. I made a screencast of how the scrolling works for me with the roadmap planner macro on the page, maybe you can let me know if I am missing something. I tried this link in an incognito window, so I expect it to work for you: <https://screencast-o-matic.com/watch/cFiTDGF7dg> If not, just let me know.

Thanks,

Ann

comments: author: Walker Ford
body: Yeah, your screencast shows the behavior that I would expect. Let me try it again. I will also try it on another computer.


author: Walker Ford
body: Today it works. Either somebody at Atlassian fixed the HTML issue or magically it decided to work. My computer was left on with the same browser instances open. Both Firefox and Chrome are working now as I would expect.


author: Walker Ford
body: Thank you for your fast response and for trying this out.


author: AnnWorley
body: I don't usually like mysteries when it comes to technology, but am happy to hear that it works now!


author: Walker Ford
body: I know what you mean. If I can reproduce the issue again I will post an update here.


Tags: cloud

confluence-cloud
Multiple Tomcat Containers On Single Server
Asked by Jeremy Morris:

Does anyone know if there is a viable solution for running both Jira \& Confluence from the same server? My understanding is that my tech guy may be able to create / install a 2nd Tomcat container so that I use one container for each application.   

Thanks in advance for any help!


Answers:
author: Nic Brough -Adaptavist-
body: You don't need to set up your own Tomcats. Use the installers, they install the Java / Tomcat / Jira or Confluence as a bundle.

The "viable solution" is run one installer and then the other.

comments: author: Jeremy Morris
body: Awesome! Thank you so much for the help!


Tags: confluence-server

server
Confluence restrictions not working as expected.
Asked by Barth_Weishoff:

Hello.

So I have a situation where a user created a page, enabled restrictions on the page to "Editing restricted", added 3 users as "can edit", but said users do not have the edit option when observing the page. Is there some special little switch that needs to be set when using page restrictions?


Answers:
author: Jonathan Smith
body: [@Barth_Weishoff](/t5/user/viewprofilepage/user-id/46135),

Confirm "pages - add" is checked in the space permissions. Those users need editing ability in the space before you can edit any page.

comments: author: Jonathan Smith
body: Pages - add also means pages - editing.


author: Barth_Weishoff
body: Hi [@Jonathan Smith](/t5/user/viewprofilepage/user-id/1254033)

Thank you for the reply; wouldn't this course of action open up the whole space for the added user to modify by default?

Thanks

-B


author: Jonathan Smith
body: Hi [@Barth_Weishoff](/t5/user/viewprofilepage/user-id/46135)

Yes. After opening up the space to this user(s), you would need to add the necessary parent / children page restrictions so they don't see or edit sensitive information.

Another option is to move the desired page(s) into a space with less restrictions.

- Jon
Attachments are not visible in Confluence after Upgrade.
Asked by bricsadmins:

Hi,

I recently upgraded my confluence instance from v5.4 to v6.8.3 and it appears previously 'downloadable' and 'viewable' attachments can no longer be accessed (viewed or downloaded). However, there seems to be no errors in both catalina.out and attlasian-confluence.log files.  

Does any one have similar issues or \[proposed\] Solutions?

Thanks


Answers:
author: AnnWorley
body: Hi Brics,

Please check the diagnosis on this page and proceed with the resolution if it applies:

[How to resolve missing attachments in Confluence](https://confluence.atlassian.com/confkb/how-to-resolve-missing-attachments-in-confluence-201761.html)

Please let me know what method you used for the upgrade.

Cheers,

Ann

comments: author: bricsadmins
body: Hi Ann,

Yes I have. However the case is NOT that of missing attachments. The attachments are present and available on Confluence site.

Clicking on the links to the attachments fails but navigating to the location of the attachments on the Confluence site works.

The links point to the same path where the attachments are located and the links worked before the upgrade.

For the method of the upgrade, I'm not sure how many methods there are however, I jumped from 5.4 to 5.10 then from 5.10 to 6.8. Also, I migrated the data (after reaching version 5.10) from Postgresql-9.1 database to postgresql-9.6.

Cheers,


author: AnnWorley
body: Hi Brics,

It sounds like you have located the attachments on the file system but Confluence links to the attachments do not work. This article describes a method for getting Confluence to "find" attachments which are present on disk: [How to resolve missing attachments in Confluence](https://confluence.atlassian.com/confkb/how-to-resolve-missing-attachments-in-confluence-201761.html)  
If I am misunderstanding, please elaborate more on "navigating to the location of the attachments on the Confluence site works."  
Thanks,  
Ann


author: Niranjan
body: Hi [@bricsadmins](/t5/user/viewprofilepage/user-id/1591124),

We are planning to upgrade our postgreSQL for JIRA from 9.2 to 9.5 . Could you please provide the pgsql upgrade process in detail. Thanks in advance.

Regards

Niran
Confluence Server - Getting error Service Unavailable 503
Asked by Devon:

Hello we are getting the following error on our local hosted confluence server.

"

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

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

The server is linux based hosted in our Azure platform. Any help with this would be appreciated.

Also yes, we have tried browsing directly to the IP address both internally and externally and it doesnt work either.


Answers:
author: Nic Brough -Adaptavist-
body: What does the log file say the problem is?

comments: author: Devon
body: when I SSH into the linux server, what commands do I run to see the log files? Sorry I am new at this.


author: Devon
body: Hey guys... so I rebooted the linux server 3 times and on the 3rd try it started working???? soo weird...

Thanks anyways!


Tags: confluence-server

server
Page tree macro set number of subpages to display
Asked by Chela Wallace:

Is it possible using the page tree macro, to limit the visible child pages to show only 4 at a time under the parent page when it's expanded on the page containing the macro, but display all child pages when expanded in the sidebar?

For example, there are a total of 8 child pages, but I want only the latest 4 created to display on the page when the parent page is expanded on the page containing the macro.


Answers:
author: Zak Laughton
body: Hi Chela!

This isn't possible with the Page Tree macro, but you can obtain a similar functionality with the [Children Display Macro](https://confluence.atlassian.com/confcloud/children-display-macro-724765170.html)if you set the **Number of Children** to "4" and **Sort Children By** to "creation". However, the child pages will not be expandable.

Hope this helps!  
Zak


Tags: cloud

confluence-cloud
Code block macro - line numbering lost upon export to MS Word
Asked by Iswar Radhakrishnan:

The code block macro displays line numbers within Confluence. However the line numbers disappear when Export to Word or Export to PDF is selected from Confluence. Is there a way to preserve the line numbers upon Export?

![Capture.PNG](/t5/image/serverpage/image-id/27627i4C7E3E35D8AF28DD/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Zak Laughton
body: Hi Iswar,

I just tested this out and was able to reproduce the behavior you're describing. When pages with a line-numbered code macro are exported to PDF or Word, the exported file does not show the line numbering.

I have created a bug ticket with our developers for this issue: [CONFSERVER-56152](https://jira.atlassian.com/browse/CONFSERVER-56152). Feel free to vote and comment on this feature request to help give our developers more context around the issue (see also: [Atlassian Bug Fixing Policy](https://confluence.atlassian.com/support/atlassian-bug-fixing-policy-201294573.html)).

Sorry for the inconvenience, and thank you for bringing this to our attention!

-Zak


Tags: code-block

export
As a Confluence admin, can I view the way a specific user sees Confluence with their permissions?
Asked by Niha Jain:

Trying to view Confluence as different users to make sure their permissions are working correctly, demo Confluence to users, etc.


Answers:
author: AnnWorley
body: Yes, in Confluence Cloud it is possible to "log in as" another user: [Log in as another user](https://confluence.atlassian.com/cloud/log-in-as-another-user-776994835.html).

I hope this works for your case.

comments: author: Niha Jain
body: Thank you, Ann! This is very helpful. However, I cannot see how to switch back from another user's view to my account view. The article you shared says "While you're logged in as another user, you'll see a message at the top-right of the page letting you know who you're logged in as. Click **switch back** to resume using your own user account." I do not see that message at the top-right of the page. Do you know of an easy way for me to switch back to my own account view?


author: AnnWorley
body: I noticed that as well, after I navigated around a while, the "switch back"pop-up disappeared. I had to go down to my user profile pic and log out and back in to be me again.

Suspecting I was not the first one to experience this, I found this bug report: ["switch back to your account" pop up disappears from screen after any action is performed](https://jira.atlassian.com/browse/CONFCLOUD-58059) and this feature request:[Inform the users that they are impersonating another user and provide the ability to switch back to their accounts on a fixed banner instead of a pop-up](https://jira.atlassian.com/browse/CONFCLOUD-61719).

I kind of like the second one more but please comment or vote on one or both of them to increase the visibility for the dev team. Doing so will add you to status updates on the tickets.


Tags: cloud

confluence-cloud
can't create new page
Asked by T C:

I can't create a new page. When I click the plus button it endlessly loads

I tried logging out, logging back in


Answers:
author: Brant Schroeder
body: Tiffany,

I have had similar behavior after an update and the JS gets messed up because it is cached. Have you tried clearing browser cache and logging back in? If not this might resolve your issue.

comments: author: T C
body: I cleared my Chrome browser cache and it worked, thanks !!


author: Victor Mutambuki
body: Tiffany,

Were you able to create pages before?

You might want to ask your admin to do a reindex.

Victor

comments: author: T C
body: Yes I was able to create pages before. I am the admin on the Atlassian cloud, I will look up reindexing, thanks


author: T C
body: I checked, and I am a "Site admin"  

I followed the documentation to find the indexing option, and I get this "Temporarily, currently only sysadmin can change indexing language and reindex all documents. Contact Atlassian Support if you need help."  

Any idea?   
Thanks


author: Josh Davis
body: clearing the cache seems to work only until the next time you want to do it, when you need to Ctrl+F5 again.


Tags: cloud

confluence-cloud

create-page
Is there a way to share Confluence pages internally without making them public?
Asked by David Lines:

Hi All,

I work for a medium-sized company and we have just started using Confluence and Jira. Only our PM, Engineering, and QA teams will be using Confluence and Jira, but we would like to be able to share certain information about releases, roadmaps, etc, with the wider organization e.g. sales, R\&D, prof dev, etc. Is there a way to share Confluence pages internally for users who do NOT have Confluence licenses without making them public?

Thanks,  
Dave


Answers:
author: Victor Mutambuki
body: ![Screen Shot 2018-07-23 at 11.57.52 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/27613i20EECF3010C2990B/image-dimensions/159x59?v=v2 "Screen Shot 2018-07-23 at 11.57.52 AM.png")

David,

Go to Ellipsis --\> Page Information --\> Tiny Link.

Use that URL to email people in your company.

Victor

comments: author: David Lines
body: Thanks, Victor! Would users be able to see that without being logged in to Confluence?

-Dave


author: Victor Mutambuki
body: David,

YES. It's a url to the page you want them to see without them having to log in.

Victor


author: Steffi Frank
body: depends on the restrictions you set on the page...


author: Zak Laughton
body: Hi David,

Unfortunately, there is not a way to share Confluence pages with non-licensed users, but we do have a feature request open for this functionality: [CONFCLOUD-32999](https://jira.atlassian.com/browse/CONFCLOUD-32999). You can vote and comment on this feature request to help give our developers more context around the issue (see also: [Implementation of New Features Policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html)).

You can also see extensive discussion on this functionality in this previous Atlassian Community post: [Share confluence page to non user](https://community.atlassian.com/t5/Confluence-questions/Share-confluence-page-to-non-user/qaq-p/307280).

Thank you,  
Zak

comments: author: David Lines
body: Thanks, Zak. I would love to see this feature implemented; for now I will use Jira Service Desk to create portals through which I can provide access to specific content for specific users within our organization.


Tags: cloud

confluence-cloud
Force users to use Google SSO
Asked by Megan Visser:

Is it possible to disable users Atlassian accounts and force them to use Google SSO to log into Confluence / Jira?


Answers:
author: Dave Meyer
body: Hi Megan,

If you've connected G Suite to your Atlassian site, users will log in with Google (<https://confluence.atlassian.com/cloud/how-g-suite-users-log-in-744721643.html>)

If users enter their email address (that you have claimed via G Suite), they will be redirected to Google to authenticate. Implicitly, this means they are forced to use Google SSO.

Cheers,

Dave


author: Brant Schroeder
body: Megan,

I believe you would setup the GSuite accounts following the steps here: <https://confluence.atlassian.com/cloud/security-with-g-suite-938859740.html> and then remove the users Atlassian account licensing. This would then force them to use Google SSO. The issue you might run into is if they are already using their Google email and have it associated with their Atlassian account, they may need to change this before you make the change. You could always submit a ticket to support for more information or conflicts that you might have.


Tags: cloud

google

jira

sso
Assign confluence space to a different project
Asked by Allyson Gallant:

I imported a confluence space that associated itself with the wrong project.

The ID of the confluence space matched the ID of an older project and thus associated the space with the old project.

How do I change the project association?


Answers:
author: Brant Schroeder
body: I am assuming that you are talking about a JIRA project. If that is the case you can:

* Go to Space Admin
* Click on the option "Application Links"
* You should see the link to the JIRA project.
* Remove the JIRA project link.


Tags: cloud

confluence-cloud
Collaborative editing
Asked by MartaJ:

Hello

It is possible to see who made changes? I?m not sure how to check it when more than one people were editing a page, thanks

confluence version 6.9.0

Best regards

Marta


Answers:
author: Victor Mutambuki
body: Martaj,

You should be able to see who is working on what. Limit is 12 people.

Please see look at documentation link below  
<https://confluence.atlassian.com/doc/collaborative-editing-858771779.html>

Victor

comments: author: MartaJ
body: Hi Victor

Thank you for your answer. I've seen this site..... but I just wondering where can I find who made changes after a draft was saved (to see who exactly made what changes)

Something like "view changes" but with more details

Is it possible in confluence ?

Regards

Marta


author: MartaJ
body: Hi Victor

Did you see my reply ?

Best regards

Marta

comments: author: Victor Mutambuki
body: Marta,

Please look under the topic, Things You Should Know in the same link.

Victor


Tags: confluence-server
Restrictions in public confluence
Asked by Monika Blochov?:

Hi,

we are using confluence as an internal knowledge base.

We would like to start using it also externally for our clients, but since there might be some sensitive data exposed, we would like to apply some sort of authentication for the anonymous users accessing the public pages.

Is there a possibility to create restrictions like JWT SSO?


Answers:
author: Victor Mutambuki
body: Monika,

If you want to give the public access while still maintaining internal use, you can enable anonymous access.

Please see the link below for more info.  
<https://confluence.atlassian.com/doc/setting-up-public-access-156.html>

Victor

comments: author: Monika Blochov?
body: Hi,

thank you for your reply, I know it is possible to allow anonymous users to access the pages.

My question is if it is possible to authenticate upon accessing the public page, so only the users logged in our application (not confluence) are able to see the published pages. Basically, so the public access is restricted to specific users outside of confluence.


Tags: cloud

confluence-cloud
Increase session timeout for the new app "Confluence Server"
Asked by Florian S:

Hello,

What's the disadvantage if I increase the timeout from 60 minutes to 600 minutes, for example?Can I do that worry-free ?

Background: We would like to use the new app "Confluence Server" without much logouts.

<https://confluence.atlassian.com/confkb/how-to-adjust-the-session-timeout-for-confluence-126910597.html>

Best Regards  
Florian


Answers:
author: MoroSystems Support
body: Hello Florian,

that's probably what "Remember Me" function is for, when logging in. I would say that automatic logout is more like secure function. If you click on "Remember Me", Confluence should not log you out, until your session or cookies are valid.

Regards,

Franti?ek ?pa?ek.

comments: author: Florian S
body: Hello Franti?ek,

Thank you for the feedback.  
What exactly is the function "remember me"?  
Where can I find these?

We use SAML (SingleSignOn). Maybe this function does not exist at all with us.

Best Regards  
Florian


author: MoroSystems Support
body: Hello Florian,

the "remember me" function in login form. Do you use Confluence login form, or do you have some kind of other login form outside Confluence?

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

If you use this function, it should saves a cookie into your browser and everytime you access the Confluence it check for this cookie and you should stay logged in (till cookie is invalidated). That will make your users stay logged in without logouts and you can still maintain 60 minutes timeout time. Timeout is applied, when user stops using the application. So if you return after more then 60 minutes, it checks for your session (which is expired), but if you use Remember me function, it will validate the cookie and log you in automatically, so user won't notice. If this is not the case or not an answer, I am sorry if I got you wrong.

Anyway - about increasing the default timeout - it really depends on lots of things. The biggest disadvantage of that lies at security breaches. It depends on many things - like if the app is hidden behind VPN, what data you store on confluence (or will store), how bad will security breach affect your bussines and so on. In general, some high risk apps have session timeout set to 2 - 3 minutes, so if you don't touch the app for short time, you need to validate again. It is mostly up to you, what time you set for this, it should not affect much on server side. This is rather a security feature.


author: Florian S
body: Many Thanks.  
We do not currently use the standard login form.

The assessment and the description helped me a lot.  
We will check our Security Requirements.


author: MoroSystems Support
body: No problems, I was happy to help!

You can check other cool discussions about it for example here:

<https://security.stackexchange.com/questions/106786/how-long-should-a-session-absolute-timeout-be>

Have a nice day.

Regards,

Franti?ek ?pa?ek


Tags: confluence-server

mobile

server