youngmon/atlassian-qna huggingface dataset:
atlassian-connect Dynamic Content Module - parameters bug
Asked by Andrew Tyson:

Hi,

I am developing an atlassian-connect Dynamic Content Module macro for Confluence cloud. I want to be able to configure the parameters for the plugin, however the non-string type parameters do not seem to be set in the url.

For example in the atlassian-connect.json below "htmlAttachment", "frameborder", and "scrolling" parameters are not being injected into the "url" ("frameborder" and "scrolling" can be set through the config page for the macro). Also, the HTML attachment does not appear to pick-up the attachments on the page.

```
"modules": {

"dynamicContentMacros": [

{

"url": "/foo?page={content.id}&space={space.id}&htmlAttachment={htmlAttachment}&scrolling={scrolling}&frameborder={frameborder}&width={width}&height={height}",

"parameters": [

{

"identifier": "htmlAttachment",

"name": {

"value": "HTML Attachment"

},

"description": {

"value": "The HTML file to embed"

},

"type": "attachment",

"defaultValue" : "",

"required": false,

"multiple": false,

"hidden": false

},

{

"identifier": "width",

"name": {

"value": "Width"

},

"type": "string",

"required": false,

"multiple": false,

"hidden": false

},

{

"identifier": "height",

"name": {

"value": "Height"

},

"type": "string",

"required": false,

"multiple": false,

"hidden": false

},

{

"identifier": "scrolling",

"name": {

"value": "Scrollling"

},

"description": {

"value": "Choose if scrolling should be enabled"

},

"type": "ENUM",

"required": true,

"multiple": false,

"defaultValue": "no",

"values": [

"yes",

"no",

"auto"

],

"hidden": false

},

{

"identifier": "frameborder",

"name": {

"value": "Frameborder"

},

"description": {

"value": "Surround IFrame with a border"

},

"type": "boolean",

"required": true,

"multiple": false,

"hidden": false

}

],

...

}
```

any thoughts would be appreciated.

Thanks

Andrew


Answers:
author: Diego
body: Hello [@Andrew Tyson](/t5/user/viewprofilepage/user-id/3821495) !

As I understand, parameters are not passed correctly. You can find further instructions about Dynamic Content macros here:
> * [++***\[Atlassian Developer\] Confluence Cloud Developer -- Dynamic Content Macro***++](https://developer.atlassian.com/cloud/confluence/modules/dynamic-content-macro/)

However, I believe that our sister community, the Developer Community can be the place where you will find your answer!

You can post your question here and other developers can help you out:
> * [++***\[Atlassian Developer Community\] Confluence Developer***++](https://community.developer.atlassian.com/c/Confluence)

Let us hear from you!

comments: author: Andrew Tyson
body: Thanks Diego, I will post to the Developer Community.

Cheers,  
Andrew


Tags: cloud

connect

macro
service.bat will not install Confluence as a service
Asked by Miroslav Denkov:

Hello, after upgrading Confluence server from 6.13 to latest (till now) 7.6.2 I uninstalled Confluence service running sc delete "Confluence".

The service deleted successfully, but after running service.bat (\<Installation directory\>\\Confluence\\bin nothing happens. I've tried to run it as an Admin too, without result. I've tried to restart the host but the service is still not visible in Services menu.

Host is Windows SErver 2016, database is Mysql 5.7


Answers:
author: Miroslav Denkov
body: Running CMD as Admin, navigating to the installation directory\\Confluence\\bin and running service.bat install Confluence seems to do the work.
Headers do not have correct padding after posting
Asked by Ian Wermerling:

I have seen what seems to be a defect, and it seems to be present in multiple browsers.  

If I use Header 1 followed by Header 2, followed by Header 3, then everything appears well-formatted in the editor and sufficient space in between the headers. The same is true when I preview the page, but all the spaces are lost when I post the page.

**This is in the editor**

**---**

![editor.png](https://community.atlassian.com/t5/image/serverpage/image-id/106820iD9104A6839DDF465/image-dimensions/164x167?v=v2 "editor.png")

**---**

**This is the preview**

**---**

**![editor.png](https://community.atlassian.com/t5/image/serverpage/image-id/106820iD9104A6839DDF465/image-dimensions/164x167?v=v2 "editor.png")**

**---**

**This is after posting**

**---**

**![editor.png](https://community.atlassian.com/t5/image/serverpage/image-id/106818i82B3C265060D8A01/image-dimensions/160x123?v=v2 "editor.png")**

**---**

Is there anything I can do to fix this on my end or is the a fix for the Atlassian developers?


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Ian Wermerling](/t5/user/viewprofilepage/user-id/3643359) ,

This occurs to me as well, only if I don't write anything below each heading:

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


Tags: cloud
Drawio "Error saving file" when including a jpg
Asked by Clifford Choy:

When using the drawio, I got the error "Error saving file" when the drawing includes a jpg. The error occurred under the two cases:

1. copy and paste a jpg image from the photo viewer (I am using windows)

2. the jpg is an attachment of the same page, through the "+ \> image" function in drawio interface

The error disappeared when I removed the jpg.

I can include png file in the two cases above (that is, "copy-and-paste" and "add image") with no problem.

Appreciate for any help. Thanks.


Answers:
author: Fabian Lim
body: Hi [@Clifford Choy](/t5/user/viewprofilepage/user-id/927612)

If you are still having this issue, please contact d[raw.io support](https://drawio-app.com/support/).

Thanks


Tags: draw.io
macros inser??o de avalia??o de estrelas na pagina.
Asked by Vanessa Caf?:

Ola crii uma pagina de newsletter no conflucen da minha empresa( acho que la usamos a vers?o 6,5) e fui no bot?o + inseri a macro de avalia??o likert de estrelas... s? n?o consegui localizar para onde v?o os resultados? Conseguem me juda


Answers:
author: Diego
body: Boa tarde [@Vanessa Caf?](/t5/user/viewprofilepage/user-id/4051798) !

Eu acredito que n?o entendi 100% da tua quest?o. Eu n?o sei ao certo qual a macro tu est?s te referindo.

Podes enviar uma captura de tela mostrando o macro e o nome do macro aqui na quest?o? Isso pode me ajudar a entender melhor a tua situa??o!

S? toma cuidado pra n?o mostrar nenhum tipo de informa??o confidencial com as capturas de tela. Como a nossa comunidade ? um espa?o aberto, todo mundo pode ver tudo o que tu postas aqui.

Esperamos teu retorno!


Tags: cloud
??????????????
Asked by ??:

???????????????????????????????h1?h6?????????????????????????????????????????

????????????????????????????????????????????

??????????????????????????????????????????????????????????????????????????

???????????????????????????????????????

????????????????SpaceThemes?Create New Theme

??????????????????

????????????????????

?????????????


Answers:
author: Ryoji Takata
body: ????????????????????????????

????????????????????????????????????????????????  
?????????????????????????????????????????????????????????

???????????????????????????????????????????????????  
[????????????](https://support.atlassian.com/ja/confluence-cloud/docs/apply-a-theme-to-a-site/)  
[????????????](https://support.atlassian.com/ja/confluence-cloud/docs/install-a-theme/)

?????????????????????????????????????? [Selling on Marketplace](https://developer.atlassian.com/platform/marketplace/selling-on-marketplace/) ?????????

?????????Cloud?????????????????CSS??????????????????????????????????????????????  
??????????????????????????????????????????  
<https://jira.atlassian.com/browse/CONFCLOUD-65455>

??????????????Vote for this issue(???????) ????????????????????????????????????????????  
???[?????????????????????](https://ja.confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html)????????

?????Server?Cloud??????????????[???????](https://support.atlassian.com/ja/confluence-cloud/docs/functional-differences-in-confluence-cloud-vs-server/)???????????????????? ??? ?????????????????????????????????????

???????????????????????????????????????????


Tags: cloud
Users cannot Add Pages in Confluence
Asked by Jonathan Kim:

I have users (David Harrison) in my Confluence -User account, and it will not let this user add a Page or Child Page


Answers:
author: Manisha Kharga _Appfire_
body: Hi [@deddy](/t5/user/viewprofilepage/user-id/2926835)

Can you please check the space permission for the user David Harrison in the respective space.

Is this user able to create a page in other Confluence spaces? Please verify once the below permission.

![comm_page.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/106814iE9B141CCBE060FA0/image-dimensions/402x221?v=v2 "comm_page.jpg")

Thanks,  
Manisha


Tags: cloud
Database error after Confluence upgrade
Asked by IT Person1:

Upgraded Confluence server from 6.1.14 (MySQL 5.6) to 7.5.1 (MySQL 5.7).

Error when starting Confluence: "MySQL sesson isolation level "REPEATABLE-READ" is no longer supported. Session isolation level must be "READ-COMMITTED." \[Words capitalized in the error\]

MySQL Session isolation level is set to "read-committed"

Any suggestions would be appreciated. Thank you.


Answers:
author: Brant Schroeder
body: This should help you make the changes to resolve the issue. <https://confluence.atlassian.com/confkb/confluence-fails-to-start-and-throws-mysql-session-isolation-level-repeatable-read-is-no-longer-supported-error-241568536.html?_ga=2.170801448.945984502.1597437645-1624429102.1594443344>

You will be running this SQL command for your mysql account that is used to connect to database

    SET [SESSION | GLOBAL] TRANSACTION ISOLATION LEVEL READ COMMITTED

comments: author: IT Person1
body: Thank you for the suggestion. We had seen that link. The MySQL Session isolation level is set to "read-committed" through the my.ini file.

Is there something else that needs to be done?


author: Brant Schroeder
body: No that should be it. If that is setup properly and you bounced the service are you still seeing the same issue in the logs? Is there anything else coming up?


author: IT Person1
body: The same thing happens even after restarting the server.


Tags: confluence-server

server
Issues converting from Server to Cloud
Asked by Stephen Kairys:

Hello,

We are in the process of converting our Confluence from Server to Cloud. As I check through a few of the imported documents, I am noticing issues such as:

1. Broken Hyperlinks.

2. Two words run together.

3. Hyperlink with anchor does not take you to the correct location on the target page.

Has anyone seen these issues, and if so, how have you dealt with them? At this point, I'm thinking I need to eyeball every doc (and we have many) to see if any issues exist.

Thanks!

Stephen


Answers:
author: Mariana_Pryshliak_Saasjet
body: Hello [@Stephen Kairys](/t5/user/viewprofilepage/user-id/544726)

You can read the documentation <https://confluence.atlassian.com/cloud/confluence-cloud-migration-assistant-973486571.html>

This will definitely help to solve your issue!

Hope this info will help you.

Best regards, Mariana.


Tags: cloud

server
Missing jdbc .jar file after Confluence Server upgrade
Asked by Miroslav Denkov:

Hello, I just finished with upgrading Confluence from version 6.13 to latest 7.6.

I have backup of the old installation directory but in there (\<installation-directory\>/confluence/WEB-INF/lib) I cannot find the needed JDBC driver which I need to copy in the new installation directory.

Is this the exact name of the file? If so, where else can it be?

Database is mysql 5.7, host is Windows Server 2016

Thank you.


Answers:
author: Miroslav Denkov
body: Turns out I can download the jdbc driver from oracles website \> mysql connector (if someone has the same problem, you are looking for the .bin. file in the archive).


Tags: mysql
Page Tree Look and fell
Asked by Ronald Teblum:

Is there a way to style page tree look and fell. IE fonts, etc.


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Ronald Teblum](/t5/user/viewprofilepage/user-id/3599487)

Unfortunately you can't with out of the box functionalities. You can do that with [an app from the marketplace](https://marketplace.atlassian.com/search?category=Themes%20%26%20styles&hosting=cloud&product=confluence) though.


Tags: cloud
Are table macros not working?
Asked by Victor Mu?oz:

We have some pages using Table Filter macros, but when visiting the page, the table content is not loading. If you open the editor mode, the table is there, the information is there, but the Table Filter settings are not loading, it's just a white window.

We also tried creating a new page and inserting other table macros, such as Pivot Table, but again, the macro settings are not visible for Pivot nor Table Filter.

Is this a known issue or something?

![Post.jpg](/t5/image/serverpage/image-id/106772iF711F80B7D740B90/image-size/large?v=v2&px=999 "Post.jpg")


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hello [@Victor Mu?oz](/t5/user/viewprofilepage/user-id/2177167)

This is an unknown issue. Please, [report it](https://jsd.stiltsoft.com/servicedesk/customer/portal/2/create/12) to StiltSoft.


Tags: cloud

table
Can not create post (error "something went wrong after loading the editor")
Asked by Klaas Chielens:

I have a brand new server installation of confluence (so no content yet).  
This confluence is linked to a jira server for user administration.  
This confluence is also linked to service-desk to set up a knowledge base.   

When I try to add a "how-to" (first article, tryout), I can add labels but when clicking "create" i get the following error

* *Something went wrong after loading the editor. Copy your unsaved changes and refresh the page to keep editing.*

The tags are created but the pages are not. The same happens if I do not add tags.


Answers:
author: Klaas Chielens
body: Switching off collaborative editing seems to "solve" the problem.


author: Manfred Lauterbach
body: (unrelated to Confluence - JIRA Only case)

The "something went wrong" error was caused by : the specific issue type I was working on did not contain the labels field.

Adding the labels field to that issue type, allowed me to add a label accordingly  


Tags: confluence-server

server
Anonymous access blocking external users who are logged into Confluence
Asked by John Thomas:

We have an anonymous space that is accessible to the public, but if the external user is logged into Confluence under their own company's space they are blocked from our anonymous space. They have to open an incognito window to access this. Is there a way to open a space to all anonymous AND all external Confluence users?


Answers:
author: Josh Levitsky
body: [@John Thomas](/t5/user/viewprofilepage/user-id/1705946) did you ever find a solution? I have this issue now and I don't see any setting that could basically say to treat someone who is logged in to a different Atlassian Cloud product as Anonymous. This seems really odd.

comments: author: John Thomas
body: No, they have to load it incognito.


author: Josh Levitsky
body: [@John Thomas](/t5/user/viewprofilepage/user-id/1705946) Did you ever see this? <https://jira.atlassian.com/browse/CONFCLOUD-72635> which seems to indicate they note it as a bug. I marked that it impacts me. I would suggest anyone else who comes across this mark the same.


author: John Thomas
body: I didn't see that, thanks! I marked that it impacts us as well.


Tags: anonymous

cloud

incognito
Active Directory Users Cannot Login
Asked by ???:

When the active direrctory user is restricted to "log on to" some computers, he cannot login the confluence.

But when removed the restriction, he can login successfully.

How can he login confluence with the "log on to" restriction?

How to specify confluence as a computer and add to "log on to" list?

Thank you very much


Answers:
author: repi
body: [@???](/t5/user/viewprofilepage/user-id/4051036)

Have you already tried to enter the computer on which confluence is hosted in the list of allowed computers?

comments: author: ???
body: [@repi](/t5/user/viewprofilepage/user-id/302600)

I added the IP and DNS addrerss of the confluence host computer in the list of allowed computers, but it didn't work.

The confluence host computer has not been added to the active directory.

Shoud I do that?

Is it necessory?


author: repi
body: > The confluence host computer has not been added to the active directory.  
> Shoud I do that?  
> Is it necessory?

I would just give it a try!


author: ???
body: Still not work.

Thank you very much.

I give up. :(


Tags: confluence-server

server
Increasing Word Document Size for Import
Asked by Sngy:

Hello,

I want to increase the max size of the Word Documents that can be imported to my Confluence space, which only is 20mb, but my word documents are often bigger than 20mb.

I tried this through configuring the system properties, and writing CATALINA_OPTS="confluence.word.import.maxsize=30" in the setenv.sh file.

Yet it stil does not work.

Does anyone know how I can make this work?


Answers:
author: Mike
body: I believe you need the - in it:

CATALINA_OPTS="-confluence.word.import.maxsize=30"

Then, confirm you are uploading from the Word uploader:

Choose ![](https://confluence.atlassian.com/doc/files/704577869/704577870/2/1517274795952/ellipsis.png) \> **Import Word Document**


Tags: confluence-server

server
Removing labels from a page
Asked by OVANES OGANYAN:

Hi!

I am an administrator.  
When deleting a label from a page, an error occurs: You are not permitted to perform this operation.

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

![image.png](/t5/image/serverpage/image-id/106714i0A9DC75071EE3F28/image-size/large?v=v2&px=999 "image.png")![image.png](/t5/image/serverpage/image-id/106715i548A01DE4A196C43/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Shannon S
body: Hi Ovanes,

As Joshua mentioned - you want to make sure that you have edit permissions on the page or space in order to modify its labels. If you're not able to edit the page itself, then you'll want to check the permissions in Space Tools to be sure you have the right permissions. Have a look below on where you can do that:

* [Space Permissions Overview](https://confluence.atlassian.com/doc/space-permissions-overview-139521.html)

Although you mentioned that you're an administrator, there are different levels of administrator. So, if you're not able to access the Space Tools for the given space, then you may not an admin for that specific space. However, Confluence administrators can recover space admin permissions following the instructions found in the article below:

* [Assign Space Permissions \> Manage and recover space admin permissions](https://confluence.atlassian.com/doc/assign-space-permissions-139460.html#AssignSpacePermissions-Manageandrecoverspaceadminpermissions)

> If you're a Confluence Administrator you can recover permissions to a space. This is useful when the only person with Space Admin permissions to a space leaves your organisation, for example.
>
> To recover Space Admin permissions:
>
> 1. Go to ![](https://confluence.atlassian.com/doc/files/747833194/747833195/2/1517274813281/cog.png) \> **General Configuration** \> **Space Permissions**.
>
> 2. Locate the space in the list of individual spaces and choose **Recover Permissions**.
>
> You can then choose **Manage Permissions**, and add any other appropriate permissions to the space. Requests to recover permissions are recorded in the Confluence audit log.
>
> People with System Administrator permissions are able to manage permissions for all spaces, they do not need to first recover permissions.

I hope this helps, but let us know if you have any trouble.

Shannon


author: Joshua Sneed Contegix
body: Hi Ovanes,

Check the space permissions to see if you have the correct permissions. Being an admin does not automatically grant you permissions in a space. Cheers!
Cleanup the application-data
Asked by Son:

Dear All,

I ran a Confluence server for a while wilth some uploaded videos. Just for 3 week, the server consumed almost 1TB on my server. I used Advanced space plugin to check, the result is acceptable as in the snapshot:

![Space.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/106700i5A06B43A8E7D34B6/image-size/large?v=v2&px=999 "Space.JPG")However when I check the directory application-data of confluence with the command du, it becomes really heavy:

![Space.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/106701iF82E9ECD690D1D5E/image-size/large?v=v2&px=999 "Space.JPG")

Would you please tell me how to claim back / clean up these space?

Many thanks


Answers:
author: Nic Brough -Adaptavist-
body: I would look at the size of the directories within there. Some are temporary and can be cleared out if you want (confluence will recreate any files it needs) but most are needed for it to work.

Stop confluence, and clear out (I would move them first, only deleting after I've restarted confluence and confirmed nothing has gone wrong) all the files in the following sub-directories:

* log
* viewfile
* temp
* thumbnail

Also look into these directories - you might not want to kill all the files in them, but it's likely that there are a load you probably don't need any more

* backups
* restore
* recovery
* analytics-logs

Most important is the "attachments" directory - if you delete anything from there, you are deleting your actual data. Do NOT delete anything from here. If you think there are files in there that are too large, go into confluence and delete them from the pages they are attached to.

comments: author: Nic Brough -Adaptavist-
body: Oh, and consider looking at a logrotate type function for staying on top of the files that accumulate in all of those directories.


author: Renan Battaglin
body: [@Son](/t5/user/viewprofilepage/user-id/1398157) wow, 1TB in 3 weeks? I agree with Nic on the steps to check what is happening.

But please let us know what you find. I'm curious to understand what exactly is taking all the space.

Renan Battaglin  
Confluence Product Manager
PDF Macro throws error
Asked by Katja N.:

Dear community,

I want to use the pdf macro. I uploaded the pdf to the page and added it to the macro. When I go to the page, the following error is shown:

![error_pdf.png](https://community.atlassian.com/t5/image/serverpage/image-id/106696i34A7BDAFE42A84C0/image-dimensions/321x124?v=v2 "error_pdf.png")

In other cases, the uploaded pdf is not choosable in the macro:

![error2.png](https://community.atlassian.com/t5/image/serverpage/image-id/106697i464A57A893BA154E/image-dimensions/258x238?v=v2 "error2.png")

"no compatible documents".

What is the problem here?


Answers:
author: Fabian Lim
body: Hi [@Katja N.](/t5/user/viewprofilepage/user-id/4050913)

Is it happening to all PDF files or specific ones?

What is the size of the file?

Please, open the developer tools on your browser and check if it shows any error on the console tab when you add the PDF macro.

Have you tested using another browser?

Is it affecting other users?

Regards


Tags: cloud

confluence-cloud