youngmon/atlassian-qna huggingface dataset:
Why Can't I Export to a Foreign Language PDF Using This TTC File?
Asked by Ben Jacobs-Swearingen:

I am having issues using Confluence to export foreign language pages to PDF using the [NotoSansCJK.ttc](https://www.google.com/get/noto/help/cjk/) collection ("My TTC").

The [documentation](https://confluence.atlassian.com/doc/create-a-pdf-in-another-language-175473.html) for creating PDFs claims that:
> the only font files supported are true type fonts and true type collections. The accepted file extensions are \*.ttf and \*.ttc

but when I upload My TTC via the "PDF Export Language Support" interface, attempting to "Export PDF" generates the following error:
>
> com.atlassian.confluence.importexport.ImportExportException: com.lowagie.text.DocumentException: /var/atlassian/application-data/confluence/fonts/NotoSansCJK.ttc is not a valid TTF file.  
> at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.useCustomFontIfConfigured(FlyingSaucerXmlToPdfConverter.java:214)caused by: com.lowagie.text.DocumentException: /var/atlassian/application-data/confluence/fonts/NotoSansCJK.ttc is not a valid TTF file.  
> at com.lowagie.text.pdf.EnumerateTTC.findNames(Unknown Source)  
>
Any thoughts about why Confluence isn't handling this TTC file correctly?

<br />

N.B., the only other seemingly pertinent enduser setting, i.e. the PDF Stylesheet CSS, appears to be correct:
>
> img  
> {  
> -fs-fit-images-to-width: 100% !important;  
> }  
>
> body  
> {  
> font-family: ConfluenceInstalledFont;  
> }

<br />

And things look OK in the backend Bandana database as well:
>
> confluence=\> select BANDANAVALUE from BANDANA where BANDANAKEY = 'com.atlassian.confluence.extra.flyingpdf.fontname';  
> bandanavalue  
> --------------------------------------  
> \<map\> +  
> \<entry\> +  
> \<string\>customfont\</string\> +  
> \<string\>NotoSansCJK.ttc\</string\>+  
> \</entry\> +  
> \</map\>  
> (1 row)


Answers:
author: Shannon S
body: Hi Ben,

It appears the .ttc file you're using may be corrupt.

You can try to [create your own .ttc file from the invididual .ttf files](https://confluence.atlassian.com/confkb/how-to-create-ttc-family-font-file-773981523.html) and see if this works better, or try with a different .ttc file so we can narrow down the issue.

Let us know how it goes!

Kind Regards,  
Shannon

comments: author: Ben Jacobs-Swearingen
body: Ah! I tested it with a different ttc file from Microsoft, YuGothB.ttc, and it indeed works. It even renders both Chinese and Japanese correctly. Thanks for the help, I couldn't imagine that it could be a problem with the Google font, but it was!


author: Shannon S
body: Glad to hear, Ben! If you prefer to use the NotoSans font, you can go ahead and try creating the .ttc with the Font Forge article I sent you.

Take care!

Kind Regards,  
Shannon
Confluence Server installed but not working on localhost:8090
Asked by Srinivas Korlipara:

I have installed Confluence Server on Windows 10. But unable to view in browser using http://localhost:8090. Also, what is my Server ID ? How to Login as Administrator ?


Answers:
author: Nic Brough -Adaptavist-
body: To log in as an admin, log in with an account that is in the admin group.

To see the server ID, you can look in the log or the database, but the easiest option by far is the licence or system information pages.

"Unable to view" tells us nothing more than "you have got something wrong". Have you used the right url? Do you mean you have forgotten the user you set up on install, or you get an error? What is the actual error or problem you see? Is it running? What does the log say?
Installing Confluerce on my own Centos 7 Server
Asked by Jerry Schumacher:

I install the Confluerce Server on Centos 7.

Before Installing I install Java and run the confluerce .bin file I downloaded.

I use 2 for Custom Installation and default Port 8090

After Installation I noticed the Confluerce is not running on the server. I told it start and to start on boot. I use the command ./start-confluence.sh with no luck.

I install and configure BitBucket without any problems. What did I do wrong when install confluence and Jira Service Server.

Jerry


Answers:
author: Nic Brough -Adaptavist-
body: It's hard to say what might have gone wrong with starting your Confluence.

What does the log file say the problem is? (check \<confluence-home\>/log and all the files in it)
Confluence interface became worse
Asked by Konstantin Verba:

I'm running both Confluence 5.8 (reached EoL) and a cloud version. I just wanted to reach out to Confluence team and express my big frustration because in my opinion the new blue interface looks unprofessional and inspired by some ms win10 user. New set of icons like this is ![1Artboard-1@2x](/t5/image/serverpage/image-id/3478i18815FD09D16EE66/image-size/large?v=v2&px=999 "1Artboard-1@2x")

also looks crappy as a tablet modern.

I just wanted to ask Confluence support what is the last version with the interface I like, but according to <https://www.atlassian.com/blog?p=37521> no dedicated support now.

I must repeat, very frustrating. Don't break what's not broken.


Answers:
author: Konstantin Verba
body: Thanks!


author: Nic Brough -Adaptavist-
body: The last version with the old interface doesn't really matter, as the change is on Cloud, and you don't get to choose what version you have on Cloud.

The good news for you is that the change has not made it on to Server yet, so you can upgrade to 6.3 and not be affected.

From what I've heard, you're probably safe for quite a while as well, it won't happen to servers for quite a while - possibly years.
I cannot load the AUI in my theme. (CDN)
Asked by Nikos Sarilakis:

I'm trying to install the AUI in one of our Spaces.

In this page ([https://docs.atlassian.com/aui/getting-started.html#serve-from-cdn\\](https://docs.atlassian.com/aui/getting-started.html#serve-from-cdn)) you say: "you will need to include them in the HEAD of your HTML or template file, such as in the example below."  

When I go to edit the theme it shows me only the current theme and I'm not able to edit that. If I go to edit the layout there are plenty of files that use "Velocity" and I cannot add this:   

\<link rel="stylesheet" href="//aui-cdn.atlassian.com/aui-adg/6.0.6/css/aui.min.css" media="all"\>  
\<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"\>\</script\>  
\<script src="//aui-cdn.atlassian.com/aui-adg/6.0.6/js/aui.min.js"\>\</script\>

Do you know where can I add these 3 lines of code to load the AUI?


Answers:
author: Steven F Behnke
body: That is not for use in Confluence. You cannot simply add a new version of AUI to Confluence, it has it's own version of AUI installed and you will risk breaking the UI if you add a newer version of AUI like this.

What are you actually trying to accomplish here?

comments: author: Nikos Sarilakis
body: Thanks for your reply.I'm trying to use the AUI

I'm trying to use the AUI to create a horizontal menu. I tried using the formatting that I found online and it doesn't work. Is AUI already pre-installed? Is AUI similar to the Bootstrap library? Can I just use the AUI commands and they will just work?

Thanks!


author: Steven F Behnke
body: Can you show me the component? Some of them are generally avaliable so you can use them. Others are not generally avaliable so you'd have to require them using a plugin or some other loading module.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/3480i08A2838F054CE331/image-dimensions/744x108?v=v2 "image.png")


author: Nikos Sarilakis
body: Thanks, Steve. I didn't know about the core AUI. (I'm very new to Confluence)

I'm trying to use this menu:

<https://docs.atlassian.com/aui/latest/docs/navigation.html>


author: Nikos Sarilakis
body: When I paste it, I see it as bullet points.

Thanks again!!


author: Nikos Sarilakis
body: It doesn't allow me to paste the command line I see under the Horizontal menu/Examples. Where can I find it?

Sorry for the multiple messages. I try to paste that command line and it sees it as inappropriate or spam


author: Steven F Behnke
body: What version of Confluence are you on? Confluence includes it's own AUI and we may be able to take advantage of specific styles to build our own without including new plugin resources.

This documentation is targeted to plugin-developers. The idea is that the plugin developer would take or require the resource, package it in their plugin, and serve it up within the application.


author: Nikos Sarilakis
body: 6.1.2. is the version we have


Tags: aui
htmlcomment macro
Asked by Vinh Lam:

I saw that on cloud verion, I can use "html comment" macro, but on my local version, 6.2.3, it does not have. I already enabled all html macro but didn't help.


Answers:
author: Steven F Behnke
body: HTML comment is provided by the Adaptavist Content Formatting Macros, which is curiously still installed in Confluence Cloud.

You can add your own "HTML Comment" macro through the User Macros functionality that is in Confluence Server instead.

comments: author: Vinh Lam
body: Thank you, it helps a lot.


author: Steven F Behnke
body: Happy to help, no problem.
Confluence license updated from evaluation to developer
Asked by Quin Kan:

Our current Confluence has an evaluation license. The other day when I tried to apply the developer license, I think it asked something about migration. Since I do not know the impact, I select not to update the license.

Questions:

1. Is it trying to migrate the Confluence database?

2. Can we estimate how long it will take?

3. Does the migration affect what the Confluence users do? I meant should we do this license update during off hours?

Thank you

Q


Answers:
author: Nic Brough -Adaptavist-
body: There's no migration or changes when you apply a new licence.
Looking for a way to easily select only a part of a template
Asked by Fr?d?ric Gaumond:

Hi, I'm looking for a way to have a complex, all-encompassing template where users can just pick the parts that they need and a page with the needed elements are generated. I found the Scaffolding Forms addon that's supposed to do it but the price is really steep and it includes a lot of features that are not needed. Thanks for all feedback and answers.

Here's the link to the Scaffolding Forms addon:

<https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.scaffolding/server/overview>


Answers:
author: Jack Brickey
body: Hi [@Fr?d?ric Gaumond](/t5/user/viewprofilepage/user-id/1141024) , did you find a solution? Did you contact the vendor support?


Tags: template
Why is Confluence emailing me about pages that I am not watching?
Asked by Arthur Fidas:

I keep getting email updates about a project that I'm not watching. In addition to my email spam, I'm also getting spammed from the Sites space. Does anyone have any idea why this could be happening?


Answers:
author: AnnWorley
body: I am not sure what is triggering the notifications but it should be possible to turn them off via the emails: [Manage watches from the email message](https://confluence.atlassian.com/doc/watch-pages-spaces-and-blogs-139579.html#WatchPages,SpacesandBlogs-Managewatchesfromtheemailmessage)

I look forward to hearing whether this works in your case.

comments: author: Arthur Fidas
body: [@AnnWorley](/t5/user/viewprofilepage/user-id/502040) Thank you for your help! I was able to get the notifications to stop. I also have another issue with getting Confluence and JIRA to integrate. I'll "@" you in my other post.


Tags: notification

email

watch
Hi, I want to delete my attachments. How do I check if the permission scheme allows me to do it?
Asked by Galina Self:

Hi, I want to delete my attachments. How do I check if the permission scheme allows me to do it?


Answers:
author: Nic Brough -Adaptavist-
body: As a non-admin, you don't get a direct view of it. But you can simply look at the list of attachments on the page - is there a delete icon?

comments: author: Galina Self
body: Nic, thank you.

No, I don't see delete icons. So, I don't have the right. Ridiculous, since they are attachments I loaded...


author: Nic Brough -Adaptavist-
body: There are good reasons not to allow deletion of files, you should check with your admins to see if they have any. The two flags for attachment really are just "can add" and "can delete"
Space backup does not progress
Asked by Shubha:

We migrated a Confluence server running on Linux to a Windows machine. The XML restore did not work, so we imported each space in to the new server. Now, in the new Confluence, i cannot take an export of any of the spaces. I tried both the older spaces that were imported as well as creating a new space with just one page.

The page just shows no progress,

Any help is appreciated.


Answers:
author: AnnWorley
body: I am assuming the space exports are to XML, not HTML or PDF. Please see [XML Backups and Space Export/Import Troubleshooting](https://confluence.atlassian.com/confkb/xml-backups-and-space-export-import-troubleshooting-180294700.html)

Since you mention that a newly created space also hangs during export, I tend to suspect Out of Memory errors. Please search for "outofmemory" in the logs at \<confluence_install\>/logs/ (anything recent in this directory) and \<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

In the atlassian-confluence.log there should be entries for the export starting and finishing - look for the phrase "long running task" to see if there is any explanation for the export failing, or whether the export is still running but just not updating the UI.
Which is permission for include files in Confluence?
Asked by Tommye Silva:

![Screenshot from 2017-07-21 08-26-26.png](/t5/image/serverpage/image-id/3459iCB5806C5EC3086BE/image-size/large?v=v2&px=999 "Screenshot from 2017-07-21 08-26-26.png")

This user has the permission Attachments (Add/Delete), but is impossible include files.


Answers:
author: Nic Brough -Adaptavist-
body: The box you are showing there is asking you to select an existing file already attached to the page. There are no attachments yet, so it's empty.

Try attaching the file via the attachment link in the menu.

comments: author: Tommye Silva
body: User admin in Attachments:  
![user admin.png](https://community.atlassian.com/t5/image/serverpage/image-id/3463iAC279C3E731F662F/image-size/large?v=v2&px=999 "user admin.png")

User no admin in Attachments:

![user no admin.png](https://community.atlassian.com/t5/image/serverpage/image-id/3464i9E334148D8E1E487/image-size/large?v=v2&px=999 "user no admin.png")


author: Tommye Silva
body: Note: This problem arose after the Confluence update.


author: Nic Brough -Adaptavist-
body: Ok, that makes sense. Go to Space Admin and check the permissions. Your second user does not have "attachment" rights from what I can see.


author: Tommye Silva
body: which way?  
Settings \> Space Permissions?  

If yes, he already have!
Confluence Cache Exception
Asked by BBC Application Admin Team:

One of our user macros is throwing a 'Broken Macro' error.  

We keep seeing this error since the reports of the broken macro  

com.atlassian.cache.CacheException: java.lang.NullPointerException  

We've tried increasing the logging level on com.atlassian.cache.CacheException which doesnt result in anything extra.  

Cache has been cleared / Confluence restarted.  

Have you experienced this before?


Answers:
author: BBC Application Admin Team
body: As above


author: Nic Brough -Adaptavist-
body: Yes, but you've tried the first thing that usually fixes it.

We will need to see more of the log around the error, and probably the macro definition as well.

comments: author: BBC Application Admin Team
body: Hi Nic,

Thanks for taking a look.

Macro Definition - everything was taken out of the definition but the error still persists.

Even with the macro deleted we still get the error =

![broken.png](https://community.atlassian.com/t5/image/serverpage/image-id/3448i2C9B1B67C66A9C00/image-size/large?v=v2&px=999 "broken.png")

Errors from log :

```
{ "message": "com.atlassian.cache.CacheException: java.lang.NullPointerException", "time": "2017-07-21T10:37:14+01:00" }

{ "message": "com.atlassian.cache.CacheException: java.lang.NullPointerException", "time": "2017-07-21T10:37:14+01:00" }

{ "message": "com.atlassian.cache.CacheException: java.lang.NullPointerException", "time": "2017-07-21T10:37:14+01:00" }
```

Strangely this occurred a few months back and resolved itself without any manual intervention.


author: Nic Brough -Adaptavist-
body: Without the macro definition, I can't really get a grip on this at all.

However, there is another thing to try - delete the user macro completely (as you've blanked it out, it's not doing anything anyway). Re-index Confluence, and restart it. You should then get pages with "unknown macro" on them, but it should have cleared out all the caches.


author: BBC Application Admin Team
body: Deleted Macro which resulted in no immediate effect. Left for 24hrs\~ and then we got the 'unknown macro' error. Reinstated macro and all is well again.

Possibly some sort of background indexing that rebuilt caches maybe?


author: Nic Brough -Adaptavist-
body: There is caching that will affect data in macros.

If it happens again, then try going to Admin -\> Caches. Look for any cache mentioning macros or page data and flush the cache, then retry the pages.


author: BBC Application Admin Team
body: Thanks Nic


Tags: cache
can`t reset admin password
Asked by Mark Oliver Utz:

i used the instructions on: <https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html> and it works fine but still no access by admin - admin

if i follow the instructions again ... the database gives me errors for duplicate content ... so the information should be there

i also added a new user "systemadmin" with that i can login ... but no chance to add this user to the apropriat user-group

any idea?

regards mark


Answers:
author: Jeremy M
body: Dear Mark,

And you have already restarted the environment / ordered user directories?

Friendly Regards,

Jeremy

comments: author: Mark Oliver Utz
body: Hi Jeremy,

yes i did so ... multiple times also getting the right order from the database

best regards

mark


author: Mark Oliver Utz
body: could deleting the admin user help?

or adding an other user to adminstrators ? -- just don\`t know how to do that poperly


author: Mark Oliver Utz
body: HA! Deleting admin out of cwd_user and putting it back in helped ... no idea why ... really strange

thanks for your interest jeremy


author: Jeremy M
body: Dear Mark,

My apologies for not responding! I was on holiday in Spain and had no acces to a laptop.

I am very pleased to read you were able to fix it! I will keep your fix in mind.

Friendly Regards,

Jeremy
Add Gliffy Diagram popup not working
Asked by Thierry Parent:

Steps to reproduce:

Using Chrome, on a page (New/Existing) add a new Gliffy diagram. The macro pop up appears with the insert button, for a few moments, greyed out and then disappears. The browser is left hollow.

In Chrome's JavaScript Console I get "XMLHttpRequest cannot load <https://d2t9zei8iaq0gz.cloudfront.net/2.17.1/templates.json>. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<https://confluence-connect.gliffy.net>' is therefore not allowed access."

The problem happens on old or new pages in Chrome. When trying the same thing in Firefox or Opera Browsers I got the same result. I tried creating new page as per a previous post, but this did not help.

Out of pure desperation I tried Internet Explorer, and almost fell off my chair when it worked there. Now I have to face the dim reality of not using gliffy, or worse, using Internet Explorer.


Answers:
author: David Benson _draw_io_
body: This is IE 11? IE 11 should enforce COR headers the same way the others do. Do you get this error in the IE 11 console?

comments: author: Thierry Parent
body: It is IE 11.0.9600.18138.

It is not 100% consistent, it has worked on IE only a few times. The error is from Chrome


author: David Benson _draw_io_
body: Is this Confluence Server or Cloud?


author: Thierry Parent
body: Hi David,

It is on the cloud. Today I have been able to create Gliffy diagrams froms cratch in IE, still not working in Chrome.


author: David Benson _draw_io_
body: Did the problem get resolved?


author: Richard Duffy
body: HI

Any update on this?
Something went wrong after loading the editor
Asked by Nguyen Ngoc Chan:

Hi,

I've just installed Confluence and keep receiving this message for any browser. Could you help please?

![Capture.PNG](/t5/image/serverpage/image-id/3438i65350E274F472C8E/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Steven F Behnke
body: That error shows when you haven't configured confluence correctly and the Collaborative Editing service is unable to connect to the client. Do you have a proxy or SSL configured?

comments: author: Nic Brough -Adaptavist-
body: If you are using a proxy and SSL and Confluence 6, then there's a pile of knows problems with it even when you get all the config "right". Well worth jumping to a later version instead of trying to fix it.


author: albert
body: hi, but what if i'm not using none of above, I have running with port without anything.

but facing same issue, it was running on Mariadb 5.5 , because of an issue I changed to mariadb 10.3 but I have the same Issue. any suggestions ? but im running 6.4 version of confluence

![Issue_conf.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/36436i288F6DF6CED09ABA/image-size/large?v=v2&px=999 "Issue_conf.PNG")


author: Nic Brough -Adaptavist-
body: Move to using a supported database first. Mariadb could be the problem.