youngmon/atlassian-qna huggingface dataset:
How to fix error "Could not load bootstrap from environment"
Asked by Maximiliano Orona:

I'm running a server instance on trial license. I have uploaded a lot of content to demo the tool to my manager. But suddenly instance is no longer working and I get error "Could not load bootstrap from environment" with exception "IllegalStateException: File corrupted in chunk 1847336, expected page length 4..1024, got 429608710 \[1.4.196/6\]"

Any ideas on how to fix this and get this instance running again to recover contents and then move to a paid license?

I will really appreciate your help and advice

Regards


Answers:
author: Shannon S
body: Hello Maximiliano,

Happy to help you get your Confluence demo back up and running!

Could you tell me a few things first?

1. What is your Confluence version number?
2. What type of database are you testing with?
3. Has the instance ever been upgraded or restarted?
4. Have you made any configuration changes to this instance at any time?
5. Could you [generate a new Confluence config file](https://confluence.atlassian.com/confkb/how-to-generate-a-new-confluence-cfg-xml-425461512.html) and see if that corrects the issue?
6. Check your Confluence Server logs in addition to the UI logs, and see if there is any more information on what is causing this.

Regards,

Shannon


Tags: confluence-server

server
how to grab only the latest blog post
Asked by Erik Mathis:

I able to find the lat blogpost using:

```
 posts = confluence.get_all_pages_from_space( config.atlassianSpace,  content_type='blogpost',  start=0,  limit=99999999, expand='version' )
```

I've tried changing start, limits to the likes of (-1).

Is there an existing method to just get the latest post?


Answers:
author: Hermance NDounga
body: Hello Erik,

I'm not sure where you want to display this but if it's in a Confluence page, you can simply use the macro blogpost, display only one blog post and order by creation date.

Is your use case different?

Cheers

comments: author: Erik Mathis
body: Thanks!

Is that macro and ordering available via the api?


author: Hermance NDounga
body: hum am I not an API pro user I have to admit :D   
But I guess by using the command get content, specify the type blog, limit it to one, could work, or using the search command, writing the cql so you specify also the type, limit it to 1 and since it's a cql comment you can order it by last created, i think it should work even better.

<https://docs.atlassian.com/ConfluenceServer/rest/7.1.0/#api/content-search>


Tags: blog

cloud

confluence-cloud

python

rest-api
Does Confluence support markdown TOC coding?
Asked by Ward Rosenberry:

We have imported a markdown document into confluence.

The standard coding for a TOC is not working. We are using this:

\* Topic 1 (#topic1)

\* Topic 2 (#topic2)

## Topic 1 \<a name="topic1"\>\</a\>

text

## Topic 2 \<a name="topic1"\>\</a\>

text


Answers:
author: Shannon S
body: Hello Ward,

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

You can insert markdown into a page directly, and Confluence will convert it. Have a look at [Confluence Wiki Markup](https://confluence.atlassian.com/confcloud/confluence-wiki-markup-938044804.html) for information on how you can use wiki markup or markdown in Confluence.

Note that you will *not* be able to include the markdown into a Word document, for example, and import that into a page. This feature was removed [along with markup support in Confluence 4.0](https://www.atlassian.com/blog/archives/why-we-removed-wiki-markup-editor-in-confluence-4).

I hope that helps, but let me know if you have any questions.

Regards,

Shannon

comments: author: Ward Rosenberry
body: Thanks Shannon.

We've got our markdown-coded doc into confluence and it formats nicely. The problem is the TOC coding is not working or accepted by confluence.

Our heading 2 renders like this when viewed in confluence:

**Requirements \<a name="requirements"\>\</a\>**

When you click the relevant TOC entry at the top of the file:

\* Requirements (#requirements)

The browser displays a blank page. I'm guessing this coding (in bold, above) is not supported.


author: Shannon S
body: Ward,

Just to confirm - the markdown was entered directly into Confluence, and not imported using the Word importer? Please let us know how you got the markdown into the document, and can you show me how it looks on the page?

***Edit to add:*** the markdown that should work is on this page: [Confluence Wiki Markup](https://confluence.atlassian.com/confcloud/confluence-wiki-markup-938044804.html)

You can see the [Markdown Syntax Guide](https://confluence.atlassian.com/confcloud/keyboard-shortcuts-markdown-and-autocomplete-724764956.html#KeyboardShortcuts,Markdown,andAutocomplete-Markdown) for information on what markdown you can use. In terms of your example, the **\<a name=** should not render.

Thank you for your help.

Regards,

Shannon


Tags: cloud

confluence-cloud
Permissions
Asked by Tori Krueger:

Are Confluence user permissions tied to Active Directory?


Answers:
author: edwin vasquez
body: They can be once you set up your Active Directory. I have used it in the past for permissions with individual and security groups..

[Here is a quick guide on implementing LDAP.
https://confluence.atlassian.com/doc/connecting-to-an-ldap-directory-229838241.html](https://confluence.atlassian.com/doc/connecting-to-an-ldap-directory-229838241.html)

comments: author: Tori Krueger
body: Great thanks!


Tags: confluence-server

server
I want to install Confluence (and JIRA) onto my hosted webspace for which I use IONOS as a provider.
Asked by Ian Reekie:

Hi

I have just purchased Confluence (Server) and also JIRA Server.

I want to install these and access them via my hosted webspace which is hosted by Ionos.

They are asking for some "requirements" to allow them to evaluate whether the software will run on their shared server.

Can you help or provide any advice please?


Answers:
author: Mikael Sandberg
body: Hi [@Ian Reekie](/t5/user/viewprofilepage/user-id/3667633),

Welcome to Atlassian Community.

If your provider is looking for the system requirements, you can find the ones for Jira here, [Supported platforms](https://confluence.atlassian.com/adminjiraserver/supported-platforms-938846830.html) and [Jira applications installation requirements](https://confluence.atlassian.com/adminjiraserver/jira-applications-installation-requirements-938846826.html), and Confluence [System Requirements](https://confluence.atlassian.com/doc/system-requirements-126517514.html).

comments: author: Ian Reekie
body: Thank you


Tags: confluence-server

server
Macro HTML Include - Available for Cloud as well ?
Asked by Iuliana Burgi Jurj:

I am an Confluence Cloud admin and I have been requested to install, on our SaaS instance the Macro HTML include.

Unfortunately, I can not see it in the system. so I have to ask: Is this Macro available for Cloud sites as well ? And if no, what would be a good candidate to replace it ?

<https://confluence.atlassian.com/doc/html-include-macro-169120653.html>


Answers:
author: Sven Schatter _Lively Apps_
body: Well, probably [this app](https://marketplace.atlassian.com/apps/1212279/html-macro-for-confluence-cloud?hosting=cloud&tab=overview).

However, be aware that in the Cloud macros are always sandboxed inside iframes. This means by design the HTML macro does not nearly have as much power in the Cloud as on Server.


Tags: cloud

confluence-cloud
Confluence CLI addLabels function doesn't add label to space
Asked by Christian Olschinka:

Hi,

I tried to use the addLabels function of Bob Swift's Confluence CLI client to automatically add a category/label to a space like this:

... --action addLabels --space "XYZ" --labels "some-label"

The verbose output returns http code 200 together with the message "1 labels added to space XYZ.", so no errors during the call, but if I want to review the results in the space details, I find that the label wasn't acutally attached to the space. The automation user has all space permissions and I also limited the test to existing labels, but nothing helped so far.

Can anyone help? Is this a bug?

Thanks and regards

Christian


Answers:
author: Amulya Akula {Appfire}
body: Hi [@Christian Olschinka](/t5/user/viewprofilepage/user-id/1501986) ,

We are from BobSwift support team.

Yes, your action is correct. With the above cli command, the labels should get added to the space categories section in the Space Tools.

We have opened a Support Request [3293](https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-3293) for this issue. Could you please signup to our portal for further discussion on this ticket, [3293](https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-3293) ? As we need few more details to investigate the issue and ensure that the action is running as expected

Regards,  
Amulya Akula

comments: author: Christian Olschinka
body: Hi [@Amulya Akula {Appfire}](/t5/user/viewprofilepage/user-id/3603513),

thank you for your quick response. I have signed up to the portal, but cannot see the ticket you mentioned yet.

Regards

Christian


author: Amulya Akula {Appfire}
body: Hi [@Christian Olschinka](/t5/user/viewprofilepage/user-id/1501986) ,

Thank you for creating the request. Please access the support request, [SUPPORT-3293](https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-3293), now and let us know if you face any issues.

Regards,  
Amulya Akula


author: Amulya Akula {Appfire}
body: Hi [@Christian Olschinka](/t5/user/viewprofilepage/user-id/1501986) ,

We see that you are using the CLI client v8.0.0 and the server url as <https://test.teamspace.rheinmetall.com/confluence>

We would request you to please download the CLI Client v9.0.0 from this [page](https://bobswift.atlassian.net/wiki/spaces/ACLI/pages/16875586/Downloads).

Once you download, update the file and then execute the action, addlabels and let us know if this works.

```
--action addLabels --space "XYZ" --labels "some-label" --debug
```

Also, ensure that if the base url is <https://test.teamspace.rheinmetall.com/confluence> then the server parameter should also be <https://test.teamspace.rheinmetall.com/confluence>.

Regards,

Amulya Akula


author: Christian Olschinka
body: Updating the CLI client from 8.0.0 to 9.0.0 solved the problem.

Thank you

Christian


Tags: cli

confluence-server

server
Editing a Word File
Asked by dfalardeau:

I am completely new to Confluence so not sure if what I've encountered is a bug or just because I'm new to this.

I noticed that the PDF View and the Office Word/Excel/Powerpoint macros don't appear to be working per tickets CONFCLOUD-66870 and CONFCLOUD-65753. This means I can not view a Word file, which I've tried and confirmed I cannot view. My understanding is that the "Edit with" button is only available when viewing a file, which will then download the "Atlassian Companion App" the first time you click this. However since I can't view the Word file, I also am not getting the "Edit with" button.

I should clarify that I'm using the 'File list' page and not the Attachment feature for a blank page.

Is there another way to view/edit an Office file?


Answers:
author: Stephen Sifers
body: Hello and welcome to the Community!

Looks like you've done some great research on your ask of editing office files within their native app already, well done! The bugs you reported are also great, here are the actual links for others to see:

* [CONFCLOUD-66870](https://jira.atlassian.com/browse/CONFCLOUD-66870)
* [CONFCLOUD-65753](https://jira.atlassian.com/browse/CONFCLOUD-65753)

As you reported as well, the Companion app is our answer to editing files within their native applications. Outside of this solution, you may look at the marketplace to see if there is a candidate app to help with editing your files. You may find the marketplace at <https://marketplace.atlassian.com/>

You are correct in that you must "View" the file first before being able to edit the file. Further information on this may be found at [Edit files](https://confluence.atlassian.com/confcloud/edit-files-724765124.html). If this is not what you're able to experience, could you please include a screenshot so we may see where the problem on viewing before editing is?

We look forward to hearing back.

Regards,  
Stephen Sifers


Tags: confluence-cloud

new-to-confluence
SQL query to find all users who never logged in
Asked by Simha Gontmacher:

Hi,

Do you know how can I get the list of users who never logged in into Confluence, while Confluence is connected to JIRA directory.

This query does not seem to work as it brings me users who actually logged in

What is the right way to find these users?

Many thanks!

    select user_name from cwd_user where user_name not in(SELECT cwd_user.user_nameFROM cwd_user, cwd_user_attributeWHERE cwd_user_attribute.user_id = cwd_user.idAND cwd_user_attribute.attribute_name = 'lastAuthenticated');



Answers:
author: Shannon S
body: Hello Simha,

Thank you for contacting us about this. The query is indeed the right one, the same as the one listed in [How to check for users who never logged into Confluence](https://confluence.atlassian.com/confkb/how-to-check-for-users-who-never-logged-into-confluence-777015610.html):

    select user_name from cwd_user where user_name not in(SELECT cwd_user.user_nameFROM cwd_user, cwd_user_attributeWHERE cwd_user_attribute.user_id = cwd_user.idAND cwd_user_attribute.attribute_name = 'lastAuthenticated');

The query should list any users who do not have a last authenticated date listed. I just ran the query on my own instance, and I can confirm it only returns users who have never logged in.

If you're getting another result there, you could also try the query at [How to Identify Inactive Users in Confluence](https://confluence.atlassian.com/confkb/how-to-identify-inactive-users-in-confluence-214335880.html). You'll be able to list users who have not been active since a certain date.

Let me know if you have any questions about that.

Regards,

Shannon

comments: author: Manuel
body: I have same issue like Simha. The provided sql shows user that do have a last login date.


author: Rodolfo Romero - Adaptavist
body: The correct query should use the 'login.count' attribute instead. Like this.

```
SELECT LOWER_USER_NAME as username, lower_email_address as email, lower_display_name as displayname
FROM CWD_USER 3WHERE LOWER_USER_NAME not in 
       (SELECT CWD_USER.LOWER_USER_NAME
        FROM CWD_USER, CWD_USER_ATTRIBUTES
        WHERE CWD_USER_ATTRIBUTES.USER_ID = CWD_USER.ID
          AND CWD_USER_ATTRIBUTES.ATTRIBUTE_NAME = 'login.count');
```

comments: author: Om Joshi
body: hi is there anything for bitbucket?


Tags: confluence-server

server
Coloring the site
Asked by Erik Siebering:

I have managed to set a coloring scheme for my confluence site. However, it does not seem to work all the way through the site. For example I would like the side bar to have a gray background. The menu which is shown after logging in, is shown in the appropriate way. However, as soon as I select \[Spaces\] it returns to a white background. Is there a setting that I missed?

Oh, and I was wondering whether how to change the coloring of the articles on the site. Again, shown with a white background. Might be useful to ahe a different backgound color.

Many thanks for any responses.


Answers:
author: Aron Gombas _Midori_
body: You can set look for [individual spaces](https://confluence.atlassian.com/confcloud/working-with-themes-724765503.html) and for [the whole Confluence site](https://confluence.atlassian.com/confcloud/customizing-color-schemes-724765499.html). (The latter should be applied to the Spaces screen, unless I'm mistaken.)

If these built-in features are not sufficient for your needs, there are more flexible themes provided by apps. Check the "themes" category at Atlassian Marketplace.

comments: author: Erik Siebering
body: Thanks for mentioning this. But I found that one already. The issue is that when I open the site is shows the main menu on the side bar in the chosen colors. However, as soon as I pick a space, it will return to the basic colors. On the space settings window I do not find anything related to the coloring of the pages. Unless you are talking about themes. Did have a short look at that but so far haven't found anything that would solve my wishes.


Tags: cloud

confluence-cloud
Confluence help page redirects to wrong mobile version of the site
Asked by Maxim Suharev:

We're using short link to iOS help page: [https://help.worldapp.com/x/voDJAg](https://help.worldapp.com/x/voDJAg "Follow link") (Full link: [https://help.worldapp.com/display/FHC/Form.com%3A+iOS+App+Guide](https://help.worldapp.com/display/FHC/Form.com%3A+iOS+App+Guide "Follow link"))

It shows expected content when opened on a Desktop (or iPads which requests Desktop version of the site), but when opened on a Mobile device it's redirected to [https://help.worldapp.com/plugins/servlet/mobile?contentId=46760126#dashboard/popular/1](https://help.worldapp.com/plugins/servlet/mobile?contentId=46760126#dashboard/popular/1 "Follow link")

and displays irrelevant content.


Answers:
author: Shannon S
body: Hello Maxim,

Welcome to Atlassian Community. It's nice to have you.

I'm testing this on my iPhone running iOS 13, and it does seem to work for me:

![IMG_3780.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/77695i4D4DFB9DE7A9F4D2/image-dimensions/260x563?v=v2 "IMG_3780.PNG")

I'm able to confirm this on both Safari and Chrome. The only curious thing is that it loads the desktop site and not the mobile version. Did you disable the mobile version of the site to resolve the issue, perhaps?

Regards,

Shannon

comments: author: Maxim Suharev
body: Yes, we had to disable mobile version of the site, since it was redirecting to wrong page and our users could not see the needed content. Because of this issue, we're currently displaying a desktop version as a workaround.


author: Shannon S
body: Thanks for letting me know, Maxim.

Can you confirm; were you able to replicate this with other pages, or was it only the specific page?

Did this occur whether or not you were already logged into the Confluence instance on your device?

When did you first encounter this issue?

Thank you for your help!

Shannon


Tags: confluence-server

server
How to align and resize images in tables?
Asked by Amy Scales:

Since the introduction of the new editing view in confluence, I can no longer align or resize images in tables. Images added are always centre aligned in the cell (even when everything else is not) and the images cannot be resized.

Even outside of tables, the new image resizing method is terrible (unable to specify a size in pixels, making it hard to standardise across pages).

Is there a workaround I can use, or will this be fixed?


Answers:
author: Stephen Sifers
body: Hello Amy,

Thanks for reaching out to the Community for your question about resizing images within tables for the new editor. There is good and bad news on this issue, the bad news is resizing images is not yet possible in the new editor. With the bad news out of the way, we can move on to the good news, which is that there is a feature request for this already which you may find at [CONFCLOUD-65573](https://jira.atlassian.com/browse/CONFCLOUD-65573). We would ask you to please vote and watch this request for future updates along with adding your thoughts to the request.

Currently, there is not a workaround for resizing images within a table.

Regards,  
Stephen Sifers

comments: author: Amy Scales
body: What about aligning images? When the text is right aligned but image can only be centre aligned, it looks pretty messy.


author: Stephen Sifers
body: Hello Amy,

When I tested having text right-aligned with a right-aligned image as well I was able to either put the image above or below the text since they're both right aligned.

Please note:

* That since they're both right-aligned they will not appear on the same line.
* If you want the text to display next to an image then the text will have to be an opposing alignment to the image.
  * Example: Right-aligned image with Left-aligned text
  * Example: Left-Aligned image with Right-aligned text.
* Center aligning the text will place the text out of alignment with the image and allow the text to either be displayed above or below the image, not in line with the image.

With this said, are you able to left align your text while having a right aligned image?

Regards,  
Stephen Sifers


author: Amy Scales
body: I am unable to change the alignment of any images used in tables, the alignment button is greyed out. Images just appear centre aligned and huge!


author: Stephen Sifers
body: Hello, again Amy,

Thanks for the quick reply and verification. We appreciate you working with us to explore this problem. From your notes, I'm able to understand the issue a bit more now and thank you for the clarification. I was able to confirm there is a feature request to have this type of functionality added to the new editor. You may find this request at [CONFCLOUD-68427](https://jira.atlassian.com/browse/CONFCLOUD-68427). Same as the previous request we will ask you to vote and watch this request to receive updates on its status.

Regards,  
Stephen Sifers


Tags: confluence-cloud
How do you link to attached images with the new editing experience?
Asked by John McIntyre:

I would have expected it to be easy to take an image that is an attachment on a Confluence page, and display it as an image on the page itself. This certainly used to be easy.

But now, when I try to insert an image, I only have a choice of uploading images, not using images that are already attached to the page.

Is it just me? Am I overlooking something obvious? The only workaround I can see is adding a gallery macro and explicitly including the only image that I want to appear.

Many thanks,

John


Answers:
author: Bert Neufert
body: That's true.

The problem is:  
how do you insert an image during page editing, which already exists as an attachment but not visible on the page? So you can't copy/paste here....

Steps to reproduce:  
1. add a new page

2. in menu select attachments.

3. add all image files you want to use for this page

4. change back to the page and start to edit.

5. try to add the already attached images to your text :-(

Now you only can select a new file from your locale filesystem, not from the already existing attachements.   

Same problem:   
Delete all your images from a page in edit mode. The images will be still available as attachments but not referenced anymore as a images in the page text. Now your are not able to add them anymore to the text. One workaround: Download the image and upload again via "add image" during editing the text. :-(  

<br />

<br />


author: Alex Koxaras _Relational_
body: Hi [@John McIntyre](/t5/user/viewprofilepage/user-id/3593483)

While editing the page, you can click on the image, copy it, and paste it wherever else you want it.


Tags: cloud

confluence-cloud
Jira error please help
Asked by rajni kanth:

Technical details {#toc-hId--1383959566}
----------------------------------------

Log's referral number: **3a0a88af-8aba-4b54-83d3-e20f5ae2f99d**

Cause {#toc-hId-1103553267}
---------------------------

Referer URL: **<http://10.200.208.122:8080/secure/Dashboard.jspa>**

```
com.opensymphony.module.propertyset.PropertyImplementationException: Unable to load values for CacheKey[entityName=ApplicationUser,entityId=10100]
```


Answers:
author: rajni kanth
body: This error is related to JIRA and not confluence.

please direct me how can i check logs for JIRA.

comments: author: Nic Brough -Adaptavist-
body: Then why label it confluence and put it in the confluence area?


author: rajni kanth
body: how to move it to JIRA software now.


author: Nic Brough -Adaptavist-
body: We can't tell you much from that, other than Jira has had a problem with something.

Could you look at the application log for the full error? Should be in \<jira home\>/logs/atlassian-jira.log


Tags: jira

jira-server