youngmon/atlassian-qna huggingface dataset:
Confluence, add custom font file to use in space stylesheet ?
Asked by Xarkam:

Hello, i look for adding a custom ttf file in confluence installation folder to using in custom space stylesheet.

How to make this ?

Thanks.

Edit: in addition, look the error in my firefox console:

```
downloadable font: download not allowed (font-family: "adventPro-light" style:normal weight:normal stretch:normal src index:0): bad URI or cross-site access not allowed
source: file:///var/www/font/AdventPro-Light.ttf
```


Answers:
author: Kirstin Seidel-Gebert
body: Hello Benjamin,

I created a subfolder in `/opt/atlassian/confluence/confluence` on our Confluence server and put all font files into it.  
I can access the fonts from the space stylesheet using e.g.:

```
@font-face { font-family: 'DINMittelEF-Regular';               src: url('/e2e/webfonts/15C78A_0.eot');               src: url('/e2e/webfonts/15C78A_0.eot?#iefix') format('embedded-opentype'),                    url('/e2e/webfonts/15C78A_0.woff') format('woff'),                    url('/e2e/webfonts/15C78A_0.ttf') format('truetype'),                    url('/e2e/webfonts/15C78A_0.svg#wf')format('svg'); }
```

(where `e2e/webfonts` is the folder I created).

Note, that these files will be gone after a Confluence update. So you'll have to keep a copy of the folder.

Cheers,  
Kirstin

comments: author: Kirstin Seidel-Gebert
body: After I'd posted this, I thought, that you probably could put the fonts outside the Confluence folder, so that they won't be deleted on every update.


author: Xarkam
body: Hello,

I make font folder in `/sites/atlassian/confluence/confluence/font and I put my font in the folder.`

After I edited the css for changing my definition to :

```
@font-face {
```

```
? font-family?? : "adventPro-light";
```

```
? src: url('./font/AdventPro-Light.ttf') format('truetype');
```

```
? font-style??? : normal;
```

}

But, y recive a 404 error

```
GET http://confluence.osames.org/s/en_GB/5636/f6090886cde2ced165289cd3fade6c9622e18372.4/44/_/styles/font/AdventPro-Light.ttf 404

```

Content of my fonts folder:

```
/sites/atlassian/confluence/confluence/font# ll
```

```
total 360K
```

```
drwxrwx---? 2 root root 4.0K Oct? 6 11:20 ./
```

```
drwxr-xr-x 26 root root 4.0K Oct? 6 11:20 ../
```

```
-rw-rw-r--? 1 root root? 56K May 20 23:35 AdventPro-Bold.ttf
```

```
-rw-rw-r--? 1 root root? 46K May 20 23:35 AdventPro-ExtraLight.ttf
```

```
-rw-rw-r--? 1 root root? 46K May 20 23:35 AdventPro-Light.ttf
```

```
-rw-rw-r--? 1 root root? 51K May 20 23:35 AdventPro-Medium.ttf
```

```
-rw-rw-r--? 1 root root? 47K May 20 23:35 AdventPro-Regular.ttf
```

```
-rw-rw-r--? 1 root root? 50K May 20 23:35 AdventPro-SemiBold.ttf
```

```
-rw-rw-r--? 1 root root? 46K May 20 23:35 AdventPro-Thin.ttf
```

```
?
```

comments: author: Kirstin Seidel-Gebert
body: 404 means "not found".Try /font/AdventPro-Light.ttf as src path (leaving out the dot).


author: Xarkam
body: Ok, not using ./ just /


author: Accounting Go2Group
body: You can't just call a file using the file protocol from a browser. You actually need to host the file.


Tags: confluence-administration
How do I remove this section
Asked by Sara Kanwal:

2014-10-04_0137.png

The guidelines given in this don't work: <https://confluence.atlassian.com/display/DOC/Customising+the+Getting+Started+Guide+on+the+Dashboard>

There is not available:

1. Choose **Layouts** in the left-hand panel.
2. Choose **Create custom** (or **Edit** ) next to **Global Layout**.

[](https://community.atlassian.com/t5/Confluence-questions/How-do-I-remove-this-section/qaq-p/424514?attachment-id=4993){#link_11895e280bc6f1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/71938/1/2014-10-04_0137.png){#display_11895e280bc6f1_0}


Answers:
author: Bhushan Nagaraj
body: Hey Sara,

The documentation you are referring to is for the Server instance and you are using Cloud. And since you are using Cloud, this is currently not possible.

This issue is being tracked at <https://jira.atlassian.com/browse/CONF-28255>. You might want to vote for the issue.

Cheers

Bhushan


Tags: cloud

confluence-cloud
two confluence applications pointing at same DB
Asked by Pat Condon:

This is probably a dumb question but here goes? I am Confluence Admin and am in the process of transitioning from Windows stand alone Confluence application working with Oracle DB to Linux based Confluence application with Apache.

While in the process of transition, am I going break something if I have two Confluence applications pointing at the same DB?

Eventually, the goal will be DB for TEST-DEV and DB for PROD but that is not highest priority.

Thanks


Answers:
author: Nic Brough -Adaptavist-
body: There's two answers here, depending on what you mean by "database". Sadly, database vendors have tried to use the same words to mean different things in this field and not gone along with the natural use of English either, and that messes explanations up.

Answer 1.

If you mean you want to point at the same "Database" in the sense that most people use the word ("I keep stuff in my database, if someone else is using my database, then it's all one big pile of tables in one place"), then

Yes, you will break your Confluence.

Confluence needs full read/write access to its database. Confluence cannot tolerate anything changing the database without its knowledge. So if Confluence A is happily running, when Confluence B tries to write to the database (and it will try to write, even if you've got no users active), it will break Confluence A.

So, no, do NOT even think about doing this.

Note - this reasoning doesn't apply to Confluence Clustered (now defunct) or Data Centre versions, but they do different things from what you're trying.

Answer 2.

If you mean the same database service, then you're fine. By service, I mean "a piece of software that is running and providing **many** "databases"." So when you log into your MySQL box for example, it shows you one process running MySQL-demon, and then you connect to that and type "show databases", it lists out "database 1: system stuff, database 2: confluence-live, database 3: confluence-test, and so-on". As long as Confluence A and Confluence B have **separate** databases within that service, you're fine.


author: Pat Condon
body: Thank you for your help!


author: Davin Studer
body: Not a good idea. Especially when it comes to attachments. These are stored on the server, not the database. So, if you add an attachment on the test server and tried to access the page in the production server the attachment would be missing. I'm sure there are other things that could be bad, but that is the first, and in my opinion a big one, to come to mind.


Tags: confluence-administration
confluence remove comments permission from a page
Asked by Paul DeSousa:

I know I can grant a user to an entire space to be able to remove comments, but can I grant a user to remove comments from a given page and all pages below that? I do not want the user to have this permission in an entire space but everything that is on the given page and below she should be able to move the comments from.


Answers:
author: Julia Wester [Wittified]
body: The only permissions you can restrict for a page is edit or view. Also note that permissions on the page can't grant more than is allowed in the space. You can restrict them further, but not expand someone's permissions on a page.

comments: author: Paul DeSousa
body: I understand that but was hoping for some sort of workaround or hack. I will submit a feature request...


Tags: confluence-administration
JIRA Issues macro in Confluence not displaying workratio field in table view?
Asked by Doug:

Does the JIRA Issues macro in Confluence display the "Work Ratio" field in table view? I am able to add the column to the JIRA Issue Macro, but the column is blank. When clicking the "View matching issues in JIRA" link generated by the macro, I can then see the Work Ratio listed on JIRA in the Issue Navigator. Am I doing something wrong? Is anyone else able to see the percentage number?

To reproduce:

1. Pick two tickets with Time Tracking enabled, Original Estimate filled in, and time is logged (does not need to be completed).
2. Create a JIRA Issue macro on a Confluence page and pick those tickets. JQL example: "key in (CONF-1400, CONF-1401)"
3. Add the "Work Ratio" column in the display options for the macro.
4. After saving, is the field blank on the Confluence page? What about following the "View matching issues in JIRA" link to JIRA?

Thank you for your time.


Answers:
author: Tiago Comasseto
body: Hi Douglas, it sounds like a bug to me. I took the liberty of creating this [bug report](https://jira.atlassian.com/browse/CONF-35196). You may consider voting on it and adding yourself as watcher to receive updates.

Cheers

comments: author: Doug
body: Thank you, I have updated that ticket and my support ticket. I'll wait for an answer from support before I mark this as answered.


author: Emily Smith
body: Just came across the same issue! Thanks guys!


Tags: confluence-administration

jira
Confluence - Configure Database
Asked by Piotr Kryska:

Hi,

I have a problem. I try configure Confluence, but I don't know what do in step "Configure Database".

`I check options "java:comp/env/jdbc/DataSourceName" and "``jdbc/DataSourceName``". Still I can see this same error:`  

Setup Datasource Database Failed {#toc-hId-1841339719}
======================================================

The following error(s) occurred:

* Could not lookup datasource successfully: com.atlassian.config.bootstrap.BootstrapException: Couldn't locate Datasource (java:comp/env/jdbc/) in the initial context. An object was bound to this name but whatever we found, it wasn't a Datasource:

`Anyone can help me?`


Answers:
author: Adrien Ragot 2
body: * Did you restart after changing the server.xml file?
* Can you show us the section of your server.xml file which describes the datasource, after hiding the passwords?

comments: author: Piotr Kryska
body: Yes, I did restart server. I use postgresql. database.

server.xml :

\<Resource name="jdbc/confluence" auth="Container" type="javax.sql.DataSource"  
username="username"  
password="password"  
driverClassName="org.postgresql.Driver"  
url="jdbc:[postgresql://localhost:5432/database](postgresql://localhost:5432/odoo)"  
maxActive="20"  
maxIdle="10"  
validationQuery="select 1" /\>

I have file /atlassian/confluence/lib/postgresql-9.2-1004.jdbc4.jar on serer.

I add some text on end file /atlassian/confluence/confluence/WEB-INF/web.xml:

\<description\>Connection Pool\</description\>

\<res-ref-name\>jdbc/confluence\</res-ref-name\>

\<res-type\>javax.sql.DataSource\</res-type\>

\<res-auth\>Container\</res-auth\>

\</resource-ref\>


author: Nic Brough -Adaptavist-
body: What database are you trying to connect to, and what connection settings are you giving to Confluence?


Tags: confluence-administration
How to apply a tag to all the pages of a given space ?
Asked by Alain Escaffre:

I try to use the CLI in a quite similar way as the sample provided command here after for this puprose. But I would need the search to return all the pages of the space and it looks like there is no way. Did I miss something, or is there another way to achieve my goal: apply a tag to all the pages of a given space ?

confluence --action runFromContentList --space "zconfluencecli" --search "home" --common "--action addLabels --id ""@pageId@"" --labels done-by-action-run-from-content-list"

<br />

Thank you !

<br />

(Note @Nuxeo we use Confluence 5.2)


Answers:
author: Bob Swift (personal)
body: Use [runFromPageList](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-runFromPageList) in place of runFromContentList above and specify the space.


author: Ale? La?ar
body: Hi, you can try to add it like user macro via space layout at bottom. In user macro you set label for example by this: <http://www.adaptavist.com/display/AtlassianConfluence/add-label+macro>

Or you can watch in DB :smile: And insert it to page with ID which are join with space what you need.
Is Oracle 12C supported with Confluence
Asked by Brian Salzle:

We are looking to upgrade our Confluence install to version 5.6. It is noted that Oracle 11G is supported. I'm wondering if Oracle 12C is supported?

We currently have 10G installed and would prefer to migrate directly to Oracle 12C along with our migration to Confluence 5.6.


Answers:
author: Timothy
body: Officially, no (<https://confluence.atlassian.com/display/DOC/Supported+Platforms>). You can always try it out though (not my official) recommendation.

comments: author: Brian Salzle
body: Is this version referring to the database version, or the Oracle client version that is installed on the wiki server?


Tags: confluence-administration
Dynamic Table
Asked by Serge Kouthon:

Dear all,

Is there a macro for creating resizable table, that is table whsoe cell height and width can be changed once the page has been rendered ?

Thanks,


Answers:
author: Timothy
body: Yes. This should be the one (<https://marketplace.atlassian.com/plugins/org.swift.confluence.table>).

comments: author: Davin Studer
body: I think he is looking for something that is dynamically resizeable after page load, not during the page rendering process.


Tags: confluence-administration
What is the maximum size for an attachment
Asked by Steve:

I've got a file that's about 270 meg, every time I try to upload it it fails. Chrome browser actually shows the status of the upload, gets to 100%, then fails.

Is there a max and if so, what is it?

Kindest regards/thanks,


Answers:
author: Steve
body: Well, I've successfully uploaded a 70meg file and can add as a link in a page and can successfully access that afterwards,


author: Mike Rathwell
body: There is a setting in the Confluence General Configuration on the Admin pages that sets the max size for the attachment. The default is significantly less than that. I noticed the same that it would APPEAR to all get there and then fail. I suspect is buffering in a copy location in the DB and then stores once the transmission is complete.

Anyway, if you change that setting, you'll be good. I have had a couple of occasions where a very large file needed to be placed. That is a HUGE size so I set it up high enough for the file to get loaded and then set it back to something reasonable (15MB) after it's there so there is some measure of control on the size of the files stored on the site.


Tags: confluence-administration
installing confluence source editor
Asked by Daniel Schunneman:

i downloaded the jar file \& extracted the contents. how do i get it integrated into confluence?


Answers:
author: Nic Brough -Adaptavist-
body: First, you should use the Admin -\> Addons link and try to install it directly from the marketplace - that is the best way to install addons.

Secondly, if you can't do that because your server is firewalled away from the internet, then yes, download the jar, but why have you unpacked it? Jars are distributable files, ready to be run or uploaded into their host systems - try Admin -\> Addons -\> upload addon and feed that the location of the .jar you downloaded.


author: Davin Studer
body: In Confluence Admin go to Manage add-ons and upload the .jar file. Voila!

image2014-10-2 13:23:50.png

Or you can go to Find new add-ons and install it from there.

image2014-10-2 13:25:22.png  
[](https://community.atlassian.com/t5/Confluence-questions/installing-confluence-source-editor/qaq-p/65118?attachment-id=5944){#link_11895fd591f085}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/11073/1/image2014-10-2%2013%3A25%3A22.png){#display_11895fd591f085_0}  
[](https://community.atlassian.com/t5/Confluence-questions/installing-confluence-source-editor/qaq-p/65118?attachment-id=5945){#link_11895fd591f085_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/11073/2/image2014-10-2%2013%3A23%3A50.png){#display_11895fd591f085_2}
Best Amazon Web Services EC2 instance type for Confluence
Asked by Robert Lauriston:

Confluence has been crashing occasionally and Atlassian support suggests moving to an instance with more memory, or at least with system logs enabled so we can identify the cause of the crash. Currently I'm using an m1.small, which has been discontinued.

Any suggestions on instance type? This is a very low-traffic server.


Answers:
author: Robert Lauriston
body: Atlassian says M3 or C3:

[https://confluence.atlassian.com/display/JIRAKB/Installing+JIRA+in+Amazon+EC2+Micro+Instance?focusedCommentId=683508178\&#comment-683508178](https://confluence.atlassian.com/display/JIRAKB/Installing+JIRA+in+Amazon+EC2+Micro+Instance?focusedCommentId=683508178&#comment-683508178)


author: Adrien Ragot 2
body: I tried it and even 1Gb on memory on the system was scarce for all resources that had to run (including non-Confluence resources). My instance is my public documentation, with a hundred visits a day, so very low-traffic too. I took a 2Gb/2CPU droplet for $20/month from another provider and Confluence runs fine for a correct price.

~Since you've advertised Amazon EC2 in your title, I'll advertise my provider: [Here's a $10 voucher for them](https://www.digitalocean.com/?refcode=db344920fbcf) (disclosure: That gives me a rebate too obviously).~

comments: author: Sandor Krisztian Andre
body: I know it's been a long time, but which other provider was it?


author: Sandor Krisztian Andre
body: I think it must have been DO.


author: Robert Lauriston
body: "Droplet" = Digital Ocean.


Tags: aws

confluence-administration
Space viewership is a little confusing
Asked by Sara Kanwal:

Hi,

I am part of a company and I created a space and have shared with all the members but the space owner can't view the space at all. We have not implemented any viewing restrictions or anything at all, still the space and all its content is not visible to the owner.

Any help?


Answers:
author: Adrien Ragot 2
body: Did you remove view access from the space owner? How can you see he's a space owner? Check the space permissions:

* There's the sidebar on the left of all pages of the space,
* At the bottom, click on "Space Tools",
* Click "Permissions",
* Check there's a group the user belongs to.

Also check your user is member of "confluence-users". The name could change, but there's a default group configured in "Global Permissions" that all users should be member of.


author: Steven F Behnke
body: Do they receive an error when they navigate to the URL?


Tags: cloud

confluence-cloud
As a Confluence application administrator, how do I edit the profile information and pictures of my users?
Asked by Nik Blanchet:

I need to edit the profile information and pictures of my users.

Among other situations that require this, I do not want to require that **executives** at my company stop doing their jobs to curate and upload pictures of themselves and fill out other information that we already have for them. This is the type of menial task their executive assistants would typically do. The EAs do not have --- for obvious reasons --- the login information for their execs, so they came to me. I can't figure out how to do this or if it is even possible.

I saw [this question](https://answers.atlassian.com/questions/3760), but it was from 2011, so I'm hoping that this ability has been added in the subsequent 3 years 2 months 12 days.

We manage our users through LDAP.

If it is not possible, where is (are) the feature request(s)? I will watch and vote the heck of on it (them)!


Answers:
author: Davin Studer
body: I've written an open source utility to upload pictures into Confluence for users. You simply point the utility a a folder and put the user pictures in the folder with file masks of ##username##.(jpg/png).

<https://bitbucket.org/fredclown/confluence-profile-photo-uploader>


author: Ellen Feaheny [AppFusions]
body: The [Enterprise Directory and Org Chart](http://www.appfusions.com/display/EDIRC/Home) supports profile images from AD (or LDAP). Also a bit more than what you are asking - but fyi if interesting.


author: Steven F Behnke
body: What I did in the past for smaller companies was buy [SU for Confluence](https://marketplace.atlassian.com/plugins/com.javahollic.confluence.confluencesu) and write an autohotkey script that SU'd, navigated, and uploaded images and typed profile information into accounts, from my own account.

If you need a larger solution, I would follow @Jamie Echlin \[Adaptavist\]'s suggestion from this answer: <https://answers.atlassian.com/questions/47797> This would be far better and usable, if you have the power to develop this solution. Feasibly you could pull pictures off of LDAP accounts and serve them, then redirect the images on confluence to your images.

Alternatively,

* [Gravtar support request](https://jira.atlassian.com/browse/CONF-19636)
* [LDAP Sync Plugin](https://marketplace.atlassian.com/plugins/de.communardo.confluence.plugins.userprofile)


Tags: avatar

confluence-administration

profile
Can I Display Space Permissions on a Page?
Asked by Paul LaBarbera:

Hi there,

I'd like to dynamically display space permissions on a page. Does anyone know a trick to do this? I've tried to write my own macros, but I haven't been successful yet.


Answers:
author: Ale? La?ar
body: Zou can try it via user macro (look for accessible object from velocity to get permissions) or try some plugin like this: <http://www.adaptavist.com/display/AtlassianConfluence/space-access+macro>

comments: author: Paul LaBarbera
body: Thanks. I'll try the user macro route, though I'm a bit of a noob. The plugins in the marketplace are all outdated or unavailable.


author: Ale? La?ar
body: Try this: <https://developer.atlassian.com/display/CONFDEV/Confluence+Objects+Accessible+From+Velocity>


Tags: confluence-administration
Is there a way to subscribe to immediate notifications for some Confluence spaces, and get digests for others?
Asked by Megan Lunde:

This would be useful in the scenario that I am MANAGING some spaces,but just want to be kept AWARE of others.

Is there a way to select Immediate notifcations from Space A but get a daily digest from Space B, C and D?

Thanks in advance!


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Megan, this topic has been raised in our issue tracker in the ticket <https://jira.atlassian.com/browse/CONF-14485> please add your comment to it as means to increase the suggested feature relevancy with development.
Can Task Reports include tasks from restricted pages?
Asked by Brad Malmberg:

I have my Personal Space and in it I have a journal. If I assign a task to someone in my team, can I surface it to them in a public page with a Task Report macro?


Answers:
author: Nic Brough -Adaptavist-
body: Only if they can see the page in your personal space.


author: Brad Malmberg
body: That's a shame, I'd love to fire off tasks in my personal notes that act as PMs for solely that person. Thanks for the answer!


author: MarkA
body: Yeah, as @Nic Brough \[Adaptavist\] says, they can only see the tasks if they can view the page that contains them. Any report you create will also honour those permissions.


Tags: confluence-administration