youngmon/atlassian-qna huggingface dataset:
Confluence incorrectly reporting embedded database
Asked by Matthew Mulligan:

Hi there. I'm running Confluence Server 6.8.0. When I installed it (on top of a Ubuntu 16.04 distro), I stood up two servers - one for Confluence and another as a database server (MySQL) and off I went. I got it working and created content. When the evaluation was up I bought a starter license.

Everything has been great, but Confluence keeps telling me that I am running an embedded database. I am not. There is nothing like $confluence-home/database to speak of. I've confirmed a database for Confluence exists on my database server. In short: I'm really confused and looking for a reason why Confluence might incorrectly report I have an embedded database. Thanks in advance for any guidance.

For reference, here's the message the instance health check gives me:

"Confluence is using the H2 embedded database. You should migrate to a supported database to ensure your data is safe."


Answers:
author: AnnWorley
body: Hi Matthew,

Please double check the system information page on your instance under "database information". The page is at Confluence Admin\>System Information or \<base_URL\>/admin/systeminfo.action:

![Screen Shot 2018-06-08 at 4.17.27 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/24192i3C9E3ED332D2CFC4/image-size/large?v=v2&px=999 "Screen Shot 2018-06-08 at 4.17.27 PM.png")A decisive source of truth is the file \<confluence_home\>/confluence.cfg.xml. (The \<confluence_home\> directory is the path defined in the following file: \<confluence_install\>/confluence/WEB-INF/classes/confluence-init.properties)

All the database settings are in there so you can check whether the database URL is pointing at the MySQL database as you intend. The line to look for is:

\<property name="hibernate.connection.url"\>YOUR_DB_URL\</property\>

I look forward to hearing what you find.

Thanks,

Ann

comments: author: Matthew Mulligan
body: Hi Ann,

Thank you very much for your help. I do not have a property of "hibernate.connection.url" defined in confluence.cfg.xml. There is no property with that name listed. However, I see a reference to H2, specifically in the property, "hibernate.connection.driver_class." After looking over the System Information page, I see references and a path to an H2 database now:

*Database Connection URL: jdbc:h2:tcp://localhost:9092//var/atlassian/application-data/confluence/database/h2db*

So, for whatever reason, it appears that I am using the embedded database. Am I mistaken? I must have glossed over it. I'm sorry about that. I will have to follow the how-to articles to migrate the database, correct?
Confluence Cloud users not receiving email notifications
Asked by Douglas Lee:

Some users are reporting to me that they are not receiving email notifications when they are @mentioned on a page. Are there email logs for my site that I can access to help troubleshoot this issue?


Answers:
author: thais
body: Hi, Douglas,

As we'll need further information such as the email addresses to troubleshoot, I opened a support ticket that should reach you soon.

Best regards,  
Thais


Tags: cloud

confluence-cloud
How can I see in one view the last time all users logged in?
Asked by Greg Webb:

I'm constantly having to "manage" users because we run out of licenses. In doing so, I have to open each individual person's profile and see when their last login was. If they are not using Confluence I disable them or remove them from any groups. I'm really looking for a view or a report that would show all this information at once to help speed up the process.

BTW...I know I could buy more licenses but that is a different topic.


Answers:
author: AnnWorley
body: Hi Gregg,

The SQL queries on this page should provide the reports you are looking for:

[How to identify inactive users in Confluence](https://confluence.atlassian.com/confkb/how-to-identify-inactive-users-in-confluence-214335880.html)

Thanks,

Ann

comments: author: Greg Webb
body: Thanks, I'll turn this over to our dba and see what he comes up with. Unfortunately, this won't be readily available...have to schedule time with our dba, but it's still better and one at a time.


author: Thomas B
body: If you go into User Management and apply the filter for Application Access to be JIRA Software, you'll get a view of all users that are currently using a license in your system.

comments: author: Greg Webb
body: Thanks, but I may not have the same config as you. This is what I see on my User Admin screen.

![Confluence Capture.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/24467iE58490A4D5800725/image-size/large?v=v2&px=999 "Confluence Capture.JPG")
Using html positioning in a page.
Asked by Darrick Ross:

Hello, I have inherited the responsibility to update and redo the main wiki page for our system.

I currently have an image that is the background to this page. Below the point where the background image ends I will need some text to be surrounded by a box. Below that I will need 4 sections of text spread out evenly. I have provided a rough sketch (ms paint) of what I need.

![Rough_Main_Menu_Sketch.png](/t5/image/serverpage/image-id/24178iA1ACA7FEA6309467/image-size/large?v=v2&px=999 "Rough_Main_Menu_Sketch.png")

My main concern is that I don't know of a way to keep the 5 sets of texts at the same point relative to the background when the screen is shrunk. I know that there should be a way to position the text with html but I do not understand how I should implement this. Does the css element go into a css box? or should it all be in an html box?


Answers:
author: AnnWorley
body: Hi Darrick,

I was able to make a page much like your mockup by using the "sections" functionality in the Confluence editor:

![Screen Shot 2018-06-08 at 3.16.55 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/24188i0755B426D96B5E9F/image-size/large?v=v2&px=999 "Screen Shot 2018-06-08 at 3.16.55 PM.png")Please see [Page Layouts, Columns and Sections](https://confluence.atlassian.com/doc/page-layouts-columns-and-sections-275188613.html) to see how to add sections and columns to the page. When I size my browser window, the text adjusts as you describe so I am hoping this will work for your case.

Thanks,

Ann
Server Stopped responding after taking a snapshot
Asked by Justin Keplinger:

Ubuntu 18 ESXi 6.5

Took a snapshot in esxi and the server quit responding, rebooted server and it was responding but not able to access the site. I tired manually starting [Following this article](https://confluence.atlassian.com/doc/start-and-stop-confluence-838416264.html) and I was still not able to access it. I had to revert to the last snapshot and the site was reachable again. Is this normal?


Answers:
author: Mirek
body: I would not say that it is normal, but it depends on the configuration of your machine and application. Snapshot might break your index or cache if application was not turned of gracefully. It would be good to check Confluence logs in order to be able to say more what could cause problems with starting it up. Maybe it was problem with resources like memory.


Tags: server

snapshot

ubuntu

vmware
Restricting viewing of comments in Confluence
Asked by Douglas Hunt:

Is there anyway I can restrict users from viewing comments in Confluence?


Answers:
author: AnnWorley
body: Hi Douglas,

If Tony's link for disabling comments altogether is not what you are looking for, perhaps you would be interested in commenting or voting on this suggestion, as it seems to fit your use case: [Hide comments completely from certain users (add a hide comments permission?)](https://jira.atlassian.com/browse/CONFSERVER-5639)

Your activity on the suggestion ticket will communicate directly with the development team.

Thanks,

Ann


author: tdoran
body: I found this <https://confluence.atlassian.com/confkb/how-to-disable-commenting-on-an-individual-page-695107603.html>

have you tried that?


Tags: cloud

confluence-cloud
Adding the "Page Info" macro to all pages within a space
Asked by Mandy Grover:

I've added the following code to my Page Layout for a specific space:

#if ($mode == "view")  
\<content tag="page-metadata-banner"\>  
#skiplink("page-banner", $i18n.getText("assistive.skiplink.to.banner.start"), $i18n.getText("assistive.skiplink.to.banner.end"))  
#webPanelForLocation("atl.page.metadata.banner", {"action": $action})  
****$helper.renderConfluenceMacro("{page-info:infoType=Create date**** **}")**   
#end  
\</content\>  
#end

So that the Create date will always be displayed.

However, I keep getting an "unknown macro" error for the Page Info Macro. I have ScriptRunner installed, and this configuration works with other macros -- I tested {children} and {viewtracker} and they worked perfectly.

Does anyone know why this particular macro isn't working???

Thank you!


Answers:
author: Victor Mutambuki
body: Mandy,

[Page info macro](http://confluence-addons.connect.adaptavist.com/page-info/latest/page-info-macro.html) seems to be a 3rd party add-on. if this is the case, you can indicate on the pages or make use of labels.

Is this the macro you're referring to or is there another one.?

Victor

comments: author: Mandy Grover
body: Hi Victor,

Yes, the Page Info macro is 3rd-party (Adaptivist). Does that mean I can't use it with wiki markup or apply it using the code above?

Thanks!


author: Mandy Grover
body: [@Victor Mutambuki](/t5/user/viewprofilepage/user-id/912991),

It looks like you can use plugin macros in Page Layout code, so I was able to add a user created macro instead.

Thanks Victor!


author: Victor Mutambuki
body: Good to hear mandy.


Tags: adaptavist

page-information
How do I highlight code in Confluence Cloud
Asked by Pat D'Ambrosio:

Hi!

We have highlighted pieces of code in yellow, but I can't seem to find out how to replicate this inside the codeblock macro.

For example: security validation

security needs to have a background of yellow, while the following word and all surrounding text does not.

Thanks!


Answers:
author: tdoran
body: What I would suggest is that if you use the "Preformatted" style for the code that you ut in the confluence page, you should be able to use the "annotations" on that text.

Then you will be able to get the Highlighting to work.

comments: author: Pat D'Ambrosio
body: The preformatted style does not allow proper indentation. To get this we need the code block and a bit of wrangling... Arghh! Where are the annotations that would highlight this text to be found? I see that the Annotations plug-in is no longer available.


author: tdoran
body: When you view a page, you should be able to highlight a piece of text and a popup will show, that will allow you to start an annotation. Click the chat icon and that will highlight the code, and you can start talking about it.

![Screen Shot 2018-06-08 at 12.10.42 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/24181i9DECAB637501D226/image-size/large?v=v2&px=999 "Screen Shot 2018-06-08 at 12.10.42 PM.png")


author: Pat D'Ambrosio
body: TY Tony, buOnt I am not talking about entering comments for review.

I am stating this:

I have a piece of code in my code block.

One/more words/lines need to be highlighted in yellow for the user.

?: Can I do this/not in Confluence?

BTW: I don't want to talk about it, I just want to show it ;)


author: tdoran
body: Just to be clear when you add that annotation it will highlight that text as yellow on the page.

But to answer your question directly:

"I have a piece of code in my code block.

One/more words/lines need to be highlighted in yellow for the user.

?"

No. Not with that code block macro. Wanted to offer you a potential alternative.


author: Pat D'Ambrosio
body: TY, but not good. We don't want annotations showing up for our end users do we??

Where we need the yellow highlighting is in the code block, which honesltly takes far too many steps to get properly formatted and requires tools outside of Confluence.

Can Confluence consider this for a feature improvement or as a bug?


author: tdoran
body: I added it in right place, so it can be triaged.

<https://jira.atlassian.com/browse/CLOUD-10573>


author: Pat D'Ambrosio
body: Wow! I am impressed.

I have a number of other requests that would make Doc output much better. Can we chat?


author: Pat D'Ambrosio
body: Tony,

I had an issue Friday night viewing this and now see that I lack permissions??

Thanks!


Tags: cloud

confluence-cloud
Some users are unable to login to Confluence
Asked by Equipe Technique:

After backing up and then restoring the backups in a new environnement, only one user is able to connect to Confluence.

User mangement is done by a Jira instance, to which all users are able to connect.

Only one admin can connect to both Jira and Confluence. Another admin, in the same groups, can not connect to Confluence (message is "Sorry, an error occurred trying to log you in. Please try again.").

Jira backup and restore was done by internal XML backup + attachements copy/paste.

Confluence backup and restore was done by internal Zip backup, which was only restored after initially reconnecting the user management with the new Jira instance.

Old environnement: Windows Server 2012 R2, PostgreSQL

New environnement: two Windows Server 2016 machines (one for Jira, one for Confluence and PostgreSQL).


Answers:
author: AnnWorley
body: Hi! When you restore a site backup to a Confluence instance it overwrites the destination database, so the Jira User Directory that was set up before the import should have been overwritten since User Directories are stored in the database. [Restoring a Site](https://confluence.atlassian.com/doc/restoring-a-site-152034.html):
> Importing a site export file will:
>
> Overwrite all existing Confluence content in your database.

Please try reconfiguring the Jira User Directory as described in: [Connecting Confluence to Jira applications for User Management](https://confluence.atlassian.com/doc/connecting-to-crowd-or-jira-for-user-management-229838465.html#ConnectingtoCrowdorJiraforUserManagement-ConnectingConfluencetoJiraapplicationsforUserManagement)

I look forward to hearing how it goes.

Thanks.

comments: author: Equipe Technique
body: Thanks for your help. After following the instructions from the link you provided, we have successful connexions from all our users.

I had only retored the Application links, not the "Jira user server" settings.

Regards,


Tags: confluence-administration

jira-administration
Page Watcher Email
Asked by anna:

Is there a way to make it so that watchers only see an email notification that the page has changed- instead of a full email of the page itself? Our pages look pretty ugly in email format... so it would be great if they could just get a heads up that the page changed and a link to the page instead of a preview of all of the content


Answers:
author: AnnWorley
body: There isn't a global setting but individuals can deselect "show changed content" in their user profiles to avoid getting an email with the whole page: [Email Notifications](https://confluence.atlassian.com/doc/email-notifications-145162.html)

*
  > If you do not select this option, your notifications will include only the title of the page, and any comment the author made when updating the page.
Is it possible to write a plugin to restrict access to certain spaces based on IP Address
Asked by Vince Siau:

Is it possible to write a plugin to restrict access to certain spaces based on IP Address


Answers:
author: Mirek
body: Everything is possible. It is a matter only of time and resources. Your idea however is not effective. Writing a plugin to support that might consume a lot of work. As a alternative Apache is better for that. You can block then paths based on IP or add another layer of authentication if needed but you would still need to figure out how to block filters or dashboards that get issues indirectly (not by specific path). In other ways you might need to block too much basic features. So overall I think it is not effective to block access to projects by IP. Block JIRA access by IP completely -\> OK, but individual projects this is not a good idea. Better idea is to work on OOTB permissions to projects and think about granting access using that.
"Share" button not working on calendar in confluence
Asked by Mithilesh Jha:

**Share** Button is not working on Calendar in confluence. Looks like it is broken on space calendars (Do not respond anything while I click on it).

Thanks

Mithilesh Jha


Answers:
author: Suren Raj
body: Hi, Mithilesh.  

Based on your question, we can see there is an existing bug regarding this issue. Please refer to the below link:

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

The bug will be fixed according to our [Bugfix Policy](http://confluence.atlassian.com/display/JIRA/Bug+Fixing+Policy]). Any further communication involving this particular bug should be kept on the report itself so that it will have visibility for product management, developers, and other customers facing a similar issue.

Kind Regard  
Suren Raj

comments: author: Mithilesh Jha
body: Thanks [@Suren Raj](/t5/user/viewprofilepage/user-id/510277) for your suggestion on this.


author: Mridula Wittke
body: Do you know if this bug is fixed? For me the Share button on calendar in confluence is disabled as well


Tags: confluence-server

server
How can I add a sub-section to knowledge base space?
Asked by Jerry Eisener:

Hello all,

I am building a knowledge base space for customer use. I would like to add sections to the 2 existing built-in sections (How-to articles and Troubleshooting articles) as some of the articles don't fit those categories (i.e. an F.A.Q. section, an Application section, etc.). Is this possible?

Thanks!

Jerry


Answers:
author: Jerry Eisener
body: Victor Mutambuki \[Mumo Systems\] 6 hours ago ? edited

![Screen Shot 2018-06-08 at 8.05.06 AM.png](https://tnckb94959.i.lithium.com/t5/image/serverpage/image-id/24154i85D4DAC44E5E4DD8/image-dimensions/100x36?v=1.0 "Screen Shot 2018-06-08 at 8.05.06 AM.png")

Jerry,

Ok, click on the Ellipses as show in the illustration, then select the templates that come with your confluence. If only 2 templates are showing, click **SHOW MORE** to display the rest of the templates.

The new categories will be created by these new templates.

Victor

Jerry Eisener 54m ago

Thank you Victor. I was able to create a page using the blank template and then use the same macros as are in the How-to to get the listing under it.


author: Jerry Eisener
body: Hi Victor,

Thanks for the reply. That's not what I am looking for. In the knowledge base template you can create an How to article or a Troubleshooting article and they are organized as such. I would like to add more categories for organizing. See the attached screen shot of the left side of the page to see what I mean.

Jerry![Capture.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/24153iD276A2A259B00CF1/image-size/large?v=v2&px=999 "Capture.JPG")

comments: author: Victor Mutambuki
body: ![Screen Shot 2018-06-08 at 8.05.06 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/24154i85D4DAC44E5E4DD8/image-dimensions/100x36?v=v2 "Screen Shot 2018-06-08 at 8.05.06 AM.png")

Jerry,

Ok, click on the Ellipses as show in the illustration, then select the templates that come with your confluence. If only 2 templates are showing, click **SHOW MORE** to display the rest of the templates.

The new categories will be created by these new templates.

Victor


author: Jerry Eisener
body: Thank you Victor. I was able to create a page using the blank template and then use the same macros as are in the How-to to get the listing under it.


author: Victor Mutambuki
body: Good to hear Jerry,

If this worked for you, please accept the answer.

Victor


author: Victor Mutambuki
body: ![Screen Shot 2018-06-08 at 7.19.20 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/24152iB442A65EC3CEE76E/image-dimensions/516x63?v=v2 "Screen Shot 2018-06-08 at 7.19.20 AM.png")

Jerry,

Click on PAGE LAYOUT ---\> the ADD SECTION as illustrated on the image.

Link below should be useful too. Please let me know if this works for you.

<https://confluence.atlassian.com/doc/page-layouts-columns-and-sections-275188613.html>

Thanks  
Victor


Tags: cloud

confluence-cloud

knowledge-base
Text in PDF export: Always different distance from top of page
Asked by Steffen Heller:

Hello,

when I export a confluence page to PDF the first line of text on a new page can be anywhere between right at the top of the page and somewhere 1 or 2 centimeters below.

I could except/understand different starting points for different heading levels or for headings compared to running text but it is literally without any consistancy.

How can I make sure that the layout is consistent and text always starts at the same point?

How is that controlled? How can it be adapted?


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: Hi [@Steffen Heller](/t5/user/viewprofilepage/user-id/781537),

This behaviour can be due to multiple reasons - different types of elements, macros, layouts, styles being used in your Confluence page.

You can try setting the header and footer of your PDF export in the PDF stylesheet settings. Visit [this](https://confluence.atlassian.com/doc/customize-exports-to-pdf-190480945.html?_ga=2.219104859.31487321.1545045349-748161253.1533556773) page to see how to add these settings. This will define your page content area and might help resolve the different distance from the top of the page issue.

Hope this helps!

Thanks

Sireesha

comments: author: Steffen Heller
body: Headers and footers are set. The content area is defined. The problem is that within the content area, text still starts at different points.

Do you have an idea what can be done about the "multiple reasons"?


Tags: confluence-server

css

pdf

server
Display special symbols in PDF when using another font
Asked by Steffen Heller:

Hello,

in my PDF documents I need two things:

1. Some special symbols like ***? ?*** (which I can insert from insert \> Symbol in Edit view)
2. A custom font (that DOES contain these symbols)

Still, when I include the custom font with

```
@font-face { ?
src: url(... path to ... fontname.otf);?? ?
-fs-pdf-font-embed: embed;
}
```

and export to PDF, it correctly shows all the text in that font but does not show these symbols.

What can I do to make that work?

Workarounds would be okay.  
Is there a way to set the custom font back to Arial just for those single symbols. I tried that by wrapping ***?*** with something real stupid that won't be used anywhere else in the document (a combination of \<em\> and \<strong\>) and defined

```
.wiki-content p em strong {
font-family: Arial, sans-serif;
font-weight: normal;
color: red;
} 
```

but still ***?*** wouldn't be shown.


Answers:
author: Steffen Heller
body: Problem still existing ;-(

One thing I am still not really sure about:  
Is it possible to globally change the standard Confluence font to a font of my liking?  
With the result that this font will be used in PDF exports without need for any "font-family" definitions?

PS: I know the different bug reports about the "special char in PDF export" problem:

* <https://jira.atlassian.com/browse/CONFSERVER-23778>
* <https://jira.atlassian.com/browse/CONFSERVER-25887>
* <https://jira.atlassian.com/browse/CONFSERVER-26780>


Tags: css

font

special-character