youngmon/atlassian-qna huggingface dataset:
Overwriting attached images doesn't work
Asked by Steffen Heller:

Hello everyone,

I have a page with 20 images and need to make changes to those images.

I downloaded all the attached images, edited them in an external program and uploaded them again and was expecting that the changed images would automatically replace the old ones, but that is not the case.

When I go to "attached images" and click the images, I can see that they have changed but on the page it still shows the old versions.

Why is that? And what can I do to change that?

Going edit \> insert \> image is not an option since I also need to change image size and correctly position them on the page.


Answers:
author: Steffen Heller
body: I found out what the problem is:

If you copy \& paste images to a Confluence page, Confluence automatically renames them to something like "image2017-7-26 14:17:39.png".

And because of the colon in that name, it seems impossible to change and overwrite those images.

* If I download the images and unzip them, the ":" is changed to "_"
* If I open such images and I try to change "_" back to ":" I get messages "not allowed", "can't contain any of the following...", etc.

How can I avoid or circumvent this? Anybody have another idea?

Again, all I want to do is, download an image, make changes, upload it again and overwrite the old image...

comments: author: Joe Hockaday
body: I had this too. Obviously I had dragged and dropped my originals when I first wrote the page. When I changed them and updated the page it was fine in the edit view, but when I published it _always_ reverted to the original.

I had to delete the originals, publish, change the file names on my local disk, re-upload the new with the 'insert image' button and choose the files with the new names, publish and it then worked.

Thanks Steffen for the hint. No thanks Atlassian for no fix on this in nearly 4 years. About right for your software quality.


author: AnnWorley
body: I wonder if your browser is caching the old images. I just downloaded a .png, rotated it in an image editor, and then uploaded it with the same name. Now it renders on the page as rotated - my edited version.

Please try with an incognito browser or a browser that hasn't loaded that page before.

I am testing with Confluence Server version 6.4.3, please let me know what you are running - Cloud or Server and server version if you aren't on Cloud.

comments: author: Steffen Heller
body: Thanks Ann for the answer.

I am using Atlassian Confluence 4.3.7, Server.

Did you also try with an image whose size was changed in Edit mode? I was worried that changing the size of the image could create a new file that does not relate to the original file anymore.

If you change an image to a size smaller than 301 pixels the image path changes from  
"/download/attachments/{some number}/{file name}" to  
"/download/thumbnails/{some number}/{file name}"

Could this cause problems?


Tags: attachment

image
Show TOC items from different page
Asked by S?bastien Charnoz:

I have a page (content page) with let say following outline:

h1. Places

h2. Favourite Places

h2. Unknown Places

h1. Food

h2. Favourite Food

h2. Unknown Food

What I want to achieve, is to print some TOC items (let say all matching Favourite.\* pattern) in another page (summary page).

I am expecting to see the following on my summary page:

* Favourite Places
* Favourite Food

What I already tried:

1. I built a TOC on my content page with following parameters
   * Include= Favourite.\*
   * absoluteUrl=True
2. I packed this TOC into an Excerpt
3. On summary page, I used "excerpt include" macro to include excerpt of my content page

I was exception that this would work, as it works in the preview mode of the "include excerpt" macro or the page preview. But when I save the page, the content is null...

does anybody has a solution?


Answers:
author: Luu Duc Thang
body: You can seek some answer at "Filtered Table of Contents" in <https://confluence.atlassian.com/doc/table-of-content-zone-macro-189890742.html>


Tags: excerpt

table-of-contents
What is the maximum amount of attached files in Confluence?
Asked by Natalie Mangold:

We are evaluating Systems and Need a System for attaching approx. 1 Million files. What is the recommended max. amount of file of Confluence? Are there Limits of the amount and file size?

How many Servers do we Need? We are planning a Cluster Service.

Does anybody has a similar Scenario?

Thanks in advance


Answers:
author: Peter DeWitt
body: [@Natalie Mangold](/t5/user/viewprofilepage/user-id/1159698), The number of attachments an instance of Confluence can support is going to be limited by disk storage. File size of attachments in controlled in the application systems settings. I believe it is 10MB by default but can be changed per your needs.

By Cluster service do you mean Data Center version of Confluence?

And as far as the number of servers, it depends on the storage needs for the attachments as well as the design of the architecture.

Take a look at this for architecture information:

<https://confluence.atlassian.com/enterprise/confluence-data-center-612959397.html>

.pd
Confluence HTML export - links broken
Asked by Julian Gall:

I have exported my space to HTML. The HTML pages are named with the displayed name followed by a number. e.g. My page called "Risk Categories" is named Risk-Categories_149226977.html. Normal links to pages work fine.

However, I have some pages that use the Page Properties Report macro to create a list of links to other pages. In the export, these links are included as:

\<a href="/display/GDPR/Risk+Categories"\>Risk Categories\</a\>

rather than:

\<a href="/display/GDPR/Risk-Categories_149226977.html"\>Risk Categories\</a\>

i.e. The links are not translated from the form in which they appear on the actual Confluence site. This means the HTML export is useless where Page Properties Report macros are used.

Has anyone else come across this? Is there a solution?

Thanks,

Julian


Answers:
author: ertugrultas
body: I have the same problem and looking for a solution any tips about this problem would be helpful.
Who is the Administrator?
Asked by Abhay Mittal:

Who is administrator for the dsdmoj.atlassian.net. I need to access this .


Answers:
author: Shannon S
body: Hi Abhay,

A person called Trent is your primary administrator for your instance. You can contact him to provide you access.

Let us know if you have any trouble.

Kind Regards,  
Shannon

comments: author: Abhay Mittal
body: Hi Shannon, Can you please help me with e-mail for the Trent ?


author: Shannon S
body: Abhay,

I apologize but due to security reasons I'm not able to provide you that information. What is the reason you need access to the instance? If you're working with a specific company they will be able to direct you to the right person.

Kind Regards,  
Shannon


author: Abhay Mittal
body: Hi Shannon,

Yes, I am working for specific company. When I contact with in the company to add me to above account , they are not able to search me. They said " Have you create an account in ?" . When ever I try to login to above url , it redirect me to the atlassian.com. I have already created an account in atlassian.com. Is atlassian.net and atlassian.com use same user database ?

Is any particular reason , they can't search me ?


author: Shannon S
body: Hi Abhay,

Can you let me know what you mean when you say that they cannot "search" you?

I can confirm that you do not have an account on that instance.

Atlassian.com and Atlassian.net does use the same user base, which is what we call an Atlassian Account. You want to first have an Atlassian Account at id.atlassian.com. I can confirm you do already have that.

The next step is that one of site admins from dsdmoj.atlassian.net can add you with the same email address you're using at id.atlassian.com and you will be able to login.

Kind Regards,  
Shannon


author: Abhay Mittal
body: Hi Shannon,

In the company , there is group , who do administration of the account / confluence page dsdmoj.atlassian.net. To add me / give permission to the page , why search my id ( e-mail id in the Atlassian ) , they can't find my id based on e-mail id .

Might be some issue with dsdmoj.atlassian.net account itself or number of users can be added to that page.


author: Shannon S
body: Abhay,

I can tell you that there is definitely no user on that instance with your name or email. You can't give permission to a page on an instance unless the person is a user.

Therefore, you will need to speak to someone on that end to add you to the instance as a user and then they will be able to give you access to the page.

Kind Regards,  
Shannon
i18ntranslate=off does not (fully) work
Asked by Pynlab SRL:

Hi.

I've do, some time ago, a translation check using the "i18ntranslate=on" parameter. Then after using "i18ntranslate=off" the UI is messed up.

Some labels are shown again with the i18n label, like "sidebar.header.spaces.link" or "like.bethefirst" in the bottom of the page.

How I can remove completely the i18n labels from my user profile?


Answers:
author: Shannon S
body: Hi Emanuele,

I have created a bug ticket here:

* [CONFSERVER-54072](https://jira.atlassian.com/browse/CONFSERVER-54072)

I am still working on a solution for you as a workaround, so please stay tuned.

Kind Regards,  
Shannon

comments: author: M?ris Leimanis
body: Hello.  
Thanks for information.  

I have same problem with JIRA \& Service Desk when using ?i18ntranslate=off it won't turn off.

Waiting for fix. Thanks


author: Shannon S
body: Maris,

Thank you for letting us know. This is for Confluence specifically but I'd like you to try this anyway:

1. Stop Jira/Jira Service Desk
2. Remove these two folders:
   1. JIRA_HOME/plugins/.bundled-plugins
   2. JIRA_HOME/plugins/.osgi-plugins
3. Start Jira

Then, can you tell me if you still have the issue?

Kind Regards,  
Shannon


author: Shannon S
body: Hi Emanuele,

Can you let us know what version of Confluence you're using to replicate the issue, and if you have any screenshots you can send that show the behavior, it will also help.

Thank you!

Kind Regards,  
Shannon

comments: author: Pynlab SRL
body: Confluence 6.4.0

![Schermata 2017-10-27 alle 13.36.02.png](https://community.atlassian.com/t5/image/serverpage/image-id/8406i308B00268FB86F3C/image-size/large?v=v2&px=999 "Schermata 2017-10-27 alle 13.36.02.png")![Schermata 2017-10-27 alle 13.30.14 (2).png](https://community.atlassian.com/t5/image/serverpage/image-id/8407iD978A6E013173171/image-size/large?v=v2&px=999 "Schermata 2017-10-27 alle 13.30.14 (2).png")


author: Shannon S
body: Hi Emanuele,

I just tested this, and I did run into a similar issue. All the labels disappeared *except* the sidebar.header.spaces.link and the ones on the UPM (Plugin Manager).

But then, for some reason, once I noticed I had a UPM update and then refreshed Confluence as it requested at the end of that, the labels went away.

Do you currently have an updates you can try in UPM or perhaps flushing the cache in Confluence? Does it make a difference if you add the i18ntranslate=off to the end of the primary URL or the current page you are on?

Kind Regards,  
Shannon


author: Shannon S
body: Emanuele-

Apologies! I was able to replicate it again, and now it's stuck, and none of the above works this time.

I'm looking to see now if I can report this as a bug and also how we can turn off the labels now.

I will let you know what I find out.

Kind Regards,  
Shannon
How to automate Content indexing in confluence server
Asked by Moses Thomas:

1. I will like to trigger content indexing every morning via a script do we have rest api to do this via the curl command ?

Thanks,

Moses


Answers:
author: Nic Brough -Adaptavist-
body: There's an obvious question - why do you want to do this?

Confluence does not need to be re-indexed regularly, pages are indexed automatically. Needing to re-index is indicative of a significant change or a problem with the data. So what have you done to it that makes it seem like it needs doing every morning?


author: Moses Thomas
body: Hello Nic,

My confluence is working fine, but to be on safe side with search content in confluence i would like to perform it time to time so do we have a possibility like in Jira or not ?

Br

comments: author: Nic Brough -Adaptavist-
body: It's the same as Jira - run an external script that triggers it.

Complete waste of time though. Indexing in Jira is only needed if something goes wrong or for some config changes. Same goes for Confluence - it's pointless re-indexing a working system. In fact, it's worse, because searches stop working during a re-index.


author: Moses Thomas
body: Hello Nic,

It is not pointless to re-index in confluence(search indexing also called content indexing) at least once a month, sometimes i have problem with searching for users in confluence even though user in available in directory when i want to add permission to user in a page, but when i do content indexing user appears

I have search for rest api to trigger indexing automatically i cannot find, do you know where to find the rest API ?

Best regards,

Moses


author: Nic Brough -Adaptavist-
body: If you think you need to re-index regularly, then that tells me you have a problem with the indexing that you need to fix, not just hide by regularly rebuilding.

You need to look into why your users can't be found, as you have a broken setup somewhere.


author: Moses Thomas
body: So tell me exactly what content indexing( search indexing ) is doing exactly


author: Nic Brough -Adaptavist-
body: The Confluence database is built as a datastore for your pages. It is not designed for search.

Imagine the basics - a page. That's some metadata in a table, plus a big block of content. Searching for a word in that sort of table is quite slow and intensive.

So, there is a fast, local index built in the application. The data is organised differently - for pages for example, there's a pile of word-stems pointing to pages.

Every create or edit to a page updates the index. In a healthy system, that means the index will be up to date and correct at all times.

(It indexes other things too, but you get the gist from just the page stuff above)

"I need to re-index regularly" is a symptom of something breaking the index. You've said you have problems looking for users. That implies something is wrong in the user directory setup.
LiveSearch Macro customization
Asked by Kirsten Lemana:

![Macro.PNG](/t5/image/serverpage/image-id/8386i65EF98F0D84A9454/image-size/large?v=v2&px=999 "Macro.PNG")![Search issue.PNG](/t5/image/serverpage/image-id/8385i858D972965AFDFAC/image-size/large?v=v2&px=999 "Search issue.PNG")


Answers:
author: Thomas Schlegel
body: Hi Kirsten,

what is your question?
Exporting and importing a space in Confluence
Asked by Richard Fisk:

I am currently full admin/Site administrator and am am not able to import a confluence site XML export. This export is for cloud and from the same instance.

When I go to the space settings there is no option to import ,note this used to be available before the new interface GUI came along .

What else can I check ,going round in circles currently


Answers:
author: Mat Falk
body: Have you tried the Confluence settings instead of space settings?

**Confluence Home -\> Settings -\> Administration -\> Import Spaces**

If you didn't change the wiki base URL you can access those settings on:

<https://YOURSUBDOMAIN.atlassian.net/wiki/admin/importspace/importconfluencespace.action>

If your export is the whole site and not just a space you can use "Import Site" instead. But be careful with that: almost everything will be replaced with your backup version (other spaces and so on).


Tags: import
Is it possible to assign a due date that is a week long, instead of the dd/mm/yy format?
Asked by Alyce Muldoon:

I am using tables for many projects in which the tasks are down the first column and the heading of the rows are Week 1, Week 2 etc. The tasks are then broken down into smaller tasks as to how it will be completed over the coming weeks. I would like to assign Week 1, Week 2 as the Due Dates. The reason for this is the tasks will be repeated over the same timeframe (9 weeks),

The reason for this is, I have multiple projects running over the same timeframe and it would be great to get an overview of each one every week. The tasks will also be repeated, so by generically assigning the due date week 1, week 2, we could avoid updating the due dates for each of the projects.


Answers:
author: Shannon S
body: Hi Alyce,

It's only possible to set a due date to a specific date.

What I would recommend is if you want a specific task done a certain week, that you set the due date to Friday of that week to be sure that it's completed by the end of the week.

Kind Regards,  
Shannon
Cannot start confluence
Asked by ivankostov:

Hi,

I'm using Confluence in a Docker container. My server was working perfectly until I decided to update my image. As suggested on the official Atlassian Docker page, I stopped, removed and recreated the container. After that I got the message asking me to update my licence. After purchasing and applying the license Confluence is not starting anymore.

I got the following message in the log file (atlassian-confluence.log)

2017-10-26 22:20:33,118 INFO \[localhost-startStop-1\] \[springframework.web.context.ContextLoader\] initWebApplicationContext Root WebApplicationContext: initialization completed in 38381 ms  
2017-10-26 22:20:34,819 INFO \[localhost-startStop-1\] \[atlassian.plugin.manager.DefaultPluginManager\] earlyStartup Plugin system earlyStartup begun  
2017-10-26 22:20:36,070 WARN \[localhost-startStop-1\] \[org.twdata.pkgscanner.ExportPackageListBuilder\] logDuplicateWarning Package Scanner found duplicates for package 'javax.transaction.xa' with different versions. Files: jta-1.0.1B.jar and jboss-transaction-api_1.2_spec-1.0.1.Final.jar  
'/opt/atlassian/confluence/webapps/../confluence/WEB-INF/lib/jta-1.0.1B.jar'  
'/opt/atlassian/confluence/webapps/../confluence/WEB-INF/lib/jboss-transaction-api_1.2_spec-1.0.1.Final.jar'  
2017-10-26 22:20:36,079 WARN \[localhost-startStop-1\] \[org.twdata.pkgscanner.ExportPackageListBuilder\] logDuplicateWarning Package Scanner found duplicates for package 'javax.transaction' with different versions. Files: jta-1.0.1B.jar and jboss-transaction-api_1.2_spec-1.0.1.Final.jar  
'/opt/atlassian/confluence/webapps/../confluence/WEB-INF/lib/jta-1.0.1B.jar'  
'/opt/atlassian/confluence/webapps/../confluence/WEB-INF/lib/jboss-transaction-api_1.2_spec-1.0.1.Final.jar'

Please tell me if you need more information for debugging.

Best regards,

Ivan


Answers:
author: Shannon S
body: Hi Ivan,

Thank you for that information.

See a lot of INFO and WARN from your logs but do you also see any ERROR entries? This might contain more information about the issue. In addition any "caused by:" lines can also help us.

Kind Regards,  
Shannon
JIRA issue/filter macro keyboard shortcut conflicts in Chrome
Asked by Shawn Smith:

In the Confluence editor (Cloud edition), the keyboard shortcut to pull up the JIRA issue/filter macro, Cmd+Shift+J no longer works in Chrome (as of about September 2017). Now it goes to the Chrome "downloads"screen.

I was excited to see a message in Confluence about the new editor UI, specifically highlighting the fact that Atlassian resolved keyboard shortcut conflicts with "your favorite browser."

Any workaround? Any idea when this will be fixed?


Answers:
author: Shannon S
body: Hi Shawn,

Just tested this myself in my Cloud instance with the new editor, using Chrome Version 62.0.3202.75, the latest version.

I do get the downloads screen in Chrome when I am NOT editing a page, but the moment I start editing a Confluence page, and place my cursor on the page, it opens the Jira Issues Macro screen.

Do you have any updates for Chrome at the moment? Perhaps an add-on in Chrome might be causing the problem?

Kind Regards,  
Shannon

comments: author: maria_ituarte
body: What was the resolution of this?

5 years later, I have the exact same issue. Is there an easy, intuitive way to add jira tickets in a confluence page?


author: Henrik Eibye-Jacobsen
body: I am on MacOS, ctrl+shift+J works for me. If the issue is on Windows, I'd assume alt+shift+J would work where ctrl does not?


Tags: cloud
How to set Title Page margins when exporting space as PDF?
Asked by Jacob Davis:

I'm trying to set the margins/padding of the Title Page to 0 so that my banner will span the entire width of the cover, but I can't seem to set them without messing up the rest of document when exporting.

I tried this with no luck:

@page {  
size: 8.5in 11in;  
margin: 0.5in;  
padding: 1em;  
}

@page title {  
margin: 0;  
padding: 0;  
}

.fsTitlePage {  
margin-left: 0;  
margin-top: 0;  
margin-right: 0;  
page-break-after: always;  
}

I also tried this, but it cuts off the text on the right margin of the rest of the document:

@page :first {  
margin: 0;  
padding: 0;  
}

Any help would greatly be appreciated!


Answers:
author: Peter F?rger
body: Any news here as I run in to similar problems while trying to set 'margin:0;' on the title page?


author: Krista Parker
body: Have you tried creating an export template and then setting a new Export Scheme? And are you looking to export an entire space, or just a document?


Tags: css

export

html

pdf
Is There A Way To Show PAGE Attachments?
Asked by John Taber:

Problem: I want a way to show all of the attachments on a Confluence page then provide a way for end users to filter them by their associated label.

Thoughts: The Space Attachments macro is ALMOST exactly what I need but I want to restrict it to files on the PAGE only NOT the entire Space. Even being able to presort the attachments with a given macro or extension type would solve my issue but this does not appear to be possible using the Space Attachments macro.

Another idea is to use the label display but again it works for the entire space not a single page.

Any thoughts?


Answers:
author: AnnWorley
body: Welcome to the online Atlassian Community.

The [Attachments macro](https://confluence.atlassian.com/doc/attachments-macro-97911315.html) displays a list of files attached to a page.

I hope it works for your case, if not, let us know how we may help.


author: John Taber
body: I want it real time like the Space Attachments table OR a static chart of label values like that other macro...but all of these are Space level only.

In general enhance:

# Every macro that has an option for spaces only should be enhanced to use pages and their subs as an option.

# Add label filtering to the Attachments macro just like the Space Attachments macro.

:D


author: AnnWorley
body: It looks like I misunderstood, John, I had the idea you could use the attachments macro to filter by labels, when I edit the macro, I see the Attachment label option, which says "A comma-separated list of labels to filter by."

![Screen Shot 2017-10-30 at 11.30.10 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/8539i39CE3B8056121388/image-dimensions/499x306?v=v2 "Screen Shot 2017-10-30 at 11.30.10 AM.png")Our docs also led me to believe you could filter by label:

A[ttachments Macro](https://confluence.atlassian.com/doc/attachments-macro-97911315.html)
> Attachment Labels  
> A list of labels, used to filter the attachments to display....

A


author: John Taber
body: The Attachments macro does not answer the second part of the question. There is not a way to filter by the label. I added a search macro but I had to do a bunch of tricks with it to get even close and it is kinda cludgey. For example, each file has to have a label called "file" so I can properly search for it.

I went with the attachments macro and a search box but it is not wonderful... :(