youngmon/atlassian-qna huggingface dataset:
Confluence proxied by httpd - start failures
Asked by Jiri Pik:

I am using virtually identical httpd configuration for JIRA and Confluence - the standard Atlassian recommended config.

JIRA has no problem with rebooting of the AWS EC2 machine.

Confluence, however, very often fails to start on reboot and the only way to get it work is to wait and after 10 minutes reboot again and then the instance starts properly.

During the 10 minute waiting, the httpd logs show![Clipboard01.png](/t5/image/serverpage/image-id/11099i6EEF0B7D20E612D2/image-size/large?v=v2&px=999 "Clipboard01.png")

There is nothing odd in the Confluence logs during this time. However, the apache's returned code is 503 - Service unavailable whereas after then 10 minutes with successful reboot, the page keeps loading.

What could be the cause? Is it some delay needed for Apache httpd proxy to start working? How to fix?


Answers:
author: Gonchik Tsymzhitov
body: Hi Jiri,

Could you provide httpd virtual host conf, and connector config in confluence server.xml?

Cheers,

Gonchik Tsymzhitov

comments: author: Jiri Pik
body: HI:   

THANK YOU.

My hypothesis is that the whenever there is some longer change of config / initialization to take place, the first reboot fails. For example, when I upgraded the MySQL jar file (removed the old one and put in the new one) it failed on reboot.

The relevant httpd config is

```
<Directory />
 AllowOverride none
 Require all denied
</Directory> 

<Proxy *>
 Require all granted
</Proxy>

SSLProxyEngine On
ProxyRequests Off

ProxyPass /synchrony http://localhost:8091/synchrony
 
<Location /synchrony>
 Require all granted
 RewriteEngine on
 RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
 RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC]
 RewriteRule .* ws://localhost:8091%{REQUEST_URI} [P]
</Location>

ProxyPass / http://localhost:8090/
ProxyPassReverse / http://localhost:8090/

<Location />
 Require all granted
</Location>
```

The connector is

```
? ? ? ? <Connector port="8090" connectionTimeout="20000" redirectPort="8443" maxThreads="48" minSpareThreads="10" enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8" protocol="org.apache.coyote.http11.Http11NioProtocol" proxyName="confluence.myfirm.com" proxyPort="443" scheme="https"/>?
```

What could be the cause?
Is it possible to migrate Atlassian Products to a different server without re-install?
Asked by Martin Sandaas:

I have an old Server running Atlassian Jira, Confluence and BitBucket. It's a recent install after several upgrades had made the server slower and slower.

Now I'd like to move/migrate one or maybe two of the instances to a new server with much faster RAM, CPU etc. I do not have lots and lots of RAM on either of the servers, so I'd like to experiment with how many applications will have to be migrated.

I'm using mod_proxy that routes links to any IP I'd like. I also use an external MySql Server (all applications access this db through network, so "localhost" is not used for anything). This means that application links are accessed through i.e confluence.mydomain.net, jira.mydomain.net...

I would really like to use the databases that have recently been migrated to a faster server, without having to export/import into a different database on the same server.

So that leads me to my question:

Is there ANY reason I cannot just copy both installation and home directories to the new server? I mean the DNS lookup of names have not changed (only the underlying IP, which is not visible to any atlassian instance anyway). The Database is identical, and ONLY referenced through DNS lookups (and the IP has NOT changed). The OS is Debian Stretch (9) on both servers. The only thing that has actually changed is the IP address of the server, and the hardware...

The only problem I can come up with is if there are internal workings of the atlassian products that I do not know about. Like if Jira adds references to bitbucket by resolving the DNS name, then storing the IP in the database.

But any such problem would still exist if one were to import the database.

So the last point I can see that could be a problem, is the Server ID. Is it generated based on hardware setup? Or is it random? Will it cause problems when copying the instance to the new server?

Martin


Answers:
author: Nic Brough -Adaptavist-
body: A flat 1:1 copy with all the same path names across similar (let alone identical) operating systems will work fine. It's effectively how a lot of us do disaster recovery or failover systems!

If your settings are all using host name references, you won't have any problems - Atlassian applications use what you tell them, and assume there's DNS around to resolve the host names if you use host names. (There are some exceptions in integrations and white/blacklisting, but you'll spot these because their setup involves entering a host name and the application says "this resolves to x.x.x.x.x.x, is that ok?")

comments: author: Martin Sandaas
body: Excellent! Thank you. That's exactly what I wanted to hear ;)


Tags: bitbucket

jira

migration
This site is already taken
Asked by Radhika Patil:

Hi,

I previously had an account with another mail id. I deleted that account and logged with a new acccount. But I am unable to use the same site now. The site is cradlewise.atlassian.net

Looks like when I deleted the account, the site did not get freed up. Can you please help? I need this fixed asap to continue setup of confluence.

Looks like you were able to resolve a similar issue [here](https://community.atlassian.com/t5/Confluence-questions/Confluence-quot-This-site-is-already-taken-quot/qaq-p/652347)

Regards

Radhika


Answers:
author: Nic Brough -Adaptavist-
body: Deleting an account is not the same as deleting the services you've caused to be created by asking for a trial. It's just the account.

After creating the site, you get a seven day trial, and if you let that lapse, Atlassian bots clean it up about a week later. I don't know if that releases the name though, that might be kept in case people come back again with the same account.

I believe Atlassian can get the bots to free things up more quickly, but they may not see your request here. Try <https://support.atlassian.com/contact>

comments: author: Radhika Patil
body: Thanks! I did actually discontinue the service before deleting the account. I could not find any link that directly allowed unclaiming the site address.

In any case, I dropped a ticket at the link above.


author: Radhika Patil
body: I am unable to use "cradlewise" name for stride as well.
How to use parameter in SQL query macro
Asked by ??:

When I created a sql-query macro

And use Parameter in the macro like

Set Parameter 1 as the table name

```
select count(*) from ? 
```

I got the error below, could any one let me know why it has that error?

Error rendering macro 'sql-query' : org.postgresql.util.PSQLException: ERROR: syntax error at or near "$1" Position: 22


Answers:
author: Shannon S
body: Hi there,

Are you using an add-on for this, such as [Bob Swift's SQL for Confluence](https://bobswift.atlassian.net/wiki/spaces/SQL/overview)? We want to make sure that the appropriate team members will be able to see this case.

Regards,

Shannon


Tags: sql
In server instance, how can I make sure that a confluence upgrade was successful?
Asked by Samuel Ruiz (EnevaSys):

What is all i need to check to ensure it was successful 100%?


Answers:
author: Igor M.
body: Hey,

You can follow [Confluence Post-Upgrade Checks](https://confluence.atlassian.com/doc/confluence-post-upgrade-checks-218272017.html "Confluence Post-Upgrade Checks") to make sure that upgrade has completed successfully.

Let me know if this is what you are looking for.

Kind Regards,

Igor
Confluence Cloud vs. Server opening .dms File
Asked by Brian Taylor:

Moved from Confluence Cloud to Confluence server. Attachments on a page are at in cloud as a .dms but when you preview it shows as a .pdf. In server can not preview the file at all.


Answers:
author: Brian Taylor
body: We are not sure why the fields are being displayed with an extension of .dms since they were to be .pdf. Found the workaround that if you changed the property type what was set to ***application/octet-stream*** to ***application/pdf***resolved the issue.


author: AnnWorley
body: Hi Brian,

I am not familiar with the .dms file type. Based on my clumsy googling, it is a file compression format. Please let me know more about your case:

* Were the files uploaded as .dms or .pdf when first attached?
* Where do you see the .dms file type on your Cloud instance, in the browser's Developer Tools, or on the attachments' properties for example?
* In Server do the files also have the .dms extension?
* What error do you see in the server instance when you try to preview the files?
* Does it matter what browser you use to preview the files?
* If you upload a new .pdf to Confluence Server can you preview it?

Thanks for gathering all this info, I look forward to taking a deeper look.

Ann
Style suggestions for including iFrame on Confluence page?
Asked by Robert Werner:

I've been tasked with building an internal knowledge base (KB) - think "RunBook" - AND customer-facing KB articles.

I don't believe in having multiple copies of the same document since one will undoubtedly get out of date and then there's the constant struggle to figure out which one to consult.

Enter iFrames. It occurred to me that the primary version of a KB article can reside in the customer facing KB. Then in the internal KB, an iFrame can be added to link to it. I've tested this and a Width of 100% and a Height of 300px seems to work well.

But I'm struggling with how best to provide a link to the actual page in case me or one of my colleagues wants to look at the document in something other than a 300 pixel tall window.  

What approach have you used that you like?  

Robert


Answers:
author: Daniel Eads {unmonitored account}
body: Hi Robert!

Excellent thinking in maintaining only one copy of the material. Fortunately Confluence allows you to do this without using iFrames at all! Check out the [Excerpt macro](https://confluence.atlassian.com/doc/excerpt-macro-148062.html) (for the source material) and the [Excerpt Include macro](https://confluence.atlassian.com/doc/excerpt-include-macro-148067.html) (for the customer facing pages / non-master pages).

If you need to "export" more than one excerpt per source page, check out the [Multi Excerpt](https://marketplace.atlassian.com/plugins/biz.artemissoftware.confluence.multiexcerpt.MultiExcerptMacro/cloud/overview) plugin.

Cheers,  
Daniel

comments: author: Robert Werner
body: Thank you for this, Daniel.

I just tested out the Excerpt / Excerpt Include pairing. I see how it works and might have applicability in the future. However, in my case right now, I'm including 4+ "source" pages into one aggregation page. The Excerpt doesn't have a "click here to go to source page" option so iFrames work better for me for now.
Hide/Remove Confluence Activity Page
Asked by Derek I:

Is it possible to hide, disable, or remove the Confluence Activity Page/Section for all users in Atlassian Cloud Confluence? We have a space that only certain users have access to and we don't want changes or files that were uploaded to display in 'All Updates' or 'Popular'.


Answers:
author: Shannon S
body: Hi Derek,

The users should only see updates they have access to there, but there's a way to hide it if you're on Confluence Server:

* [How do I hide "All Updates" or "Popular" from the Dashboard sidebar](https://confluence.atlassian.com/confkb/how-do-i-hide-all-updates-or-popular-function-from-the-dashboard-879956248.html)

Note that this is not possible in Cloud, but we do have a feature request for it:

* [CONFCLOUD-43399 Allow the ability to deactivate the All Updates tab](https://jira.atlassian.com/browse/CONFCLOUD-43399)

Let me know if you have any questions about this!

Regards,

Shannon

comments: author: Paul Johnstone
body: Hi Shannon,

Could you please provide further information on your comment.  
As I feel we may have a problem with our confluence activity, as they look to be in relevant links displaying to the login user.  

Your comment states "The users should only see updates they have access to them".  
Which is fine if this is the case...as we work with a number of customers and privacy and security is the number one priority.  

Regards,

Paul Johnstone


author: Shannon S
body: Hi Paul,

Sure, could you clarify what you need further information on?

As my comment states, users will only see updates for pages they have the ability to view. If something is restricted from a user, or the user hasn't been given permissions to, then they won't show up in their updates.

Regards,

Shannon
Confluence email footer weirdness
Asked by Kathy Barton:

One of my users pointed out this weird thing with the footers in email notifications from Confluence. Some of the letters seem to be cut off. Looking at these same notifications in gmail, there are image files present that are missing in the Outlook version. Has anyone else seen this or found a solution?

Thx.

Confluence server 6.1.2 ![2017-12-15 13_19_20-Clipboard.jpg](/t5/image/serverpage/image-id/11072i7694CD82B569BEAA/image-size/large?v=v2&px=999 "2017-12-15 13_19_20-Clipboard.jpg")


Answers:
author: Shannon S
body: Hi there,

This has been happening in Outlook 2013 and 2016, and we have an open bug for it:

* [CONFSERVER-32053 Clipped images in notification emails using MS Outlook 2013 and 2016](https://jira.atlassian.com/browse/CONFSERVER-32053)

Can you confirm the Outlook version your user is having the issue with?

Regards,

Shannon

comments: author: Kathy Barton
body: ![2017-12-18 09_49_14-About Microsoft Outlook.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/11187i1F0F74F8E0D88A02/image-size/large?v=v2&px=999 "2017-12-18 09_49_14-About Microsoft Outlook.jpg")2013


author: Shannon S
body: Thank you, Kathy!

So it appears indeed it is this bug affecting your user.

There's no workaround at the moment other than to use another email client, but I encourage you and your users to watch and vote on the bug in order to receive any updates and help us keep track fo the number of users who are encountering the issue.

Regards,

Shannon


author: Kathy Barton
body: Thanks for letting me know I can stop trying to fix it on my side :)
install confluence on same server as service desk
Asked by Chris Livelsberger:

I followed the instructions on the site to install confluence in Linux, but as soon as the installer completed, Service Desk would no longer load. The service says started, but the web page will not load for either service desk or confluence.

I restarted the server, restarted the services, all do not work. rolled back to snapshot of server and service desk working again.

How to install Confluence on SAME server as service desk?


Answers:
author: AnnWorley
body: It is hard to say why the applications were both unavailable after you installed Confluence on the server you already had Service Desk on.

If I had to guess I would say perhaps there were not enough resources for both to run. The system requirements for Atlassian applications are linked on the bottom of: [Server: Installing multiple applications on a single server](https://confluence.atlassian.com/confeval/other-atlassian-evaluator-resources/server-installing-multiple-applications-on-a-single-server)

For next steps, it doesn't sound like we have logs from when the applications wouldn't start but we will need to examine logs to know what happened. If you do have logs, please look for error messages. I start at the Starting Confluence line in the atlassian-confluence.log and check any errors in the Tomcat logs located in the installation directory. The log locations are:

* \<confluence_install\>/logs/ (anything recent in this directory)
* \<confluence_home\>/logs/atlassian-confluence.log  
  Note: The \<confluence_home\> directory is the path defined in the following file: \<confluence_install\>/confluence/WEB-INF/classes/confluence-init.properties

Please create a test server that is a clone of your production Service Desk server and try the Confluence installation there. We will be able to check for out of memory and other errors in the logs, and do tests such as starting from a script in the bin directory instead of the service and starting one application at a time to isolate and eventually resolve the issue.


author: Boris Berenberg - Atlas Authority
body: Take a look at the Tomcat SERVER port in the server.xml file. I would also confirm that you don't have a port conflict. But honestly without more info we're just guessing.
Is there a way to change the font size to keep marker descriptions from overlapping?
Asked by Rob Martin:

This is when using the Roadmap planner. It looks fine in the "week" view but in the "month" view they overlap and are not readable.


Answers:
author: AnnWorley
body: I understand you would like the Roadmap planner to stop overlapping text. We don't have a method of changing the font size to prevent it.

It looks like this is not the first time the overlapping markers have been reported: [Roadmap Planner - Prevent Markers text to overlap](https://community.atlassian.com/t5/Confluence-questions/Is-there-a-way-to-change-the-font-size-to-keep-marker/qaq-p/690138). If you are still interested in this feature, please watch that ticket, and/or vote, comment on it to emphasize your use case to the development team.


Tags: advanced-roadmaps
How to create "was this article useful?" survey
Asked by Raul Silva:

Hi!

I have this knowledge base <http://bmx.maximasist.com.br> with Confluence.

I need to measure if the articles are beign useful / helpful to my costumers.

Like this:

![image.png](/t5/image/serverpage/image-id/11067i230E25C09F50AC21/image-size/large?v=v2&px=999 "image.png")

I've tried lots of plugins and macros, but none has the result we needed.

Lastly i tried the "Forms for Confluence" plugin, it is almost there but i'm stuck in 2 points:

- In the reports i can't get the source submiting link.

- I still have to click on the submit button to send the survey, i wanned just to click on Yes or No and that's it, no submit button.

![image.png](/t5/image/serverpage/image-id/11068i741FC992F09BC684/image-size/large?v=v2&px=999 "image.png")

So i'm stuck, do you guys have any idea?

Any of you have done something similar?


Answers:
author: Jonathan Appel
body: If you are using Confluence Cloud you could also look at [Page Feedback for Confluence](https://marketplace.atlassian.com/apps/1231936/page-feedback-for-confluence?tab=overview&hosting=cloud)


author: Boris Berenberg - Atlas Authority
body: You could use this: <https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.rate/server/overview>


author: Mikael Mikkola
body: Alternatively, make the comments "This page was helpful" and "This page was not helpful" and ask the users to "like" one of them. Not anonymous.
What does flush queue do?
Asked by Amy Nguyen:

Hi,

Our queue content is building up and it's also saying queue is currently idle. There's an option to flush queue but I am not sure exactly what that does. Does that mean pushing those items through indexing manually? If I did that, it's not going to "cancel" all those tasks right? (I am fairly new to Confluence :))

Thank you!

Amy


Answers:
author: AnnWorley
body: Hi Amy,

It is safe to go ahead and manually flush the index queue. Queue flush is for incremental indexing, which adds recently updated or changed data to the existing index.

If the index queue continues to build up, a good next step would be to rebuild the content index from scratch as described in [How to Rebuild the Content Indexes From Scratch on Confluence Server](https://confluence.atlassian.com/confkb/how-to-rebuild-the-content-indexes-from-scratch-on-confluence-server-110035351.html)This requires restarting Confluence, which will get the scheduled jobs going again in most cases.

The queue is almost always idle, so that's okay, however, you could be facing an issue where scheduled jobs like flushing the index queue are not happening as expected. Later versions are more robust but if you are using a version prior to Confluence 5.9.3 you may face this bug: [Quartz scheduled jobs can stop running until restart](https://jira.atlassian.com/browse/CONFSERVER-39825)

I look forward to hearing whether reindexing from scratch and restarting Confluence helps your content index start flushing automatically as expected.

Thanks,

Ann


author: Boris Berenberg - Atlas Authority
body: Are you sure you're not looking at the mail queue? If so, thats a list of outbound emails that it's trying to send. Flushing it will force it to try and re-send all of them at the same time. It's a safe operation to perform.
Embed folder from network share
Asked by Eintracht Frankfurt:

Hello,

i want to embed a folder with files, which is located on an network share and use these files as attachments (images and videos).

How can i link the folder to confluence and use them locally, so that the files have internal links from confluence (http/https).


Answers:
author: Nic Brough -Adaptavist-
body: You'll need to find or write a "remote document repository" add-on to do that.


Tags: file

network
confluence server issue
Asked by Jai Kumar:

I have installed two confluence with different URL's in same server with different port numbers . will it be a conflict in any way for getting this type of errors

"This page is taking longer to load than usual. Give it a few moments, then try refreshing. Still having issues? Contact your Confluence admin." any help regarding this will be very helpful.


Answers:
author: Nic Brough -Adaptavist-
body: Assuming both Confluences are version 6+, then no, but:

You say you changed the ports for (at least one of them), so that the two Confluences run on different ports. Did you also change the ports for their Synchrony systems?
Confluence Multiple attribute not working?
Asked by Ramesh Lakshmanasamy:

i am using Parameter enum type nut multiple attribute not working


Answers:
author: Nic Brough -Adaptavist-
body: You'll need to explain "multiple attribute" more clearly, I can think of three things it might be.

comments: author: Ramesh Lakshmanasamy
body: I wrote my code below.Which one written inside atlassian_plugin.xml

\<parameter type="enum" name="colors" multiple="true"\>  
\<value name="red"\>  
\<value name="green"\>

\<value name="yellow"\>  
\</parameter\>

in above code, works for single select when multiple=fasle

but same macro fails when I set multiple as true...I am getting empty text box with values as "true"


author: Nic Brough -Adaptavist-
body: Still, really not enough context to explain what you're doing to most (I can guess, but I'm still not sure).

Could you please explain what you're trying to do, what you expect to happen and what docs you are following?


author: Ramesh Lakshmanasamy
body: I am trying to create macro in confluence.i Used atlassian_plugin.xml inside parameter \[**type="enum"**\]

I wrote my code below.Which one written inside atlassian_plugin.xml

\<parameter type="enum" name="colors" multiple="true"\>  
\<value name="red"\>  
\<value name="green"\>

\<value name="yellow"\>  
\</parameter\>


author: Shannon S
body: Ramesh,

Are you trying to create a drop-down selector that allows users to choose more than one option?

Regards,

Shannon


author: Nic Brough -Adaptavist-
body: That's how I'm reading it. The development docs suggest this is the way to do it as well. Without explicitly saying it.


author: Ramesh Lakshmanasamy
body: Yes I am trying to create a drop-down selector.But i can't so only i asked question.is it possible or not?