youngmon/atlassian-qna huggingface dataset:
How to migrate Confluence from H2 to Postgres
Asked by Steve Kellogg:

Hello,

I have a starter license of Confluence Server. I had started with a cloud account, but there were a couple of content plugins that I needed that were only available as "server". This is a one user instance for documentation, so I'm not worried about production *performance,*but reading some of the posts here, it sounds like Atlassian wants us onto an external database because they aren't confident in the security or recoverability of the built in H2 DB.

As a result, I'm trying to get setup with a Postgres DB server, but I'm having trouble finding a tutorial on this that walks me through it like the idiot that I obviously am since I've been unable so far to get it all working.

Is anyone here familiar with such a guide that they might be willing to share?

My setup is quite simple.

* I have docker running on a single box.
* I've installed "Atlassian/confluence-server" (the official docker image)
* I've installed "postgreSQL" (the official docker image)

When I run the Confluence instance and get the setup routine, I select External database, and choose "Postgres".

The current problem I'm having is that I can't seem to figure out the connection details. I've tried putting in the docker container name of the db ('confluencepostgres'), and I've tried putting in 'localhost' or '127.0.0.0' or '127.0.0.1'. with the default Postgres port (5432?), but no combination allows the connection test to work


Answers:
author: JP _AC Bielefeld Leader_
body: Hi,

this seems to be docker related. As you run two docker images, I would assume they got different docker internal ip addresses. So connecting them via 127.0.0.1 will not work.

Did you do things with docker before? I would check to to retrieve the docker ip address of the postgres box \& try to use that one.

Best

JP


Tags: confluence-server

server
ConfiForms: How do I apply a date filter to TableView?
Asked by Albert:

Hi, I'm trying to apply two filters to TableView and one is a date. I can get the first filter to work but when I add a second with "\&\&" it doesn't want to filter all dates that are greater than today. What am I doing wrong? Can someone please assist?

![filter date.PNG](/t5/image/serverpage/image-id/61652iFDD3B55F6000A1CE/image-size/large?v=v2&px=999 "filter date.PNG")![filter date 2.PNG](/t5/image/serverpage/image-id/61653iBC39DC56B3CB21FB/image-size/large?v=v2&px=999 "filter date 2.PNG")


Answers:
author: Chris_Stewart
body: Try using 'AND' instead of '\&\&' for the filters as indicated at the link below. Keep in mind that AND and OR are case-sensitive.

<https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Filters>

comments: author: Albert
body: Thank you for posting the documentation! I was able to do what I wanted to do by inputting this in the filter

room:1 AND date:\>=\[today\]


Tags: confiforms

confluence-server

server
How do I subscribe to a calendar in Pagerduty using team calendar? seeing error unable to read
Asked by Dawud Bey:

Hi,  

I have an on-call schedule in Pagerduty, rather than export the schedule and import to a new page in confluence. I would prefer to subscribe to the schedule, just in case changes are made.

<br />

When I attempt to subscribe to the schedule using team calendar, i receive an error, saying "unable to read specified calendar" . see screenshot.  

Note - if I export the schedule as an .ics file and import into Confluence or Outlook or GMail it works without any issues.   

<br />

Steps to reproduce

1. Follow steps here to subscribe to a calendar. We are using a pagerduty schedule

<https://confluence.atlassian.com/teamcal/subscribe-to-google-calendars-from-confluence-240913761.html>

<br />

<br />

![screenshot_error_test calendar.png](/t5/image/serverpage/image-id/61632iD07C043D14C6104C/image-size/large?v=v2&px=999 "screenshot_error_test calendar.png")

2.we see error when specifying the url below for the URL field

iCalURL=<https://panwit.pagerduty.com/private/bb6aaa1482f210a88b78559cfe0ea8cb7acd32fdc1da8cc55825423c8396c104/feed/PPHLIRV>


Answers:
author: Christopher Scales
body: I have the exact problem and would love a solution.


author: Ken Dean
body: Is this issue still occurring?


author: Dawud Bey
body: this appears to be an known issue , as per below.

[https://confluence.atlassian.com/confkb/unable-to-subscribe-to-icloud-calendar-by-url-with-team-calendars-for-confluence-690850085.html](https://confluence.atlassian.com/confkb/unable-to-subscribe-to-icloud-calendar-by-url-with-team-calendars-for-confluence-690850085.html?)


Tags: team-calendars-for-confluence
Confluence favicon not updating
Asked by Ross Houck:

Pretty straight forward, updating the favicon inside of administration does not actually work.

Yes, I have seen this issue: <https://community.atlassian.com/t5/Confluence-questions/Confluence-not-picking-up-the-new-favicon/qaq-p/722583> and solution provided here: <https://jira.atlassian.com/browse/CONFSERVER-54888?_ga=2.252495946.2146986969.1563921445-1644079763.1563833092> does not resolve it for me (that and the problem was fixed in 6.7.2

Additional notes.

Was installed via the installer, though I am manually starting the service.

I have two confluence instances running, one on 8090 and one on 8092 (with Sync on 8091 \& 8093 respectively). The favicon change worked on one, but not the 8092 instance.

The systems are reverse proxied via apache httpd and presenting over SSL. Using certificates issued by our internal certificate authority (no self-signed)

Connecting to a 2016 Microsoft SQL database


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

Thank you for sharing what the issue is you're facing along with what you've researched already to attempt to resolve. Something I noted within your response is that you're running two instances of Confluence on the same server. While you may do this for lab or training, this is not a suggested practice to do in production. You may most certainly install Jira + Confluence + Bitbucket on the same server, but we would advise against installing multiples of the same application.

If you do want to use the server hardware to run multiple instances of the same application then we would suggest looking into running Confluence within a Docker container. More about this may be found at <https://hub.docker.com/r/atlassian/confluence-server/>.

Once you have your two Confluence instances split to either one locally and the other on a different server or within Docker, please then retest and see if you're able to adjust the favicon.

Regards,  
Stephen Sifers


Tags: confluence-server

server
Placemarker Anchor / Between Pages
Asked by Jen:

Is it possible to directly link a specific place on the page from another page?

Currently we are relying on the Table of Contents to link directly but I'm hoping this is a way to link the user to a specific area on the page in that original link.

Example:

Page titled "All Approvals" (pg1)

Page titled "Priority Process" (pg2)

Section of page reads "...to complete this in the system, you will need to submit a Priority Approval..." *Question is, can I link "Priority Approval" directly to the place on the "All Approvals" page where the Priority Approval is described.?*


Answers:
author: Bill Bailey
body: Short answer is, yes. If you want to link to a heading, the heading itself works as an anchor, otherwise, you need to insert an anchor in the location you want to link to. Complete details are here, under the "Link to an anchor on a page":

<https://confluence.atlassian.com/doc/links-776656293.html#Links-Linktospecifictypesofcontent>


Tags: cloud

confluence-cloud
Confluence 6.14 space import. Stuck on Starting
Asked by Ron Cherry:

When I select a space import in Confluence 6.14, The screen just stays stuck on Starting and 0% complete. I don't see any errors in the logs. Under time constraint.


Answers:
author: Ron Cherry
body: This was resolved by upgrade both destination and source to the exact same version of Confluence.


author: JP _AC Bielefeld Leader_
body: Hi,

maybe the imported space file is too large.

Did you try recovery/upload from a server directory?

<https://confluence.atlassian.com/conf614/restoring-a-space-965546318.html>

Best

JP


Tags: confluence-server

server
confluence
Asked by CHILLAMCHARLA VARUN:

Hi,

I have migrated one space including all pages from one instance to another instance successfully. How to set only watch in space but no edit.

Atlassian Confluence 5.8.18 version.

see the screenshot below i need only watcher.

![1.PNG](/t5/image/serverpage/image-id/61620i4F7A6A12B0A2D26D/image-size/large?v=v2&px=999 "1.PNG")

thanks.


Answers:
author: JP _AC Bielefeld Leader_
body: Hi,

check the Space permissions:

<https://confluence.atlassian.com/doc/space-permissions-overview-139521.html>

Best

JP


Tags: jira
I cannot display an uploaded file as a link in Confluence Cloud
Asked by Guido Bianchi:

I cannot display an uploaded file as a link in Confluence Cloud. The behavior as explained in section "Display images and files" in <https://confluence.atlassian.com/confcloud/display-files-and-images-724765104.html> (extract attached as picture) is not working. I am using Chrome as browser.  
![Display files and images.PNG](/t5/image/serverpage/image-id/61619i623C9528C881813B/image-size/large?v=v2&px=999 "Display files and images.PNG")


Answers:
author: Shannon S
body: Hello Guido,

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

The issue you are encountering is specifically with the new editing experience in Confluence Cloud. There has been a bug reported for this behavior:

* [CONFCLOUD-66167](https://jira.atlassian.com/browse/CONFCLOUD-66167) *Show as link option missing on Attachment*

Please vote on the bug above by selecting **This affects my team**. You will then be added to the list of watchers and be automatically updated of any changes.

Thank you for your help in getting some attention to this issue.

Regards,

Shannon

comments: author: Guido Bianchi
body: Thanks Shannon, just voted the JIRA issue and added myself as watcher.  
While I understand this is not the sole issue you must be driving your attention to, imho this is more than a "low" priority issue, as displaying attachments in wiki pages as links instead of thumbnails adds a lot in terms if page navigation and space.

Best, Guido


author: Shannon S
body: Hello Guido,

The development team usually will determine the priority of a request and then will change it from the low priority which was set initially. The priority can be determined from a number of ways, such as if there's a workaround for it, how many users this affects, etc.

If you're watching the bug then you will receive an update each step of the way, during prioritization, when there's progress being made, and when it has been resolved.

I hope that clarifies things! Let me know if you have any further questions.

Regards,

Shannon


author: paul.clenahan
body: I'll add my frustration to this one.

With the new Editor, the thumbnail is unusable in many cases. Example: I want to upload around 15 example files with an accompanying few words of description. The thumbnail approach takes up too much space, is ugly and really not that usable.

To workaround this, I've actually placed the files on a Google Drive and embedded the link to that location on the Confluence page. Not good.

I upvoted the bug.


Tags: cloud

confluence-cloud
Jira Issues Macro - way to set a template for the Display Options?
Asked by Gwendolynn St Pierre:

I'd like to insert tickets using the Jira Issues macro, but I only ever want to show the same three columns. Is there a way to set a default view here so I don't need to uncheck the multiple columns I don't need in the Display Options?


Answers:
author: Shannon S
body: Hello Gwendolynn,

Good morning! Happy to help you with this.

In Confluence Server, it's possible to modify the default columns in the JAR file:

* [How to Change Default Jira Columns to display in Jira issue macro](https://confluence.atlassian.com/confkb/how-to-change-default-jira-columns-to-display-in-jira-issue-macro-812321422.html)

If you are on Confluence Cloud, however, it is not possible to do this. We have a feature request below:

* [CONFCLOUD-32917](https://jira.atlassian.com/browse/CONFCLOUD-32917) *JIRA Issues Macro default column configuration*

If that affects you, please vote on the request and you will automatically be added to the list of watchers.

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

Regards,

Shannon
Logging individual User access, edit and copy actions in Jira and Confluence
Asked by Michael Augustinavicius:

For data security compliance, we need to log individual user access, edits, and copying of information in Jira and in Confluence.

Has anyone done something like this?


Answers:
author: Thomas Deiler
body: Dear [@Michael Augustinavicius](/t5/user/viewprofilepage/user-id/3500948) ,

not done before but one solution at hand.

* Increase the log level of selected user action and write this information to a separate log file.
* This has to be done in the [log4j configuration](https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html) to be persistent after service restart.

So long

Thomas

comments: author: Michael Augustinavicius
body: Dear Thomas,

Thank you very much for your suggestion !

With thanks

Michael


author: Mat
body: Hello,

how can you do that in Confluence cloud ?

thank you

Mat


Tags: cloud

confluence-cloud

jira

jira-cloud
Not being able to open the Excel file in confluence
Asked by Shiva Baniya:

I am not being able to open the attached file (Excel) in Confluence


Answers:
author: Shannon S
body: Shiva,

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

Could you let us know more about this problem you are experiencing? We can start with the answers to a few questions:

1. Does this occur with any other Excel files or only specific ones?
2. What version of Confluence are you running?
3. Are other users able to replicate the problem?
4. Can you replicate the issue across multiple browsers?
5. What happens when you try to open the file?

Regards,

Shannon
Publishing Confluence Knowledge Base
Asked by Mark Cogan:

We are looking to provide read access for our Confluence Knowledge Base to users. We have a branded intranet and would like to be able to either create a widget that can access the knowledge base or just provide some kind of access for user self-help. Without having to give people login directly to Confluence, how could we go about that?

We currently have Jira, Service Desk, and Confluence tied together, so it's about providing something of a support portal that ties back to all of this.


Answers:
author: Darryl St_ Pierre
body: Mark,

Although I don't know the specific steps to accomplish this, I do know the way to accomplish this is by utilizing Jira Service Desk. You define your KB space there. This allows unlicensed users to access the KB. If you do it through Confluence, you need to license everyone who will access the space.

Hopefully that's enough direction, otherwise I'm sure there are others who can give you more details. We are anticipating getting Service Desk, which is why I'm familiar with these details.

Darryl

comments: author: Mark Cogan
body: Sounds like that's what we're trying to do. We are looking to publish that Service Desk access onto an intranet wide site. The idea is that this site will provide access to all internal services including our support. All of these elements are managed by different groups, so if we can provide this directly in the unified site rather than redirecting users to our Service Desk page that would be huge.


author: Darryl St_ Pierre
body: Sounds like a challenge! I'm not an advanced enough Atlassian user to know if that level of integration is possible, although it may be more of an internal project for your tech staff to figure out presentation within the unified site. Since it doesn't seem like there's authentication happening (based on no license requirement), there may be a way to create a connection...

Good luck. I hope you get some more in-depth responses!


author: Mark Cogan
body: Then I shall update this with our final solution. I think it would be a great thing if on a corporate level Service Desk knowledge base integration to custom sites is something more widely accomplished.


author: JP _AC Bielefeld Leader_
body: Hi,

be aware that you can only connect \& search one Confluence space per Jira Service Desk project. The access to Confluence must be done via the Jira Service Desk customer portal.

The limit for only connecting a single space to a project made us not using / pushing this solution to our customers.

Best

JP


Tags: confluence-server

server
How do i configure openunderwriter on AWS Ec2
Asked by vijay:

Hello,

Am trying to configure openunderwriter on AWS Ec2 its says running on <http://127.0.0.1:9990> .

How do i assign an IP and access it from outside


Answers:
author: Andrew
body: Hi [@vijay](/t5/user/viewprofilepage/user-id/3507034) ,

For confluence You can change bind interface <https://confluence.atlassian.com/confkb/how-to-bind-confluence-to-a-particular-network-interface-164496389.html>

Or use some proxy <https://confluence.atlassian.com/doc/proxy-and-https-setup-for-confluence-950286281.html>

B.R.


Tags: confluence-server

server
Multimedia macro doesn't show file options
Asked by Jessica Miles:

I'm trying to add a video onto a Confluence page. But rather than have users download it, I want it to be playable on the page itself. Consequently, I've been attempting to use the multimedia macro. However, when I open it up the file drop-down is blank and I can't figure out why. The mp4 video (it's 11 secs long and 274 kb) is already on the page, so I assumed that it would appear within the drop-down.

![No file option in multimedia macro.JPG](/t5/image/serverpage/image-id/61583iC4AA225962BABE82/image-size/large?v=v2&px=999 "No file option in multimedia macro.JPG")


Answers:
author: Andrew
body: Hi [@Jessica Miles](/t5/user/viewprofilepage/user-id/3506983) ,

Could You please check that video exist in attachment list of the page?

It for cloud? I recommend send request for support team.

B.R.

comments: author: Jessica Miles
body: Yes it's listed as an attachment.

I'll try the support team, thank you.

![Listed attachment.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/61597i7489D548EEB5F1F7/image-size/large?v=v2&px=999 "Listed attachment.JPG")


author: Ingo Wurzer
body: Did you get an answer? I have the same problem ...


author: Jan
body: Need also help, thanks!


author: Roberto Valdez
body: By any chance do you have a colon ":" on your title?

<https://jira.atlassian.com/browse/CONFSERVER-26803>

This was the case for me, I removed it , include the files as multimedia and then add the colon back to the title

comments: author: Fabian Dengel
body: Good find [@Roberto Valdez](/t5/user/viewprofilepage/user-id/4984510) ! Thanks for sharing, I just ran into this issue on a customer instance. Still not fixed for Version 7.13.7


author: Sarah Butler
body: I had this same issue. Turns out that multimedia macro is not supported if the page is a draft. Drop in your file as a placeholder and publish the page. Click edit and try using the multimedia macro again. You should now see your file and be able to imbed it in the document.

comments: author: Shivani Goel
body: I tried this. it does not work.


author: Robb F Watkins
body: Insert an iFrame - here is an example on how to insert an iFrame

\<iframe width="560" height="315" src="<https://www.youtube.com/embed/t2ByLmLnYJ8>" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen\>\</iframe\>

Or follow these directions.

<https://confluence.atlassian.com/confkb/how-to-put-an-iframe-into-confluence-598837531.html>


Tags: cloud

confluence-cloud

macro

multimedia
Regular Emailnotification on open tasks in Confluence?
Asked by Hugo:

Hello,

is it possible to let confluence remind you about your open Tasks on a weekly/monthy basis through Email-Notification?

Can this be configured somewhere?

We're not talking about Jira, only Confluence-Tasks.

Thany you.

Hugo


Answers:
author: Max Foerster - K15t
body: Hi Hugo,

this feature is not offered by Confluence. You will have to use the task report and keep and eye on it. I know two apps on the marketplace called: Task Reminder for Confluence, but the last time I checked administrators got notifications, not the mentioned user (and it could be that the task has no user assigned) and Handy Macros for Confluence is offering a reminder feature but I never used it. So have a look at these apps on the marketplace if you like. :)

Best, Max

comments: author: Hugo
body: Thank you very much!

Much appreciated.


Tags: confluence-server

server
How to include web-items in Scroll Viewport page template?
Asked by G_M__K_:

I have a Confluence plugin that adds a menu item ("web-item") to the system.header/right location. Now I want to develop a Scroll Viewport theme that also shows the menu item. I didn't find useful documentation on how to query existing web-items and render the HTML.

I found something for WebPanels but it doesn't work:

`$webPanels.forLocation("system.header/right")`

Any ideas on how to do this?

Thanks,  
Guido


Answers:
author: JP _AC Bielefeld Leader_
body: Hi,

you might want to ask this question directly to K15t or join the google group on Scroll Viewport.

<https://groups.google.com/forum/#!forum/scroll-viewport-dev>

Best

JP


author: roman
body: [@G_M__K_](/t5/user/viewprofilepage/user-id/3506966)

we have a documentation on how to make third-party apps work with Viewport: <https://help.k15t.com/scroll-viewport/latest/general-3rd-party-add-on-implementation-162693995.html>.

If it doesn't help, feel free to reach out to us through support or Google Group: <https://groups.google.com/forum/#!forum/scroll-viewport-dev>.

Roman.
Login information
Asked by ????:

Can I get login information (list) of invited users?

For example, information such as last login date and 30 days not logged in.

If possible, can you tell me how to get it?


Answers:
author: Nic Brough -Adaptavist-
body: Not invited, that just sends an email without recording a new user (as they may never log in, there's no point)

But active users are listed in the user section of the admin menus. You might want to look at the sessions section too.


author: repi
body: Here is a User Macro as a little help

```
## Macro title: Last Login
## Macro has a body: N
## Body processing: Selected body processing option
## Output: Selected output option
##
## Developed by: Andrew Frayling
## Date created: 11/02/2012
## Installed by: repi
## Macro to display the last login date of users who have access to the current space
## @noparams

#set($containerManagerClass = $content.class.forName('com.atlassian.spring.container.ContainerManager'))
#set($getInstanceMethod = $containerManagerClass.getDeclaredMethod('getInstance',null))
#set($containerManager = $getInstanceMethod.invoke(null,null))
#set($containerContext = $containerManager.containerContext)
#set($loginManager = $containerContext.getComponent('loginManager'))
#set($users = $userAccessor.getUsers())

<table class="confluenceTable">
<tr>
<th class="confluenceTh">User</th>
<th class="confluenceTh">Last Successful Login</th>
</tr>

#foreach($user in $users)
## list the last login date of users who can view the current space
#if ($permissionHelper.canView($user, $space))
<tr>
<td class="confluenceTd">#usernameLink($user.name)</td>
#if (!$loginManager.getLoginInfo($user).lastSuccessfulLoginDate)
<td class="confluenceTd" style="background-color:#ff0000"><strong>NEVER</strong></td>
#else
<td class="confluenceTd">$action.dateFormatter.formatDateTime($loginManager.getLoginInfo($user).lastSuccessfulLoginDate)</td>
#end
</tr>
#end
#end
</table>
```


author: Max Malygin
body: You can get this information by SQL query to Confluence Database.