youngmon/atlassian-qna huggingface dataset:
Confluence failed to establish a connection to your database
Asked by Thomas Klement:

Hi,

After Confluence (6.14.2 server) restart, I have got the following message error in the browser:

"Confluence failed to establish a connection to your database"

I have also fetched catalina.out log. I don't see any attach button here.

Thanks,

Dragan


Answers:
author: James Bullock
body: Absent an obvious, direct error message, you gotta narrow this down among the dbms running, credentials / availability in the dbms, reachability via network, or Confluence configuration.

1. Run a db connecting tool (psql if postgres) on the db hosting node, first at all, then as the user who owns the Confluence database.  
   * Once in, confirm what's there: users, databases, permissions.
2. Do the same with psql (or etc.) where Confluence runs.
   * Ideally, run the client tool as the user the Confluence app runs under.
     * If the Confluence user can't reach the database, try a different user.
   * If those can't reach, check network \& port availability: ping the dbms node, send to the dbms connection port.

Bad credentials in the Confluence app config only makes sense if connection otherwise works. The problem could be as simple as "restart" didn't include the dbms, and the credentials are fine. Or the dbms is up, and the credentials are fine but the "restart" took out your network conectivity.


author: Vickey Palzor Lepcha
body: What database is it trying to connect to ?


author: Shankar Asam {Appfire}
body: Hi Dragan,

It look like confluence is unable to talk to your database. Pls verify the DB configuration in confluence.cfg.xml file in home directory. Also check if your confluence is able to connect to your database and its port (check firewalls for blockage). Also, check more logs in atlassian-confluence.log file.

Please see this [article](https://confluence.atlassian.com/confkb/startup-check-confluence-won-t-start-as-it-cannot-connect-to-a-database-953127209.html) for further help

-Shankar


Tags: confluence-server

server
Keyboard shortcut for monospace formatting
Asked by jeenuv:

Is there a keyboard shortcut for formatting a selected text as monospace? Alternatively, is there a special trigger, like { character triggering a macro chooser?

When writing technical documentation, there would inevitably be text that needs to be formatted in monospace. It's a pain to repeatedly select text, reach for the A icon on the toolbar, and then selecting 'Monospace'.


Answers:
author: Gustav L_Estrade
body: Hello [@jeenuv](/t5/user/viewprofilepage/user-id/1824388) ,

I am not aware of a keyboard shortcut for formatting text as monospace. According to this [link](https://confluence.atlassian.com/confcloud/keyboard-shortcuts-markdown-and-autocomplete-724764956.html) there is a shortcut (ctrl + shift + m), but that didnt work for me. The **solution** that i am using is to do markup as **{{text to be formatted in monospace}}**. The double curly-brackets at the start and end of the text does the job. Its not a keyboard shortcut, but it is simple and easy to do.

To see all available key shortcuts and markups, press the **"?"** in the top right corner of the window when editing a page in confluence.

Hope this helps,

Good luck with your Confluence endeavors!

comments: author: jeenuv
body: **{{ }}** works for me, although I still itch for a shortcut (just like to make text bold/italic). Meanwhile, I've reported an error on the page you linked.

And I've never spotted the ? while editing pages either!

Thank you for the pointers!


author: Bob Sovers
body: Your method only works on Confluence Server


author: Tom Hundt
body: Ctrl+Shift+M is Insert Media; the closest thing to a shortcut is Ctrl+7, but that (like the other Ctrl+*number* shortcuts) operates on a paragraph basis. Atlassian is just lame.


author: Bob Sovers
body: In Confluence Cloud, placing \` to either side of a character string shows the text as monospaced (In the new editor, this also includes a grey background, in the old editor it is just the regular background color)

Also, the **?** has moved to the bottom-right in the new editor!

You may also use the /Code macro to insert a formatted code "snipett", with some syntax highlighting, etc.


author: zubair khalid
body: Your technique simplest works on Confluence Server. can you plz check this problem on my <https://spacebarclicktest.info/cps-test/> this page ?


author: coden
body: I've created own TamperMonkey script to use Ctrl+m to add Monospace formatting

<https://gist.github.com/dmitryuk/05768cc3386dffecc5d22d9f827f24d8>


Tags: confluence-server

keyboard-shortcut

server
I would like to use the old macros that was Info, Tip, Note and Warning how in the new Editor?
Asked by Nardene:

I would appreciate any assistance - I've tried researching however my results keep going to the old way, which obviously doesn't work with the new Editor and so far I haven't found an alternative.

Thanks


Answers:
author: Fabienne Gerhard
body: Hi [@Nardene](/t5/user/viewprofilepage/user-id/3608828)

new editor is all about Confluence Cloud - macros Info, Tip, Note and Warning should still be available.

When you're in editor try

```
'/' 
```

to get the list of available macros. Also have a look [here](https://confluence.atlassian.com/confcloud/confluence-editing-improvements-945107733.html#ConfluenceEditingImprovements-Updatedkeyboardshortcuts,autocomplete,andfullMarkdownsupport)! ('+' should also work)

Hope this helps!


Tags: confluence-server

server
No delete option on a specific space, despite being administrator
Asked by Sean Hynes:

I want to delete the first space I created on our new Confluence cloud account. I am the only administrator, however when I go to the settings page for that specific space there is no delete option. I do have a delete option for my other spaces. What am I missing here?


Answers:
author: Stephen Sifers
body: Hello Sean and welcome to the Community!

Thanks for reporting this issue and providing detailed steps as to what you've done which resulted in the issue. The issue looks to be similar to a Cloud free bug which is preventing users (Admins) of a newly created space from being able to administer said space. Further information on this bug may be found at [CONFCLOUD-68319](https://jira.atlassian.com/browse/CONFCLOUD-68319). We ask you to please vote and watch this bug to receive updates on its status.

Thanks again for reporting this issue within Community!

Regards,  
Stephen Sifers


author: Sean Hynes
body: I just looked at the settings page again, and under Administrators it only has "Former user, Chat Notifications". I have no idea what's going on here, I am on the only administrator on the account.


Tags: cloud

confluence-cloud
Why are macros in the overview not available on the pages?
Asked by Administraci?n_Soporte:

There are macros such as "Align", "Panel", "Div", etc. that are not available on the pages, how can you add or have these features ?. It is basic for example to justify the content and is not available in the menu bar.


Answers:
author: Shannon S
body: Hello [@Administraci?n_Soporte](/t5/user/viewprofilepage/user-id/2728921),

Thank you for contacting us about this.

The **Panel** macro is possible; there are a few variants on the new Confluence editor:

![CleanShot 2019-10-30 at 16.23.03.png](https://community.atlassian.com/t5/image/serverpage/image-id/71135i3DFF9E86259A67BB/image-dimensions/263x295?v=v2 "CleanShot 2019-10-30 at 16.23.03.png")

As for **Div** and **Align** , there are no macros like that in Confluence, but I know they exist in a 3rd-party add-on called [Content Formatting Macros for Confluence](https://marketplace.atlassian.com/apps/247/content-formatting-macros-for-confluence?hosting=datacenter&tab=overview). This add-on is only available in Confluence Server and Data Center but not Cloud.

Can you let me know what you're attempting to do that requires the Div and Align macros? I might have a workaround for you for Cloud if you can let me know what you need to do.

Regards,

Shannon


Tags: cloud

confluence-cloud
Como vinculo un texto a un archivo adjunto?
Asked by rdastres:

En la nueva versi?n de Confluence no he podido linkear un texto a un archivo adjunto.

ANTES pod?a hacerlo sin problema, seleccionando el texto y luego usaba la macro "Insert Link", seleccionaba el archivo y resultaba.

DESPUES, con la nueva versi?n, selecciono el texto, luego la macro "Insert link" y me aparece un listado de paginas, pero no me aparece un listado de archivos adjuntos para seleccionar.

Nota: los archivos adjuntos ya los subi a la nube, pero no puedo linkearlos al texto


Answers:
author: Shannon S
body: Hello [@rdastres](/t5/user/viewprofilepage/user-id/3608560),

Welcome to Atlassian Community! It's nice to have you.

From my understanding, you want to be able to link text to an attached file in the new editor. Is that correct?

While we don't currently have plans to include this feature in our upcoming [Confluence Cloud Editor Roadmap](https://confluence.atlassian.com/confcloud/confluence-cloud-editor-roadmap-967314556.html), we do have a feature request for it. You can vote on that below!

* [CONFCLOUD-65302](https://jira.atlassian.com/browse/CONFCLOUD-65302) *Ability to link text to an attachment in editor*

As a workaround, you can use the [Attachments macro](https://confluence.atlassian.com/confcloud/attachments-macro-724765160.html "Follow link") to obtain the URL of the attachment, and then link your text to it directly by pasting that link into the Link Macro.

An example of this workaround [can be seen here.](https://drive.google.com/file/d/1L9twJHd1pj5oHhBaGMdjxnwdid5qZPc8/view?usp=sharing)

Let me know if you have any questions about that.

Regards,

Shannon


Tags: cloud

confluence-cloud
New Confluence page not rendering properly in Firefox v70
Asked by Kristen Davis:

We tried the steps in below article without any luck. User is running Firefox Quantum v70. She is trying to create a new page in her Confluence space and is unable to add content or use the formatting bar. The following is true:

* Our Confluence server hasn't been recently updated.
* The user has admin privileges in the space.

<https://community.atlassian.com/t5/Confluence-questions/Confluence-will-not-display-correctly-in-Firefox/qaq-p/262832>

Note: she can create a new page in Safari.

Is the next step to reinstall the browser?

Thanks!

Kristen


Answers:
author: Diego
body: Hello, [@Kristen Davis](/t5/user/viewprofilepage/user-id/1187200). Thanks for providing context on what has been tried to fix the situation.

As I understand, ++*Confluence pages do not load as expected*++ when editing it via Firefox Quantum v70. We can proceed as follows:
> 1. *Check if other machines with the same browser version face the same issues.*
> 2. *Check if the issue is present with other Confluence users.*
> 3. *Check if disabling all Firefox add-ons change the current situation.*
> 4. *Check if the user is actually capable of editing already existing pages.*

After checking this I say that we can try to ++*reinstall the program*++ and then check if the issue is still present.

Let us hear if this helps you with the current situation, Kristen!


Tags: confluence-server

server
Can check boxes be used for non tasks?
Asked by John Tyler:

I inherited a system with many forms created from templates. They include many (MANY) check boxes. These check boxes show up as tasks in my task reports. Is there a better way to use the check boxes so they do not generate tasks? I still want to use the check boxes to create tasks in the normal way, with a date, name and action.


Answers:
author: Diego
body: Hello there, [@John Tyler](/t5/user/viewprofilepage/user-id/3608468) !

Currently, the ++*only way to use the checkboxes is with the Task List macro.*++ Which does create tasks.

When we use the \[\] shortcut or directly click to insert the task list, a macro is inserted into your page. One trick that we can use is to ++*filter out those "non-tasks" is by using labels*++. For example:
> 1. *Create a label named real-tasks*
> 2. *Label all pages that contain real tasks with this label*
> 3. *Create a new page*
> 4. *Insert the task report macro*
> 5. *Set it to only show pages with the real-tasks label*

Now, I would love to understand more about your use case of the checkboxes, John. Here we have some questions that will allow this to happen:
> 1. *What is the current objective of using those checkboxes in your templates?*
> 2. *Is it possible to actually implement a labeling policy for your pages?*

If the objective of using the checkboxes is pure aesthetic, we could look for some emoji to replace them.

Let us hear from you, John. Looking forward to your reply!

comments: author: John Tyler
body: Hi Diego, Thanks for the note.

We use check boxes to create a check list.

For example: on our purchasing form, "is this a new vendor" \[check\]

When conveying a procedure to another department, we give them a check list of things to do. We do not assign a resource but simply provide the list of things that need to be done.

I hope that clarifies our use of a check list.

Thanks

John


author: Tim Hargan
body: Seems like a silly thing not to have and quite frankly its unbelievable that you have to ask that question. In establishing requirements that are very similar from customer to customer it would be normal to create list of options and check the ones that apply instead of having to write the same things every time or use words to indicate the options.


author: farleylai
body: Checkbox is useful to present options with zero or more being selected. It should not always imply tasks. Filtering with additional labels is a bit tedious as a workaround. Something like double square brackets \[\[v\]\] could be more intuitive to separate from tasks.
Office Excel Macro - How to hide columns or rows
Asked by Michael Rachimi:

I have a spreadsheet with some columns i want to hide. When I limit the columns it does not actually work. It takes all the columns. Is there some way to enforce the Column and Rows to limit the macro view.


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: Hi [@Michael Rachimi](/t5/user/viewprofilepage/user-id/3516948),

Yes, the *Last Row* and *Last Column* parameters do not work as expected in the *Office Excel* macro. There is an open ticket with Atlassian for the same, where you might want to add your vote - [CONFSERVER-31741.](https://jira.atlassian.com/browse/CONFSERVER-31741)

You can use the [Boswift Excel for Confluence](https://marketplace.atlassian.com/apps/216/excel-for-confluence?hosting=server&tab=overview) macro instead to hide the required columns. Look for the *Columns to Show* parameter in [Excel Macro](https://bobswift.atlassian.net/wiki/spaces/XL/pages/10354691/Excel+Macro).

Hope this helps!

Thanks

Sireesha

comments: author: Michael Rachimi
body: Thanks. We are going to review your suggestion.


Tags: confluence-server

server
Unable to set space home page to "Overview" in Space Settings
Asked by Eric Johnson:

When I try to navigate to Overview page in the "Home page" field under Edit Space Details (using either the URL .../spaces/xxx etc. OR typing in "Overview") in says "No results!

![Screen Shot 2019-10-22 at 10.47.27 AM.png](/t5/image/serverpage/image-id/70237i60B383CD8B20A727/image-size/large?v=v2&px=999 "Screen Shot 2019-10-22 at 10.47.27 AM.png")


Answers:
author: Darryl St_ Pierre
body: Eric,

When a home page is initially created for a space, it is named *Spacename*Home. If this is what you're looking for, search for that page, or in the Trash or Orphaned pages.

Darryl


Tags: confluence-cloud
How can I embed a google calendar in a created page?
Asked by Benjamin Hertel:

How can I embed a google calendar in a created page?


Answers:
author: Steven Rhodes
body: Neither of these answer the question. The first answer assumes you have Team Calendars, and the second is a marketplace vendor trying to sell you something you don't need.

Just use an iFrame and embed the calendar that way.

<https://support.atlassian.com/confluence-cloud/docs/insert-the-iframe-macro/>

Get the Google Calendar link in the calendar settings (in the Integrate Calendar section).

I just had to do this, and thought there might be a macro for it, like Google Docs, but no, its just a simple iFrame.

comments: author: Niki Farsio
body: Do you know if there is a way to disable the 'copy to my calendar' functionality, so that people cannot copy the meeting over to their calendar? I would like the calendar to be for visibility purposes only and do not want people to add meetings to their calendars from here. Thanks!


author: Marlene Kegel - codefortynine
body: Hi [@Benjamin Hertel](/t5/user/viewprofilepage/user-id/3608269)

If your calendar contains business critical information and it would be to risky to make it public you can also try out our Marketplace app [Secure Google Calendar for Confluence](https://marketplace.atlassian.com/apps/1218211/secure-google-calendar-for-confluence?hosting=cloud&tab=overview&source=community10).

Don't hesitate to get in touch with us at support@codefortynine.com if you have questions or feedback.

Best regards,

Marlene


author: Sireesha Dugginapeddi [Appfire]
body: Hi [@Benjamin Hertel](/t5/user/viewprofilepage/user-id/3608269) ,

This article might be of help to you - <https://confluence.atlassian.com/teamcal/subscribe-to-google-calendars-from-confluence-240913761.html>.

Let me know if you meant something else.

Thanks!


Tags: calendar

cloud

confluence-cloud
Macros don't work
Asked by Mikalai Sniahurski:

![Macro.png](/t5/image/serverpage/image-id/70234iA8F3F98ADEA91D87/image-size/large?v=v2&px=999 "Macro.png")

I attached the file, choose it but I cannot preview it or insert it


Answers:
author: Avinash Bhagawati _Appfire_
body: Hi [@Mikalai Sniahurski](/t5/user/viewprofilepage/user-id/3608174) ,

It seems to be know issue and please find below workaround document for the same.

<https://confluence.atlassian.com/confkb/view-excel-macro-will-not-load-attached-files-779166031.html>

Thanks,

Avinash


Tags: cloud

confluence-cloud

macro

ms-excel
How can I get Linkable Headings to work?
Asked by Michelle Oliveri:

It looks like the new Linkable Heading feature should be available, but I'm not seeing this in my "new editing experience." I tried the steps below (on a page that shows new features), but I wasn't able to link my heading. How can I make this happen? Is the feature coming later this year?

![2019-10-22 09_43_01-Window.png](/t5/image/serverpage/image-id/70225i24D858DF15DA04C5/image-size/large?v=v2&px=999 "2019-10-22 09_43_01-Window.png")


Answers:
author: Michelle Oliveri
body: Update: I found this issue related to my question. It appears that there was a bug with the 'Hover over header -\> Copy link' ability.

[https://jira.atlassian.com/browse/CONFCLOUD-66773?jql=text%20\~%20%22linkable%20headings%22](https://jira.atlassian.com/browse/CONFCLOUD-66773?jql=text%20~%20%22linkable%20headings%22)


Tags: cloud

confluence-cloud
How do I start a new Space from a Pre-created Confluence Template
Asked by Orlando Edwards:

I need to start a new Confluence page/wiki for my team's project and I would like to start from a possible template that is already in the system.

Any suggestions on where I can start to find this?

thanks

Orlando


Answers:
author: Shannon S
body: Hello Orlando,

Welcome to Atlassian Community.

When you create a new space in Confluence, you're able to select one of the space templates already on your site:

![CleanShot 2019-10-30 at 17.41.52.png](https://community.atlassian.com/t5/image/serverpage/image-id/71143i3AC982B7756E10C6/image-dimensions/598x335?v=v2 "CleanShot 2019-10-30 at 17.41.52.png")

Can you tell me, is there something specific you're trying to create? I assume you might want to create your own space template, which is not possible. We have two feature requests for this:

* [CONFCLOUD-43176](https://jira.atlassian.com/browse/CONFCLOUD-43176) *Space templates*
* [CONFCLOUD-4538](https://jira.atlassian.com/browse/CONFCLOUD-4538) *Creating a Space Template*

You may be able to also workaround this using a [3rd party add-on from Marketplace](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=space%20template).

Otherwise, if you have coding experience, you could develop a [custom Blueprint for Confluence Cloud](https://developer.atlassian.com/cloud/confluence/blueprints/).

Let me know if you have any questions about any of this!

Regards,

Shannon


Tags: cloud

confluence-cloud

template
Printing a Draft to PDF for review
Asked by richard.horwath.ctr:

Is there a way to print a draft document to PDF for review? I don't want to publish the draft until it has been reviewed by Government.

Thanks!


Answers:
author: Manisha Kharga _Appfire_
body: Hi [@richard.horwath.ctr](/t5/user/viewprofilepage/user-id/3608125) ,

When the confluence page is in Draft stage, click on the Preview link.

![comm2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/70426iDF02EE684CBD4C96/image-size/large?v=v2&px=999 "comm2.jpg")

Then do right click on the page and choose option Print.

![comm2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/70427i4C775C2E0818D0C6/image-size/large?v=v2&px=999 "comm2.jpg")Hope this helps you.

Thanks,  
Manisha


Tags: questions-for-confluence