youngmon/atlassian-qna huggingface dataset:
Why does the Confluence UI not display images and the skin correctly when using Apache/SSL
Asked by Christoph:

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

I have installed Confluence on a Ubuntu box. The default config (using Tomcat directly on 8090) works fine. But the config with Apache and SSL fails because only links and basic HTML elements are visible. The skin (colors, frames, menu, layout, etc) is missing.

Here is the config:

\<VirtualHost \*:80\>

ServerAdmin webmaster@acme.de

ServerName acme.de

Redirect / [https://acme.de/](https://acme-online.de/)

RewriteEngine on

RewriteCond %{SERVER_NAME} =acme.de \[OR\]

RewriteCond %{SERVER_NAME} =hostname

RewriteRule \^ https://%{SERVER_NAME}%{REQUEST_URI} \[END,NE,R=permanent\]

\</VirtualHost\>

\<IfModule mod_ssl.c\>

\<VirtualHost \*:443\>

SetEnv RAILS_ENV production

ServerAdmin webmaster@acme.de

ServerName acme.de

# DocumentRoot /var/www/html/

ProxyPreserveHost On

ProxyPass "/confluence" "http://localhost:8090/confluence/"

ProxyPassReverse "/confluence" "http://localhost:8090/confluence/"

ProxyRequests Off

\<Proxy \*\>

Order Deny,Allow

Allow from all

\</Proxy\>

\<Location /confluence/\>

Order allow,deny

Allow from all

\</Location\>

ServerAlias acme-online.de

SSLCertificateFile /etc/letsencrypt/live/acme.de/fullchain.pem

SSLCertificateKeyFile /etc/letsencrypt/live/acme.de/privkey.pem

Include /etc/letsencrypt/options-ssl-apache.conf

\</VirtualHost\>

\</IfModule\>

\<Connector port="8090" connectionTimeout="20000" redirectPort="8443"

maxThreads="48" minSpareThreads="10"

enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"

protocol="HTTP/1.1" scheme="https" proxyName="acme.de" proxyPort="443" secure="true"/\>


Answers:
author: Nic Brough -Adaptavist-
body: The two proxy pass lines should not have quotes and the proxies should be consistent - all terms should end with or without a /, don't use a mix of them. Please fix those and retry it.


Tags: confluence-server

server
Install confluence in JIRA VM
Asked by Andrew Balmer:

Hello,

We have JIRA installed in a VM which uses few plugins such a SIL that is used to automate JIRA requests including query tables from our internal network etc.. Our organisation heavily depends on JIRA and its automation.

We would like to install Confluence server on a same VM so have JIRA and confluence in same VM. Is it okay to have both in a same VM? will it case issue with current plugins?

There are few articles online outlining after installing confluence in JIRA then the JIRA stops working which we cant afford to have it.   

What would the Atlantis support recommend here? is it worth having both together?


Answers:
author: Alexis Robert
body: Hi [@Andrew Balmer](/t5/user/viewprofilepage/user-id/3930755) ,

it is possible to have both Jira and Confluence on the same VM. However, most people will suggest to have them on separate VM, as this will provide better performance and also prevent one application from impacting the other of there's an issue.

Confluence and Jira listen on different standard ports (8090 and 8080) so there won't be an issue here.

You should still get your IT administrator involved to help you setup the application so that your Jira service is not impacted.

Let me know if this helps,

--Alexis
Why do Heading or Anchor links open a page 2 lines below the link target?
Asked by John Bottomley:

I've created links to Headings and anchors in another document in the same Confluence space. However, when you click on the link the new page opens a few lines below the anchor/heading you've specified. Why?

Is there also an ability to force links to open in new tabs?


Answers:
author: Diego
body: Hello [@John Bottomley](/t5/user/viewprofilepage/user-id/3930633) !

As I understand, anchor links are not redirecting to the header which they point to. Instead, the page ends up focusing two lines under the actual heading.

With this behavior in mind, I tested Anchor Headings in three different browsers:
> * *Google Chrome Version 83.0.4103.61 (Official Build) (64-bit)*
> * *Apple Safari Version 13.1 (15609.1.20.111.8)*
> * *Mozilla Firefox 76.0.1 (64-bit)*

They are all up to date versions of each browser. They all redirected my screen to focus on the correct heading. The quickest one was Chrome. Chrome dropped me instantly at the anchor, whereas the others waited for the page to load and then redirected me to the anchor.

Here is a little more detail on linking for Confluence Cloud:
> * ++***[\[Confluence Cloud\] Insert links and anchors](https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/)***++

With this result in mind, I would like to ask you a few questions:
> * ++***Which one of the supported browsers are you using?***++
> * ++***Which version of the browser are you using?***++
> * ++***Which Confluence editor are you using, New Editor or Legacy Editor?***++

You can take a deeper look into supported browsers here:
> * ++***[\[Atlassian Cloud Support\] Supported browsers](https://confluence.atlassian.com/cloud/supported-browsers-744721663.html)***++

If you need some guidance on how to differentiate both editors in Confluence, you can have a look their tool bars:

**New Editor:**
> ![Screen Shot 2020-05-21 at 15.06.44.png](https://community.atlassian.com/t5/image/serverpage/image-id/95881iB7C30DC54F3A8F22/image-dimensions/457x59?v=v2 "Screen Shot 2020-05-21 at 15.06.44.png")

**Legacy Editor:**
> ![Screen Shot 2020-05-21 at 15.06.32.png](https://community.atlassian.com/t5/image/serverpage/image-id/95882i74FD0F4B680974FE/image-dimensions/461x66?v=v2 "Screen Shot 2020-05-21 at 15.06.32.png")

Looking forward to your reply.

comments: author: John Bottomley
body: Hi Diego_Canto_Rodrigues. Thanks for the informative answer. I'm using the legacy editor \& Chrome Version 81.0.4044.138 (Official Build) (64-bit) (the latest at time of writing).

I can't add a screen shot of the Edit link form \& resulting place in the document I'm taken to in this reply so could I get your email so I could send you them?

For a heading link 1 example is: FCV tutorial#Thefunctionsfind_tag,set_tag,andreset_tag and for an anchor link 1 example is: FCV tutorial#_Toc373830239. Do they look ok as I have the same problem with both link types.

Thanks, John


Tags: cloud

jira-software
How can Anonymous users avoid seeing the login screen?
Asked by John Roberts-Davies:

I have configured Anonymous access on Confluence server.

Anonymous users entering the space url are immediately redirected to the login screen.

If they enter the same url again, they see the space.

Is there a way to disable this initial login screen for anonymous users?


Answers:
author: Matt Reiner [K15t]
body: [@John Roberts-Davies](/t5/user/viewprofilepage/user-id/276179)

Sounds like maybe you've enabled anonymous access for the instance, but not the specific space: <https://confluence.atlassian.com/doc/setting-up-public-access-156.html>

Also, if you'd like to provide a help center experience vs. the Confluence UI: [https://marketplace.atlassian.com/apps/1211636/scroll-viewport-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1211636/scroll-viewport-for-confluence?hosting=server&tab=overview)

comments: author: John Roberts-Davies
body: Thanks Matt

Actually I followed that procedure already and confirmed that the site can be viewed by anonymous users.

The issue is that when the user first enters the URL of the site, they are presented with a log in screen.

If they ignore that and enter the same URL again, they go straight to the site.


author: Matt Reiner [K15t]
body: [@John Roberts-Davies](/t5/user/viewprofilepage/user-id/276179)

I'm going beyond my depth here, but perhaps this is related to the caching configuration on the server running Confluence. Perhaps the cache needs to be flushed so users aren't brought to the login page first.


author: John Roberts-Davies
body: Thanks Matt, I will look into that.

I appreciate your time!
Use Templates from the Gallery on Server
Asked by Timo Toth:

Hello,

how can I use or install the new templates that have been added here in the blog?

<https://www.atlassian.com/blog/confluence/new-templates-for-confluence>

Best regards

Timo


Answers:
author: Christopher_Langlands
body: Also looking for an answer to this. We use the self hosted version and cannot figure out how to access these. Is it possible it is only for Cloud hosted versions ?


Tags: confluence-server

server
SVG Images are not rendering texts properly
Asked by Jessli Nocon:

I have encountered issues when uploading SVGs into pages where my texts are not properly rendered. - See After Publishing

I have a SVG file with default system font (Segoe UI) but it does not properly rendered when I publish this. I can't have an option to upload JPEG since I'm using diagrams such as flowchart. - Texts are getting blurred.

Does we have alternative solution for this? Thank you!

**Original SVG file (redacting some text due to data confidentiality)**

![before-publishing.jpg](/t5/image/serverpage/image-id/95572iF0ED8BB9FBA9A79F/image-size/large?v=v2&px=999 "before-publishing.jpg")

**After Publishing:**

![after-publishing.jpg](/t5/image/serverpage/image-id/95571iFFB70414394CE008/image-size/large?v=v2&px=999 "after-publishing.jpg")


Answers:
author: Spencer Sharpe
body: Similar issue. Image and text look great in editor, and even looks good initially after publishing. But when I refresh the page the image is blurry and the text, while not rendered as rectangles, is rendered disproportionate to the rest of the image.


author: St?phane Chambrin
body: Additional note:

This article from Draw.io help site offers a good explanation, and a way to fix it (at least for SVG produced by Draw.io)  
<https://desk.draw.io/support/solutions/articles/16000042487-learn-why-text-in-exported-svg-images-may-not-display-correctly>


author: St?phane Chambrin
body: Same issue here.  
Editor displays SVG text correctly, but I also get the empty rectangles when viewing the page in Confluence.  
Strangely (or not), viewing the page in Jira Service Desk shows correct text.


author: Ryan Taite
body: Also ran into this issue. Exported an image from the draw.io app as SVG, uploaded it to a confluence page and it showed that it rendered correctly at first but after I saved the page and reload the browser tab the letters became squares as seen in the other pictures in this thread.

I also noticed that when I was adding more svgs, the previews of the previous svgs would have squares in them even though they at first rendered correctly in the confluence page.

For now I've switched back to use pngs, but it's not as nice since they come out a little blurry.


author: Markus Captain Kaarlonen
body: I just ran into this very same issue myself.


author: Adi Erel
body: I have the same issue (see below). I tried various font-families and they all produce the same result. once the page is published and reloaded the font turns into there rectangles.

Would appreciate any help on the matter. Thanks!

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


Tags: cloud

confluence-cloud
how to get count of licenses used in confluence
Asked by Narra Sreenu:

I have a automation task and in this I would like to read count of confluence used licenses. I have searched for api or db script to get this count but I didn't find anything related to this. Some of the answers are suggested to get active users count or logged in users count to achieve this. But those counts are not matching with count showing in the admin page.

Please suggest me the solution to get this count.


Answers:
author: Nic Brough -Adaptavist-
body: Look at the groups who have "can use" in the Confluence "global permissions".

Then use the "get members" function in the REST API to get a list of everyone in those groups.

That is the list of people you're seeing counted in "active users"

(You'll find accessing the database to be pretty much useless unless you fully understand it)
Decluttering a Space overview page
Asked by Tour:

Is there a way to get rid of the "Recent Space Activity" and "Space Contributors" info on the overview page?


Answers:
author: Diego
body: Hello [@Tour](/t5/user/viewprofilepage/user-id/3042385) ! After reading your question, I understand that you need to change or edit the current page defined as the Overview page for a given space.

If this is indeed the case, we can take a look into our documentation about it here:
> * ++***[\[Confluence Cloud\] Set up your space homepage](https://support.atlassian.com/confluence-cloud/docs/set-up-your-space-homepage/)***++

Also, if you have enough permissions, you should be able to edit the Space Overview Page directly by clicking the pencil icon on the top right corner.

I hope this helps you out! Looking forward to your reply.


Tags: cloud
question about basic authentication
Asked by zhong_li:

hi I can use api via basic authentication(email/ password), For security reasons, I need to reset my password for 3 months. then I got 403 error. I need login web sit via new password. this way is very cumbersome, Is there a way to avoid logging into the site when resetting the password?


Answers:
author: Diego
body: Hello [@zhong_li](/t5/user/viewprofilepage/user-id/3876009) !

As I understand, you need to reset your user password via REST call so your entire workflow is correctly aligned.

The first thing I would like to point out is that Basic Authentication is deprecated for usage via REST. It might be a good idea to look into this document:
> * ++***[\[Confluence Cloud Developer\] Deprecation notice - Basic authentication with passwords](https://developer.atlassian.com/cloud/confluence/deprecation-notice-basic-auth/)***++

Secondly, I was able to find an older thread here in our community that tackles this situation exactly, the need to reset a user password via REST. Here, take a look:
> * ++***[\[Atlassian Community\] Error changing user password through REST](https://community.atlassian.com/t5/Jira-Core-questions/Error-changing-user-password-through-REST/qaq-p/160982)***++

I hope this helps you out! Looking forward to your reply.


Tags: cloud

jira
Trello comments variable for use in email?
Asked by Deano:

Hi all - is there a way to insert the comments from a card in a report created by butler? I can't seem to find the right variable?

Ta!

[@Esme Crutchley](/t5/user/viewprofilepage/user-id/3555478) ? ;)


Answers:
author: Iain Dooley
body: [@Deano](/t5/user/viewprofilepage/user-id/3887995) [@Esme Crutchley](/t5/user/viewprofilepage/user-id/3555478) nope this would need a "for each comment" construct which sadly died with the Butler Bot and didn't make it through to New Butler.

[@Ludo](/t5/user/viewprofilepage/user-id/3603216) had a creative solution to this recently:

<https://community.atlassian.com/t5/Trello-questions/Butler-Report-Last-Comment-variable/qaq-p/1217176>

But if you wanted to get all the comments into the report you'd need to go via the API directly, this Trellinator function would do it:

<https://gist.github.com/iaindooley/6649d2279627a8db46f448ef69cd855e>

You can read more about Trellinator here:

<https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Introducing-Trellinator-Automate-Trello-with-Google-Apps-Script/ba-p/925271>

comments: author: Deano
body: That's sad to hear the feature has gone.

Thanks for your help. :)


author: Esme Crutchley
body: Oooooo, good question, not a clue (I don't use reports)!

Let me tag in [@Iain Dooley](/t5/user/viewprofilepage/user-id/1416112) do you use reports?


Tags: butler

cloud

email

trello
Urgent! Our Product has had a change of name and Logo... Can I do a Search & Replace?
Asked by Bec Honey:

Urgent! Hopefully someone can help...

Our Product has had a change of name and Logo... Can I do a Search \& Replace for an entire Confluence space?  

TIA.

++**Edit**++ : Has anyone used this: [https://marketplace.atlassian.com/apps/1215739/qron-search-and-replace-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1215739/qron-search-and-replace-for-confluence?hosting=cloud&tab=overview) ?


Answers:
author: Kate Pawlak _Appsvio_
body: To avoid this type of situation in the future, I recommend you to use templates (especially useful for repetitive information, such as warnings or notes). You can create them using app [Content Template Macro for Confluence](https://marketplace.atlassian.com/apps/1222146/content-template-macro-for-confluence?hosting=cloud&tab=overview) (it also supports HTML!). Thanks to this, you have to modify only template (under Global or Space configuration, depending on your settings) and changes will be applied to all pages where the macro is used.


Tags: cloud

replace

search
Abilty to Freeze/Preserve Jira Dynamic Content on Day Page Created
Asked by Jack Maydan:

We use a 'Create Shift Report' template where users create a new page at the end of their shift. This template includes a list of recent JIRA issues/tickets created.

The problem is that if I go back to a shift report from 2 years ago, the page shows the updated recent JIRA issues/tickets from the last few days, instead of the issues associated with that report 2 yrs ago.

Is there a way to freeze/preserve/archive that content on the date the report was created?

I would like to avoid requiring users to copy-paste into a static table, and avoid creating a new filter for the template every single day, this doesn't have to be retroactive but it would be nice.


Answers:
author: Gustavo Segura
body: Here's a feature request in case you want to vote: <https://jira.atlassian.com/browse/JSWCLOUD-21127>
comments in Edit mode (Confluence)
Asked by Kim Barker:

I find it very cumbersome to go back and forth from "published" pages (to read comments) to that same page in Edit mode (so I can address those comments). Is there a way to get to the comments WHILE i'm in edit mode?

Alternatively, is there a different way to add comments (rather than adding them to a published document).


Answers:
author: Jack Brickey
body: The current behavior rolled out in 2021 now provides for this.


Tags: cloud

jira-service-desk-cloud
Possible to enable custom style sheets for one Space in Confluence?
Asked by Andrew _Zim_ Zimmerman _Appfire_:

Is it possible to enable space administrators of one specific space to manipulate Space CSS? Or is it all or nothing?

The majority of spaces in my instance do not need this, and most space admins probably are not prepared to customize a style sheet for their space, so I'm wary of enabling the "Custom Stylesheets for Spaces" global security configuration setting.

However, this particular space and its space administrators are in great need of this. Can this be done on a space to space level, rather than a global all or nothing setting?

Thanks!

Andrew


Answers:
author: Matt Reiner [K15t]
body: Hi [@Andrew _Zim_ Zimmerman _Appfire_](/t5/user/viewprofilepage/user-id/58621)

You could achieve something similar with my teams' app, [Scroll Viewport](https://marketplace.atlassian.com/apps/1211636/scroll-viewport-for-confluence?hosting=server&tab=overview). With it, you can create a unique view of your content with a theme that's totally separate from the Confluence UI.

comments: author: Andrew _Zim_ Zimmerman _Appfire_
body: Hi, [@Matt Reiner \[K15t\]](/t5/user/viewprofilepage/user-id/2246048)

I'll check it out. Thanks!


Tags: confluence-server

server
Copy Paste Plug-In
Asked by Kristi Sagrillo:

Is the add on for the copy paste plug-in applied across the Confluence site? We only want this plug-in used for a certain group of people and not applied globally.


Answers:
author: Diego
body: Hello [@Kristi Sagrillo](/t5/user/viewprofilepage/user-id/3843352) !

As I understand, you need to limit the usage of an App (Plugin, Addon) within Confluence to a predetermined set of users.

++*Currently, this level of permissions management is not available for either Confluence Cloud or Confluence Server.*++

You can check the feature requests for both platforms here:
> * [\[++***Confluence Cloud\] Ability to Restrict Add-ons/Macros to Groups in Confluence***++](https://jira.atlassian.com/browse/CONFCLOUD-39235)
> * [++***\[Confluence Server\] Ability to Restrict Add-ons/Macros to Groups in Confluence***++](https://jira.atlassian.com/browse/CONFSERVER-39235)

The best course of action would be to vote and watch the reports above. Voting increases the visibility of the reports and watching it will keep you up to date with everything posted there.

Let us hear from you!


Tags: cloud

confluence-cloud
UserAccessor.setUserProfilePicture: Need a little help with this method
Asked by scott_boisvert:

So I'm trying to upload profile pictures for our Active Directory. I was able to accomplish this in Jira, but I'm having some issues with setting the picture in Confluence (getting the picture isn't a problem).

I've been trying to use the

```
void?setUserProfilePicture(com.atlassian.user.User?targetUser,                           String?imagePath)
```

That is documented here: <https://docs.atlassian.com/ConfluenceServer/javadoc/7.2.1/index.html?index-all.html>

I'm thinking I'm having a problem with this sentence: T*he path should be the **web-application-root-relative path** to the image to be used as the user's profile picture*

```
import com.atlassian.sal.api.component.ComponentLocator  
import com.atlassian.confluence.user.UserAccessor  
def userAccessor = ComponentLocator.getComponent(UserAccessor)  
confUser = userAccessor.getUserByName("boisvers")  
userAccessor.setUserProfilePicture(confUser, "/data/atlassian/application-data/confluence/scripts/data/Oscar.jpg")
```

I did notice that if I manually upload my profile picture, then run the script. The manual profile pic is removed and replaced with the silhouette avatar.


Answers:
author: scott_boisvert
body: Well I figured this out.... lol   
Been working on this for two days now and 35 minutes after posting I figured it out.

Profile pics need to be under the images directory (preferable images/icons/profilepics).

Then use "/images/icons/profilepics/test.png" in the setUserProfilePicture....

```
userAccessor.setUserProfilePicture(confUser, "/images/icons/profilepics/test.png") 
```


Tags: data-center

scriptrunner
Search function in 7.4 vs 6.15 (Server)?
Asked by Bill Rudy:

Can anyone tell me if the search function in 7.4 is the same as the one in 6.15 (Server)?


Answers:
author: Joshua Sneed Contegix
body: Hi Bill,

It's not mentioned in the [7.4 release notes](https://confluence.atlassian.com/doc/confluence-7-4-enterprise-release-change-log-994312205.html). Cheers!


Tags: cloud