youngmon/atlassian-qna huggingface dataset:
Is there a way to restore my space without an xml file?
Asked by Mike Scott:

Here are some details:

* Confluence server 7.3.5 (installed from a previous .xml file)
* Windows 10 x64 1909 (on a local desktop server)
* I somehow borked mysql user privileges. I can't access the database with confluence on it, ++through the server++. So i cant use mysql to make an .sql backup of the tables.
* Confluence won't start because it can't access the database either, so I can't create an .xml backup file **(as far as I know)**
* I've tried copying the table files from the mysql "data" folder to a new server, and tried ALLL kinds of ways to get the new server to acknowledge the files. But no, fml.
* I've tried ALLL kinds of ways to restore user privileges. Including the solution from the mysql site ([mysql-resetting-permissions](https://dev.mysql.com/doc/refman/8.0/en/resetting-permissions.html))... Still, no... FML
  * btw I get the following error:
  *

    ```
    2020-04-18T00:18:25.708043Z 0 [System] [MY-010116] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.19) starting as process 12928
    2020-04-18T00:18:25.710183Z 0 [Warning] [MY-010091] [Server] Can't create test file C:\Program Files\MySQL\MySQL Server 8.0\data\mysqld_tmp_file_case_insensitive_test.lower-test
    2020-04-18T00:18:25.710249Z 0 [Warning] [MY-010091] [Server] Can't create test file C:\Program Files\MySQL\MySQL Server 8.0\data\mysqld_tmp_file_case_insensitive_test.lower-test
    2020-04-18T00:18:25.710382Z 0 [ERROR] [MY-013276] [Server] Failed to set datadir to 'C:\Program Files\MySQL\MySQL Server 8.0\data\' (OS errno: 2 - No such file or directory)
    2020-04-18T00:18:25.723937Z 0 [ERROR] [MY-010119] [Server] Aborting
    2020-04-18T00:18:25.724030Z 0 [System] [MY-010910] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.19) MySQL Community Server - GPL.?
    ```

  * If I move the "Data" folder I can run the command but it does nothing...
* I've spent almost 2 days fiddling with mysql, which is why I'm on here, before I give up, and accept my losses

1. Is there anyway to "move" files from the original confluence "program files" to a new installation?
2. Or does anyone know a way I can use the tables to restore my space?

Basically is there anyway I can restore my confluence space without mysql or confluence?

!!Thanks!!


Answers:
author: Brant Schroeder
body: If you do not have access to the DB or confluence then you will not be able to recover it. Have you tried this to get access to the mySQL DB? <https://phoenixnap.com/kb/how-to-reset-mysql-root-password-windows-linux> If you follow the windows section this should get you back in and then you can get confluence running again and create a backup.

comments: author: Mike Scott
body: Hey Brant, thanks for trying, but that is the fix that comes from mysql themselves. I had posted the link. It didn't work for me.

Mike
migrated confluence from windows server 2012 to windows server 2019 now all links have 404 error
Asked by slsdeveloper:

I am on confluence version 7.2.0. I have migrated from windows server 2012 to windows server 2019.

I am starting confluence by having a windows server.

As suggested by confluence documentation, I have created a windows user called confluence, and that user id is what is used by the service to log in and run the confluence windows service.

My database is MySQL 5.7, I followed all of the Confluence MySQL recommendations for the database configuration. My MySQL confluence database used char set = uft8 and collation = utf8_bin.

For my production confluence it is at <https://confluence.mysite.com>, I have set the new instance (my test instance, the migration to instance) to point to <https://confluencetest.mysite.com>.

I have already done this same process for Jira, and my networking, host files, reverse proxy, SSL are all working for Jira (doesn't mean their couldn't be a problem here, but just wanted to point it out, and therefore maybe less likely.)

I am willing to double check or change anything. Even switch to a linux server if needed. Just got to get this up and running and move on to next project.

Any suggestions or help will be very much appreciated. Thanks in advance.


Answers:
author: slsdeveloper
body: I figured this out. I was assured by our Network Admin, that the proxy was setup correctly, which I believed since Jira was working. I finally changed my connector in server.xml for confluence to bypass the proxy using instructions in this link:

<https://confluence.atlassian.com/confkb/how-to-bypass-a-proxy-to-test-network-connectivity-402031184.html>

Then it started working just fine. So, there you go. Always trust but verify. :)

comments: author: slsdeveloper
body: Some additional information. In all fairness, the proxy was set up, but there was a configuration issue with Reverse proxy and IIS. Please see this link. This was our final solution.

<https://confluence.atlassian.com/confkb/urls-with-a-plus-character-trigger-a-404-error-when-using-an-iis-reverse-proxy-server-312740228.html>


Tags: confluence-server

server
Server dead, How to restore Confluence 6.1.0 with Atlassian directory + SQL Backups?
Asked by Raymond Moy:

I'm having trouble digging through the available docs regarding doing this particular type of restore.

The original server hosting Confluence got hosed. My plan here is to restore the data on a new install but can't seem to figure out how to do it properly.

Any help would be appreciated.


Answers:
author: Nic Brough -Adaptavist-
body: The overview of the process is

Install a new clean Confluence 6.1.0, pointed at an empty database. Get it working to the point where the admin user (created during installation) can log in and see an empty Confluence.

Compare all the settings files from your backup with the clean install, absorbing any changes you've made and want to keep (for example, my Confluence at home has had its server.xml changed so it can live behind a proxy on a different url, I've set it up for SSO, given it a bit more memory, etc)

Stop Confluence, and point it at a restored copy of the database. Start it and log in. Run a full re-index.

You'll also want to restore the attachments directory, but that doesn't need any complex actions, just restore it from the backup directly where it used to be.

comments: author: Raymond Moy
body: I'm not sure if I'm doing it wrong but I did these things after stopping the confluence service:

1: Restored the confluence sql db

2. Created the sqluser like before with same username and password

3. Edited the confluence.cfg file to change

\<property name="hibernate.connection.url"\>jdbc:jtds:sqlserver://localhost:1433/confluence\</property\> to the restored database name (in my case it's called confluence)

4. I replaced the attachments folder with the original one.

5. Restarted the server and it still doesn't work.

It doesn't load anything when I try to access localhost:8090 or localhost :80

I also just checked the server.xml the only difference was the broken one was set up with the connector port being 80 and the new one I build being 8090, should I change that on the new server.xml?


author: Raymond Moy
body: edit- actually this is all set! Thanks! It got a little tricky at some places but is all set.


Tags: backup

confluence-server

restore

server
How to generate KPI reports for issues which reside in Jira cloud and jira server
Asked by Shyam:

I've been trying to create reports/dashboards using the data from the Jira server and Jira cloud.

Source : Jira Server (JSD) and Jira Cloud (Jira Software)

Report : A mashup of data from both the instance.


Answers:
author: Shyam
body: As a workaround, I'm leveraging confluence to pull data from both the instance but it's not pretty from a UI perspective.


Tags: cloud

confluence-cloud

key-performance-indicator

report

security

server
How do I change a name of the confluence link?
Asked by Samantha Sharkov:

I have created a new (unpublished) blank page in Confluence. I want to add hyperlink to a word Research linking to another Confluence page. But it doesn't let me without any error. I click Edit, type the new name, click Enter - and nothing.


Answers:
author: Shannon S
body: Hello Samantha,

Welcome to Atlassian Community. I'd love to help you find out why you're not able to edit your hyperlinks.

I'm assuming that in this case you're using the new Confluence editor?

In my case, I pasted the link to the page, and if I click on it, I can then click **Edit link** and I'm able to change the name here by typing in the window that pops up.

For example:

1. *I select the smart link on the page by clicking once, and click Edit link.
   ![CleanShot 2020-04-20 at 12.16.51.png](https://community.atlassian.com/t5/image/serverpage/image-id/91215i0A7E76C92D9AEF1C/image-size/large?v=v2&px=999 "CleanShot 2020-04-20 at 12.16.51.png")*
2. *I enter the text in the field that I want to link.* ![CleanShot 2020-04-20 at 12.16.57.png](https://community.atlassian.com/t5/image/serverpage/image-id/91216i50571DA311FEA5BC/image-dimensions/416x107?v=v2 "CleanShot 2020-04-20 at 12.16.57.png")
3. I hit **Enter** and it saves:  
   ![CleanShot 2020-04-20 at 12.17.00.png](https://community.atlassian.com/t5/image/serverpage/image-id/91217iE5410AE04B919134/image-size/large?v=v2&px=999 "CleanShot 2020-04-20 at 12.17.00.png")  

It saves properly, so I don't believe that I am able to replicate the problem you're running into. Could you confirm if your menu options look the same, or if you're on the old editor?

Have you confirmed with your Confluence site admin if other users are having the same issue?

Lastly, can you replicate this across multiple browsers?

Take care,

Shannon

comments: author: Samantha Sharkov
body: Thank you, Shannon! It is the same editor but hitting Enter doesn't do the trick. It is a lower priority at this time, so I'll leave it for now. Looks like a bug.


author: Shannon S
body: Hi Samantha,

In that case, please do make sure to report it to your site admin so they can raise the ticket with us. The ticket will be prioritized accordingly. We'll be able to report it to the development team in the event that it *is* a bug, so they can get this fixed.

Thank you again!

Shannon


Tags: cloud
Why I can't make images clickable anymore?
Asked by lourdes.cardona:

Hi,

I am building a page for my team in Confluence and I noticed that some of the functionalities that I used to have are no longer available.

I have a bunch of images that I need to make them clickable via a link. I can't longer have the option available.

Please advise.

Lourdes


Answers:
author: Fabienne Gerhard
body: Hi [@lourdes.cardona](/t5/user/viewprofilepage/user-id/3652682) welcome to this wonderful community

links to attachments (here we have pics) are not working yet - there is a workaround option mentioned here in cloud documentation

1. Navigate to the published version of the page containing the attachment to which you want to link.

2. Go to More ??? \> Attachments.

3. Right-click on the file name of the attachment, and select Copy Link Address.

4. Navigate to and edit the page where you want to link to the attachment.

5. Paste the URL in the link tool pop-up, and give it a more friendly name if desired.

As mentioned there it's coming soon - as the ticket is already in progress -\> [see here](https://jira.atlassian.com/browse/CONFCLOUD-65302)

Hope this helps!

comments: author: lourdes.cardona
body: Hi Fabienn,

Thanks for taking the time to answer my question. I do not see the More.... \> Attachments that you are referring to in your reply above.

Please provide further details.

Best,

Lourdes


author: Fabienne Gerhard
body: Hi [@lourdes.cardona](/t5/user/viewprofilepage/user-id/3652682)

we can easily fix that. What the Workaround is doing is nothing else than just grab the adress of the attachment and put it in a cool readable link.

The More... is the button next to the Share Button (when not in Edit-Mode) ![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/91178i8A29C8D208EA87FA/image-size/large?v=v2&px=999 "image.png")

There you will find your Attachments - of course you have to upload them first ? (here a tip from me, it is absolutly great to give them real names before uploading so that you will find them easily)

In attachment area you can copy link adress which you can use for the next steps ?


Tags: confluence-cloud
Version of Tomcat bundled with Confluence
Asked by John Shoemaker:

Hello,

I already know how to find the version of Tomcat running on my Confluence server AFTER I have it running. Does anyone know of a place that shows which Tomcat versions are coupled with each Confluence release? A simple table or something? Again, I appreciate your responses, but I don't want to install each version to find the Tomcat version.

Stay safe and Thanks


Answers:
author: aaronk
body: Yes, is would be nice not to have to ask Support. I'm currently having to answer an audit finding on: <https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.35>


author: repi
body: Confluence administration -\> General configuration -\> Administration -\> System Information

Section :

### Java Runtime Environment {#toc-hId-1143515052}

for example:

Operating System Linux 4.4.77-rockchip-ayufan-136

OS Architecturea arch64

Application Server **Apache Tomcat/9.0.27**

Servlet Version 4.0

Java Version 1.8.0_232

Java Vendor Oracle Corporation

JVM Version 1.8

JVM Vendor Oracle Corporation

JVM Implementation Version 25.232-b09

Java Runtime OpenJDK

Runtime Environment

Java VMOpenJDK 64-Bit Server VM

comments: author: aaronk
body: I think the OP meant without installation.


Tags: tomcat
When will Confluence mandate 100% use of the new editor?
Asked by Jennifer Durham:

Hello,

I'm working on some documentation in which approximately 75% of the content was created in the legacy/old editor. We're now seeing prompts asking if we want to convert the pages. In some cases, the prompts say the pages can be converted; in other cases, the prompts say not all features are supported.

What we really need to know is:

1. Is Confluence going to do away with the legacy editor altogether at some point?

2. If so, when is that going to happen? Near future, further down the road? A specific date in which all content will be required to be in the new editor would be most helpful.

Thank you!

Jennifer


Answers:
author: Fabienne Gerhard
body: Hi [@Jennifer Durham](/t5/user/viewprofilepage/user-id/3118296) - please have a look on this community post from Atlassian team which is great <https://community.atlassian.com/t5/Confluence-Cloud-articles/Change-to-your-content-is-in-your-hands/ba-p/1324476>

You can also have a look how things are going here on this roadmap: <https://confluence.atlassian.com/confcloud/confluence-cloud-editor-roadmap-967314556.html>


Tags: cloud

confluence-cloud
Change from MySQL to PostgreSQL same server
Asked by Kyle Johnson:

I originally installed Confluence using MySQL and I would like to change it to PostgreSQL while keeping it on the same server. I took a snapshot before I did anything, and took a backup and copied that off anywhere else.

I've installed postgresql and configured it to how the documentation says to configure it. I have not migrated any data into the postgresql database yet.

What would my next steps be? I don't want to move to a new VM, I would like to continue using this same VM just with a different database type. We are a very small installation out total confluence back up is 30MB. Thank you for any help.


Answers:
author: Lasse Langhorn
body: Hi Kyle,

I would do the following:  
1. While Confluence is still running on your MySQL database I would do a XML backup. Described here: <https://confluence.atlassian.com/doc/manually-backing-up-the-site-152405.html>  
2. Stop your Confluence server.  
3. Configure your Confluence server to use the PostgreSQL database. Described here: <https://confluence.atlassian.com/doc/database-setup-for-postgresql-173244522.html>  
4. Start your Confluence server.  
5. When Confluence has been started you should be able to walk through the installation process again.  
6. When logged in Confluence running on PostgreSQL then restore the XML backup that was created in step 1. Restoring is described her: <https://confluence.atlassian.com/doc/restoring-a-site-152034.html>

I think this should do it.

Regards

Lasse Langhorn

comments: author: Kyle Johnson
body: Thank you Lasse for the reply!

I have a question about step 5, I assume I shouldn't be uninstalling confluence first, but I can't figure out how to get it to prompt me for the installation questions again without fully uninstalling and reinstalling the package.

My apologies for my incompetence.

Thank you


author: Lasse Langhorn
body: Hi Kyle,

Sorry for the late feedback.

What you need to do is in step 3 is to locate the confluence.cfg.xml file which is located in the \<confluence_home\> directory. Here are the database properties. You should change these values to reflect the Postgresql connection.

Then start Confluence, try access the URL: http:\<your-ip\>:8090 and see if Confluence can detect your Postgresql database and will walk you through the installation setup.

Regards

Lasse


Tags: confluence-server

mysql

postgres

server
Can I add a unlike button to a page on Confluence?
Asked by Takayasu Matsuda:

I use Confluence Cloud, then I want to add unlike button.

Currently there is only a like button on page.  
Can I add a unlike button to a page?

Also, if I can add five star rating in each page, it would be great.

<br />

Thanks in advance.


Answers:
author: Nic Brough -Adaptavist-
body: No, there's no function for disliking pages.

On server, there are some apps available for handling page ratings in several different ways, but Cloud doesn't support anything that would let us do it, there's nothing beyond the "like" function you're already using.

comments: author: Takayasu Matsuda
body: OK, I got it. Thanks for your quick answer.


Tags: cloud
Edit how-to template
Asked by Peter Johansson:

I have Confluence Cloud and I want to edit the "How-to" template (Instruktionsartikel in Swedish). I cannot find it in Settings / Global templates or in Space Settings/ Content Tools / Templates. I can find the Troubleshooting template though, but not the "How-to". Where can I find this template and edit it?


Answers:
author: Peter Johansson
body: I will answer this myself. The Swedish translation for "How-to" is "Fr?gor \& Svar" under the headline "Plan f?r guide". Not the best translation. I found it by changing language settings to English, deactivating the How-To template to find de deactivated template in Swedish and then reactivate it to change it.


Tags: cloud
How can I create new page without choose template?
Asked by junmrt:

header navigation is missing.

How can I create new page without choose template?


Answers:
author: Dominic Lagger
body: Hi [@junmrt](/t5/user/viewprofilepage/user-id/3871134)

The missing header is strange... But without choosing a template this isn't possible I think.

With a direct link you should get the pop up for choosing a template:

```
https://<<your-instance>>.atlassian.net/wiki/home?createDialog=true?
```

Regards, Dominic


Tags: cloud
How can I get a copy of the remote work templates?
Asked by Tom L:

Is there a download link for these remote work templates?

<https://www.atlassian.com/software/confluence/templates/collections/remote-work>

Secondly, if I were to spin up a new Confluence instance and then export these templates, would they work on older Confluence versions?


Answers:
author: Daniel Eads
body: Hi Tom,

The templates gallery is set up for use with Confluence Cloud, using the new Cloud editor. Server uses what we're now referring to as the Legacy editor (in Cloud terms), so the new gallery doesn't translate directly for Server use.

You could open template pages from the gallery in a Cloud Free site, then copy/paste the contents into a self-generated Server space template. I gave this a try in a test instance myself. While the formatting didn't copy over with 100% accuracy, I was able to get a nice copy template in Server with just a couple minutes of cleanup work.

Many of the templates in the Cloud gallery also ship with Server however. If for some reason you don't see some of these templates in your Cloud instance, you could give the [Atlassian Team Playbook template bundle](https://marketplace.atlassian.com/apps/1216357/atlassian-team-playbook-blueprints) a try. Outside that, you can copy templates from the Cloud editor to Server with just a couple minutes of formatting work.

Cheers,  
Daniel


Tags: confluence-server

server
Carry over story reporting
Asked by unnikrishnan:

I would like to create one dash board item to show how many story is getting carry over from one sprint to next sprint. So that we can do a RCA and improve the process based on the root cause.


Answers:
author: Evan Golden {VisualScript}
body: Hello

In the VisualScript for Jira marketplace application, we have a built-in velocity report. It includes story points committed, delivered, added, dropped and rolled. It shows these metrics over a period of time, and broken down by sprint.

Hope this helps.

Best

Evan - Product Manager of VisualScript

![Screen Shot 2020-08-05 at 9.00.31 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/105798i71C1A9C282529568/image-size/large?v=v2&px=999 "Screen Shot 2020-08-05 at 9.00.31 AM.png")

comments: author: Natalie Hoekzema
body: Hi,

Is there a way to add to this report (or dose anoth exist) that shows a brakedown of what type of 'stories' have been added to a sprint eg story, bug or spike.

Also can you display the results and show it across prior completed sprints?


Tags: cloud
Hiding some pages from public viewing
Asked by Paul Holmes:

Hi, I am new to confluence and still learning. I am working on a site that will be open to public viewing but I also need to hide certain pages so only certain people can see it, is there way to do that? maybe by setting it up so only people with a direct link have access?


Answers:
author: Alexis Robert
body: Hi [@Paul Holmes](/t5/user/viewprofilepage/user-id/3869238) ,

it's possible to hide some pages (or even some spaces) with restrictions in Confluence. You can have a look at the documentation here : <https://confluence.atlassian.com/doc/page-restrictions-139414.html>

Basically, you can prevent people or groups from seeing content this way.

As far as I know, there is no "direct link only" feature (I think it's possible with Google docs for example).

Let me know if this helps,

--Alexis


Tags: new-to-confluence
ScriptRunner for Confluence - get user name by email
Asked by Ramakrishnan Srinivasan:

Hi,

I tried to get user name from email using ScriptRunner for Confluence. I tried the following code in scriptrunner console,

```
import com.atlassian.sal.api.component.ComponentLocator
import com.atlassian.confluence.user.UserAccessor

def userAccessor = ComponentLocator.getComponent(UserAccessor)
def users = userAccessor.getUsersByEmail("ramakrishnan.srinivasan@xyz.com")
```

users seems to be a class com.atlassian.crowd.embedded.atlassianuser.CrowdSearchResult

But I am not able to figure out how to parse this result to get the user name?

Can you please help me?

Thank you

With warm regards

ramki


Answers:
author: Lasse Langhorn
body: Hi Ramki,

You can do something like this:

```
import com.atlassian.sal.api.component.ComponentLocator
import com.atlassian.confluence.user.UserAccessor

def userAccessor = ComponentLocator.getComponent(UserAccessor)
def users = userAccessor.getUsersByEmail("ramakrishnan.srinivasan@xyz.com")
if (users.pager().currentPage.size() == 1) {
return users.pager().currentPage.get(0).name 
} else {
return "No single match"
}
```

Regards

Lasse Langhorn

comments: author: Ramakrishnan Srinivasan
body: Hi Lasse Langhorn,

Thank you, it worked for me.

regards

ramki


author: David Harkins
body: Should this work with JIRA?


Tags: confluence-server

scriptrunner

server