youngmon/atlassian-qna huggingface dataset:
Receiving error 500 when accessing to Confluence hosted on Openshift platform
Asked by Thomas Montcuquet:

Hello everyone,

I would like to use an Atlassian Confluence on an Openshift 3.11 platform so I used the docker image "atlassian/confluence-server" and deployed it.

I created a route and tried to access it but I stumble on an error 500 page with the logs displaying an error message : org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.errors_jsp

I am pretty new to Confluence and a kind of beginner to Openshift. What is the reason of this error and how is it be possible to fix it and access to Confluence ?

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/46993i037BCB87F1558629/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Shannon S
body: Thomas,

I'd be interested to see the more detailed Confluence server logs, but I suspect you might not have enough disk space.

See [Confluence starts up with error message Unable to load class for JSP](https://confluence.atlassian.com/confkb/confluence-starts-up-with-error-message-unable-to-load-class-for-jsp-314450301.html) for further details.

If this doesn't help resolve your issue, then have a look at what errors are being produced in the server logs when you encounter this error in the UI, and share them here.

Regards,

Shannon

comments: author: Thomas Montcuquet
body: Thank you Shannon for your answer,

I tried to fix the issue while assuming it was disk space related but I didn't find any change. It's strange because the server has normally enough disk space to run a Confluence. I even tried to create a persistent storage on the Openshift plateform dedicated to the Confluence pod with enough space but it didn't worked out (perhaps I got it wrong).

Here is the logs I get : <https://drive.google.com/file/d/1K5dokkUHFhL0GmGrwKGxJLhc6BVyCVfR/view?usp=sharing>

But when I access to the /opt/atlassian/confluence/logs/ directory there is no files in it.

Thank you,

Thomas


author: Shannon S
body: Thomas,

I don't believe that's the location of your Confluence home directory, which is where your logs are located.

* [Working with Confluence Logs](https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html)
* [Confluence Home and Other Important Directories](https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html)

You seem to have a large number of permissions errors as well, which you can resolve with the following:

* [The scratchDir specified is unusable](https://confluence.atlassian.com/confkb/the-scratchdir-specified-is-unusable-712410983.html)

Please try to first correct your directory permissions issues, and then if you're still having issues we can proceed by looking into the Confluence server logs.

Regards,

Shannon


Tags: confluence-server

server
Confluence cloud (v6.14) macro list
Asked by Anand Rajaraman:

Is there a way in Confluence cloud (v6.14) to view all the macro list by any command, like man pages in UNIX.


Answers:
author: Yoga Reddy {Appfire}
body: Hi [@Anand Rajaraman](/t5/user/viewprofilepage/user-id/2776824)   

I don't think so we have a command to get the macros list.  

The following [Macros](https://confluence.atlassian.com/confcloud/macros-724765157.html) documentation will provide you the list of macros currently bundled with Confluence cloud. Please go through the link to get familiar with all the macros.  

Thanks

Yoga

comments: author: Anand Rajaraman
body: Thanks Yoga for the quick response. The URL you had sent is useful.


author: James Dellow
body: When you are in the editor, the macro browser lets you see all the macros available. You can view by category and search. See <https://confluence.atlassian.com/confcloud/navigating-to-the-macro-browser-724764579.html>


Tags: cloud

confluence-cloud
Confluence iOS Mobile App - Broken Image error on pages
Asked by Adrian Buckman:

We are trialing mobile access to our Cloud hosted Confluence site using the mobile app.

Access is working fine, pages render fine (so far).

The issue is with images.

For images within pages, we consistently get '(i) Broken Image' messages displayed. The images are there on the laptop.

Question: how do I get images displayed ?

Many thanks

Adrian


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

Thank you for providing details into the issue you're having along with steps taken to verify the broken images.

I can confirm there is an open bug request for this issue. You may find this bug request at [CONFCLOUD-59122](https://jira.atlassian.com/browse/CONFCLOUD-59122). We would suggest you vote and watch this request to receive future updates on its status.

As of now, the workaround is to upload the attachment directly to the page instead of using a reference link from another page.

I hope this helps in your evaluation of the mobile application.

Regards,  
Stephen Sifers


author: Stephanie Zhang _Product_
body: Hey there [@Adrian Buckman](/t5/user/viewprofilepage/user-id/2386039)

I'm a product manager with the Confluence Cloud Mobile team and would love to hear more about your use cases and your feedback overall with our product.

If you're interested in a 30 min feedback session, could you please email szhang5@atlassian.com with your availability? Thanks and looking forward to hearing back!


Tags: cloud

confluence-cloud

image

ios
deleting a page errors
Asked by Pete Fishwick:

Hi  
I have moved a page from one space to another space and now I cant delete or re order anything in this page tree in the new space - I just get an error like this when moving  

The following error(s) occurred:

* Move failed. There was a problem contacting the server.  

  <br />

  <br />

or If I try to delete the error is

**Delete failed**

We couldn't delete your pages. Try again.

Has anyone any advice here - I tried to move the page back but that doesnt help either

Thanks


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: Hi [@Pete Fishwick](/t5/user/viewprofilepage/user-id/2717505) ,

Please check if you have 'Delete' permissions in the space you are moving your page to. In case you are using IE, try using a different browser and see if it works fine there (as IE may have some latency issues at times).

You may also want to visit [this](https://confluence.atlassian.com/confkb/unable-to-move-pages-due-to-error-there-was-a-problem-contacting-the-server-215485073.html) page, if the problem still persists.

Thanks

Sireesha

comments: author: Pete Fishwick
body: Hi  
Thanks for reply - I have full ownership of the space so it wasnt that . However things are now working so must have been some transient state at the backend while the move looked completed perhaps its re indexing etc wasnt - not sure but I am good now

Thanks

Pete


author: Steve Shaw
body: Hello!

This was most likely caused by an out of date index which simply needed to be refreshed. Reference: [A "Delete failed" message displays when trying to delete a page.](https://confluence.atlassian.com/pages/viewpage.action?pageId=1005788905)


Tags: confluence-server

server
Change image title when copy/paste to confluence page
Asked by Dominic Lagger:

Hello everybody

In our company, there are a lot of users, which copy/paste images from a snipping tool to a confluence page. So when the image in confluence is pasted, the default image title is a timestamp.

The timestamp title is neither meaningful nor useful.

Is there a way, to set the image title name when you copy / paste an image to confluence from a snipping tool?


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: Hi [@Dominic Lagger](/t5/user/viewprofilepage/user-id/601600)

In a page, you can rename the image by navigating to ***Ellipsis (...) \> Attachments \> Properties***, editing the name, and saving the details. You may not be able to rename the image while copy pasting.

However, it is always suggested to include any image in the page by using the *Insert files and images* option from the menu. If you copy paste an image, many a times, you see a broken image in a different browser or incognito window or when you upgrade your confluence.

Hope this helps!

Thanks

Sireesha

comments: author: Dominic Lagger
body: Thanks for the suggestion.

I know, that you can change the name afterwards. But that's not really done by the users... so i look for an workaround, maybe by a plugin, which pop up when you paste an image, like jira does

![attach screenshot.png](https://community.atlassian.com/t5/image/serverpage/image-id/47001i68B422297A9B99B1/image-dimensions/194x206?v=v2 "attach screenshot.png")

Do you know, is there a way to block the users copy pasting the images, so that they have to use *insert files and images* from the menu?


Tags: attachment

confluence-server

image

server
confluence can't restart in docker
Asked by hello dev:

I deploy confluence in docker swarm,when i restart the container

Couldn't lock file 'lock' in directory /var/atlassian/application-data/confluence Make sure the directory is not being used by another Confluence instance.


Answers:
author: Kiran Panduga {Appfire}
body: Hi [@hello dev](/t5/user/viewprofilepage/user-id/2611172) ,

Make sure to delete the **lock** file in /var/atlassian/application-data/confluence directory and then restart the container. Confluence should come up.

Thanks,

Kiran.


author: sara
body: Hi,

Is docker swarm suitable for datacenter instances?.As swarm manager uses ingress load balancing i dont think sticky sessions will be retained.
Does the AO_92296B_AORECENTLY_VIEWED table show 'ghost' values?
Asked by Fareeha Ahmed:

Querying the table for a user that has not yet logged in using the following format:

```
SELECT *
FROM "AO_92296B_AORECENTLY_VIEWED"
JOIN user_mapping u ON u.username = 'user_name_here'
ORDER BY "LAST_VIEW_DATE" DESC;
```

results in an output where the user has supposedly seen all of the pages in our system, with varying dates from 2 months ago until today. How is this possible when the user has never logged in? When checking recently viewed pages for a user when they first log in, nothing shows up - so why does the database say otherwise? Are we querying this table correctly? How does Confluence fetch recently viewed data?

We found this query from the following <https://confluence.atlassian.com/confkb/how-can-i-find-which-pages-users-have-recently-viewed-954251927.html>


Answers:
author: Fareeha Ahmed
body: Nice, after spending the majority of the day trying to figure out the answer, we ended up figuring it out after 30 minutes of posting this question. Here's the right query when searching by username:

```
SELECT *
FROM "AO_92296B_AORECENTLY_VIEWED" rv
JOIN (select user_key from user_mapping WHERE username = 'user_name_here') u ON u.user_key = rv."USER_KEY"
ORDER BY "LAST_VIEW_DATE" DESC;
```


Tags: developer
Can't jump to Anchor pages containing draw.io images at the top of the page!
Asked by Madhav Gudimetla V:

Include draw.io plugin in your confluence.

Create pages and sub pages and include draw.io images inside these pages and sub pages.

In one of the sub pages where there is a draw.io image on top, and some fairly large text in the page, create an anchor somewhere at the bottom of the page.

In the main page, create a link pointing to the anchor in sub pages. Publish both pages.

Click on the link in main page to see if user is navigated to the anchor page where there is a draw.io image.

It can be noticed that the user is not navigated correctly to the anchor handle but somewhere near the top of the page.

It must also be observed that the image loads when the page actually moved to anchor position. By the time image gets loaded, the page view gets re-adjusted, therefore removing the anchored spot from view.

This is a bug, and needs to be fixed. Or, did someone already faced this problem, and have a solution. Please let me know.


Answers:
author: Marija Radovic
body: Hi,

Thanks for contacting us.

At the moment, draw.io doesn't support using anchors for Confluence Cloud (only for Confluence Server) but feel free to vote for this feature request here:

<https://trello.com/c/yB3BgbDC/8-link-to-an-anchor>

Thanks!

Kind regards,

Marija

draw.io support
Change calendar start day to Sunday?
Asked by K Barton:

My calendar starts the week on Monday and it is confusing. Is there a way to get it to start on Sunday? I was able to change it in the past, but it has stopped working.

I have changed my language setting to English (US), and it has worked in the past, but it it is back to starting on Monday even when the browser and Confluence settings set to US English. Is there another way to get the start day back to Sunday?

I am the only one in my team that needs the start date on Sunday, so changing the entire teams calendar view would not be ideal.

![EnglishSetting.jpeg](/t5/image/serverpage/image-id/46929iBAA285504BF359E3/image-size/large?v=v2&px=999 "EnglishSetting.jpeg")


Answers:
author: Charlette Lin
body: I am also trying to change my calendar to start on Sunday. I tried changing my language to English (US), but that didn't work. This was on Chrome Version 78.0.3904.97 (64-bit).

I tried changing my language to English (UK), saving, checking (no change), and then switching back to English (US). That didn't work.

I tried logging off and logging back on. That didn't work.

I tried on Firefox Version 68.2.0esr (64-bit). That didn't work.

I tried on Internet Explorer Version 11.864.17763.0CO. The calendar didn't even load. (I don't blame you guys. That's probably an IE thing.)

I guess I'll just deal with Monday being the first day of my week. :P It's not a big problem.

comments: author: Terri Lackey
body: Same here. It's driving me batty. My Google calendar starts on Sunday and I want the Trello calendar to do the same.


author: Dimo Dzhurenov
body: This functionality is broken as hell. Both global and local (user) settings are set to English (UK) and it keeps giving me Sunday as the start of the week. Clearing the cache didn't help as well


author: Zak Laughton
body: Hi K,

I know how confusing it can be to have the week starting on Monday in Team Calendars! Usually though, as you mentioned, changing your user's language to "English (US)" should force the week to start on Monday.

A few questions/things to try:

* Did your Calendar used to start the week on Sunday? If so, were there any changes to your environment or profile around the time this started happening?
* Does this happen in more than one browser?
* Does this happen when you log off and log back on?

-- Zak

comments: author: Rafa
body: I know this is old, but language and calendar should not be correlated.

Just add a config to set the start of the week, and keep it.

In 2024, my calendar now shows start of the week on Sunday, and even though I can set it to monday on the settings panel (and hide releases and sprints), every time I reload the calendar (so the "today" flag is updated to the current day, or shows any new info), it resets back to sunday and showing sprints and releases.

The amount of _wrong_ and inconsistent assumptions the Jira stack makes all over the place is frustrating.


Tags: calendar

confluence-server

server
@mention not working in templates
Asked by Megan McKenna:

@mention works find on a blank page, list drops down and emails are sent. However, when I try to do this in a template (such as the macro Text data from ServiceRocket) it does not work. Thanks!


Answers:
author: Dominic Lagger
body: Hi Megan

Which version of Confluence do you use and do you have server oder cloud version?

Another user tried to do the same [here.](https://community.atlassian.com/t5/Confluence-questions/User-mentions-not-working-in-a-template/qaq-p/1017131)

The answer there is, that there's already an issue reported for confluence cloud version

* [CONFCLOUD-65703](https://jira.atlassian.com/browse/CONFCLOUD-65703) *@ Mentions are no longer possible in template editor*

comments: author: ChristianWaidner
body: I have a similar problem since upgrading to 7.2.1 on server - alle mentions in a template are now listed as "unkonwn link". Anything I can do to get this working again?


author: Colin Staeger
body: Hi Christian,

I don't know if you've seen it already but the issue has been closed in Confluence server aswell, with version 7.2.2.

[CONFSERVER-59370](https://jira.atlassian.com/browse/CONFSERVER-59370?_ga=2.163763711.1971444925.1581930835-2079030233.1562829192&error=login_required&error_description=Login+required&state=641a8339-b7a4-4275-8162-54f5c5dbdb2e)


Tags: confluence-server

server
Email Notification Error
Asked by Rochelle Lim:

.I @mention team members so they get an email to alert them that a monthly doc is available for updates, along with a quick link to the page. The issue is that the body of the email notifications simply shows them, "*Error: \[com.ctc.wstx.exc.WstxLazyException\] Unexpected character '\<' (code 60) excepted space, or '\>' or "/\>" at \[row,col {unknown-source}\]: \[1,423\]*".

Any ideas of what I'm doing wrong that would cause this error in the email notification they receive?


Answers:
author: Marty
body: Hi Rochelle,

I am not on the Confluence team but I will try to help.

This error usually means that there is some text on the Confluence Page that Confluence has trouble processing. Is there anything special about the page your @mentioning your colleagues on? Do you have any add-ons being used?

I would suggest starting with a blank page and adding an @mention, to see if that works.

Then you could progressively add content to the page to find out which piece of content is causing the issue.

I hope that helps!

comments: author: Rochelle Lim
body: I will give this a shot--thank you Martyn!
Bulk Reenabling Users
Asked by Rodney Sawyer:

We have had a small team using an instance of Confluence for a few years. Over time we disabled users that were not actively using it to stay under our 500 user limit. Now we have upgraded to a 10000 user license and are preparing to roll it out to the entire organization... So i need to re-enable hundreds of accounts we disabled. I do not really want to go through clicking the "Enable" button hundreds of times.

Also, if this helps, I am going to be changing and/or adding new User Directory options to pull in everyone instead of just IT.. if a user is disabled already but now in the new directory will they will be disabled?


Answers:
author: Stephen Sifers
body: Hello Rodney,

The problem you're describing can be an issue when dealing with the volume of users you have licensed. Ideally, when you're dealing with this many users, you would want to control the users through an external directory instead of the internal directory. Using an external directory would allow you to have better control of groups and accounts across all of the Atlassian tools.

You do have options for external directories you can configure with Confluence and other Atlassian tools. You may find more about user directories at [Configuring User Directories](https://confluence.atlassian.com/doc/configuring-user-directories-229838212.html).

An alternative would be to use the Atlassian tool named Crowd which helps with managing users across the Atlassian tools. The Crowd application does have a REST API to allow for automation and bulk management of users within the Atlassian tools. You may find more about Crowd at [Single sign-on and user identity that's easy to use](https://www.atlassian.com/software/crowd).

Without the use of an external user directory or Crowd, you will have to edit the user manually as there is no bulk options or available REST API to do this within Confluence itself.

I hope this proves helpful and give some guidance on how to move forward with better control of users management.

Regards,

Stephen Sifers


Tags: confluence-server

server
Plug In Utilization
Asked by Scott Derderian:

Does anyone have a method to determine how prevalent a given plugin is used in a given Confluence instance (either via Database or Content Interrogation)?


Answers:
author: Craig Castle-Mead
body: Hey Scott,

Depends what you mean by "prevalent". The below options are purely indicative only.

* Usage within the database - <https://confluence.company.com/plugins/servlet/active-objects/tables/list>
  * This lists all the AO (active objects) tables and how many rows are in each. Main issues to watch out for here is apps can have high use with low database rows (a UI side tool), low records with high business value, use a different storage mechanism completely (EazyBI)
  * Get grepping on your web-server logs!
    * You may not have logs for a long enough period of time (not enabled or log rotation on)
    * Figuring out the URL patterns that line up with each app can take some time. We've configured our Logstash environment to tag requests with the apps/actions based on URL patterns and so we can easily dashboard / report on usage. Each update means re-validating the patterns though.
* If your main driver is reviewing the usage to determine if it's worth renewing a set of apps, the above two options will hopefully give you some indication of usage though.

CCM


Tags: confluence-server

server
what specific version of jdk bundled with confluence 7.0?
Asked by Jared Michlik:

what specific version of jdk bundled with confluence 7.0?


Answers:
author: Daniel Eads
body: Hi Jared,

Confluence 6.14.0 installed via the bin/exe installers comes bundled with **Oracle** Java 8u192 (build 1.8.0_192-b12)

Confluence 6.14.1 bundles with **OpenJDK** Java 8u192 (AdoptOpenJDK)(build 1.8.0_192-b12)

Going forward we will continue to bundle OpenJDK in future releases. More info for recommended Java versions for specific versions of Confluence is available on the [Supported Platforms](https://confluence.atlassian.com/doc/supported-platforms-207488198.html?_ga=2.267266126.156025553.1551099577-1859299296.1550012553#SupportedPlatforms-Java) page. Great question!

Edit: Your question now mentions 7.0 (instead of 6.14). While Confluence 7.0 is not yet in the [Early Access Program](https://www.atlassian.com/software/confluence/download-eap), it will be bundled with an OpenJDK *at least* 8u192 or above. If there are significant changes (for example, Java 11), you can keep an eye on the [Preparing for Confluence 7.0](https://confluence.atlassian.com/doc/preparing-for-confluence-7-0-950280675.html) to get more information when it is available.

Cheers,  
Daniel