youngmon/atlassian-qna huggingface dataset:
I can not export pdf file on my confluence server.
Asked by kon ritsuwa:

**on my confluence server**

I can not export pdf when the conent has JIRA link. It always return 500 internal server error.

?Without JIRA link will be OK.

What should i do?


Answers:
author: Philipp Sendek
body: Hey Kon,

if you have an internal server error, you might have some more detailled error messages in your Confluence logs.  
Could you have a look at those and paste whatever things you can find related to the export?  

Regards,  
Philipp

comments: author: kon ritsuwa
body: Thank you very much for your replay.The Log is \[\[confluence.extra.flyingpdf.ConfluenceExportUserAgent\] getImageResource Could not retrieve image resource [https://myserverXXX/jira/secure/viewavatar?size=xsmall\&avatarId=10300\&avatarType=issuetype](https://myserverXXX/jira/secure/viewavatar?size=xsmall&avatarId=10300&avatarType=issuetype) during Confluence export -- url: /confluence/spaces/flyingpdf/pdfpageexport.action \| page: 1212733 \| userName: kon \| referer: <https://myserverXXX/confluence/pages/viewpage.action?pageId=1212733> \| action: pdfpageexport\]in my conflunce server log file.


author: Philipp Sendek
body: Hey Kon,thanks for the further information.Does the link of the missing resource work, when you access it through your browser?If not, which error appears?Do you experience any other issues with your connection between Confluence and JIRA or does - apart from that - everything work properly?Regards,Philipp


author: kon ritsuwa
body: Dear Philipp.Thank you very much for your reply.I can access the jira url and return jira icon on my browser. It seems to be the same as this issues.<https://jira.atlassian.com/browse/CONF-26016>Regards,kon


author: kon ritsuwa
body: the link of my the jira resource works fine.


author: Philipp Sendek
body: Hey Kon,I'm glad to help - or hope to. :)Since the reports show that their exports are still working despite the warning, this seems to be something else, to you initial problem, I'd say.As the error is closely related to the connection between JIRA and Confluence, could you maybe delete the connection and re-set it up again?If that's not possible (likely on a production system), have you already contacted Atlassian to have a look at the issue? Considering there's no third party plugin involved, this should be something they should be able to help you with.Regards,Philipp


author: kon ritsuwa
body: Dear Philipp.I had delete the connection and re-set it up. but the error also happened.Thank you very much for your help. i will try to contact Atlassian for this problem.Best Regards,Kon


author: Rodrigo Girardi Adami
body: Hi Kon,

I was not able to find a bug for PDF export when having JIRA macros on it failing, so I believe it would be a good idea to open a support request for us so we can get the full logs from Confluence and also get the exact steps to replicate the issue locally. If we can replicate locally, then we'll proceed on opening a bug report.

Cheers,

Rodrigo


author: kon ritsuwa
body: my confluence server is Confluence 5.6.4.


Tags: confluence-administration
how can we restrict the maximum page size in a confluence page?
Asked by fbeck_br:

Even we have set attachment size limit to 50MB, some users split large files using zip or rar into smaller files and upload around 500MB into a confluence page.

how can we restrict the maximum page size?


Answers:
author: Nic Brough -Adaptavist-
body: You'll need to find/write some code for that.

Personally, I'd remove the bad users rights to attach - educate them to stop being dumb, rather than try to block them.

comments: author: TomC
body: I'll second Nic's remarks Flavio. I have 8000 users and it's a lot about education. Also, potentially offer some solutions that are tailor-made for large attachments and they will probably prefer to use that instead of the effort of splitting files. For example, we have some power users using Box accounts and linking to the folder or files; one can also embed a Box folder on a page so they are still 'working in the wiki' but the files 'live' outside. Hope that helps.


Tags: confluence-administration
Confluence: how to remove a site-wide banner without access to admin web interface
Asked by Johannes Rudolf:

Hello,

we're facing trouble since we cannot access the Confluence admin console anymore. Users can login but Admins cannot go any further since the login page for the admin console is blank.

What happened? We just finished some maintenance and I was going to comment out the announcement banner via the look \& feel section on the admin's console. The banner was set as described [here](https://confluence.atlassian.com/display/CONFKB/How+to+Add+a+Site-Wide+Banner). Unfortunately I was too quick and I left the announcement surrounded by some snippet of code. Now the top menu does not show the regular colours even though it is possible to use the menu.

My question: is there any way to undo this? How can we remove the faulty announcement banner without being able to enter the admin console via web interface? On the server? Or database? I was looking for hours but didn't find any hint.

Any hint is pretty much appreciated!

Best,

Johannes

ps: it's Confluence server edition, version 4.2.x


Answers:
author: Johannes Rudolf
body: Problem is solved. We had to remove the faulty message from the database as referred [here](https://confluence.atlassian.com/pages/viewpage.action?pageId=648218529). Thanks for any help anyway!


author: Johannes Rudolf
body: I'm afraid that does not work. destination=/admin/\* requires the password. Also we tried to empty the table DECORATOR as described [here](https://answers.atlassian.com/questions/8624388/confluence-admin-page-is-blank). But this table is already empty on both, the live and the test instance. We hadn't any work on our test instance.


author: Johannes Rudolf
body: Hi Sash,

thank you for answering! I will try as soon as possible tomorrow morning.

Best,

Johannes


author: Alex Medved _ConfiForms_
body: Are you able to access: <http://youserver/confluence/admin/editcustomhtml.action> directly?


Tags: confluence-administration
How to log space permission changes?
Asked by fbeck_br:

I have set some users as space administratos, so they are able to grant permissions to other users.

Supose that an space admin enable the anonymous acess to the space, so anyone can acess that space, even they do not have a confluence account.

So, someone asks WHO changed the space permission, exposing information and wondering it was done by the confluence admin (not space admin)

How sys admin can show WHO really made that change?


Answers:
author: Rodrigo Girardi Adami
body: Hi Flavio,

Currently Confluence does not provide this functionality. Is being tracked here: <https://jira.atlassian.com/browse/CONF-6960>

I recommend to comment and vote to increase the feature popularity.

Cheers,

Rodrigo

comments: author: Przemys?aw M. Saracen
body: For the record - the feature has been released on 9 February 2016.


Tags: confluence-administration
Panel macro title not showing up in Table of Contents macro.
Asked by Michael Biwer:

Hi,

I am trying to get a list of all of the Panels that I have created on my main home page for a project. However it does not seem like the Table of Contents macro will pick up the Titles within the Panel Macro as actual titles.

Has anyone else run into this issue and have a solution that does not involve using the html macro ?


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Michael, currently that ins't something that can be achieved through the panel macro, may be worth adding as a suggestion in the [pool of existing requests](https://jira.atlassian.com/issues/?jql=project%20%3D%20CONF%20AND%20issuetype%20%3D%20Improvement%20AND%20component%20%3D%20%22Macros%20-%20Panel%20Macro%22).

Though, using headings in the page formating and the [TOC macro](https://confluence.atlassian.com/display/DOC/Table+of+Contents+Macro) can deliver a somewhat similar functionality.


author: jshippy
body: Chip in your vote: <https://jira.atlassian.com/browse/CONF-37130?filter=-2>
Disabling Emoticons Server-wide in Confluence 5.4
Asked by Janet Li:

We are law firm and frequent references to statutes or regulations will bring up emoticons. We do NOT want to make users change this option in their Settings. We need this turned off across-the-board, but I do not see this documented past versions 4.x.

Can someone enlighten me?

With gratitude,

Gail


Answers:
author: Chii
body: It's possible to disable auto-insertion of emoticons via the editor by disabling the autoformat in the editor preferences. Go to <https://your_confluence/users/viewmyeditorsettings.action> and check the 'disable autoformatting' option.

This will also disable other auto formatting, such as bullet points and h1 etc. You will have to manually select the text, and use the toolbar to format your document.


author: Philipp Sendek
body: Hey Gail,  

checking again myself I can confirm that the documentation that seems to provide info on how to turn it off, is either outdated or removed altogether.   
My - quite hacky - approach would probably be to browse through the Confluence database and look for the profile-setting that you've mentioned. Afterwards I would create a script to disable it for all users, creating a trigger to do this regularly.  
I also read in the following comment <https://answers.atlassian.com/questions/48140>, that it could be modified within *wiki-renderer-components.xml* but this might also only apply to older version.  

However, I hope someone else comes up with a proper way. :smile:  

Regards,  
Philipp


Tags: confluence-administration
Is there a way in which a particular section within a document be linked from another link without having to update the link always in case the section title is changed.
Asked by sidhartha:

For example, I have two documents A and B. The document A has many sub sections X1,X2. I want to include a link in document B such that it points to section X1 in document A. Please note that the title of the X1 section might be changed and that I do not want to document B to repeatedly change the link in order to avoid link breakage. I know that using tiny URL helps while pointing to a document as a whole. Is there any such thing while linking to sections within documents?


Answers:
author: Stephen Deutsch
body: instead of linking to the sections, why not create an anchor macro along with each section heading? It's a bit more work, but it would prevent losing your links. Other than that, I'm not aware of any function to avoid link breakage to sections.


Tags: confluence-cloud
how can i create space?
Asked by anudeep:


Answers:
author: Paula Silveira
body: Hello there,  

To create a space, please do the following:

1. Choose **Spaces** \> **Create space** in the Confluence header
2. Select the type of space you would like to create, then choose **Next**
3. Enter details of your space including **Name** and **[Space Key](https://confluence.atlassian.com/display/DOC/Create+a+Space#CreateaSpace-spacekey)**, and any other information you're prompted for depending on the blueprint you choose
4. Choose **Create**

Please refer to[Create a Space](https://confluence.atlassian.com/display/DOC/Create+a+Space) and [Working with Spaces](https://confluence.atlassian.com/display/DOC/Working+with+Spaces) for further information.

Thanks and regards,  
Paula Silveira


author: Nic Brough -Adaptavist-
body: Log in as someone with space-creation rights, and click "create space" on the spaces menu


Tags: confluence-administration
Confluence 5.7: Monitoring console is gone ?
Asked by Philippe PEREZ:

Hello,

Confluence 5.6 had introduced a nice admin feature: [Monitoring console](https://confluence.atlassian.com/display/DOC/Confluence+5.6+Release+Notes).  
Confluence 5.7 seems to have removed it.

Gone forever or there is still way to access to it ?

Thanks.


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Phillipe, it should still be accessble at its URL: *\<your_connie_domain\>/admin/monitoring-console.action*

Do you see any errors?

comments: author: Philippe PEREZ
body: Thank you Guilherme, it's working.


author: Andrew Bilukha
body: It is working, but unless you know the link direct, which UI menu entries to use to access it?


Tags: confluence-administration
Deploying Confluence on two EC2 hosts and sharing a database
Asked by Debajit Adhikary:

I am trying to evaluate Confluence as a wiki tool for a large number of users.

I set up Confluence on two EC2 hosts where they share one MySQL (RDS) database. The problem with this approach is that Confluence runs on one host, but the other host errors out saying "Database is in being used by another Confluence instance".

Has anyone tried deploying Confluence on more than one host and sharing a database? Is there a way I can get Confluence to work this way? (My goal with using EC2 is to be able to horizontally scale our Confluence instance in the future)


Answers:
author: Nic Brough -Adaptavist-
body: Atlassian's documentation clearly states that this cannot work, and the reason your second installation errors is to prevent the damage you would do by running such a system.

For this to work, you need both Confluence systems to know exactly what the other one is doing, in real time, so that they do not stomp on each other's data. That is a complicated thing to do, and most people do not need it, so historically, Confluence has not done it.

In older versions of Confluence, there was a "cluster" solution that gave you some good scaling options, but that was not as good as Atlassian (or their customers) would have liked, so they've come up with a new system.

You need to look at Confluence Datacentre - it's not quite "one database, two Confluences", but it will do what you're trying to do. Start at <https://www.atlassian.com/enterprise/data-center>


Tags: confluence-administration
Reusable domain in links
Asked by lelininkas:

How (if at all possible) can I create links with reusable (like "excerpt-include") domain?

I'm writing technical documentation where in multiple pages there should be a link to an external resource. For every page the resource is different but the domain part of the link is the same. The problem is that domain is a subject to change and in the case of change I don't want to go through hundreds of pages and edit the link.

I imagine it should look something like that: \[{excerpt-include:_commonDomain\|noframe=true}/some/resource\]. This of course does not work for obvious reasons.

Am I missing something obvious or is this not possible to achieve atm?


Answers:
author: Stephen Deutsch
body: I'm not sure it would work for you, but I wrote a user macro to do a global search and replace, so if you are changing domains then it would be able to update it on every single page. Unfortunately, it would also show you as editing 100's of pages at a time, but maybe it would be easier than trying to extract a domain from somewhere else, as you could just use the standard Confluence functions. You can find the user macro here:

<https://streamline.atlassian.net/wiki/display/STRMLN/Search+and+Replace+User+Macro>

Just embed it in a blank page and you will be all set to go.

comments: author: lelininkas
body: Thank you for your suggestion. I've saved the script and will try it out when domain changes. It's a little bit sad that there is no simpler way though.
In the video width and height field can I enter a variable the video to be scalable?
Asked by Paul Josephs:

The macro field for entering video size as only the ability to add one set size... what if you wish the video to be scalable.


Answers:
author: Mallmann
body: Hello Paul,

I'm not quite sure that's exactly what you want to do, but I found a similar thread that might help you a bit: <https://answers.atlassian.com/questions/171822>

In case that's not helpful, I guess it would be covered by this bug: <https://jira.atlassian.com/browse/CONF-22240>

Hope it helps, Paul! :smile:

Eduardo
Can I create a maker-checker workflow for page submissions, to avoid inappropriate information being added to the WIKI?
Asked by Geoff Ford:

My company's audit department requires that no sensitive information (usernames, passwords, etc) is stored in the Confluence WIKI. As a sledgehammer approach to crack this particular walnut, they are requesting page level access entitlements being introduced across the whole WIKI to guard access to this kind of information. This is against the whole ethos of an open information store, providing knowledge to all.

I am looking for an approach that allows pages to be created/amended by a submitter (the maker), but not be visible (or available in the page change history) until the page has been approved by a second individual (the checker)? This would then make the checker accountable and reduce the likelihood of occurrence to a reasonable level, satisfying the audit viewpoint.

The use case would be something like this:

The maker edits/creates the page and saves it - at this point the page changes are hidden from both the current page and its history. The checker receives an email with the link to the amended/new page, so that the checker can review it.

The checker should have two options approval/reject the page. Approving the page will make it visible and added to the page's history; Rejecting the page allows the checker to add a comment on why it is rejected, and emails the maker with a link to the (still hidden page) with the comments.

The maker either receives an email indicating the page was accepted, or that it was rejected. If rejected, the email contains the link to the (hidden) page, allowing them to revise it and resubmit.

The checker should be the immediate line manager of the submitter, as identified from say LDAP.


Answers:
author: Davin Studer
body: I think the best way to do this that I can think would be to have a draft space where pages can be edited prior to being made live. The checked could watch the draft space and would receive notification whenever the make did something. Once they are approved you could either move the page to the appropriate space or copy the content if the page already exists.


Tags: confluence-administration
Confluence - problems adding user to a space
Asked by Carolyn Howie:

Silly question - but we have a User who can log in to our Confluence OK and in the past has been added as a user to specific spaces. They can still see and update those spaces. But when we try to add the user to another space their name does not appear in the combo-box. Their name does appear in the User Maintenance Screen and their details look OK. - Any ideas why they can not be added to any additional Spaces. Other users on the system can still be added to the spaces - just not this user.


Answers:
author: Mallmann
body: Hey Carolyn,

Can you give me a bit more information about your user management? I mean, are you using the internal directory or an external one like LDAP?

From your description two possible culprits came to my mind:

1. Corrupted index. Please check the following KB: <https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch>
2. This Bug (which has a workaround): <https://jira.atlassian.com/browse/CONF-28615>

Let me know your Confluence version as well, in case none of these links help you on this issue.

Regards,

Eduardo


author: Carolyn Howie
body: Hi Eduardo,

Just to let you know the rebuild has addressed the issue,

Thanks again for your help

comments: author: Mallmann
body: Awesome! Thanks for the update, Carolyn :)


author: Mallmann
body: Hey Carolyn, just to let you know that marking my answer as the correct one might help other users that are facing the same problem to find the fix faster, so that's a good practice for any questions you received a correct answer. :)


author: Carolyn Howie
body: Thanks Eduardo,

We are using LDAP.

I don't think it is the second option you suggested as the user in question is able to login to the system and access other Spaces. We just can not assign them to new spaces.

I am going to try to rebuild the index and see if that addresses the issue.

Carolyn


Tags: confluence-administration
Can I limit access on some part of the confluence space
Asked by Naama Lev:

Hello Experts,

Can I limit access on some part of the confluence space?

I would like to open the space to the customer, and one part (everything under a parent page) I would like to hide,

is that possible?

Thanks

Naama


Answers:
author: Rodrigo Girardi Adami
body: HI Naama,

I could find [this answer](https://answers.atlassian.com/questions/12162933/confluence-page-individual-restrictions-) which helps understanding the Confluence permission model for spaces.

Nic Brough has a good answer for this with a possible approach:
> Confluence has a simple top-down permissive access model - you need to let him have access to the space first, then restrict him from seeing \*everything\* else in the space. There is a slight variation you could do - keep the page in the space, but rearrange the hierarchy so that you have two main "branches" in the space. Let's call them "public" and "private". For your case, all the pages except the one you want him to see would be in the "private" branch, and that one page would be "public". You then set the space permissions to "let everyone see it" and restrict the "private" page to "everyone except my odd user". The permission will cascade down the private branch and hide all the pages in it from him. As an aside, that probably breaks the heirarchy too, so I'd probably add the "public" page into the private branch with an "include" in the appropriate place.

Confluence default behavior is to allow all and then block someone. This is the behavior of the permissions.

I hope this helps.

Cheers,

Rodrigo


author: Daniel Wester
body: Yes - Kinda. <https://confluence.atlassian.com/display/DOC/Page+Restrictions>

"If you restrict viewing of a page to a user or group, all children of that page are also restricted to the user or group. Edit page restrictions on the other hand, **are not** inherited."

comments: author: Naama Lev
body: Hi Thanks for that!Can I do the other way around? restrict the whole space except one section?ThanksNaama


author: Jonathan Simonoff
body: Daniel -- your suggestion is exactly right, except I'm not sure why you say "kinda". The sentence you quote doesn't mean that people will be able to edit pages they can't view, If you can't view a page you can't edit it. The note about edit restrictions only applies to pages that you can view.


author: Philipp Sendek
body: I would always go with an approach of the style mentioned by @Rodrigo Adami (private and public "branches"), as this achieves a high awareness of the "private" group, that whatever they post in this branch is exclusively viewable by the selected audience.

While, when you just restrict a sub page that's somewhere in the hierarchy, it might not be so obvious to everyone, and worst case, someone opens up one of those pages in the tree and this also affects all of its sub-pages.

Best case this shouldn't be a problem, but being the collaboration-promoting platform that Confluence is, it could always happen that someone fiddles with the restrictions and creates a catastrophic leak.


Tags: permission
How do I edit the default home page for a 'Knowledge Base' space?
Asked by Ben Warner:

Confluence Cloud.

There is a template in Global Templates for editing the default home page for a 'blank' space but none for a 'Knowledge Base' or 'Documentation' space.


Answers:
author: Marc Dvorschak
body: It would be really helpful if there was a way to edit the default home page template for the "Team Space" blueprint too.


Tags: cloud

confluence-cloud