youngmon/atlassian-qna huggingface dataset:
What is the best way to set up our database if the Confluence server will change IP addresses?
Asked by Heather Thomas:

We have Confluence set up on an internal server for our small company and are just starting to build up the content. We want to have someone in a different location add content so we have purchased a second license and are installing it on a PC which will go to that secondary location. We then plan to have that person export the space with their content and we will import the space on our instance of Confluence.

I have successfully installed Postgre SQL and Confluence on the new PC, and am in the process now of setting up Confluence. I'm stuck on the 'Set up your database' part. The error includes:

FATAL: no pg_hba.conf entry for host "the current IP address of the PC on our LAN"

I found an article explaining how to configure that .conf file by adding the IP address, but even if I get that working in my office it won't work when we move the PC to a new location on a new network with a new IP address.

Any ideas for how to overcome this? I don't recall having to set up that .conf file for our first installation either, so maybe I've done something else wrong before this step.

Thanks in advance for any ideas and suggestions!

Heather


Answers:
author: AnnWorley
body: Hi Heather,

Most organizations use [DNS](https://computer.howstuffworks.com/dns.htm) to resolve a "friendly" host name for the computer to the IP address. The name can remain the same and the IP address can be changed in DNS:
> Computers and other network devices on the Internet use an IP address to route your request to the site you're trying to reach. This is similar to dialing a phone number to connect to the person you're trying to call. Thanks to DNS, though, you don't have to keep your own address book of IP addresses. Instead, you just connect through a domain name server, also called a DNS server or name server, which manages a massive database that maps domain names to IP addresses.

If the database is on the same machine as the Confluence instance, you may use "localhost" instead of the IP address in the database portion of the setup wizard.

An example of a PostgreSQL JDBC URL is:

```
jdbc:postgresql://localhost:5432/confluence
```

where:

```
<jdbc:database_type>://<hostname_or_IP>:<port_number>/<database_name>
```

I sure hope that helps with the installation, please let me know any follow-up questions.

Thanks,

Ann

comments: author: Heather Thomas
body: Thank you, Ann! I used the JDBC URL, adjusted for my info, but still had problems. I ended up having to provide a password for the database owner (in both PGADMIN 4 and on the Confluence setup page). Previously they both matched with no password, but I guess it wanted one.

Anyway, I wanted to thank you for answering!

Heather


author: AnnWorley
body: Thank you for following up to let us know what the issue turned out to be. :)

Please reach out with a new question if we can help with anything!
As an admin, how can I determine my company's storage limit in Confluence?
Asked by Jess Fierro:

I would like to know the file storage limit on my Confluence account to to what extent it is a practical repository for project files. We use JIRA, Confluence and Service Desk.


Answers:
author: Daniel Wong
body: Hi [@Jess Fierro](/t5/user/viewprofilepage/user-id/1139865), are you referring to Confluence Cloud or Confluence Server?

For Confluence Cloud storage limits, refer to this KB: <https://confluence.atlassian.com/cloud/atlassian-cloud-storage-policy-873871366.html>

For Confluence Server, it really depends on what was setup by your server administrator. This is the requirements guide from Atlassian and provides some suggestions based on your use cases: [https://confluence.atlassian.com/doc/server-hardware-requirements-guide-30736403.html](https://confluence.atlassian.com/doc/server-hardware-requirements-guide-30736403.html?)

comments: author: Jess Fierro
body: Daniel - THANK YOU very much for the information! We have a cloud account with less than 500 users. This answers my question.

Again - Thanks! Best, Jess
Full name defaulted to email address
Asked by shailesh030:

Recently, when I began adding users to my confluence cloud instance, the full names have started to default to email address and ofcourse I can't change the names. As a result many users have a proper name while others are coming up as email address when referenced.

Has anything changed recently? Is there a way I can go back to previous experience?

![users.PNG](/t5/image/serverpage/image-id/17322iB9E6412BC21F07F3/image-dimensions/230x96?v=v2 "users.PNG")


Answers:
author: Suren Raj
body: Hi Shailesh,

<br />

Atlassian account was rolled out few months back, the named contacts for the account should have received an email pertaining to the changes to the Atlassian Cloud environment with regards to the new Atlassian account. Here's the information:
>
> An Atlassian account allows your users to log in to any of your Atlassian Cloud products with the same email address. This change is for the best, as it improves the login experience of the users to all Atlassian sites, as this streamlines to the login process. This way users will not have to login in each time to Atlassian facing sites, such as, jira.atlassian, support.atlassian, as well as their instances.  
>
> Further information on Atlassian Accounts can be found at \[Introducing Atlassian account\|<https://confluence.atlassian.com/purchasing/introducing-atlassian-account-738362254.html>\]

With Atlassian Account enabled, the admins will no longer be able to edit the user's Full Name and Email address, as now they will manage on their own through the <https://id.atlassian.com>.  
Therefore, you can perform a domain verification which will allow the admin to manage the Full Name and Email address of the users within that verified domain. You can check more details about the domain verification in below document:  
- <https://confluence.atlassian.com/cloud/domain-verification-873871234.html>  

Users can log in to id.atlassian.com and change these details themselves.
How do I do Version Control of updates etc.?
Asked by Elizabeth Marquardt:

We are creating a training session within our organization on using WIKI Atlassian, and we would like to understand better how other's do Version Control?

Thanks!


Answers:
author: roman
body: Hi [@Elizabeth Marquardt](/t5/user/viewprofilepage/user-id/1194549),

Atlassian is using [Scroll Versions](https://www.k15t.com/software/scroll-versions) and [Scroll Viewport](https://www.k15t.com/software/scroll-viewport) for their documentation. Would you like a demo for both apps?

Cheers,  
Roman.


author: Lauretha Rura
body: Hey [@Elizabeth Marquardt](/t5/user/viewprofilepage/user-id/1194549),

You may want to check out the discussion on this topic in the below post:

- <https://community.atlassian.com/t5/Confluence-questions/Does-Confluence-Support-Document-Versioning-and-Records/qaq-p/223042>

Also, to implement this feature - you can also use the [Scroll Version for Confluence plugin](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-versions/server/overview?_ga=2.213667476.184699952.1523230258-879243970.1517363357)

Hope this helps :)


Tags: version
Can i have more than one blog in my personal space?
Asked by Rose Rose:

I have a blog on my personal space to keep track of what I do and the new things I'm learning on the application we're building. Recently I got moved to another department and I want to start a new Blog. Is there a way to have more than one Blog in one space? I do have access to another Project space but I don't want to blog in there since everyone can see it.


Answers:
author: JanR
body: There is only one blog per space. But yo can tag the blog posts with a label \& generate a blog report listing only blog post of a specified label:

<https://confluence.atlassian.com/doc/blog-posts-macro-139470.html>
Confluence Backup Size
Asked by Ron Jacob:

During last 4 months, The Confluence backup size has gone up 4 times.

This is just blobs of XML , not attachments

How to investigate what is causing to backup size/ Confluence to grow so much


Answers:
author: AnnWorley
body: Hi Ron,

My guess would be that there are a lot of previous versions of Confluence pages being backed up.

The XML back-ups can cause problems, so we don't recommend them for Production instances, as it says in [XML backups cause performance problems or 'java.lang.OutOfMemoryError Java heap space'](https://confluence.atlassian.com/confkb/xml-backups-cause-performance-problems-or-java-lang-outofmemoryerror-java-heap-space-182681992.html):
> Confluence xml backups are not recommended for production installations. The XML backup performs poorly under load and require large amounts of memory and thus does not scale.

Instead of troubleshooting the XML backup size, I recommend changing to a [Production Backup Strategy](https://confluence.atlassian.com/doc/production-backup-strategy-38797389.html) and disabling the automatic XML back-up.

Thanks,

Ann
Javascript is not triggered in Wizard post-render
Asked by Miroslav Kralik:

Hello, I am creating a plugin for new page template and I want to pass some javascript into wizard screen, but for some reason it is not triggered.

Below is the piece of code which should do the trick also based on official documentation:

<https://developer.atlassian.com/server/confluence/javascript-api-for-blueprint-wizards/>

alert1 - works just fine and is triggered

alert2 - is not triggered as expected (the wizard page is visible just fine)

```
Confluence.Blueprint.setWizard('com.msd.devops.addons.confluence.sdlc-templates:sdlc-template', function(wizard) {
    alert("aler1");
    wizard.on('post-render.page1Form', function (e, state) {
        alert("alert2");
    });
});?
```

sdlc-templates.soy

```
{namespace MyPlugin.Blueprints.Simple}

/**
*  A form that accepts a person's name
*/
{template .page1Form}
<h3>Planning</h3>
{/template}

```

app attributes:

```
<groupId>com.msd.devops.addons.confluence</groupId>
<artifactId>sdlc-templates</artifactId>
```

atlassian-plugin.xml

```
<!-- SDLC Template Blueprint -->
<blueprint key="sdlc-template-blueprint" index-key="my-index" i18n-name-key="sdlc.create-link.title">
    <content-template ref="rs-template" />
    <content-template ref="qap-template" />
    <dialog-wizard key="sdlc-templates-wizard">
        <dialog-page id="page1Id" template-key="MyPlugin.Blueprints.Simple.page1Form" title-key="my.blueprint.wizard.page1.title" last="true"/>
    </dialog-wizard>
</blueprint>

<!-- Add to the Create Menu -->
<web-item key="sdlc-template" i18n-name-key="sdlc.create-link.title" section="system.create.dialog/content">
    <description key="sdlc.create-link.description" />
    <resource name="icon" type="download" location="/images/icon.png" />
    <param name="blueprintKey" value="sdlc-template-blueprint" />
</web-item>
```

Any idea, why the alert2 is not triggered (no javascript code I put there is triggered)?

Thank you, Miroslav


Answers:
author: Miroslav Kralik
body: I was using soy template name instead of the dialog-page id. Fixed.


Tags: atl-dev

blueprint

development
Add sidebar and navbar to new confluence page using decorators
Asked by Renuka Joshi:

I am creating a new page using web-item. The page is very similar to how "Page Information" looks like. but it does not have sidebar for scrolling through spaces/pages and also navbar/breadcrumb to return back to the page we came here. How should I make this possible? I have attached the new page that I create and also added screenshot for Page Information.

![Screen Shot 2018-03-12 at 11.46.27 PM.png](/t5/image/serverpage/image-id/17308iD2DA62DA869CA73F/image-size/large?v=v2&px=999 "Screen Shot 2018-03-12 at 11.46.27 PM.png")![Screen Shot 2018-03-12 at 11.48.06 PM.png](/t5/image/serverpage/image-id/17309iCBA090DF7C21940F/image-size/large?v=v2&px=999 "Screen Shot 2018-03-12 at 11.48.06 PM.png")


Answers:
author: Anne Calantog
body: Hi [@Renuka Joshi](/t5/user/viewprofilepage/user-id/1144373),

Kindly move this post to: <https://community.developer.atlassian.com/> . To answer this, AFAIK, Confluence has this. [Standard Page Deorators](https://developer.atlassian.com/server/confluence/using-standard-page-decorators/) to mimic most layouts and make your new web page look more Confluence but not for the side bar.

Cheers,

Anne Calantog


Tags: atl-dev
Automatic login from JIRA to Confluence and vice versa.
Asked by ADMiNZ:

Hello.

Tell me how to do that from JIRA it was possible to go to Confluence without re-entering the password?

I have a single user database JIRA Internal Directory.


Answers:
author: Kian Stack Mumo Systems
body: Hello Nikolay,

This is not possible with just JIRA/Confluence. In the Atlassian stack, introducing the [Crowd](https://www.atlassian.com/software/crowd) application is typically how you would perform this.   

More information about the process can be found [here](https://confluence.atlassian.com/crowd/overview-of-sso-179445277.html).


Tags: authority

jira-software
Cascading Space/Page Permissions
Asked by JayC:

Is it possible to cascade permissions from parent pages to child pages? I have permissions set to allow certain individuals to edit pages, and when I want to add/remove, I need to apply this to all pages. Would love to apply it to the parent page and have it cover all child pages. Is this possible?


Answers:
author: Nic Brough -Adaptavist-
body: Permissions are done at a space level, not page, so the same rules apply to every page in a space.

You can then place "restrictions" on pages, of which there are two types:

Read restrictions limit the users who can see the page (a sub-set of those who can read the page because the space permissions say they can), and these cascade down to child pages.

Edit restrictions limit the users who can edit (again, to a sub-set of those who can edit because they are granted it by the space permissions). These do NOT cascade down to child pages

comments: author: JayC
body: Thank you Nic.


author: Nicolas Casel
body: Thank you [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) ,
> These do NOT cascade down to child pages

Except installing certain plugins, are there some alternatives or workarounds to overcome this strong limitation?


author: Nic Brough -Adaptavist-
body: What "limitation"?


author: Nicolas Casel
body: The fact that edit restrictions do not cascade down to child pages. In the meantime, I found some inputs via:

<https://community.atlassian.com/t5/Confluence-questions/Making-edit-restrictions-inherited/qaq-p/964307>

<https://community.atlassian.com/t5/Confluence-questions/Making-edit-restrictions-inherited/qaq-p/889917>


Tags: child-page

permission
How do I find graphic attachments with a certain filename?
Asked by Jessica Weissman:

I am trying to consolidate the scattered copies of various logos in our Confluence instance. But I can't figure out a good way to search for them. I can limit the search to attachments, but that gets me mainly attachments with the word "logo" in the text. I tried using the known part of the filename as a title search, which did not work.

Is there a way to search across spaces for all items with a given filename or partial filename?


Answers:
author: Jessica Weissman
body: Hmm. Specifying logo.jpg found some of them on the 3rd or 4th try, but not all.


Tags: attachment

search
Confluence 'Questions' - Page Not Found
Asked by Phill Berry:

I recently installed Confluence 6.6.1, all working smoothly and the business are filling it with useful data.

We since purchased the questions plugin and simply cannot get it working, each time I install, I click 'Get Started' and receive the following screen, also note that the menu option at the top of the screen does not appear.

I have seen various articles stating issues with MySQL 5.7 and older versions of Confluence, advising to roll back but would have expected this to have been resolved throughout the newer versions of Confluence.

Any feedback/advice is greatly appreciated!!

![image001.png](/t5/image/serverpage/image-id/17296iDDA411731F7EC660/image-size/large?v=v2&px=999 "image001.png")


Answers:
author: Phill Berry
body: Just to add to the above, I have attempted reinstall of the plugin, reinstall of a standalone instance of Confluence, clearing the plugins cache and still no change.


Tags: questions-for-confluence
How to procure assignments while migrating the space from confluence cloud to server?
Asked by Vineet Kumar:

Hi, I have to migrate confluence spaces from Cloud to Server, The issue is, for the users, the usernames are different in cloud as well as confluence server but the email id is same. So, If i am importing the space to server the users are loosing the assignments to the wiki pages. e.g. creator of the page is appearing empty.

May i know what is the best way i can procure the these assignments while performing the imports. All the users are present in the target confluence server with the same email id but with different usernames.


Answers:
author: AnnWorley
body: Hi Emir,

There is no easy way to do what you are describing. To "see" the users as the same as in the Cloud export, and associate their created pages, avatars, personal spaces, etc. with them, the usernames must match at some point. There might be a way we can make them match Cloud temporarily, get the content associated, and then change them back to the intended Server usernames.

* In the destination Server instance, what kind of [User Directory](https://confluence.atlassian.com/doc/managing-multiple-directories-229838494.html) are the users in?

There are different strategies for external directories (Jira, Crowd, LDAP) versus internal (User Directory that comes with Confluence).

Another consideration is the number of users. If it's quite a few we will have to approach it differently than if it just a handful.

* Please let me know approximately how many users you have in Cloud.

Thanks,

Ann
Default Confluence JIRA Single Issue Macro to "Hide Summary"?
Asked by Teresa de Figueiredo:

Is it possible to default the Confluence JIRA Issue Macro for one issue to hide summary instead of having to manually click "hide summary"?


Answers:
author: Ilia Shakitko
body: In previous Confluence it was possible. Looking for the same now.


author: Emily Jarvis
body: I have this same question.


Tags: jira

macro
How to revert changes done in a page
Asked by Keerthiga:

I have moved one page mistakenly and deleted few contents and saved it back.But I need to revert it. what can I do for that


Answers:
author: Dai_Le
body: it does not work. I am using the Next-gen project, I don't like the next-gen project.

![Screen Shot 2019-09-26 at 10.49.15 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/67406i24B87BAF19818E89/image-size/large?v=v2&px=999 "Screen Shot 2019-09-26 at 10.49.15 AM.png")


author: Christo Mastoroudes _Adaptavist_
body: Hi,

Looking at the page history could help you see what was changed.

Click the ellipsis button on the top right of the page and then click "Page History". From there you should be able to restore the previous version of the page.
Include macro ? autocomplete not working
Asked by Dalibor:

Hello,

I want to use an Include macro on a Jira page to include page from another space.

Included page = the one I wanted to show in another space, i. e. the source; including page = the one on which I wanted to show the included page.

I did this with one page successfully. I started writing the space name and page name, and the autocomplete identified the desired page and was correctly displayed. Include successful.

I tried to do this with another page: from the same space, included to the same space. The including as well as included pages have the same access rights as for the previous example. However, the page name was not offered in the autocomplete.

I suspect this has to do with indexation (?), as names of the older versions of the included page were suggested. If I included these older versions, the page was not displayed on the including page and wrote: "The included page could not be found." However, it was still offered in the autocomplete, and the actual version was not.

Thank you for any suggestions :-)


Answers:
author: Vero Rivas
body: Hi [@Dalibor](/t5/user/viewprofilepage/user-id/734045)

Look at this post, maybe can help you

<https://confluence.atlassian.com/doc/autocomplete-for-links-files-macros-and-mentions-249858190.html>

Cheers
How to identify unused confluence group and groups and associated space name.
Asked by Jayakumar Narayanamoorthy:

How to identify unused confluence group and groups and associated space name.


Answers:
author: Lauretha Rura
body: Hey [@Jayakumar Narayanamoorthy](/t5/user/viewprofilepage/user-id/1135767),

You can use the SQL query below to identify the group(s) with no members:

```
select g.group_name, count(g.group_name) AS total_members from cwd_user u
join cwd_membership m on u.id=m.child_user_id join cwd_group g on m.parent_id=g.id join cwd_directory d on d.id=g.directory_id
where d.directory_name='Confluence Internal Directory'
group by g.group_name
order by count(g.group_name) asc;
```

and then, you can find the space they are associated to (in terms of permission) by the queries outlined in the KB below:

<https://confluence.atlassian.com/confkb/how-to-list-which-spaces-a-group-can-access-720636535.html>

Hope this helps :)
Page Link Autocomplete: Space?
Asked by Fabian Ehrentraud:

We have a huge Confluence instance with hundreds of spaces and thousands of pages. Naturally, many pages are named equally across spaces.

When starting to insert a new page link with \`\[\` + the first few characters of a page name, the autocompletion appears and shows matching pages. Unfortunately the autocompletion dialog does not show which spaces the results are from, so it often happens that a page from another (wrong) space is selected.

This looks like a bug (or missing feature) to me. Is there any way to configure the autocompletion dialog to also show the space name, or only show results from the current space?

Note that I am aware that I can go to "Search" and only select pages from the current space, but this is no workflow that works with a lot of users who select the first seemingly matching autocompletion result. EDIT: I have seen that the space is also shown when hovering over the autocompletion suggestions, but that needs using the mouse and patience.


Answers:
author: Fabian Ehrentraud
body: I created a ticket for this: <https://jira.atlassian.com/browse/CONFCLOUD-59311>
UI-button Not working
Asked by Magui Al Ahmar:

Hi,

i have this error when i use UI Button Macro.

Error using Macro 'ui-button': com.atlassian.renderer.v2.macro.MacroException: ButtonStyle 'blue' was not found

i tried all other colours and still not work.

Thank you


Answers:
author: Alana Fernando
body: [@Magui Al Ahmar](/t5/user/viewprofilepage/user-id/1197871) some screenshots or more context would be nice to understand your issue specifics.

comments: author: Magui Al Ahmar
body: Hi [@Alana Fernando](/t5/user/viewprofilepage/user-id/1134267), it is solved now, there was a problem in the add on stettings. thank you for your reply.


Tags: user-interface