youngmon/atlassian-qna huggingface dataset:
Block personal spaces for specific groups
Asked by Sandra Meessen:

Hi, We have 2 big groups of users in our Confluence: groupA and groupB. We want personal spaces of users of groupA only to be visible to users of groupA. Users of groupB are absolutely not meant to see the personal spaces of groupA.

Can we use default permissions/restrictions settings for Personal Spaces restrictions? groupA can view, groupB absolutely not.

Thank you.


Answers:
author: Shannon S
body: Hi Sandra,

This would require you to go in manually to each space and update the permissions, similar to the process described here:

* [How to grant access to one space only to a user in Confluence](https://confluence.atlassian.com/confkb/how-to-grant-access-to-one-space-only-to-a-user-in-confluence-815244321.html)

Otherwise, you'll want to either do this manually using the API or a scripting add-on, or something like this:

* [Space Privacy - Extranet for Confluence](https://marketplace.atlassian.com/apps/1216602/space-privacy-extranet-for-confluence?hosting=server&tab=overview)

Let me know if you have any questions about that.

Regards,

Shannon

comments: author: Sandra Meessen
body: Hi Shannon, Do I understand correctly that it is not possible to set default the permissions on Personal Spaces to "completely restricted"?

When I create a new Personal Space to a user, I see that the default setting for the restrictions is "unrestricted". Can we change that on our complete Confluence instance to default "restricted with a specific group"? Thank you and regards,


author: Zak Laughton
body: Hi Sandra,

It's not possible to set default permissions for a personal space, but there is a feature request open for this functionality in Atlassian's public ticket tracker: [CONFSERVER-36726 --](https://jira.atlassian.com/browse/CONFSERVER-36726)ability[to set personal/global space default permissions](https://jira.atlassian.com/browse/CONFSERVER-36726). You can watch the ticket to receive updates, and vote on the ticket to help prioritize implementation according to the Atlassian [Implementation of New Features Policy](https://jira.atlassian.com/browse/CONFSERVER-36726).

In the meantime, there are also some 3rd-party workarounds suggested by others in the feature ticket comments that may work.

--Zak


author: Thomas ?hrbom
body: A *personal* space should of course by default be personal, and *not* open to everyone. That should be elementary!

Sad to see that nothing has happened with that ticket since 2015. BTW the corresponding Confluence Cloud issue is [CONFCLOUD-36726](https://jira.atlassian.com/browse/CONFCLOUD-36726). Vote and comment, people!


Tags: confluence-server

personal-space

restriction

server
Scaffolding eval data from group field
Asked by Reto Eggenberger:

Hi,

I use the scaffolding addon.

Here an example:

* Group Data (name: head)
  * Number Data (name: field1)
* Group ends
* Evaluate Data ${field1}

But this does not get evaluated. What is the right syntax to access a field within the group?

ps. there should be a variables reference in the scaffolding documentation, or did I miss out on something?

Reto E.


Answers:
author: Reto Eggenberger
body: Right now, it is not possible with the evaluate-data macro.

I raised a feature request. Feel free to vote for it, if you find it to be useful.

<https://ideas.atlassian.servicerocket.com/ideas/SCAF-I-64>


author: Sayed Bares [ServiceRocket]
body: Reto,

Can you share with us [storage format](https://community.atlassian.com/t5/Confluence-discussions/How-to-get-storgae-format-of-a-page-or-a-template/td-p/970913) of the page?

In the time being, the following documentation might help you with usage of [Group data](https://docs.servicerocket.com/scaffolding/macro-reference/group-data) macro.

comments: author: Reto Eggenberger
body: Here the storage format:

```
<p class="auto-cursor-target"><br /></p><ac:structured-macro ac:name="number-data" ac:schema-version="1" ac:macro-id="9775bf7a-3408-463d-9ec3-0ed05d8f99df"><ac:parameter ac:name="name">field0</ac:parameter><ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter></ac:structured-macro><p class="auto-cursor-target"><br /></p><ac:structured-macro ac:name="group-data" ac:schema-version="1" ac:macro-id="00d0b71d-0be0-4356-8338-e49b712b8400"><ac:parameter ac:name="name">group1</ac:parameter><ac:rich-text-body><p class="auto-cursor-target"><br /></p><ac:structured-macro ac:name="number-data" ac:schema-version="1" ac:macro-id="4e6ed5a5-eb64-41d4-afc1-64b5bea6278e"><ac:parameter ac:name="name">field1</ac:parameter><ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter></ac:structured-macro><p class="auto-cursor-target"><br /></p></ac:rich-text-body></ac:structured-macro><p class="auto-cursor-target"><br /></p><p>Field outside group:</p><ac:structured-macro ac:name="eval-data" ac:schema-version="1" ac:macro-id="cf83dd6b-4946-4487-84f3-4c85d548dc72"><ac:parameter ac:name="name">eval0</ac:parameter><ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter><ac:plain-text-body><![CDATA[${field0}]]></ac:plain-text-body></ac:structured-macro><p class="auto-cursor-target"><br /></p><p><br /></p><p>Field inside group:</p><ac:structured-macro ac:name="eval-data" ac:schema-version="1" ac:macro-id="21bf54b3-555b-4be7-a5c9-e5f507402d09"><ac:parameter ac:name="name">eval1</ac:parameter><ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter><ac:plain-text-body><![CDATA[${field1}]]></ac:plain-text-body></ac:structured-macro><p class="auto-cursor-target"><br /></p>
```

The problem is the second last line with the **eval1** macro. There I want to access the **field1** with **${field1}**. But this doesn't work, because field1 is inside a group. I have to specify the group somehow, I guess.


Tags: confluence-server

scaffolding

server
how to get blogs information via sql queries?
Asked by Lakshman:

Hi all,

I need to collect the blog information on Database level. Can you please someone tell me the table name, where blogs content stored in a Confluence.

Thanks,

Lakshmana


Answers:
author: Zak Laughton
body: Hi Lakshman,

You'll find the primary key on the CONTENT table with CONTENTTYPE='BLOGPOST', and the content of the blog will be on the BODYCONTENT table. You'll also want the space name to distinguish blogs with the same title. This should do it:

```
SELECT
  sp.spacename,
  con.title,
  bcon.body
FROM bodycontent bcon
JOIN content con ON con.contentid = bcon.contentid
JOIN spaces sp ON sp.spaceid = con.spaceid
WHERE con.contenttype = 'BLOGPOST';
```

NOTE: This doesn't take previous versions into account, and will likely return several results for blog posts that have been edited. To avoid this, you may also want to combine with filters listed on [How to find the number of pages,](https://confluence.atlassian.com/confkb/how-to-find-the-number-of-pages-blogposts-and-attachments-in-a-space-720636388.html)blogposts[, and attachments in a space](https://confluence.atlassian.com/confkb/how-to-find-the-number-of-pages-blogposts-and-attachments-in-a-space-720636388.html).

I hope this helps!  
-- Zak


author: Nic Brough -Adaptavist-
body: The blogs are held in bodycontent, but that's just the raw text content and formatting. For the metadata for the blog, you're going to have to go off to read many other tables.

This is not "fun" - your SQL is going to be slow, painful to build and maintain, and you're going to be reading 20-30 tables in quite a convoluted way. You will be far better off using the REST API to get the information.

comments: author: Gonchik Tsymzhitov
body: I hope without joining with content table you can't fetch data :) or fetch not relevant


author: Gonchik Tsymzhitov
body: Hi!

Please, have a look that data model page

<https://confluence.atlassian.com/doc/confluence-data-model-127369837.html>

also, check content table

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

Cheers,

Gonchik Tsymzhitov
Cannot create a space after Confluence upgrade to 6.14.0
Asked by Keshni:

We have upgraded Confluence from version 6.8.2 to version 6.14.0 - after the upgrade we are unable to create a Confluence space.

Error message: Unknown server error when trying to create a space

Some of the solutions have been to deactivated collaborative editing and delete specific tables on the database. Unfortunately these solutions did not resolve the issue.


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

can you post your log stacktrace?


Tags: confluence-server

server
Custom filename when do Download All
Asked by hungtv9:

Hi,

When I download all attachments in confluence page, it's save with ugly name such as downloadXYZabc.zip.

Is there anyway to customize this.

Thanks,

Hung


Answers:
author: Nic Brough -Adaptavist-
body: No, there is not, not without amending the core code in Confluence.


Tags: confluence-server

server
Open a share folder on a Confluence with Chrome Browser KO
Asked by Romain Moyon:

The following syntax to open a server share folder in Confluence with Chrome doesn't work.

Insert \> Link \> Advance

Link :

* file://ibbxxx.ii.fr/P99/50-dossier/Extraction
* file:///ibbxxx.ii.fr/P99/50-dossier/Extraction
* file://////ibbxxx.ii.fr/P99/50-dossier/Extraction

Name : Lien

Did you now a correct link to open the folder with Chrome ?


Answers:
author: Mirek
body: Hi [@Romain Moyon](/t5/user/viewprofilepage/user-id/2805378) , welcome to Community!

This problem is open for years.. It is combination of browser, Confluence and OS issue. I have not much to add here than it is in this similar topic:

<https://community.atlassian.com/t5/Confluence-questions/Confluence-How-to-place-a-link-to-a-file-on-a-server-share-in-a/qaq-p/258790>

Please take a look on it and you should get all the answers.

comments: author: Romain Moyon
body: Thanks for your answer, i see this topic but i steel block.

I try the different syntax :

\[file:///server/share/etc/some path/with spaces\]

file:///server/share/etc

file://SERVERNAME/PATH/FILENAME


author: Mirek
body: It is not only about the syntax.. It might be simply blocked by your browser.. or OS.. or your antivirus.. etc. There are many levels that might fail. Definitely it is not something that you can turn on/off in Confluence. It depends on your environment and hard to set up. That is why this question is open for years with couple of workaround that might or might not work.


author: Romain Moyon
body: For information, the link open the folder window with Internet Explorer.

It's possible that is only block on Chrome ?


author: Mirek
body: Yes, however it should be blocked by all modern browsers. Check this KB article for more information (actually related to Jira, but context is the same)

<https://confluence.atlassian.com/jirakb/can-t-link-to-local-files-from-within-jira-216958260.html>


Tags: confluence-server

server
How to import a Confluence Space from Cloud to server
Asked by Bhuvaneshwari:

Hi,

Can you please point me to the documentation of importing Confluence spaces from the Cloud instance to an existing Server Instance that has many spaces already.

We just want a few space to be imported to the Server instance from the Cloud instance.

thanks

Bhuvana


Answers:
author: Grigory Salnikov
body: Yes, sure!

You can export-import spaces in the XML format one-by-one between your Cloud and Server instances. This process won't affect already existing spaces as it's not a full site backup and restore.

You'll need to re-configure permissions afterward, that is all.

Try to export and import one space and you'll see it's pretty straightforward.


author: Bhuvaneshwari
body: Hi Gregory,

Thank you for the quick response.

Many of the link specify the details to migrate from Server to cloud but here our Server versions has many spaces already and we just want top migrate some Spaces from the Cloud instance to the Server.

Can we follow the same Export Import for the Cloud to server?

thanks

Bhuvana

comments: author: Bhuvaneshwari
body: Thank you, I shall try this out.

I assume the the export and Import will also cover the attachments part as well.

thanks

Bhuvana


author: Grigory Salnikov
body: Yes, that's correct.


author: Grigory Salnikov
body: Hi, [@Bhuvaneshwari](/t5/user/viewprofilepage/user-id/928915) !

It's pretty simple. Please, refer to the following documentation:

[Import a Confluence Space](https://confluence.atlassian.com/confcloud/import-a-confluence-space-724765531.html)

[How to Export-Import Confluence Pages and Spaces](https://community.atlassian.com/t5/Confluence-questions/How-to-Export-Import-Confluence-Pages-and-Spaces/qaq-p/329106)

Should you have any difficulties don't hesitate to get back to us!


Tags: confluence-server

server
Display problems with firefox
Asked by Nadine Racine:

We work with the Roadmap Planner in Confluence. When the page is called with Chrome, the Roadmap Planner content is displayed correctly. However, if the page is called with Firefox, the text is missing in the Roadmap Planner. (see examples in the appendix)

Do you have any idea why this is happening?  
Reloading the page has no effect on it.

**Chrome** ![Chrome.png](/t5/image/serverpage/image-id/47562i1E537BC25E84671C/image-size/large?v=v2&px=999 "Chrome.png")

**Firefox** ![Firefox.png](/t5/image/serverpage/image-id/47563i2C2498E9B9C54CC5/image-size/large?v=v2&px=999 "Firefox.png")


Answers:
author: Shannon S
body: Hello Nadine,

This is a known bug in our system, and you can follow the progress below:

* [CONFCLOUD-65223](https://jira.atlassian.com/browse/CONFCLOUD-65223) *Roadmap Planner bars not displaying text on Firefox*

It seems to affect Chrome as well, but in Chrome you can work around it by editing the page, refreshing, then opening the Roadmap again. I have not heard that this will work for Firefox, however.

Let me know if you have any questions about this.

Regards,

Shannon


Tags: cloud

confluence-cloud
slow page loading
Asked by JamesJi:

Hello

Confluence web page is very slow to load.

I want to attach the files but I couldn't fine hot to


Answers:
author: Ravi Varma
body: Hi [@JamesJi](/t5/user/viewprofilepage/user-id/2379146) ,

If you are experiencing slowness, it could be one of the following reasons:

* Confluence is using the allocated memory. You may want to check the usage by going to **System Information** link (in Administration)
* Many concurrent users using the system. Hence, user experience is sluggish.
* You may want to contact your Confluence administrator to ensure that full indexing is done recently.

If it is to do with user permissions, you need to contact your space administrator, so that you have the ability to add attachments to a confluence page.

Hope this addresses your concern.

Thanks and Regards,

Ravi Varma
Confluence report 500 error after setup the mysql database?What can I do?
Asked by Tao Ji:

I'm new to confluence and after configure the mysql 5.7 server(filling those host and username and password etc.) I got a proxy time out error during confluence initializing my database.

I'm using nginx as a proxy to confluence. I believe confluence connection to mysql localhost is fine. test passed during configuration.

How can I continue my installation and get it work?

![Screenshot from 2019-03-04 12-54-57.png](/t5/image/serverpage/image-id/47559i876992BCC7F6EE3E/image-size/large?v=v2&px=999 "Screenshot from 2019-03-04 12-54-57.png")


Answers:
author: Kiran Panduga {Appfire}
body: Hi [@Tao Ji](/t5/user/viewprofilepage/user-id/2779492) ,

Looking at the error message, it looks like you are using JRE rather than JDK to run the Confluence.

Ensure that the JAVA_HOME was pointing to a full Java SDK/JDK, not just a regular JRE.

If you are still noticing the error message, please share us the complete home directory logs.

Thanks,

Kiran.

comments: author: Tao Ji
body: In installation guide, it says both jre and jdk are ok for running confluence. please see figure 1

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

I installed the 1.8.0.202 JDK, It does not help much. I'm running a jira service desk server edition with current default java and mysql 5.7. everything works.

Here are some error message

![Selection_004.png](https://community.atlassian.com/t5/image/serverpage/image-id/47584i4584941421398247/image-size/large?v=v2&px=999 "Selection_004.png")![Selection_005.png](https://community.atlassian.com/t5/image/serverpage/image-id/47585i43977CD99F7F5C18/image-size/large?v=v2&px=999 "Selection_005.png")

Which log file do you need? please let me know.


Tags: install

confluence-server
My confluence is blank
Asked by Reha:

blank:

![???? 2019-03-04 ??10.03.55.png](/t5/image/serverpage/image-id/47547i586CEA885A74F506/image-size/large?v=v2&px=999 "???? 2019-03-04 ??10.03.55.png")

and wait about 10 minutes

![???? 2019-03-04 ??10.05.54.png](/t5/image/serverpage/image-id/47548i8729EE25849C7232/image-size/large?v=v2&px=999 "???? 2019-03-04 ??10.05.54.png")

QQ thanks\~


Answers:
author: Daniel Eads
body: Hi Reha,

Sorry you experienced this issue! There was a known problem with Confluence Cloud a little bit ago that has been patched up. In the future, you can check to see if there is a known issue at [status.atlassian.com](https://status.atlassian.com/) - you can even subscribe to email alerts about service issues if you like. Thanks for letting us know something was up!

Cheers,  
Daniel


author: Reha
body: It's ok now\~


Tags: cloud

confluence-cloud
How to restore data in a new instance?
Asked by liuhaiyang:

For some reasons, I reinstalled a total new confluence instance through the **atlassian-confluence-6.14.1-x64.bin.**

since my license has been expired, so i apply a trial key. and now i have a brand new confluence instance running.

I have backed up the confluence-home dir and the SQL. How can i restore the data from them?


Answers:
author: Alexey Matveev
body: Hello,

I am not sure what you you mean by saying that you backed up SQL. If it is a dump of the Jira database, then restore this dump to the new server and restore the confluence-home directory. When you start your confluence, you will see a message that your license expired, but you will be able to change it to a new one.


author: Bill Bailey
body: Do you have access to the old instance? There autoback up files there, that you can reimport/restore. If the old instance is running, then perform a full site backup. That is the easiest and quickest way except for really large instances.


Tags: confluence-server

server
Error after upgrading Confluence to 6.14.x version
Asked by Anastasios F.:

Dear support

After a recent upgrade of Confluence server, I got below error and web server isn't accessible,

JDBC exception on Hibernate data access: SQLException for SQL \[n/a\]; SQL state \[HY000\]; error code \[50000\]; could not extract ResultSet; nested exception is org.hibernate.exception.GenericJDBCException: could not extract ResultSet

Can you please assist me?

Thx

T


Answers:
author: Nic Brough -Adaptavist-
body: I've seen that when trying to upgrade a Confluence running on hsql (i.e. a throwaway dev/test system). But it might not be that. What database are you using?

comments: author: Anastasios F.
body: Thanks for the response.

I am using the H2 DB that comes by default.

Currently I used the latest backup and create an new installation of Confluence where I restored everything from the backup.

Regards,

T.


Tags: confluence-server

server
Not able to successfully insert Status Macro in my page
Asked by Naveen Kushwaha:

I am using Confluence Could trial version. When I try to insert a status macro into my page, it displays the macro for a fraction of second and then disappears. It comes and goes so fast that am not able to enter or work on it at all.

I managed to get a screenshot from a screen video recorder. I use "/Status" to insert the macro

![StatusMacro1.png](/t5/image/serverpage/image-id/47505iAED2B34B2BFBB3E9/image-dimensions/201x97?v=v2 "StatusMacro1.png")

and then the below appears and then disappears so quickly that I cannot do anything.

![StatusMacro2.png](/t5/image/serverpage/image-id/47506i2D0CFD6488790048/image-dimensions/196x119?v=v2 "StatusMacro2.png")

Why is it not working for me? What am I missing here? Any help is appreciated.


Answers:
author: Bill Bailey
body: Does the same thing happen when you insert the macro via the menu? The keyboard shortcut for inserting a macro is { and not /.
> **Speeding up macro entry with autocomplete:** Type { and the beginning of the macro name, to see a list of suggested macros. [Details are in Keyboard Shortcuts, Markdown, and Autocomplete.](https://confluence.atlassian.com/confcloud/keyboard-shortcuts-markdown-and-autocomplete-724764956.html)

comments: author: Joseph Antony D
body: I too having the same issue. It disappear when I try to enter something in the Status macro


Tags: cloud

confluence-cloud
Error on confluence start: "JDBC exception on Hibernate data access"
Asked by Vespasian:

Hello,

I am getting an error when starting confluence:

Description: Unable to start up Confluence. Fatal error during startup sequence: confluence.lifecycle.core:mananagedjobs (Start and stop the Managed Scheduled Jobs)

Level: fatal

Exception: JDBC exception on Hibernate data access: SQLException for SQL \[n/a\]; SQL state \[XX000\]; error code \[0\]; could not extract ResultSet; nested exception is org.hibernate.exception.GenericJDBCException: could not extract ResultSet

This started showin up after I upgraded my instance of Linux Mint Debian (LMDE) version 2 to version 3.

I have tried upgrading confluence to its latest version 6.14.1. Tried uninstalling and reinstalling confluence. Still see the same issue.

I have also checked the postgres database for any issues, but do not see any.

Any suggestions on how I could resolve the error would be great!

Thank you


Answers:
author: Kiran Panduga {Appfire}
body: Hi [@Vespasian](/t5/user/viewprofilepage/user-id/671952) ,

This error is mostly noticing while using the H2 database i.e The H2 database is only supported for testing/DEV instances, and I especially wouldn't recommend for Production.

Before starting the Confluence, can you go into the Home Directory and verify the confluence.cfg.xml file to see if the database is H2 or PostgreSQL.

If it's pointing to the H2 database, make sure to take a copy of the home directory and then start the Confluence with empty home directory, this time it would prompt to enter the Database details and make sure to add the PostgreSQL database details.

After which, if you have a backup copy of the database, you can restore and restart he Confluence again.

Thanks,

Kiran.

comments: author: Vespasian
body: Hi [@Kiran Panduga {Appfire}](/t5/user/viewprofilepage/user-id/645618)

Thanks for your reply.

I was using a PostgreSQL database so this wasn't an H2 issue.

I've fixed the installation. Since I had backups enabled before this issue, I decided to do a clean install and restore.

Uninstalled confluence, removed the /opt/atlassian and /var/atlassian directories. Installed fresh and connected to the PostgreSQL database (had to create a new table since the usual conflencedb table already existed from the old installation). Then restored from a backup zip file.

What I suspect happened was that the linux root partition ran out of space as /var/atlassian had grown considerably alongside /opt/atlassian due to the routine backup files and pre-upgrade backup files that were being stored there. This might have led to the issue.

Cheers..

Gaurav


Tags: confluence-server

server