youngmon/atlassian-qna huggingface dataset:
Cannot create a space
Asked by System Admin:

Hello,

When we create a space it gives an error saying "Unknown server error has occurred".

Please help to troubleshoot and fix the issue.

I need to release the server asap.

-Thanks

Krishna


Answers:
author: Julian Rdnz
body: Hi,

the same problem occurred on my Confluence instance after updating to 6.12.1. It seems to be caused by corrupted data in some template tables.

Solution:

Backup database or even better the whole system ( VM snapshot / XM backup ). You better try this on your staging / dev system!

<br />

Shutdown Confluence

<br />

Delete tables:

```

DROP TABLE "AO_54C900_SPACE_BLUEPRINT_AO";
DROP TABLE "AO_54C900_C_TEMPLATE_REF";
DROP TABLE "AO_54C900_CONTENT_BLUEPRINT_AO";?
```

<br />

Clean plugin cache: [https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html?)

Restart Confluence.

<br />

Now creating spaces should work again.

comments: author: Paul Fechner
body: Hi Julian,

your steps resolved an issue in my dev environment which is great.

However, i need to understand the impact of dropping those tables before i implement in our prod environment.

Are you able to elaborate?


author: Julian Rdnz
body: [@Paul Fechner](/t5/user/viewprofilepage/user-id/1815093) Absolutely. This will delete your own custom templates ( page templates, blueprints and space templates ).

Administration \> Global Templates and Blueprints. You will see that some templates, even some native Confluence templates, are missing here.

It seems there is a bug in Confluence which causes inconsistencies in those tables, but I don't know what exactly happens here.


author: JP _AC Bielefeld Leader_
body: Hi Krishna,

do you see any errors in the Confluence server application log?

This normally gives a good hint on the issue.

Best

JP


author: Lazom Dzemaili Moz Technologie
body: I was unable to create a space with the same error An unknown server error has occured.

This was a problem with the sql_mode parameter in mysql database.

The value was set to 'NO_AUTO_VALUE_ON_ZERO'. This is not good.

I modified the my.cnf configuration file of mysql, I added : sql_mode=''

Restart mysql server

Restart Confluence and the error is gone on my server instance.
page version shows decimal
Asked by Jason Green:

Hi All,

I'm using the scroll add-on to version one of my spaces and now I have random pages showing decimal points in their locations (URLs), even when the page heading itself contains no such decimal point. This is ruining my dynamic linking on my home page (using content by label macro)... Help?

![decimal_page.PNG](/t5/image/serverpage/image-id/33653iDE1F9C24302AAA0B/image-size/large?v=v2&px=999 "decimal_page.PNG")


Answers:
author: roman
body: Hi [@Jason Green](/t5/user/viewprofilepage/user-id/1849658),

Scroll Versions saves each version of a page as a child page of the master page, with the same title prefixed with a dot and suffixed with the version name:  
.\<pagetitle\> v\<versionname\>, e.g. .Glossary v3.0.

Those pages are called dot-pages.

This is a normal behavior when a page is versioned (was edited in a specific space version). You can read more about dot-pages on our Glossary page: <https://help.k15t.com/scroll-versions/latest/glossary-144802096.html#id-.Glossaryv3.9-Dot-pages>.

Roman.


author: Shawn C
body: Hi Jason,

In native Confluence, the Page's [URL will match](https://confluence.atlassian.com/pages/viewpage.action?pageId=278692715) up with it's Title (the exception is if there are special characters), however if you have the Scroll Versions added to your instance, it'll allow you to set a [Custom Permalink](https://help.k15t.com/legacy/scroll-versions/latest/all/editing-the-permalink-36077760.html) on the page overwriting what Confluence would natively use.

If you edit this page, is there an option to adjust the Permalink as shown in [Scroll Versions Documentation](https://help.k15t.com/legacy/scroll-versions/latest/all/editing-the-permalink-36077760.html)?

Cheers,  
Shawn


Tags: confluence-server

server
Gantt Chart not rendering correctly
Asked by Megan Perry:

Trying to create a better roadmap widget on my confluence page. This timeline is not connected to a JIRA site as its for the overall program. Used the Chat add in with Chart = Gantt \| columns = , , 1, 2, 3, 4 \| dateFormat = MM/dd/yyyy and I get the chart but without the data included.

Included a table inside with 4 columns: (1) Plan, Start, End, and Status and I get nothing. Please HELP as the roadmap widget DOES not work for what I need to do.


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hi Megan,

As an alternative solution you can try [Chart from Table](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) macro to create a [Gantt chart](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Chart+from+Table+macro#HowtouseChartfromTablemacro-ChartExamples). And here is a [demo site](https://demo.stiltsoft.com/pages/viewpage.action?pageId=23724567#ChartfromTable-SampleChart#5) where you can try it.


author: Shawn C
body: Hi Megan,

Can you share an example of the Tables being used in your Chart Macro when trying to display a Gantt Chart? Reviewing the Examples on our [Documentation](https://confluence.atlassian.com/doc/chart-macro-163415075.html#ChartMacro-GanttChart) and from a few other [Community Posts](https://community.atlassian.com/t5/Confluence-questions/Gantt-Charts/qaq-p/149038), we need 2 Tables.

To do some further testing, try inserting the following into your Confluence Page by using the Insert Markup with the Confluence wiki option:

```
{chart:type=gantt|dataOrientation=vertical|columns=,,1,2,3,4|displayData=before|width=500|dateFormat=MM/dd/yyyy}
||Plan||Start||End||Percent\\complete||
|Create issue| 1/30/2007| 2/1/2007| 30%|
|Provide examples| 1/30/2007| 2/7/2007| 40%|
|Write code/tests| 2/3/2007| 2/4/2007| |
|Write docs| 2/4/2007| 2/5/2007| |
|Release update| 2/5/2007| 2/5/2007| |

||Actual||Start||End||Percent\\complete||
|Create issue| 1/30/2007| 2/11/2007| 100%|
|Provide examples| 1/30/2007| 2/17/2007| 90%|
|Write code/tests| 2/3/2007| 2/14/2007| |
|Write docs| 2/4/2007| 2/15/2007| |
|Release update| 2/5/2007| 2/15/2007| |
{chart}
```

Cheers,  
Shawn
How can I delete an attachment without downloading the Atlassian companion app?
Asked by Diana:

I want to delete images I have been attaching to a page, without using the companion app. I would need to request my company's IT help and permission to install this app, and it is a lengthy process.


Answers:
author: JP _AC Bielefeld Leader_
body: Hi Diana,

you don't need the companion app to delete images (attachments) of a page, but you can be restricted to delete attachments by your space- or Confluence administration. To remove the images from your page, you just edit the page and remove them. To delete them from the page you have to open the page menu (Three dots). There will be a menu item "Attachments", click on that \& you get a list of all images attached to that page. If you are allowed to delete attachments, there will be a "Delete" button after each image.

Best

JP
Confluence shows actual Word field when I upload doc
Asked by Ken Jacobs:

Confluence shows actual Word field when I upload doc

Screen capture of Word and PDF thumbnails.![word field confluence.png](/t5/image/serverpage/image-id/33633iEF676AF33BC4F29C/image-size/large?v=v2&px=999 "word field confluence.png")

Any way to get it to show updated field in thumbnail?


Answers:
author: AhmadDanial
body: Hi there, Ken.

In the attempt to understand the issue that you are facing here between pdf and word document that was uploaded to the page, I tried to reproduce the issue on my end but did not encounter the same behavior.

Using the same document with different formats, I uploaded them into a page and this is what I am getting on my end.

![Screen Shot 2018-10-01 at 11.09.25.png](https://community.atlassian.com/t5/image/serverpage/image-id/33682i86FAA46A4FE7ED61/image-dimensions/576x429?v=v2 "Screen Shot 2018-10-01 at 11.09.25.png")

While the way I reproduced it might be different from yours, I would like to clarify on the following questions:

* Is the same behavior observed across different pages in the same space as well as different spaces?
* Does it happen to this specific set of documents (.pdf and .doc) or any new documents that are being uploaded to the page?
* Was this working as intended previously? If yes, do you recall any recent changes done to the page / new third-party add-ons installation?
* Are the documents coming from the same source, meaning that they are saved as .doc and .pdf from the original document?
* Can you clarify on the detailed step by step to reproduce it in case I might have performed something differently or missed out on any specific steps?

Please keep me posted. Thank you.


Tags: cloud

confluence-cloud

ms-word
When I try to install confluence on same machine with jira server. jira connection lost
Asked by Deger Basdogan:

When I try to install confluence on same machine with jira server. I set jira port to 8090. I set confluence port to8090. User accounts for both applications are getting from LDAP. Then I try to connect to jira . I got following errors

Referer URL: **<http://10.10.13.41:8090/startup.jsp?returnTo=%2Fdefault.jsp>**

```
ava.lang.RuntimeException: javax.servlet.ServletException: java.lang.RuntimeException: javax.servlet.ServletException: com.atlassian.cache.CacheException: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: Error creating GenericValue (SQL Exception while getting value:  (Bad value for type int : T))
```

```
java.lang.RuntimeException: javax.servlet.ServletException: java.lang.RuntimeException: javax.servlet.ServletException: com.atlassian.cache.CacheException: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: Error creating GenericValue (SQL Exception while getting value:  (Bad value for type int : T))
```

> ```
> jaoFilter(XContentTypeOptionsNoSniffFilter.java:20) [classes/:?]	at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32) [atlassian-core-5.0.8.jar:?]	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) [catalina.jar:8.5.6]	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) [catalina.jar:8.5.6]	at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:28) [atlassian-core-5.0.8.jar:?]
> ```


Answers:
author: josh
body: You can't have both applications listen on 8090. Only one can listen on that port at a time.

And it would be best practice to not run these on the same server nor on the same database instance except maybe in a testing environment.

The error messages shown are probably the symptom of a problem but don't go to explain exactly what is not working. Double check your database settings, making sure you're not using the same DB, and change the port settings, Jira 8080 and Confluence 8090.

comments: author: JP _AC Bielefeld Leader_
body: Hi Josh

have you got any documentation regarding not using the same DB instance in production? We have a rather big centralize RDBMS \& I don't want to set up a separate DB server for each application. The administrative overhead (backup, security,...) is only getting worse with each additional server.

I support your stand on having a dedicated server for Confluence and another one for Jira as CPU \& memory requirements are quite different on larger instances.

Best

JP


author: josh
body: If you've got a powerful enough DB env, it should be fine. Application servers, I wouldn't do.

It's personal preference of mine to isolate services so that if one DBMS goes down, it won't take down both apps at the same time.


Tags: confluence-server

jira-server

server
Is there a way to mark meeting notes private to your organization only?
Asked by Kristen Littlefield:

If you are using Confluence to collaborate with clients, is there a way to set meeting notes to private or internal to your company only? This way, internal meeting notes do not get shared with clients.


Answers:
author: Ollie Guan
body: Hi [@Kristen Littlefield](/t5/user/viewprofilepage/user-id/2050413),

You can restrict viewing of a page or blog post to certain users or groups, so that even if someone has the 'view' permission for the space, they won't be able to view the content of the page or blog post.

<https://confluence.atlassian.com/confcloud/permissions-and-restrictions-724765432.html#PermissionsandRestrictions-page>


Tags: cloud

confluence-cloud
Google Drive Macro for Confluence gives 401 error
Asked by Jesse Wiggers:

Google Drive has been slowing down a lot for one of my teams; we want to embed their files in a Confluence space, but we wanted to try the Drive macro first before we painstakingly go and embed every single link from their Drive into separate pages.

When I attempted to put a URL into the options modal for the macro, it opened a new tab and gave me the error below.

![Screen Shot 2018-09-28 at 2.01.20 PM.png](/t5/image/serverpage/image-id/33627i4B60ADDD50B5E4E9/image-size/large?v=v2&px=999 "Screen Shot 2018-09-28 at 2.01.20 PM.png")That's all I know, too. Any ideas?


Answers:
author: Wouter van der Gronden
body: I need this too, thanks :D


Tags: confluence-server

server
System Error After Confluence Upgrade
Asked by Konstantine Stamatis:

Hi everyone,

After the upgrading to the latest version on Confluence (V6.11.2) we see the below in the Health Check. Couldn't find anything on Atlassion Support site or Community. Nothing on Google either. Any help would be appreciated.

Thanks.

##### What does this check do? {#toc-hId-1255536175}

Checks that the Lucene index is available

##### Result {#toc-hId--1296620786}

Exception during health check invocation org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantedLuceneConnection' defined in class path resource \[indexingSubsystemContext.xml\]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate \[com.atlassian.bonnie.LuceneConnection\]: Constructor threw exception; nested exception is com.atlassian.bonnie.LuceneException:**java.io.FileNotFoundException: C:\\Program Files\\Atlassian\\Application Data\\Confluence\\index\\segments_vw (The system cannot find the file specified)**


Answers:
author: JP _AC Bielefeld Leader_
body: Hi Konstantine,

the missing file belongs to the generate search index.

You might want to try to rebuild the index from scratch:

<https://confluence.atlassian.com/confkb/how-to-rebuild-the-content-indexes-from-scratch-on-confluence-server-110035351.html>

As I do not know from which version you upgraded to 6.11.2 I would suggest trying this rebuild from scratch. You can backup the index before, just in case...

Best

JP


author: Konstantine Stamatis
body: Hi Jan-Pater,

Thank you for the quick replay and sorry it took me a while to respond.

Deleting the index and journal directories and then rebuilding the index fix the problem.

Thank you for the help.

Very Best Regards,

Konstantine


author: JP _AC Bielefeld Leader_
body: And another idea:

Does the file/directory exists? If yes, check the permissions on the file/directory. Maybe the user running the Confluence server is not allowed to see the file.

JP


Tags: confluence-server

server
Is there a creative way to create an organization chart in Confluence without an add-on?
Asked by Elizabeth Farsolas:

We would like to have a Confluence page that displays an org chart that is easy to update and looks nice. We would like to do this without spending any additional money on an add-on. Any macro ideas?


Answers:
author: Shawn C
body: Hi Elizabeth,

There's not a native option in Confluence that would create an Organization Map based on the User Accounts in your instance.

One option available without the need of a 3rd Party App would be to create a page that contains [User Profile Macros](https://confluence.atlassian.com/pages/viewpage.action?pageId=189432828). There's no linking of User Profile Macros together, but this page could have a table which arranges the User Profile Macros in a sort of hierarchy.

An alternative option would be to create your Organization Maps using Gliffy or LucidChart and then save and export the diagrams as Images to be displayed in Confluence.

If you need something a bit more dynamic and and potentially build itself, many other Community Posts reference the [User Profiles for Confluence](https://marketplace.atlassian.com/apps/29106/user-profiles-for-confluence?hosting=server&tab=overview).

Cheers,  
Shawn
After sorting child pages alphabetically, how do I save?
Asked by Cameron Williams:

I followed the page that explains how to change the order of child pages in confluence. But that page doesn't explain how to save the new order. There is no "Save" button shown.


Answers:
author: Cameron Williams
body: [@Stefan Kohler](/t5/user/viewprofilepage/user-id/781604) thank you. It turns out one of the pages I did not have "Edit" rights to... so once I was added, this worked for me.


author: Stefan Kohler
body: Hi [@Cameron Williams](/t5/user/viewprofilepage/user-id/1648851),

The changes in the page order are saved directly. There is no need for an additional save button. On the other side, be aware that changes do affect Confluence directly :)

Hope this helps,

Stefan

comments: author: Cameron Williams
body: Hi [@Stefan Kohler](/t5/user/viewprofilepage/user-id/781604)

Thank you for your response. However, the pages are not sorting alphabetically. Once I leave the "Reorder Pages" tab in the space settings, it reverts back to the original order they were in, and the side bar doesn't change at all. Is there something else I am missing?


author: Stefan Kohler
body: Hi [@Cameron Williams](/t5/user/viewprofilepage/user-id/1648851),

That is unfortunate as it should work as you describe. I assume you have the right permissions:

* 'Add' permission on the page you're moving, and
* 'View' permission on the page's parent page. If you're moving the page to a different parent, you need 'View' permission on the new parent.

It could be something else is wrong, maybe a system administrator at your end could have a look at logs. Also, if possible it is worth trying a different browser, just to rule that out.

Cheers,  
Stefan
Confluence asking to reauthenticate Administrator every click
Asked by Trevor Woods:

The title says it all, really.

To get to, say, User Management, I get prompted for my Administrator password. It works, and I get to 'Find User' default page. I click 'Show all users' and once again am prompted for my password. I click a name, and once again am prompted for my password...

And so it goes.

Any advice? I am self-hosted on the same network as my workstation.


Answers:
author: Trevor Woods
body: Unfortunately, made no difference.

I got fed up on the weekend and uninstalled/re-installed it. So far so good-ish. From the Space Directory page I can favorite something but don't have permission to un-favorite it. From each individual space page I can do both. Frustrating but workable.

comments: author: Trevor Woods
body: That was meant as a reply to [@JP _AC Bielefeld Leader_](/t5/user/viewprofilepage/user-id/1135065)


author: JP _AC Bielefeld Leader_
body: Hi Trevor,

did you try different browsers. Any special settings on cookie handling/acceptance in your browser?

Best

JP


Tags: confluence-server

server
Edit button disappeared after upgrade to 6.11.2.
Asked by Damon Cassell:

Upgraded Confluence Server from 5.10.2 to 6.11.2. Consequently the "edit" button has disappeared from many, but not all articles.

Where do I look? I saw an article about deleting plugin caches. I did that, and it did not help. I also tried flipping articles missing the edit button from Restricted back to No Restrictions and I still don't see the edit button.


Answers:
author: Jan-Peter Rusch
body: Hi Damon,

do you see any errors in the Confluence application log? Do you use any CSS or HTML modifying the look\&feel of your site? Are the addon updated \& not compatible addons disabled. Does the edit button appear if you start in safe mode? Do you use any proxy servers?

It's a major upgrade from 5.10.2 to 6.11.2

As the collaborative editing was introduced with Confluence 6, you might have to do some configuration on the Synchrony engine.

I guess, we need some more information...

Best

JP

comments: author: Damon Cassell
body: * No CSS or HTML mods.
* I tried enabling safe mode. Edit button does not reappear.
* We mainly access the Confluence instance through a Pulse Secure SSL web appliance. However, I can also access the server from behind the SSL appliance directly, and the issue is the same.. no edit button.
* Disabled collaborative edit mode (Synchrony), problem persists.

Here is where it gets odd, and maybe this is all some kind of misunderstanding on my part or a bug that existed in 5.10.2 that I was used to, or a bug in 6.11.2:

My user account is in the confluence-administrators group. Supposedly "the 'confluence-administrators' group always has all permissions for all spaces". However, if I go into the Space Tools for a space where I don't have the edit button on articles, and add myself as an individual user to the permissions, the edit button then appears.

Prior to the upgrade I had the edit button on all articles. So it seems to me like 6.11.2 is not actually obeying the "'confluence-administrators' group always has all permissions for all spaces" as claimed.


author: JP _AC Bielefeld Leader_
body: Hi Damon,

you're on the right path. Being a member of the confluence-administrator group doesn't give you the edit rights on restricted pages but it gives you the right to change the restrictions to add yourself or the confluence-administrator group to the page with edit rights. We had this in our company after changing from 5 to 6.

You might find some information going thru the release notes from 5 to 6.0, 6.1, 6.2 ...

Best

JP


author: Damon Cassell
body: Thanks JP. I think I get now that this is a feature and not a bug.


Tags: confluence-server

edit

server

upgrade
Access Confluence REST API from a 3rd party application using OAuth
Asked by Ioana_Verebi:

Hi,

By reading the documentation, I found no way to authenticate a third party application that uses the Confluence REST API other than through basic auth. I would like to use Oauth in order to do this, but it seems to be available only for Jira. Am I missing something?

Thank you!


Answers:
author: Shannon S
body: Hi Ioana,

It appears some users had some success with [the following thread](https://community.atlassian.com/t5/Questions/Confluence-Oauth-Authentication/qaq-p/331326)on authenticating with OAuth.

There also appear to be [a few add-ons available for OAuth](https://marketplace.atlassian.com/search?hosting=server&product=confluence&query=oauth). I can't say if they would work for authenticating 3rd party apps, but have a look in case.

Let me know if you have any questions.

Regards,

Shannon


Tags: atl-adm
Is i possible to add a blog in a space per page?
Asked by Lynn Owens:

We would like to create a space named blogs. that space would have several pages on it. for each page we would like to add a Blog. is that possible?


Answers:
author: Jan-Peter Rusch
body: Hi Lynn,

a single space has only one dedicated space blog. But you might want to check out an app in the marketplace as long as you're on server. We recently found Diary for Confluence quite cool for having a blog like editing experience on Confluence pages.

Best

JP