youngmon/atlassian-qna huggingface dataset:
Confluence Database Setup - Moving From H2
Asked by Thomas Murray:

I am trying to create a new instance of Confluence (following directions) to change my database to one hosted in PostgreSQL. When I installed the second copy per the directions, I get stopped by the screen asking for license details. I put in the key I was given, but it says it isn't valid. I'm wondering if that's because it was associated with the old server ID of the initial demo install (which I then applied the license to before I knew I had to host the DB on a separate engine). Any advice appreciated.


Answers:
author: Shannon S
body: Hello Thomas,

Thank you for contacting us.

The error shouldn't tell you that the key isn't valid if it's in use, so I think this might be a different issue. You can confirm first that your original instance is now offline? That will rule out your first concern.

The article below says you might get that error if the plugins cache is corrupt. Have you tried to clear this already?

* [Unable to update license key in Confluence with the error message "The license you entered was not valid"](https://confluence.atlassian.com/confkb/unable-to-update-license-key-in-confluence-with-the-error-message-the-license-you-entered-was-not-valid-751698902.html)

To clear the cache, do the following:

1.
   > Shutdown Confluence
2.
   > Ensure the user running Confluence has full read/write privileges to the confluence-home directory.
3.
   > Remove the following directories:warning: This will remove the plugin cache files only and will not permanently remove any plugins. These directories will be recreated during the next Confluence startup. However, some third-party plugins may store metadata in these directories, so we recommend creating a temporary backup of the directories.
   > * `<confluence-home>/bundled-plugins`
   > * `<confluence-home>/plugins-cache`
   > * `<confluence-home>/plugins-osgi-cache`
   > * `<confluence-home>/plugins-temp`
   > * `<confluence-home>/bundled-plugins_language`
4.
   > Start Confluence

Have a look at [How to clear Confluence plugins cache](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html) for more information on how to do that.

If that does not work, then I would recommend going to [my.atlassian.com](https://my.atlassian.com) and re-obtain your key from there.

Let me know how that goes.

Regards,

Shannon

comments: author: Thomas Murray
body: Shannon, thank you very much for your help. As it turned out, the license key was not the correct one. I went onto my licensing portal to verify after someone suggested it, and it was my fault. Thanks again for your help, I truly appreciate your time and suggestions.


author: Shannon S
body: Thomas,

That's no problem at all! Glad it was helpful to you and that you're now up and running again.

Take care, and have a pleasant week.

Regards,

Shannon


Tags: database

h2

postgres
Unknown macro: 'viewpdf'
Asked by HH:

Hi,

We used to have a macro called viewpdf that allowed you to display a pdf, and it's stopped working.

Anyone got any ideas where I can find more info on it? Tried googling and looking around the forum for it with no luck!

I looked at the page structure and found this:

\<ac:structured-macro ac:name="viewpdf" ac:schema-version="1" ac:macro-id="6f551222-17ba-41fa-a206-a514eba7eee2"\>

I've found that it's part of the View File macros:

<https://confluence.atlassian.com/conf66/view-file-macro-943962200.html>

I've checked and it's enabled - but I can't search for it within the add macro section?

Thanks!


Answers:
author: Mikael Sandberg
body: The viewpdf macro is part of the Office Connector plugin, so check and see if it is enabled or not.


Tags: confluence-server

macro

pdf

server
Adding auto generated sequence to a confluence page
Asked by Adefisayo Akande:

How can I add an auto generated numbering to my confluence page. Eg. If i have a column name Reference No : REF-001 for the first report created. When I create another of such custom report, I want the Reference No column to have : REF-002 and continue like that.

Is this possible in confluence without using a 3rd party tool? If yes please possibly explain step by step


Answers:
author: James Dellow
body: This isn't an out of the box feature for Confluence and I'm not aware of any off the shelf apps that will do this for you in Confluence Cloud. However, it could be built as a custom app.

While I can't see Atlassian addressing this anytime soon as an out of the box feature, you might like to vote/comment on this enhancement suggestion here:

<https://jira.atlassian.com/browse/CONFCLOUD-22704>


Tags: atl-adm

atlassian-marketplace

cloud

confluence-cloud
the documentation webpages are cut off on the right hand side
Asked by Help_Desk:

trying to read <https://confluence.atlassian.com/conf614/change-listen-port-for-confluence-965546593.html>

but the text field is truncated and thus makes the support articles unreadable. tried safari, chrome and firefox all the same.

please fix

thanks


Answers:
author: Darryl St_ Pierre
body: I submitted a bug report for you with Support. [PSCLOUD-27082](https://getsupport.atlassian.com/servicedesk/customer/portal/42/PSCLOUD-27082)


author: Mirek
body: Hi [@Help_Desk](/t5/user/viewprofilepage/user-id/1169900)

On my side it is the same as you describe. I would try to help and ask if this page could be fixed. Until then feel free to use this version that I have modified in order to see the text..

![confluence_atlassian_com_01.png](https://community.atlassian.com/t5/image/serverpage/image-id/56157i44ABBD5F386443E8/image-size/large?v=v2&px=999 "confluence_atlassian_com_01.png")
Restored subscription, but I do not see my pages
Asked by Alex Bykov:

Hi, I've unsubscribed (27 May 2019) from Confluence in Jira. I had a few pages  

After that , I restored (30 May 2019) subscription from Jira, but I do not see my pages any more


Answers:
author: Shannon S
body: Hello Alex,

Thank you for contacting us about this.

I believe you might be referring to your Confluence Cloud subscription. Is that right?

If so, you need to contact the support team about this. You can reach them at [support.atlassian.com](https://support.atlassian.com/contact). They can then take a look at your site and find out why you are not able to see your pages.

Thank you for your understanding!

Regards,

Shannon
Is there any storage limit for Confluence for our project space that we need to be aware of?
Asked by koteswararao:

Is there any storage limit for Confluence for our project space that we need to be aware of?


Answers:
author: Petr Van??ek
body: Hi,

yes, you can look at this documentation page: <https://confluence.atlassian.com/cloud/atlassian-cloud-storage-policy-873871366.html>


Tags: cloud

confluence-cloud
How to get page view statistics for each Confluence user?
Asked by Jack_Balansag:

I am trying to get more stats whether our space has been fully utilized by all our staff. I have enabled Confluence Usage Stats but it only records the number of view (overall perspective). I want to know if a Confluence user has made an activity, and what pages have they visited?

Is the above possible, and what plugin can you recommend? Better yet, tell me your thoughts on how to realize this.


Answers:
author: carolyn french
body: Hi [@Jack_Balansag](/t5/user/viewprofilepage/user-id/3026057) , could you use something like AppFusion's Google Analytics for Confluence?

<https://docs.appfusions.com/display/GANLC/Home>

Best of luck,

Carolyn

comments: author: Jack_Balansag
body: Thank you so much, [@carolyn french](/t5/user/viewprofilepage/user-id/664664) . I will have a look at your suggestion.


author: Pankaj Jangid
body: I have searched and viewed a couple of plugins in detail. But none of them actually tells anything about user activity. Most of the stats plugins are actually talking about content statistics.


Tags: confluence-server
What is the mitigation or alternative method for the deprecated method for search() in SearchManager
Asked by Shankar Murthy Pokala:

I have a Confluence plugin where I use SearchManager.search(searchResults.getNextPageSearch()), but this method is deprecated from v5.7.2 Confluence. Now my Confluence is upgraded to 6.13.4 and I am in search of alternative method for it. I read in the Confluence source code and I see a suggestion "This method on one hand is rarely used on the other hand is not efficient to implement in ES".

searchResults = searchManager.search(searchResults.getNextPageSearch());

Do we have any alternative method for this ?

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


Answers:
author: Shannon S
body: Hello Shankar,

Thank you for contacting us! I just need some clarification here on what you are trying to do.

Is this an existing add-on from Marketplace, or are you creating one for Confluence Server? If so, you should know that this forum is for end-users, so you're not likely to see very many answers from developers on this forum. For help with developing for our products, have a look at the [Atlassian Developer Community](https://community.developer.atlassian.com). There, you will be able to ask and answer questions with your developer peers.

Let me know if you have any trouble with that!

Regards,

Shannon

comments: author: Shankar Murthy Pokala
body: Shannon, I have my own developed Confluence plugin where I used the above code, now this code has got deprecated methods which I want to mitigate and looking for alternatives.

Thanks, I will post this question in Atlassian Developer Community.


author: Shannon S
body: Hello Shankar,

Thank you for confirming that! It would definitely be the right place then, I'm sure some of the Marketplace developers have run into similar situations so they will surely be able to assist you.

Take care, and have a pleasant week.

Regards,

Shannon


Tags: atl-adm

atl-dev

search
Confluence Administration
Asked by Patrik Brand?s:

Hi all,

I would like to ask: Is possible to set up Confluence Administration permission for some user in specific workspace? F.e. if company has more Confluence workspaces.


Answers:
author: Milan Chheda [INFOSYSTA]
body: Yes, You can read more about Space Permissions [here.](https://confluence.atlassian.com/doc/space-permissions-overview-139521.html)

comments: author: Patrik Brand?s
body: Thanks a lot, i would like to ask one more question: I have this permission ![Confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/56123i0BDC7B3F16921D9A/image-dimensions/576x78?v=v2 "Confluence.png")but why I can?t find HTML macro?![html.png](https://community.atlassian.com/t5/image/serverpage/image-id/56124i91BCFD631D94967C/image-dimensions/665x408?v=v2 "html.png")


author: Milan Chheda [INFOSYSTA]
body: HTML macros are disabled by default. Read [here](https://confluence.atlassian.com/doc/html-macro-38273085.html) to enable them.
Confluence Error Log
Asked by satreci:

Hi

The following logs occur each time the page is loaded.

```
2019-05-30 14:04:10,851 ERROR [http-nio-9091-exec-13] [plugin.redirection.license.LicensedConfluenceFilter] doFilter License Certificate has expired!
?-- referer: http://sigma:9091/pages/viewpage.action?pageId=23273374 | url: /pages/viewpage.action | traceId: 275b5e40cefc46c8 | userName: 
```

How can i fix it?

Thanks for your help.


Answers:
author: Milan Chheda [INFOSYSTA]
body: There is documentation about this error here, that can help you resolve the problem: <https://confluence.atlassian.com/confkb/license-could-not-be-verified-license-certificate-has-expired-370049256.html?_ga=2.105840256.2058756737.1558845586-841802252.1554984984>


Tags: confluence-server

server
How to stop Archived spaces being indexed by Google
Asked by Julie Bateman:

Hello

We are going to allow our vast Confluence help centre site to be indexed by the search engines. We have some Archive spaces but don't want them indexed as its old content.

Will editing robots.txt No Index, No Follow on the top page be enough to stop Google and others indexing an Archived space?

I note:

<https://confluence.atlassian.com/doc/archive-a-space-284368719.html>

![(info)](https://confluence.atlassian.com/s/en_GB/7202/e97769bbf919c0bd667762fc102f557beacb7f94/_/images/icons/emoticons/information.png) Archiving a space has no effect on search results of external search engines. For example, a public space will still appear in Google search results.

But really wonder why it would be built in to allow something that's archived to be indexed?


Answers:
author: Diego
body: Hello there!  
As specified in our documentation Julie, even after archived a Space can come up in search engines such as ++*Bing, Google and Yahoo*++ . Since the indexing is not tied to Confluence itself, the application has no control on what the engines index.   
We need to configure this manually using a robot.txt file. This should be enough to stop Google and the others from indexing your pages.

I could find documentation from Bing, Google and Yahoo on how++*to keep them from indexing pages via robots.txt*++. You can check them here Julie:

**++*[Bing - Robots Metatags](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)*++**

**++*[Bing - How Can I Get a Page on My Site Out of the Bing Index?](https://www.bing.com/webmaster/help/how-can-i-remove-a-url-or-page-from-the-bing-index-37c07477)*++**

**++*[Google - Introduction to robots.txt](https://support.google.com/webmasters/answer/6062608?hl=en&ref_topic=6061961&visit_id=1-636492455062373001-622757708&rd=1)*++**

**++*[Google - Block search indexing with 'noindex'](https://support.google.com/webmasters/answer/93710?hl=en)*++**

[**++*Yahoo - Why is Slurp crawling my page?*++**](https://help.yahoo.com/kb/SLN22600.html)

Let us know if this helps you Julie. Looking forward to your reply.

comments: author: Julie Bateman
body: Thank you so much Diego. I really appreciate it.

Julie :)


author: Diego
body: Glad to hear that this helped you Julie! If you need anything else, do not hold back and come straight into the Community.

See you!


author: Rodrigo Angulo
body: [@Diego](/t5/user/viewprofilepage/user-id/1188952)would a deleted space not show up in the google search results?


Tags: atl-adm
Confluence Database Information
Asked by Matt Lundstrom:

Database Information section on the admin page of our self hosted confluence shows the following details.  
------------  
Database name HSQL Database Engine  
Database version 2.3.0  
------------

Please let me know how to find the database name and the server where it is hosted.

Thank you,

Mike T.


Answers:
author: Brant Schroeder
body: Mike,

This means that you are using the embedded SQL Database. This should not be used for production instances. Here is how to connect to the database: <https://confluence.atlassian.com/doc/embedded-h2-database-145098285.html>

If this is a production instance there are directions on how to migrate off of the embedded DB.

comments: author: Matt Lundstrom
body: Thank you for the update.

I was not able to find any databases in the **confluence/database/** directory.

Let me know where can I find the conf file where the database details are saved.

Thank you,

Mike T.
Changing Confluence cloud email notification subject line
Asked by Katie Johnson-Camacho:

Hi, certain members of my team cannot stand to use Confluence because of how the emails appear in their inbox. I would like to customize the subject line at least, is there any way I can do that with cloud?


Answers:
author: Shannon S
body: Hello Katie,

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

This is not possible in Confluence Cloud, as it requires you to be able to [edit the email source code, as you would do in Confluence Server](https://confluence.atlassian.com/doc/customizing-email-templates-168001822.html).

We have a feature request for this for Cloud below:

* [CONFCLOUD-36825](https://jira.atlassian.com/browse/CONFCLOUD-36825) *Configure Notification Email Subject*

Please vote on the request and watch it if you want to be updated of any changes.

Thank you for your understanding.

Regards,

Shannon


Tags: atlassian-marketplace

cloud

confluence-cloud

email

subject
[Confluence Questions] Administrating questions without using reputation based permissions?
Asked by James Bedwell:

Are there any ways to adminstrate the Questions plugin without using the reputation-based permissions feature?

We artificially inflated our own scores as a hacky workaround so that we could administrate questions - but we are now delegating questions administration to various users of the instance and this isn't scalable.

We also want to avoid the risk of other users artificially inflating their own scores to gain admin rights.

In addition, we also want the ability to grant Questions admin rights on a per-space basis.

Do any of these features exist?


Answers:
author: Shannon S
body: Hello James,

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

The Reputation Based Permissions is a setting that can be toggled on and off.

1. Go to ![](https://confluence.atlassian.com/questions/files/915151592/915151593/1/1497566393660/Cog.png) \> **General Configuration**\> Confluence Questions**Customization**.
2. Select/Unselect **Reputation Based Permissions**
3. Choose **Save**.

See [Questions \> Permissions](https://confluence.atlassian.com/questions/permissions-407724476.html) for more details.

Otherwise, anyone with Confluence Admin permissions can delete any question or answer. If you want to be able to assign other users to be administrators of Confluence Questions, there is not a way to do that right now, but we have a few feature requests you might be interested in:

* [CONFSERVER-51720](https://jira.atlassian.com/browse/CONFSERVER-51720) *Allow specific groups (e..g admins/space admins/other) to create topics*
* [CONFSERVER-51753](https://jira.atlassian.com/browse/CONFSERVER-51753) *As a Confluence administrator I would like to assign users to be Confluence Question administrators*
* [CONFSERVER-51700](https://jira.atlassian.com/browse/CONFSERVER-51700) *Ability to assign moderators / curators within Confluence Questions*

Please feel free to vote on the requests that you would like to see, comment with your feedback, and watch the ones you want to get updates on.

Let me know if you have any questions about that.

Regards,

Shannon


Tags: confluence-app

confluence-server

questions-for-confluence

server
Getting a 401-Unauthorized Error on REST API
Asked by Stanislav Vincent:

I am using Confluence Cloud. All worked perfectly but suddenly (max 1 months ago) my REST API call stopped working and it returns me an unauthorized error. I have tried both basic authentication call which I do believe are 100% correct. When I use URL in the browser when I am logged into the Confluence all works fine.

My commands:

1) curl -u s.vincent@gmc.net:PASSWORD -X GET "[https://gmcwiki.atlassian.net/wiki/rest/api/content?orderby=history.createdDate%20desc\&expand=space,history,metadata.labels\&type=page\&spaceKey=PKB\&limit=100\&start=0](https://gmcwiki.atlassian.net/wiki/rest/api/content?orderby=history.createdDate%20desc&expand=space,history,metadata.labels&type=page&spaceKey=PKB&limit=100&start=0)"

2) curl -X GET -H "Authorization: Basic BASE64TOKEN" -H "Content-Type: application/json" "[https://gmcwiki.atlassian.net/wiki/rest/api/content?orderby=history.createdDate%20desc\&expand=space,history,metadata.labels\&type=page\&spaceKey=PKB\&limit=100\&start=0](https://gmcwiki.atlassian.net/wiki/rest/api/content?orderby=history.createdDate%20desc&expand=space,history,metadata.labels&type=page&spaceKey=PKB&limit=100&start=0)"

I set up basic authentication based on this [article](https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-basic-authentication/?_ga=2.203491280.1727680011.1559093196-774935985.1520588648).

Found among the articles that it could be caused my CAPTCHA in case log-in failed more times. First, of I am never asked for CAPTCHA when I am logging in but in Security Configuration is set to 3 and cannot be disabled.

I have tested API call in Postman as well and the result is the same unauthorization error.

Does anyone have any hint? Thanks


Answers:
author: Edwin Kyalangalilwa
body: Hi [@Stanislav Vincent](/t5/user/viewprofilepage/user-id/199152) ,

Please take a look at this similar question.

[Client must be authenticated to access this resource.](https://community.atlassian.com/t5/Jira-questions/ERROR-quot-message-quot-quot-Client-must-be-authenticated-to/qaq-p/1076087)

comments: author: Stanislav Vincent
body: Thanks a lot, [@Edwin Kyalangalilwa](/t5/user/viewprofilepage/user-id/255918) . Works perfectly!


Tags: authentication

confluence-cloud
In the Page Properties Report macro, how do I sort numerically?
Asked by this_is_really_dumb:

I am using the option to sort by a column, and it is doing it alphabetical but I want it to sort numerically. Is there a way to do this?


Answers:
author: Shannon S
body: Hello Bob,

Welcome to the Atlassian Community! It's nice to meet you.

It sounds like you have a column that is all numbers, and you are trying to sort that column specifically, and it's not working, for example:

1, 11, 2, 21, 22 **instead of**, 1, 2, 11, 21, 22. Is this correct?

Can you confirm if you are on Confluence Cloud? If not, what version of Server are you using?

If you are on Cloud, I suspect you are running into the following bug:

* [CONFCLOUD-59017](https://jira.atlassian.com/browse/CONFCLOUD-59017) *Page properties report Sort by function is completely broken*

If this is the same issue you are running into, please vote on the above bug, and watch it in order to be updated of any progress.

If this is not the issue you are running into, please describe to me the content you are sorting, and how it is working now, and I'll see what I can find out about it.

Regards,

Shannon

comments: author: this_is_really_dumb
body: That's the bug, we use the Server v7.12.1


author: Shannon S
body: Bob,

Thank you for confirming that. You can click **This affects my team** on the bug, and that will log your vote, and cause you to receive any updates of its progress.

Take care, and have a pleasant week.

Regards,

Shannon
How do I change the font size in the header of a expand macro?
Asked by Selvestre Raymundo:

How do I change the font size in the header of a expand macro?


Answers:
author: Shannon S
body: Hello Selvestre,

Thank you for contacting us.

Can you confirm which version of Confluence this is for? I believe you might be on Cloud, and if so, it is not possible to modify the appearance of macros.

If you are on Server, then you would need to either edit the source code of the macro itself, or embed CSS into the page to style the title. This is a restricted feature in Cloud, so it is only possible in Server.

I hope that clarifies things but do let me know if you have any questions.

Regards,

Shannon

comments: author: Filip Lindhe
body: Hello Shannon.  
The HTML Macro for the cloud can't use

```
<style>
.expand-control-text {
    font-size:130%;
}
</style>
```

to change the size of expand? is this correct?

because it doesn't seem to work. it does nothing to my page.


author: Shannon S
body: Hello Filip,

That is correct. Per [Functional Differences in Confluence Cloud](https://confluence.atlassian.com/confcloud/functional-differences-in-confluence-cloud-734070955.html), it is not possible to modify the Look and Feel using custom CSS:
> On Atlassian Cloud, Confluence uses a custom theme that can't be modified or updated using custom HTML or CSS. For more information on custom themes in Confluence Cloud, refer to [Working with Themes](https://confluence.atlassian.com/confcloud/working-with-themes-724765503.html).
>
> Confluence Cloud Developer community: You can also create your own theme for Confluence Cloud. Check out the [Theme page](https://developer.atlassian.com/cloud/confluence/theme/) in our Confluence Cloud Developer page.

Let me know if you have any questions about that.

Regards,

Shannon


author: DSell
body: [@Shannon S](/t5/user/viewprofilepage/user-id/510046), where would this macro be applied on Confluence Server?