youngmon/atlassian-qna huggingface dataset:
Change Confluence attachment directory
Asked by ITMAGE:

We are running Confluence Server 7.6 and are running out of space on the default location where attachments are stored. We would like to now re-point Confluence to our storage server for attachments, however everything I have read thus far make this seem like a re-installation is necessary. One thought was to use a symbolic link, but that does not seem possible based on the below URL:  

[https://confluence.atlassian.com/conf76/confluence-home-and-other-important-directories-1018769882.html](https://confluence.atlassian.com/conf76/confluence-home-and-other-important-directories-1018769882.html "https://confluence.atlassian.com/conf76/confluence-home-and-other-important-directories-1018769882.html")

What is the correct way to do this?

**UPDATE:** Okay I guess in my haste I neglected to carefully read the above link. It appears that one can simply change the '**attachments.dir** ' property in the '**confluence.cfg.xml** ' file to repoint this elsewhere - sound right?  


Answers:
author: ITMAGE
body: Found the method:  

[https://confluence.atlassian.com/confkb/how-to-relocate-the-attachments-storage-directory-318668908.html](https://confluence.atlassian.com/confkb/how-to-relocate-the-attachments-storage-directory-318668908.html "https://confluence.atlassian.com/confkb/how-to-relocate-the-attachments-storage-directory-318668908.html")


Tags: attachment

confluence-server

directory

locale

server
Site Home Page
Asked by Derrick Robinson:

How do I add content to the site home page?


Answers:
author: Manon Soubies-Camy
body: Hi [@Derrick Robinson](/t5/user/viewprofilepage/user-id/4122188),

You can edit the Announcements section by clicking on the Pen icon:

![Capture d??cran 2020-10-12 ? 17.56.05.png](https://community.atlassian.com/t5/image/serverpage/image-id/113918i803D5E389B7EFD71/image-dimensions/626x287?v=v2 "Capture d??cran 2020-10-12 ? 17.56.05.png")

As far as I know, you can't edit anything else on this Home page.

Hope this help,

- Manon

comments: author: Derrick Robinson
body: Thanks!


Tags: cloud

confluence-cloud
Confluence doc opening to an anchor location in published or edit mode when there are no anchors
Asked by Harry Klein:

I have a document that opens to what appears to be a random anchor location regardless of mode (edit or published). While not a major inconvenience, it's quite annoying, especially as this is a doc that is used to track quarterly project updates and can become relatively long over time.

Given that the new editor doesn't appear to support anchors, I have no idea what may be causing this.

Any and all ideas appreciated.


Answers:
author: Diego
body: Hello [@Harry Klein](/t5/user/viewprofilepage/user-id/3627914) !

As I understand, whenever you visit a page be it in edit or view mode it scrolls down to a seemingly random position on that page, akin to what happens when we access an anchor.

This is quite an interesting behavior. Please, allow me to ask you a few questions for clarification. Here we go:
> 1. *Is this happening regardless of browser used to access the page?*
> 2. *Is this apparent with pages other than this specific one?*
> 3. *Are the Headings in this page?*
> 4. *Does the end of the link that leads to the page contain a heading name after a pound (#) symbol? (looks like this: <https://mysite.atlassian.net/wiki/spaces/SPC/pages/205555555/Page+name#heading-name>*
> 5. *What happens if you access the affected page while using your browser's incognito/private/anonymous mode?*
> 6. *What exactly is the content to which you are redirected at page access?*
> 7. *Are you always redirected to the same position in the page?*

Let us hear from you!


Tags: cloud

confluence-cloud
Checkboxes unchecked when editing page
Asked by Frank Prins:

Whenever a page is edited, any checkboxes that were checked by other people checking them without edit mode disappear.

Steps to reproduce:

1. (User A) Create a page with multiple checkboxes

2. (User B) Check one or more checkboxes on that page without going into edit mode but directly checking them on the page.

3. (User A) Edit the page and save it.

4. Observe that the checkboxes checked by user B are gone again.

Seems to be the same issue as <https://community.atlassian.com/t5/Confluence-questions/Confluence-losing-the-status-of-checkboxes/qaq-p/1285811> but with a repo, So I decided to create a new issue.


Answers:
author: Chris Purser
body: Happens to me all the time. Ever since we started using Cloud it happens randomly.

I saw a suggestion somewhere to disable collaborative editing, but that doesn't seem to be allowed in Cloud.


author: Joe Harmon
body: I see the same issue.


Tags: confluence-server

server
How do I contact my Administrator?
Asked by Isidra Cruto:

When updating some settings in my profile, I see the below error:

"Managed account {#toc-hId--1301852527}
---------------------------------------

Your account is managed.  
Contact your administrator to change your email address."

In this case, how do I contact my administrator without knowing their email address? They also have not provided a Contact Administrator form. Is there anywhere else in the system where I can go to contact my administrator?


Answers:
author: Thomas Bowskill
body: Hey [@Isidra Cruto](/t5/user/viewprofilepage/user-id/4121432)

If you don't know them, you could try contacting them via the contact admin URL, which is got to by adding "contactadministrators.action" to the end of your base Confluence URL.

e.g http://\[Conflunece-URL\]/contactadministrators.action ([source](https://community.atlassian.com/t5/Confluence-questions/URL-to-bring-up-contact-administrators-form/qaq-p/294479))  

Each company will likely have a different URL internally. e.g. mine is similar to

"<http://intranet.mycompanyname.com:8090/confluence/category/home>"

So I changed that link to

"<http://intranet.mycompanyname.com:8090/confluence/contactadministrators.action>"

comments: author: Isidra Cruto
body: ![1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/113876i5666831A398AC8EB/image-size/large?v=v2&px=999 "1.PNG")Tried that, however, I see this message. Thanks anyways, let me know if there's anything else I can do.


Tags: cloud

confluence-cloud
Include page macro: Emojis are not displayed correctly
Asked by Jakob B_:

Hey Community,

when I use the include page macro to mirror a page, most of the emojis of the source page won't be displayed correctly on the target page, only a star-symbol instead. I've only found one emoji, the :wink: smiley which is displayed correctly on the target page. All others I'ver tried out, e.g. :sunglasses: , :envelope: , :muscle: are replaces by a blue star symbol on the target page.

Any ideas?

Best,

Jakob


Answers:
author: David at David Simpson Apps
body: Yes, it's definitely a bug.

![Screenshot 2020-10-12 at 09.57.39.png](https://community.atlassian.com/t5/image/serverpage/image-id/113874iB83A3AC5BB84AD65/image-size/large?v=v2&px=999 "Screenshot 2020-10-12 at 09.57.39.png")

Looking at the markup, they are rendering the emojis in the include macro completely differently to in the page that they are included from:

![Screenshot 2020-10-12 at 10.00.01.png](https://community.atlassian.com/t5/image/serverpage/image-id/113875iF4E766F53F5A213F/image-size/large?v=v2&px=999 "Screenshot 2020-10-12 at 10.00.01.png")

The best thing to do would be open a support ticket with Atlassian.

comments: author: Jakob B_
body: Thank you David. I will open a ticket then.


author: Annina Chrystal
body: I raised a ticket with Atlassian support as this issue also occurs with the Include Blog Post Macro. This is the reply I received:

Your observation has been confirmed to be a bug where certain emojis are not rendered correctly inside the blog post macros. We have raised a [public bug](https://jira.atlassian.com/browse/CONFCLOUD-71278) for your observation. You can click the "This affects my team" button on the top right of the bug. So you will get a notification when the Engineering team updates the bug. Also, any bug will follow the [Atlassian bug policy](https://confluence.atlassian.com/support/atlassian-cloud-bug-fixing-policy-206865884.html).


author: Steven Baele
body: FYI this bug still has not been resolved.


author: Micha? Siedlecki
body: Yep, still not resolved


Tags: cloud

confluence-cloud

emoji

include
Everyone access right
Asked by Synapse Eric:

About restrictions seting.

second item: Everyone can view, only some can edit.

Do everyone need to login?


Answers:
author: Diego
body: Hello [@Synapse Eric](/t5/user/viewprofilepage/user-id/4121218) !

The "Anyone can view, some can edit" page restriction means that only users who are specified can edit the page but every user on the site can see the page.

You can check more details on permissions and restrictions here:
> * ++***[\[Confluence Cloud\] What are Confluence Cloud permissions and restrictions?](https://support.atlassian.com/confluence-cloud/docs/what-are-confluence-cloud-permissions-and-restrictions/)***++
> * ++***[\[Confluence Cloud\] What are space permissions?](https://support.atlassian.com/confluence-cloud/docs/what-are-space-permissions/)***++
> * [++***\[Confluence Cloud\] Add or remove page restrictions***++](https://support.atlassian.com/confluence-cloud/docs/add-or-remove-page-restrictions/)

If you need to users who are not logged in (Anonymous users) to access Confluence content, you will need to look into public access for Confluence:
> * ++***[\[Confluence Cloud\] Set up public access](https://support.atlassian.com/confluence-cloud/docs/set-up-public-access/)***++

Please, keep in mind that there are limitations on restrictions, permissions, and Anonymous access for the Free Plan:
> * ++***[\[Confluence Cloud\] Learn about Confluence Cloud plans](https://support.atlassian.com/confluence-cloud/docs/learn-about-confluence-cloud-plans/)***++
> * ++***[\[Confluence Cloud\] Manage permissions in the Free plan of Confluence Cloud](https://support.atlassian.com/confluence-cloud/docs/manage-permissions-in-the-free-edition-of-confluence-cloud/)***++

Going straight to the point, if you are under the Free Plan permissions and restrictions are not manageable in the free plan and anonymous access is not available as well.

Let us hear from you.

comments: author: Synapse TW
body: I solved it. Thanks a lot.


author: Synapse Eric
body: I solved it. Thanks a lot.


Tags: cloud

confluence-cloud
Do I need to be on a paid plan to archive a page within a space?
Asked by Andre DiCioccio:

Hi all,

I've been doing some research on archiving pages within my space. My search has found that there should be an 'archive' option under the elipse menu on the page.

<https://support.atlassian.com/confluence-cloud/docs/archive-pages/>

This doesn't appear for me however.

In the support article it suggests it might be a permission issue however permissions don't apply on the free plan.

Does anyone know if it is possible to archive pages on the free plan?

Many thanks in advance.


Answers:
author: Andre DiCioccio
body: Hi all,

Wouldnt you know it. I kept looking and found the answer on the pricing page:

<https://www.atlassian.com/software/confluence/pricing>

Yes - archive and unarchive pages requires the "standard" plan at least.


Tags: cloud

confluence-cloud
????draw.io??
Asked by kedi yang:

??confluence ??????????draw.io???????? ?????

?????MyAtlassian Macket ?????????????????????? ?????????


Answers:
author: Ollie Guan
body: Hi [@kedi yang](/t5/user/viewprofilepage/user-id/4121125) ,

Exceeds max allowed packet for MySQL.

<https://confluence.atlassian.com/confkb/exceeds-max-allowed-packet-for-mysql-179443425.html>

comments: author: kedi yang
body: ??????????????????????????????????


author: Rong Li
body: ????????????? postgresql???????????
Public wiki anonymous
Asked by Sergey 123:

Hello.

I have public wiki with any spaces.

How do I hide the update history of spaces for anonymous users? Highlighted in red in the screenshot.![Screenshot_1.jpg](/t5/image/serverpage/image-id/113837iA802082B3C370DF4/image-size/large?v=v2&px=999 "Screenshot_1.jpg")


Answers:
author: Vitor LC
body: Hi [@Sergey 123](/t5/user/viewprofilepage/user-id/3269252) ,

I would do something like this:

1. At the global stylesheet (General Configuration \> Look and Feel) add the following: \[data-macro-name="recently-updated"\] { display: none; }

2. At the custom HTML page (General Configuration \> Look and Feel) add the following script:

    <script type="text/javascript">    AJS.toInit(function(){        if (AJS.params.remoteUser != ''){          AJS.$('[data-macro-name="recently-updated"]').show();        }    });</script>

Basically, what you are doing is hiding the Recently Updated panel from everyone by default and then showing it only for authenticated users.

You can also skip the first step and modify the following block in the second:

            if (AJS.params.remoteUser == ''){          AJS.$('[data-macro-name="recently-updated"]').hide();        }

This will hide the panel from any anonymous. The only downside to it is that depending at the speed the script is executed the users may see still the Recently Updated panel showing up and then disappearing. That is why I consider the first approach more appealing.

Hope it helps.

Cheers,

Vitor

comments: author: Vitor LC
body: Just found these pages that can be also of help for other similar situations:

* [How to hide People Who can View option in Page Tools for Anonymous Users and Specific Groups in Confluence?](https://confluence.atlassian.com/confkb/how-to-hide-people-who-can-view-option-in-page-tools-for-anonymous-users-and-specific-groups-in-confluence-1018269689.html)
* [How to hide elements in Confluence using CSS or JavaScript](https://confluence.atlassian.com/confkb/how-to-hide-elements-in-confluence-using-css-or-javascript-313458894.html)


Tags: confluence-server

server
How do you add in-line comments to code snippets?
Asked by Harold Zavarce:

I'm trying to comment on a code snippet, but the option is greyed out.

I can do in-line comments on text but not on the actual code snippet/block.

Thank you!


Answers:
author: Bill Bailey
body: Yes, that is expected behavior. You only options are to add comments above the code block, or actually edit the code and insert comments in the code using the code syntax.

comments: author: Harold Zavarce
body: Is this something that might be changed in the future, having the ability to do in-line comments on specific lines of code?

A bit of context:  
I'm building technical documentation that requires to be reviewed and improved, having in-line comments in the code would be optimal.


author: Bill Bailey
body: Well don't hold your breath. ;-) This issue was reported under [CONFSERVER-36415](https://jira.atlassian.com/browse/CONFSERVER-36415?error=login_required&error_description=Login+required&state=7dfe1cd4-a0e7-4cb5-9c8f-224261252657) in 2015, and its current status is shows as "not being considered". So it is open, but no plans to fix.


author: Harold Zavarce
body: Thank you for your quick reply! Looks like I will have to find another solution for my team's needs.


author: Tom Gagne
body: So.. almost one year later, did you find a solution?


author: K Langford
body: As clumsy as it may sound, I've been doing this for a while with the Excerpt macro. Drop the macro in, set it to hidden, and add whatever notes you wish for the next developer. Not the intent of the Excerpt macro, but it did solve the problem for me.


author: Tamas Csikos
body: For those who still looking for answers, I can recommend a midway solution with Markup:  
<https://confluence.atlassian.com/doc/confluence-wiki-markup-251003035.html>

It doesn't support markdown highlighting, but can create a preformatted block, which can be commented.


Tags: cloud

code

comment

confluence-cloud

inline-comment

snippet
our server installation is throwing postgresql errors
Asked by infovts1:

function aurora_version() does not exist at character 8

we are using postgresql but its giving error of Aurora? How? We never upgraded or did anythig. Is it bug? or you are pushing us to use Aurora?


Answers:
author: Nic Brough -Adaptavist-
body: Where are you seeing this message and what database have you set up for use with Confluence?

comments: author: Colin McDermott_GLiNTECH
body: Nic it is in /var/log/postgresql/postgresql\<your version\>-main.log

Seems to run hourly

2020-10-12 00:42:25.026 CEST \[23420\] jirauser@jiradb ERROR: function aurora_version() does not exist at character 8  
2020-10-12 00:42:25.026 CEST \[23420\] jirauser@jiradb HINT: No function matches the given name and argument types. You might need to add explicit type casts.  
2020-10-12 00:42:25.026 CEST \[23420\] jirauser@jiradb STATEMENT: select AURORA_VERSION() as aurora_version

Bug report logged. Lets get Atlassian to fix this:

[https://jira.atlassian.com/browse/JRASERVER-71055?error=login_required\&error_description=Login+required\&state=bad7c357-00f7-44de-b175-97f5dc24b139](https://jira.atlassian.com/browse/JRASERVER-71055?error=login_required&error_description=Login+required&state=bad7c357-00f7-44de-b175-97f5dc24b139)

(Note Aurora is not used. Just Atlassian is polling for Aurora).


Tags: confluence-server

server
Unable to use Confluence after setup
Asked by Sanil Gajadhar:

Hi,

I have set up Confluence on my server and after putting MySQL credentials, I do get a message about setting up the database. It did create 81 tables. However, then I got a "System Error" page and I am stuck now.

I deleted the folders to do a fresh installation. The issue still persists.

Can anyone please help?

Find more details:

Cause

```
java.lang.reflect.UndeclaredThrowableException
????at com.sun.proxy.$Proxy246.permissionExists(Unknown Source)

caused by: java.lang.reflect.InvocationTargetException
????at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

caused by: org.springframework.dao.InvalidDataAccessResourceUsageException: could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet
????at org.springframework.orm.hibernate5.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:228)

caused by: org.hibernate.exception.SQLGrammarException: could not extract ResultSet
????at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:63)

caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'c1docdb.SPACEPERMISSIONS' doesn't exist
????at jdk.internal.reflect.GeneratedConstructorAccessor311.newInstance(Unknown Source)
```


Answers:
author: Sanil Gajadhar
body: The problem has been solved. Thank you.

comments: author: Diego
body: Hello there [@Sanil Gajadhar](/t5/user/viewprofilepage/user-id/4120721) ! Would you mind sharing the solution to your case with the community?  

Maybe someone faces the same problem in the future and your question will be able to help them!

Let us hear from you.


author: Sanil Gajadhar
body: Hello,

In fact, I was installing version 7.8.0 but it was keeping failing during the database setup. After creating around 81 tables, then the error was appearing.

Finally, I installed the version 7.4.4 which installed successfully. Once installed, I then upgraded to 7.8.0


Tags: confluence-server

server
How to disable delete on Attachments Macro
Asked by Informatics NACHC:

I'm trying to use the Attachments Macro to show files attached to a page. I would like to disable the users ability to delete the file. Is there a way to do this with the Attachments macro or is there another tool that will allow this?

![Capture.PNG](/t5/image/serverpage/image-id/113825i723E4C1961EAF4A1/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Nic Brough -Adaptavist-
body: If you remove the space permission for someone to delete attachments, the button will vanish from thr macro as well.


Tags: confluence-server

server
Customize Confluence appearance
Asked by Gui ?vila:

Hi,

How can I upload our own logo for a specific Confluence space? <http://prntscr.com/uwwdmn>

I follow the steps about using Confluence with Jira Service Desk, so a specific Confluence space can serve as knowledge base and customer support questions. If users will have access to this space, how can we customize it?

Thanks,

Gui.


Answers:
author: Bill Bailey
body: I assume you are talking about the space logo. If so, the docs are here:

[Change your site and space logos](https://support.atlassian.com/confluence-cloud/docs/change-your-site-and-space-logos/)

comments: author: Gui ?vila
body: Thanks, [@Bill Bailey](/t5/user/viewprofilepage/user-id/502089) . But these themes customizations are very basic. Is there a way to make more advanced customizations? Change themes, etc?  

Thanks.


author: Bill Bailey
body: With the server edition, for sure. You have a lot of control With the Cloud version, you are very limited (understandable for Cloud application). This is one of the reasons I do not recommend going the Cloud route.

There is one new paid plugin for Cloud that purports to allow for custom CSS for Cloud:

[custom-css-code-for-confluence](https://marketplace.atlassian.com/apps/1223493/custom-css-code-for-confluence?hosting=cloud&tab=overview)

How well it works, I can't tell you.


Tags: cloud

confluence-cloud