youngmon/atlassian-qna huggingface dataset:
Data loss after power loss and disk full
Asked by Mike Gibbons:

Hello,

Our server recently experienced a power outage outage. Upon restarting confluence would not start. I had reviewed the startup logs and it said it was not able to start due to the disk being full.

I have removed some of the older daily backups and noticed that they seemed to have stopped a few months ago. After freeing up some space confluence started up but was missing a few months worth of data. From what I can tell it looks like we are using the HSQLDB database.

Is there anything that can be done to recover this data?

Thanks


Answers:
author: Nic Brough -Adaptavist-
body: There is a very good chance that you've lost it all. I'm actually quite surprised you can start Confluence and find any data at all, as running out of disk space will truncate what goes into the HSQLDB database and usually make it unreadable at the end, which stops Confluence working.

I suspect things have appeared to carry on working because HSQL is read into memory and the memory used as the database until you shut down, when it writes. A crash and reboot means no write, so you've recently been writing most changes into (volatile) memory instead of to the disk. That explains why you've lost a chunk of data.

Your very last daily backup from before you lost the disk space is probably the only 100% certain backup. What is currently running is likely to be ok, so you could also export that.

This is another good reason the admin sections warn you not to use HSQL. I'd take one of the exports, and import it into Confluence with a proper database behind it. And write off the data-loss, I can't think of a way to get that back.

comments: author: Mike Gibbons
body: Thanks for the explanation Nic. When I saw it had been setup to use the HSQL database it certainly made me a little nervous. Are there any temp folders outside of the confluence home directory to check for data?
How to link to an anchor in an embedded table?
Asked by Marc Takeno:

I'm trying to link to a specific cell or line in an embedded table. I've used the Anchor macro to create an anchor in a cell, but trying to create a link with the URL#anchor format doesn't seem to bring up the anchor location, only the top of the page.


Answers:
author: Michael Cameron
body: There is a bug with this if you have a floating header for the table. The link to the anchor works in that the row is displayed, however as soon as the row is displayed the header will be displayed on top of it.  
A lot less than ideal. There is a workaround using custom CSS but I don't have permissions to apply the fix.


author: Hassan Aftab
body: Hi Marc

To reference an anchor in Confluence we don't need the URL but the relevant page name or space key. As, the following article states.

* [Anchors](https://confluence.atlassian.com/doc/anchors-139442.html)

For example if you create an *anchor1* in a page **page1.**

You can reference it as

```
page1#anchor1
```

Similarly to reference anchors in a different space, *space key*is also required at the beginning.

I have tested this functionality and it works for tables as well.

Thanks,

Hassan

comments: author: Baback Nemazie
body: Hi,

I placed anchor on Column 2 of say row 5 in a table. The anchor link works but it goes to row 6 in the table obscuring the desired row 5.

what am I doing wrong?  

TIA


author: Patrick Joerg
body: Should it still work in a filtered table?

Can't get this to work for me.

Normal anchors work...

I mean to me its clear, that once using the filter, this might be pretty difficult to do.

But if I still have the pure table unfiltered (but placed within a filter macro),

a anchor to a row could still be made working no?


Tags: anchor
Running confluence docker on windows
Asked by Alex Cutvoi:

I followed the instruction from this tutorial to install docker with ![docker_confluence.png](/t5/image/serverpage/image-id/15491iC2F86495C925830F/image-size/large?v=v2&px=999 "docker_confluence.png")I followed the installation tutorial from this link: [atlassian/confluence-server](https://hub.docker.com/r/atlassian/confluence-server/). I installed on my windows machine with no problems. But I don't know how can I run it from command line. There aren't any instruction on the link.

Anyone have run on windows platform?


Answers:
author: Hassan Aftab
body: Hi Alex

Once you have downloaded the image, please run the following command to confirm that the image has been downloaded successfully,

```
docker images
```

Look for **atlassian/confluence-server**

To create a new container (instance) from the above image, please run the following command,

    docker run -v C:\Atlassian-test\docker-confluencehome:/var/atlassian/application-data/confluence --name="confluence" -d -p 8090:8090 -p 8091:8091 atlassian/confluence-server?

This will create an container called **confluence**and map it's home folder to

    C:\Atlassian-test\docker-confluencehome

Check the status of Confluence container,

```
docker ps -a
```

The container titled **confluence**should be running.

You can access Confluence on localhost on port 8090.

Thanks,

Hassan Aftab


Tags: atlassian-support

docker
Confluence & Calendars bug
Asked by Dylan Perks:

Hi all,

We've recently installed confluence and it's been all good until we installed Team Calendars. Now, the home page is blank: <https://hub.ultz.co.uk/confluence>.

Any help would be appreciated. Thanks in advance!

EDIT: it's blank when logged on


Answers:
author: Dylan Perks
body: Cache appears to be the blame. Cleared it and everything is fine now.

comments: author: AnnWorley
body: Interesting! For the sake of others on the Community, please let us know whether it was the [plugin cache](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html) or the [internal cache](https://confluence.atlassian.com/doc/cache-statistics-150472.html)?


author: Dylan Perks
body: It was my CloudFlare cache, despite me having it disabled.


author: Davin Studer
body: I would check to see that the site default home page didn't get changed. It is under Confluence Administration -\> Further Configuration.


Tags: bug

team-calendars-for-confluence
How to access http://localhost:8090 from external
Asked by apopovic77:

Hi,

i installed confluence on my linux via ssh. Now i can connect via http://localhost:8090/?!? How to do that from external?

Thank you for help.

BR Alexander


Answers:
author: Machadinho
body: Hello Alexander, how are you doing?

**localhost** points to the local address of your server, so if you'd like to access it externally, simply use the IP address of your Linux.

e.g. <http://192.168.0.15:8090/>

* Use the command ***ifconfig*** to find out the IP address of your machine.

Hope that helps!

Regards,

Lucas Machado

comments: author: apopovic77
body: Hi, Thx for your help. i understand it should work with the ip.

First i tried it with my FQDN, i didnt think about the ip. now i realise, that my problem lies somewhere else.

cat /opt/atlassian/confluence/logs/catalina.out

Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 1073741824, 0) failed; error='Cannot allocate memory' (errno=12)

#

# There is insufficient memory for the Java Runtime Environment to continue.

# Native memory allocation (mmap) failed to map 1073741824 bytes for committing reserved memory.

# An error report file with more information is saved as:

# /tmp/hs_err_pid23305.log

Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 1073741824, 0) failed; error='Cannot allocate memory' (errno=12)

#

# There is insufficient memory for the Java Runtime Environment to continue.

# Native memory allocation (mmap) failed to map 1073741824 bytes for committing reserved memory.

# An error report file with more information is saved as:

# /tmp/hs_err_pid3682.log

i guess i need get more memory.

thank you for your help.

BR ALex


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

Hi Alex

either you have to less memory in your box to satisfy the needs of Confluence or your heap config needs to be adjusted.

Br

Kurt


author: apopovic77
body: Hi Kurt,

i installed it on a linode.com host which only has 1 GB RAM. I know saw that the minimum requirements for confluence is 6 GB.

I guess i need a different server.

Thx Alexander


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

Jepp, looks like

Let me know how it goes as soon as you have a larger server available

Cheers

Kurt


author: Kurt Klinner
body: Hi Alex,

check <https://confluence.atlassian.com/confkb/forcing-confluence-to-bind-a-specific-interface-237569002.html> for more details.

Another option if you would stick to use localhost, would be to run an nginx as reverse proxy in front of your instance

BR

Kurt


author: Sid
body: ip address:8090 should work.
formatting the confluence Jira query
Asked by Toby Moore:

Hey all,

So we use confluence for reporting on jira issues using the macro. But when no issues are found (which we want to show) and we export to PDF the query goes really small, I would really love for formatting purposes if there was a way to make this have a fixed width like you can with tables.

Does anybody know of anything like this?

![Screen Shot 2018-02-21 at 15.36.57.png](/t5/image/serverpage/image-id/15478i56199911EE267B53/image-dimensions/679x191?v=v2 "Screen Shot 2018-02-21 at 15.36.57.png")


Answers:
author: Sharon Metzger
body: I'm thinking it's in your PDF template. Are you using Scroll PDF, or the native Confluence PDF? We have Scroll PDF Exporter, and I have a Jira query that's currently "no issues found". When I use the built-in "Documentation" PDF template, the table width is full-page-width, and when I use one of our own templates, the same table is minimum width.   

comments: author: Toby Moore
body: Hey, thanks for the response. We just use the normal PDF exporter that comes with JIRA (I think?). The query is full width when viewing it in confluence but drops down to a small as it can when exported!

![Screen Shot 2018-02-22 at 09.13.29.png](https://community.atlassian.com/t5/image/serverpage/image-id/15575iE2F23AF902DEC0EB/image-dimensions/238x462?v=v2 "Screen Shot 2018-02-22 at 09.13.29.png")


author: Sharon Metzger
body: When I use the regular PDF export, I also get full-page-width tables. Do you have a custom stylesheet for your PDF export? (Space tools \> Look and Feel \> PDF stylesheet) You can add some CSS to manage the table width.   

I inherited most of my CSS, and I can't tell without experimenting which of these bits affects the Jira macro, but to get you started, my guess is you want to add something like this:

table.sectionMacro\>tbody\>tr\>td  
{  
width: 100%  
}
Changing family fonts when exporting to Word
Asked by Marta Finazzi:

Hi,

I would like to know how to change the family font when exporting to Word while working on Confluence. I already did it for PDF documents, but I don't know the right steps to do the same when exporting to Word.

Could you help me, please?

Thanks!

Regards,

Marta


Answers:
author: Lei Wang
body: Hello Marta,

You could try to modify MS Body Font as described in the following KB article:

<https://confluence.atlassian.com/confkb/how-to-customize-ms-word-exports-202780.html>

The wrapper sets the body font:

```

body, p, td, table, tr, .bodytext, .stepfield {
font-family: Verdana, arial, sans-serif;
}

```

comments: author: Marta Finazzi
body: Hi!

Do I have to change the fonts from "Global Stylesheet", from Confluence Administrator, and then copy the CSS tag? If so, can you give me an example for Arial font to do it properly?

Thank you so much for your help :)

Marta


Tags: export

font

ms-word
Changing fonts when exporting to Word
Asked by Marta Finazzi:

Hi,

I would like to know how to change the family font when exporting to Word while working on Confluence. I already did it for PDF documents, but I don't know the right steps to do the same when exporting to Word.

Could you help me, please?

Thanks!

Regards,

Marta


Answers:
author: Domenico Manzo _Actonic_
body: You can try to use some plugins from the Marketplace.

For example "Scroll Office" <https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-office/server/overview> which seems to allow Users to upload a template to embed the required fonts and styles.

comments: author: Marta Finazzi
body: Thanks for your help, but I would like to configure Word fonts directly from Confluence, just as I did for my PDF documents. Is there any option to do so from Confluence Administration?

Regards,

Marta


author: Thomas Rough _K15t_
body: Hi Marta,

If you are interested in our app, Scroll Office, I would be happy to provide you with some further information.

The app itself, allows users to customize their own templates in Word format, which are then uploaded to Confluence. This means that when you choose to export your content, you simply select the specific Word template you want to use, and then your specific style choices from the template are applied to your Confluence content during the export.

You have mentioned in your response to Domenico, that you were looking to configure the Word fonts directly from Confluence. As mentioned, our app works in a different way to this (using customizable templates), but if you are still interested you can try the app for free from the [Atlassian Marketplace](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-office/cloud/overview).

Feel free to reach out to us if you have any questions.

Thanks, Thomas (K15t Software)


Tags: export

font

ms-word
Issue with anchors
Asked by Coralie L.:

I'm trying to place a link to an anchor paced in another Page in same space and it won't work :

I've tried exactly like described in this page : <https://confluence.atlassian.com/confcloud/insert-links-and-anchors-724764900.html>

the page containing the anchor is called **Graphique - S?lectionnez Graphique**

the anchor in this page is called **calcul**

this is what I did :

1 - Select some text or position your cursor where you want to insert the link

2 - Choose Link in the toolbar

3 - Choose Advanced and enter **Graphique - S?lectionnez Graphique#calcul** in the Link field

4 - save

The link generated looks like this : <https://mycompany.atlassian.net/wiki/spaces/WI/pages/31883306#Graphique-S?lectionnezGraphique-calcul>

When I copy it, it looks like this : <https://mycompany.atlassian.net/wiki/spaces/WI/pages/31883306#Graphique-S%C3%A9lectionnezGraphique-calcul>

When I click on the link, I'm redirected to <https://mycompany.atlassian.net/wiki/spaces/WI/pages/31883306/Graphique+-+S+lectionnez+Graphique#Graphique-S%C3%A9lectionnezGraphique-calcul>

My issue is that I'm ++never++ going to the anchor, I stay at the top of the page.

What can I do to solve this?

Many thanks.


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Coralie L.](/t5/user/viewprofilepage/user-id/1189792)

I've also tried the anchor and had no problem going to it. However, I had to wait till the page was fully loaded. Gong to that anchor was the last thing it did. The way I did it was:

* I created an anchor point called anchor in "page"
* Went to my other page and created a link. I chose the "page" and then added the #anchor at the end. So my link would look like https://######.atlassian.net/wiki/spaces/OS/pages/338657293/Page#anchor
* Publish the page
* Click on the link and everything worked out.

But as I told you, I had to wait a bit before actually going to that anchor point.
Overview page update with huge margins
Asked by Bruno Miretti:

Hi,

how can we remove the huge margins you've added with the latest Confluence update on overview pages ? This has broken many things (once again) on our documentation space !

Regards


Answers:
author: Jessica Morettie
body: Looks like it's fixed, which is great!!


author: Bruno Miretti
body: Hi Jessica,

a bug has been opened here: [CONFCLOUD-59117](https://jira.atlassian.com/browse/CONFCLOUD-59117)

Please vote. Thanks :)


author: Jessica Morettie
body: Agreed. This is creating problems on my pages!


Tags: confluence-cloud
No email notification when deleting confluence page
Asked by william:

I get email notifications on a watched space when I add or modify a page. I do not get an email notification when I delete a page . I do get an email when I delete a blog post.

Running Confluence Server 6.2.0 n Linux.

We have a heavily modified confluence with modifications to the confluence email notification plugin for notifications with content and the "legacy" notification code that seems to be used for notifications without content.

I also see this issue with stock confluence 6.2.0 without any of our modifications.

This problem does not happen in Confluence 4.3.


Answers:
author: AnnWorley
body: Hi William,

The way I read [Email Notifications](https://confluence.atlassian.com/doc/email-notifications-145162.html) it seems like the deleted pages are only included in the daily update. I am surprised that you get a notification when you delete a blog post.

That said, we have this bug open as well, which could be what you are running into: [Daily Email Report Does Not Include Deletion of Page or Blog](https://jira.atlassian.com/browse/CONFSERVER-37898) The bug was probably not present in Confluence 4.3, as that version is not listed in the "Affects Version/s" on the ticket. Feel free to comment or vote on the bug to communicate directly with the development team. Doing so will also add you to notifications for the issue.

Thanks,

Ann

comments: author: william
body: Thanks for replying. We actually have daily digests disabled but I am sure it is a related issue. They moved notifications to a whole series of plugins and, based on some of the comments I see in some source code I have access to, they have issues and complications with notification.
How to import and export an excel to confluence
Asked by Siva shankar:

The excel we can attach in confluence but my question is how to import it and make changes to the excel and wen to export it to local it should get reflected


Answers:
author: Paul Berinde-Tampanariu
body: Hi Siva,

Thank you for your question.

Confluence offers the ability to upload Excel files and to embed them for viewing via the Excel Macro. Excel files cannot, however, be imported as pages, and pages cannot be exported as Excel files. Furthermore, it is not possible to edit Excel files directly in Confluence.

Instead, the way this is handled is by downloading a temporary copy of the file, editing it in Office locally, and then re-uploading it to Confluence.

If your version of Confluence is self-hosted (Server) you will be able to use the [Edit in Office](https://confluence.atlassian.com/doc/edit-office-files-170494553.html "Edit in Office")feature to achieve this.

In the Cloud version of Confluence, the Office Connector from Microsoft has been replaced with the [Atlassian Companion App](https://confluence.atlassian.com/confcloud/edit-files-724765124.html#EditFiles-companionTheAtlassianCompanionapp) which fulfills the same duties.

Let us know if this answers your question.

Cheers,

Paul
how can I delete a page, that is not accessible?
Asked by Kinneret Levy:

hi all,

how can I delete a page, that appears as a "child page",

and is NOT accessible?

the delete option is within the page itself.. (so I'm in a loop..)

thanks a lot, in advance,

Kinneret

|-----------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|
| The webpage cannot be found {#toc-hId-1790591870} ------------------------------------------------- |
| HTTP 400                                                                                            |
|                                                                                                     | ### Most likely causes: {#toc-hId--958078596} * There might be a typing error in the address. * If you clicked on a link, it may be out of date. |


Answers:
author: Fabienne Gerhard
body: Maybe the page was already deleted but you have to empty trash?

A quick option to delete could be:

Create a **new** page in this space

-\> go to **Space tools** \> **Reorder pages**

-\> move the ++non-accessable page++ as child page to the former created **new** page

-\> Delete the **new** page including child pages (\<- which would be the page you could not access)

comments: author: Sloan
body: Cool idea! This should work.

[@Kinneret Levy](/t5/user/viewprofilepage/user-id/1189763) before trying this, two other possibilities that could help.

* Go to the space trash to check if the page is there, as hinted by [@Fabienne Gerhard](/t5/user/viewprofilepage/user-id/971720)
* Try doing a [redinexing](https://confluence.atlassian.com/doc/content-index-administration-148844.html), this could also be caused by a faulty content index

Cheers Niklas


author: Fabienne Gerhard
body: reindexing sounds good - nice idea!
Problem with access after login
Asked by Konstantin Ignatyev:

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

After login the user sees the picture below


Answers:
author: Suren Raj
body: Hi, Konstantin.  

Could you let me know if this issue is happening in all browsers? Could you test it on other browsers and let me know the results?

Also, can you please request the users to try to

1. Log in using incognito/private browsing mode.
2. Clearing the browser's cache and cookies and trying once again.
3. Manual delete all Atlassian cookies in the browser and try once again.

4. If the error persists, please disable the Third-party Cookies, enable it, and try to log in again.

5. Finally, if all of the above fails, try adding these addresses to Trusted Sites:

   ```
   https://*.atlassian.com
   https://*.atlassian.net *
   https://*.jira.com *
   https://*.atlassian.io
   https://ajax.googleapis.com
   https://cdnjs.cloudflare.com
   ```