youngmon/atlassian-qna huggingface dataset:
configuring Confluence's base url on cloud version
Asked by Wil Wylie:

[Is there a way to configure Confluence's base url on cloud version?](https://confluence.atlassian.com/doc/configuring-the-server-base-url-148592.html)

The article below seems t be based on the server version of confluence.

<https://confluence.atlassian.com/doc/configuring-the-server-base-url-148592.html>

Many thanks.


Answers:
author: Kurt Klinner
body: [@Wil Wylie](/t5/user/viewprofilepage/user-id/2887281)

Hi Wil

welcome to the Atlassian Community.

Throughout the summit it has been announced that it will be possible to change the url of cloud instances. At the moment you will need to get in touch with the support to check if that is possible for your instance.

<https://confluence.atlassian.com/cloudkb/changing-the-cloud-instance-url-address-or-migrating-to-a-new-cloud-instance-691011835.html>

Another option would be to migrate the content to a new cloud instance with the correct url

Hope that helps

Cheers

Kurt


Tags: cloud

confluence-cloud
Confluence Proxy Port
Asked by Joe Schultz:

To connect to my Confluence server on CentOS 7, I have to type in confluence.example.com:8443 (or 8090 which redirects to 8443).

It there a simple way in firewalld or something else to simply redirect port 80 and 443 to port 8443, so that one would not need to type in the port number? One would only have to type in confluence.example.com into a browser?


Answers:
author: Kurt Klinner
body: [@Joe Schultz](/t5/user/viewprofilepage/user-id/3099548)

Hi Joe

you could use for example nginx acting as an reverse proxy,

<https://confluence.atlassian.com/confkb/how-to-use-nginx-to-proxy-requests-for-confluence-313459790.html>

<https://confluence.atlassian.com/doc/running-confluence-behind-nginx-with-ssl-858772080.html>

are excellent articles related to that

Cheers

Kurt


Tags: confluence-server

server
Unable to import Confluence Cloud backup into Server
Asked by Simon Szumy?owicz:

Hello,

I've been trying to import a backup of Confluence Cloud taken yesterday (and one taken today) into a Server instance but it looks like there's some major incompatibilities between the Cloud and Server version. The error I got was:

```
Caused by: java.lang.ClassNotFoundException: com.atlassian.confluence.api.model.people.MigratedUser
```

Upon closer inspection of the \`entities.xml\` file in the backup and comparing it to a previous working one I've found some new objects not present in the old one which I believe are the cause for the import failure:

```
<object class="MigratedUser" package="com.atlassian.confluence.api.model.people">
<id name="key"><![CDATA[8a7f808969eb55e50169fe08f677077d]]></id>
<property name="username"><![CDATA[115e9f12d720d9675070caf292edf01f]]></property>
<property name="hashedUsername"><![CDATA[d3e5a4bb5cd842661999c9af085d7da1]]></property>
<property name="accountId"><![CDATA[12345:ab12345c-aaaa-1111-1a2b-12abcd12ab12]]></property>
</object>?
```

It looks like the Cloud version has some username obfuscation features which are incompatible with Server. Is my understanding correct that this will not work until the next Server release? If so - when is the release expected?

Thanks,

Simon


Answers:
author: Brant Schroeder
body: Confluence Server and Coud have separate and distinct code base. So a backup in cloud can not be recovered in Server. You can migrate the data from cloud to server by following these steps. <https://confluence.atlassian.com/confcloud/migrate-from-confluence-cloud-to-server-724765578.html>

comments: author: Simon Szumy?owicz
body: Creating a cloud backup and restoring into server is exactly what the link you've provided (which I'm using as reference) says to do:
> Export the data from your Confluence Cloud site, using the Confluence backup manager.
>
> (...)
>
> Import the data from your backup file (XML export) into your new Confluence installation (...)

<br />

Moreover this process works perfectly fine with an older backup (I believe it was taken a day before the 10/04/2019 feature release) which I have successfully used to complete an end-to-end dry run.


Tags: confluence-cloud

confluence-server
How can a hardcoded firebase URL be made configurable?
Asked by Hridya Krishna R:

I had been working on a project of the Open Data Kit Organization for GSoC'19. I faced an issue that the firebase URL seems to be hardcoded. How can I make this configurable?


Answers:
author: Nic Brough -Adaptavist-
body: Could you explain what this has to do with Confluence?

comments: author: Hridya Krishna R
body: I am new to the community. I raised this question as Atlassian is possibly the best for me to clear doubts and explore deep!


author: Nic Brough -Adaptavist-
body: Ok, but what has this question got to do with Atlassian stuff?
Multiple Confluence instances on AWS
Asked by Steve Boydon:

Hi,

I am pretty competent using Confluence, admin features, addons and building using Linux, Postgres and also Windows. Having used for over 5 years.

Does anyone have any suggestions on how to best use Confluence on AWS for multiple clients. Using the same base site with preinstalled addons, templates and pages.

In essence I have a Confluence 'templated' instance with a set of pre-installed addons and connections to external 'static' data.

What I need to do is duplicate that complete instance including existing data and then make some minor adjustments such as user accounts and customising look and feel for a customer.

Ideally using AWS i should be able to copy / paste the 'snapshot' to a new customer to set up the base instance.

Currently all I can see this the 'server id' will change. My current issue is how to handle this so that the new server licence and especially addons will apply to that customer.

My concern is that there may be something else behind the scenes that might stop this from working.

I have considered having multiple spaces and sectioning clients accordingly. However due to the nature the client sites must be independent and also based in London.

One thought I had had was to create the default deployment and then just import and base lined database. Would this work?

It seems simple on the face if it, but because of serverids I'm thinking their will be issues.

Any help appreciated

Steve


Answers:
author: Steve Boydon
body: hi,

if the server id is all that will allow a full replica to run, then that is fine.

So what would happen with urls. will they still map to pageids.

Regards

Steve


author: Ismael Jimoh
body: Hi [@Steve Boydon](/t5/user/viewprofilepage/user-id/538331)

If your focus is changing the server id from what I understood then have a look at this: <https://confluence.atlassian.com/confkb/how-to-change-the-server-id-of-confluence-211649693.html>

If not can you clarify what information you require?

Thanks.


Tags: confluence-server

server
I have a vulnerable version of confluence however im not sure how to check if i am exposed?
Asked by Jose Alvarez:

We have version 5.2 and i think we are not exposed online however im not sure how or if i can scan to see if i have entry points exposed publicly? Does anyone have a tool and or a way to check what is exposed on confluence??

thx


Answers:
author: Brant Schroeder
body: Jose,

There is no out of the box Confluence specific vulnerability checker tool. There are security tools like wireshark, metasploit, snort, etc. that you can use to check a wide variety of vulnerabilities and could be used for certain Confluence vulnerabilities. you would however need to know how to use them and configure them. If you have a security team/person they would be able to help you check for vulnerabilities on your Confluence instance.

When Atlassian releases a security advisory like this one <https://confluence.atlassian.com/doc/confluence-security-advisory-2019-04-17-968660855.html> it provides all the information needed to fix the issue or mitigate it.

If we apply this security advisory to your version 5.2 and you can not upgrade to fix the issue you need to review how to mitigate the issue. The mitigation will usually prevent the exploit from being used but in turn you will in most cases lose functionality in your Confluence instance. If you have performed the mitigation and you have the results explained in the document then you know that the mitigation changes are in place. If you want to do additional testing then you would have to have a firm understanding of how to exploit the vulnerability, validate that you can and then execute it after the change is in place. Maybe your security team could help you with this.


Tags: confluence-server

server
confluence started but not working and use 100% on cpu
Asked by Narek Tanguian:

Hi

top - 19:35:48 up 1:45, 2 users, load average: 4.08, 4.11, 4.04  
Tasks: 165 total, 1 running, 163 sleeping, 0 stopped, 1 zombie  
Cpu(s): 99.7%us, 0.2%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st  
Mem: 4056084k total, 420776k used, 3635308k free, 14052k buffers  
Swap: 4128764k total, 0k used, 4128764k free, 196132k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND  
2248 confluen 20 0 412m 16m 0 S 397.5 0.4 398:35.34  
1658 zabbix 20 0 77112 1532 752 S 0.3 0.0 0:01.61 zabbix_agentd

Hosted on Centos 6.8


Answers:
author: Peter-Dave Sheehan
body: Did you check that you were not compromised by the same virus listed here:

<https://community.atlassian.com/t5/Confluence-questions/How-come-my-confluence-installation-was-hacked-by-Kerberods/qaq-p/1054605>

comments: author: Narek Tanguian
body: Hi,

Yes The virus are a problem, but after update i get this error:

DescriptionTimeLevelException

|---------------------------------------------------------------------------------------------------------------------------|---------------------|-------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| This installation of Confluence has failed one or more bootstrap configuration checks. Please check the logs for details. | 2019-04-26 20:49:01 | fatal | MyISAM is configured as the default storage engine in your database, which may result in data integrity issues. Please see <http://confluence.atlassian.com/x/voTcDQ> for more information. |

#### The new version don't use mysql? {#toc-hId--737562178}


Tags: confluence-server

server
Is it possible to export a blog
Asked by Robbie Singleton:

We need to export the contents of our blog. Is this possible?


Answers:
author: Hans
body: Yes. You can export individual blog posts to PDF.  
See <https://confluence.atlassian.com/doc/blog-posts-834222533.html>  
section "Export a blog post".  

And for additional details on exporting content <https://confluence.atlassian.com/doc/export-content-to-word-pdf-html-and-xml-139475.html>


Tags: export
Create Anchor on different page
Asked by Matthew Lewis:

Hi,

I am trying to setup an anchor and reference it in another confluence page but the documentation is a little unclear.

<https://confluence.atlassian.com/confcloud/insert-links-and-anchors-724764900.html>

Any additional examples would be great!


Answers:
author: Dominic Lagger
body: Hi [@Matthew Lewis](/t5/user/viewprofilepage/user-id/3099085)

Is the anchor in the same space or in another space?

Let's say you have a space "Product A" with space key "PA" and a page with title "Product Description". There you have an anchor named "requirements".

In another space named "Product B" you want to link this anchor. Then it would be "PA:Product Description#requirements"

Hope that helps, too :)


author: Mikael Sandberg
body: Hi Matthew,

Welcome to the Atlassian Community.

I use anchors for my validation protocol of Jira and link my requirements, which lives under it's own page, to my test cases. It is pretty simple, your link to an anchor should look like this:

page name#anchor name

So on my requirements page I link one requirement to my Login test case, anchor name is TC-01, so the link to it looks like this:

Log in#TC-01

Hopefully that helps you.
I uploaded a power point doc in Confluence, text not displaying
Asked by Patti Muldoon:

When I upload a power point doc in confluence, the text is not displaying, only the background.


Answers:
author: Tyler Brown
body: Hey Patti,

You're Confluence instance is likely missing some text packs.

This article should help out:

<https://confluence.atlassian.com/confkb/the-text-in-a-powerpoint-excel-or-word-document-is-missing-or-looks-different-when-using-the-viewfile-macro-200213562.html>

You may need some help from a Confluence admin resolving the situation (if you are not).

Tyler
Create Page Macro - can I specific parent page in addition to the Space
Asked by Chris Tatem:

I like the create page from template macro, but it seems to create pages in the same place as the macro. Is there a way to specific the new page to be a child of the page on which the macro button appears?


Answers:
author: Chris Tatem
body: Nevermind, it seems to do exactly what I wanted.


author: Tyler Brown
body: Hey Chris,

You can, you just need to use the HTML Macro.

This code should work for you:

\<div align=center\>\<a href=[https://confluence.url.com/pages/createpage-entervariables.action?templateId=###\&spaceKey=XXX\&fromPageId=###\>\<button]() type="button" class="aui-button aui-button primary"\>Button Text\</button\>\</a\>\</div\>

You'll need to insert your confluence url, template id, space key and parent page id.

Tyler


Tags: macro
Save video type attachment upload into Sharepoint server
Asked by Sangmin_Han:

My company is trying to redirect the file (specifically video files) uploads from Confluence Server to Sharepoint server. We want to store only video files in Sharepoint side. I would like to develop a plug-in or macro to basically overwrite the attachment upload function where I will check for the video files and upload only video files into Sharepoint server. It's fine if we can't play the video from Confluence web page. We are fine with playing video from Sharepoint web page. This is my first time working with Confluence and Sharepoint so having a bit trouble understanding how feasible this would be.

My current plan is to develop a Confluence plug-in with Attachment Listener class to redirect the save location.


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

The idea of an attachment listener within Confluence that then redirects specific files types over to Sharepoint sounds like an interesting idea. Using the Java API would be your best bet when working with Confluence. More on the Confluence Java API may be found at [Java API reference](https://developer.atlassian.com/server/confluence/java-api-reference/). Within your plugin, you'll have to make an external call to another script or process that will authenticate with Sharepoint and upload the file types.

There are a few items I can think of that need to be considered when proceeding with this.

1. If Confluence is publically available, SharePoint will also need to be available to accept uploads.
2. Ensure all users who have attachment privileges within Confluence also have appropriate permissions with SharePoint to avoid issues.
3. You'll need to ensure your plugin is supported across new versions of Confluence and Sharepoint.

Alternative options to this would be to use a private YouTube channel where you may upload content there and use the YouTube widget within Confluence to view. This would allow you to save storage space within Confluence and Sharepoint and make the videos privately available for viewing within and outside of Confluence.

Something to be aware of is this is a support community and not often browsed by developers. We want to ensure you get the responses and answers you need so we would suggest you check out the [Developer Community](https://community.developer.atlassian.com/). The [Developer Community](https://community.developer.atlassian.com/) may have more available resources to answer or address your developer questions.

Regards,  
Stephen Sifers


Tags: atl-adm

atl-dev

atlassian-marketplace

attachment

confluence-server

server

sharepoint
Jira slow after upgrade
Asked by Itradix:

Atlassian Confluence is running a bit slow. Went through some of the optimization steps listed on the KB article and don't see anything good.


Answers:
author: Nic Brough -Adaptavist-
body: There are so many things this could be, as [@Kurt Klinner](/t5/user/viewprofilepage/user-id/734136) suggests. The starting point though is to work out what is slow.

Use the developer tools in the browser to time what is slow - is it one chunk of javascript execution? Every item comes through slowly? When you say "slow" is it view page or edit or attach or or or... Are the admin screens quick while page view is slow? Is it slow in some spaces and not others?

You'll need to investigate what is "slow" to start to work out where the problem is.


author: Kurt Klinner
body: [@Itradix](/t5/user/viewprofilepage/user-id/739363)

Hi

id Jita or Confluence slow?

Regardless of the product, are specific actions slow or the overall system performance (how do you measure the performance)?

Thinking about performance several components

- db

- filesystem

-network

could have an impact.

Cheers

Kurt

comments: author: Itradix
body: Confluence.

Accessing it locally, so unlikely to be network. Database is the stock install and filesystem is windows 10 NTFS, so all standard. It's a VM as well, with enough resources, CPU and RAM based on the specs.


Tags: confluence-server

server
How update data that retrived SQL MACROS ?
Asked by Shumeev Sergey:

I get data from external DB(Oracle) used SQL Macros. How updete pice this data form Confluence ? How update date that retrive SQL MACROS ?


Answers:
author: Nic Brough -Adaptavist-
body: I am sorry, but the question is unclear. Are you trying to update a database from a Confluence system, or update a Confluence database? (Hopefully not the second, as you will break it if you do)

comments: author: Shumeev Sergey
body: Excuse me for my English.  
In more detail simple examle:  
1. I get data from external DB(Oracle) used SQL Macros on Confluence page.  
2. I check data in this table  
3. I want edit one value(cell) from this table on Confluence page,  
so that modificion save(updete, commit) in external DB ?


author: Nic Brough -Adaptavist-
body: I don't believe the SQL macros allow you to run updates. You'll need to write your own code that can.


Tags: sql
Youtube Playlists
Asked by Autumn Lowe:

Hi!

Is there a way to add a full Youtube playlist and not just one video at a time?


Answers:
author: Shannon S
body: Hello Autumn,

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

According to Google, it is possible to embed a playlist. Have a look here:

* [Embed videos \& playlists](https://support.google.com/youtube/answer/171780?hl=en)

> Embed a playlist {#toc-hId--1439277446}
> ---------------------------------------
>
> 1. Sign in to your YouTube account on a computer.
> 2. On the left side of the page, select the playlist you want to embed.
> 3. Copy the playlist ID from the URL.
> 4. Modify the embed code for an individual video by doing the following:
>    * In the place of the video ID (after "embed/"), substitute "videoseries?list=".
>    * Then paste the playlist ID after the "=".
>    * Paste the code into your blog or website HTML.
>
> **Example:**

*
  > \<iframe width="560" height="315" src="<https://www.youtube.com/embed/videoseries?list=PLx0sYbCqOb8TBPRdmBHs5Iftvv9TPboYG>" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen\>\</iframe\>

Have a look at that, and let me know if you have any questions! You can try this with the [HTML Macro](https://confluence.atlassian.com/doc/html-macro-38273085.html). Have a look at our [document on iFrames](https://confluence.atlassian.com/confkb/how-to-put-an-iframe-into-confluence-598837531.html) for more details.

Regards,

Shannon
Confluence retore taking long time
Asked by SAURAV SHARMA:

I have started the confluence restore process. The file size of zip is 126 MB. But after one hour its completion status is still 0% and Importing data - in progress.

I did it before then it took only a couple of minutes.

I checked the Atlassian-confluence.log file. the only error it shows id :

2019-04-26 09:56:31,796 ERROR \[http-bio-8080-exec-18\] \[common.error.jersey.ThrowableExceptionMapper\] toResponse Uncaught exception thrown by REST service: Unrecognized character escape 'a' (code 97)

Please help.


Answers:
author: Shannon S
body: Saurav,

Thank you for reaching out! Happy to assist you.

1. Can you let us know the purpose of the restore? Are you trying to install into an empty Confluence site to recover, or are you using the restore in order to upgrade or migrate?
2. The backup seems rather small, so I am assuming it comes from a Confluence site without a lot of attachments, or you've excluded the attachments. Can you confirm?
3. Could you let us know the Confluence version that was the source of the backup, and the version of the destination?
4. You can try to restore the backup from the home directory instead. Have a look at [Restoring a Site](https://confluence.atlassian.com/doc/restoring-a-site-152034.html) for details. This is generally only needed for large backups, but it's worth trying.

> To import a site from the home directory:

1.
   > Copy your export file to `<confluence-home>/restore. `  
   > (If you're not sure where this directory is located, the path is listed in the **Backup and Restore** screen)
2.
   > Go to ![](https://confluence.atlassian.com/doc/files/747833194/747833195/2/1517274813281/cog.png) \> **General Configuration** \> **Backup and Restore**.
3.
   > Select your site export file under **Import from home directory**
4.
   > Uncheck **Build Index** if you want to create the index at a later stage.
5.
   > Choose **Import**.

Looking forward to hearing from you soon.

Regards,

Shannon

comments: author: Gonchik Tsymzhitov
body: Yeah, as usual uncheck Build Index helps


Tags: confluence-server

server
Resolved inline comments leave comment markers in source code and is corrupting text
Asked by Kris Fininen:

After resolving inline comments, the inline comment markers are left in the source code. If there have been several rounds of edits with comments being placed and resolved several times, the source code becomes littered with these resolved inline comment markers.

Sometimes, the marker falls in the middle of words creating a line break in the middle of a word. This manifests in rendered pages as a space in the middle of words. This problem exports to PDF documents as well. To fix the problem, it's necessary to edit the source code and remove all old inline comment markers - in our case an extremely tedious task.

We don't remember leftover resolved comment markers being an issue until recently.

We are running Confluence 6.6.1 Server with Chrome 51.0.2704.84 m (64-bit) on Windows 7. We will be updating to Windows 10 soon.

Any ideas? Thanks.


Answers:
author: Val?ria Uhljar
body: Any findings here?

comments: author: Kris Fininen
body: No - unfortunately not.


Tags: confluence-server

server