youngmon/atlassian-qna huggingface dataset:
Is there any way to insert a date or an auto date
Asked by Jordan Cooperman:

*This question is in reference to Atlassian Documentation: [Configuring Time and Date Formats](https://confluence.atlassian.com/pages/viewpage.action?pageId=724765551)*

Looking for a way to insert a date link or auto date into pages in Confluence Cloud. Is this possible ?


Answers:
author: Milo Test
body: There are a number of ways, but we need to know more about your project to help directly.

To start with, have you tried typing // in edit mode?

comments: author: juanmendes
body: Sweet!


author: Jordan Cooperman
body: // works, thanks.


Tags: cloud
footer doesn't show in exported pdf
Asked by An Luo:

Hi, I want to add "confidential" in the footer of the pdf files exported, I took these steps:

Space tools \> Look and Feel \> PDF layout, and in "PDF Space Export Footer" I put in "confidential". However I don't see the "confidential" at the footer of the exported pdf file. Could anyone help me on this? Thanks a lot!


Answers:
author: Jared Dohrman [Design Industries]
body: Hi An,

PDF Space Export Footer, as in, not Export to PDF, but rather under Content Tools \> Export \> PDF - exporting a space (selection or whole) to PDF.

You can tweak the PDF Style sheet which will affect the Export to PDF. Use something like

```
@page{ position: absolute; bottom: 0px; width: 123px; display: block; position: relative; margin: auto; background-image: url(link-to-image.png);}
```

Above is just an example using CSS. A quick google will help you style it how you want

Thanks,

Jared.


author: Adrian Reid
body: This works for me if I click Browse \> Space Operations \> pdf Export. It doesnt work from the drop-down on the three dot thing on the right of a page. Using Confluence 5.8.4


Tags: cloud

confluence-cloud
Trying to locate Confluence 'Linux 64-bit / 32-bit Installer' mentioned in upgrade guide. Clicking link produces 404 error. Where can I get this tool?
Asked by James Bush:


Answers:
author: Nic Brough -Adaptavist-
body: The links work for me. What are you clicking?


author: Jared Dohrman [Design Industries]
body: Hi James,

Linux Confluence 64bit: <https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-5.9.3-x64.bin>

Linux Confluence 32bit: <https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-5.9.3-x32.bin>

All other Confluence downloads (archive) <https://www.atlassian.com/software/confluence/download-archives>

Hope this helps,

Jared.
Can users be notified of new Confluence tasks via HipChat?
Asked by Molly Belvo:

Is there a way to assign a user a task on a Confluence page \& have them automatically notified of that assignment via HipChat? Thanks!


Answers:
author: Molly Belvo
body: Thanks, Jorge- that is helpful.


author: Jorge
body: Based on all that i have read about integrations the answer is No. But i'd love to know the answer from somebody with access to the HipChat integrations development roadmap.


Tags: cloud

confluence-cloud
How can I configure different storage allocation for different spaces?
Asked by Syed Arshad Aziz:

*This question is in reference to Atlassian Documentation: [Manage Files](https://confluence.atlassian.com/pages/viewpage.action?pageId=139415)*

We have large user base for Confluence (5000+), we would like to be able to allocate storage space quota for particular groups/spaces or users. I tried to find such information in existing documentation but could not find it. Any help in this regard will be greatly appreciated.


Answers:
author: Guilherme V.
body: Hello Syed,

We have an improvement request for that feature:

<https://jira.atlassian.com/browse/CONF-4038>

I suggest voting it in order to expedite its resolution.

Cheers,


author: Nic Brough -Adaptavist-
body: The reason you could not find anything in the docs is that there is no such system in Confluence. You can't do it.


Tags: file
Edit ?Created vs Resolved Chart? Macro gives javascript error
Asked by tcarter:

Attempting to edit the chart in the preview pane gives the following error:

```
ReferenceError: getPrefences is not definedvar preferences = getPrefences(gadget);
```

Additionally, adding a new Created vs Resolved Chart gives a blank preview pane, with no settings to configure.


Answers:
author: jwuestefeld
body: Maybe Atlassian could be so kind to fix this, as it seems this is only a spelling error. There is only a r missing in the method.


author: Chander Inguva
body: Tested Versions:

Confluence 5.8.10 and Confluence 5.9.7


author: Chander Inguva
body: I am having the same issue. Inserting Created Vs Resolved Chart Macro does not display parameters.

While trying to edit i get above java script error


author: Keith Bilafer
body: I'm hitting the same thing. It would be good to have Atlassian acknowledge the problem.


author: Jin K
body: Nearly a month later and this is still an issue. Any updates on this, Atlassian?


Tags: confluence-administration
SQL query to get all Confluence spaces with anonymous enabled
Asked by Topicus:

Hi,

I want to get all anonymous spaces in my Confluence instance through a SQL query, however I couldn't find a decent query. I have this which returns the permissions on (all) spaces, but not the anonymous ones:

```
SELECT sp.permid, sp.permtype, s.spacekey, s.spacename, sp.permgroupname, um.lower_usernameFROM SPACEPERMISSIONS spJOIN SPACES s ON sp.spaceid = s.spaceidLEFT JOIN user_mapping um ON sp.permusername = um.user_key
```

i have tried with where sp.permgroupname IS NULL, but that doesn't work.

Any help or pointers in the right direction?

Marc


Answers:
author: Stephen Deutsch
body: This might work:

```
SELECT *  FROM spacepermissions  WHERE COALESCE(permgroupname, '') = ''   and COALESCE(permusername, '') = '';
```

I got the information from this page: <http://stackoverflow.com/questions/14172978/postgresql-select-empty-fields>

comments: author: Stephen Deutsch
body: note: anonymous permissions are those in which both group name and user name fields are blank :)


author: Topicus
body: That did the trick, thank you good sir!


author: Rodrigo Girardi Adami
body: Hi Marc,

If I understood you correctly, you would like to retrieve spaces which anonymous users can access correct?

This query should return all spaces which anonymous can see and access:

```
select distinct s.spacenamefrom spaces sjoin spacepermissions sp on s.spaceid = sp.spaceidwhere sp.permtype = 'VIEWSPACE' or 'EDITSPACE'and permgroupname is nulland permusername is null;
```

The anonymous permissions are stored with the permgroupname and permusername as null.

I hope this helps!

Cheers,

Rodrigo

comments: author: Chander Inguva
body: Hey Rodrigo,a small correction... where sp.permtype = 'VIEWSPACE' or sp.permtype ='EDITSPACE'


author: Topicus
body: That also does the trick, thanks :)


author: James Thomas
body: What about the pages which are having anonymous permission??


author: Hans-Hermann Hunfeld
body: Just as a hint for Oracle users, here you can use following

```
select distinct s.spacenamefrom spaces sjoin spacepermissions sp on s.spaceid = sp.spaceidwhere sp.permtype in ('VIEWSPACE','EDITSPACE')and permgroupname is nulland permusername is null;
```

comments: author: sanan sanan
body: Hi Hans,

we are using oracle db.

we want to remove all the anonymous access from our Confluence spaces.

your sql query will give us the list of such spaces. But can you suggest a command by which we can remove the anonymous access from the listed spaces?

Regards


Tags: confluence-administration

postgres

sql
How to integrate confluence with sccm?
Asked by sami alkhouri:

i want to return list with all assest I have in CMDB(configuration manager database), i wander if there is a connector between confluence and SCCM (system center configuration manager)


Answers:
author: Nic Brough -Adaptavist-
body: I've not been able to find one, but the marketplace might have something if you can form a better query than "SCCM". If there is nothing,then consider writing something yourself - you'll need to think through what you want from "integration" and how to do it (add on in Confluence, user macro, external calls over the REST interface, etc)


Tags: confluence-administration
Transfer Confluence cloud site
Asked by Mathew Tully:

I am currently making a Confluence cloud site. I am using the site I am creating in order to present the capabilities of a wiki to my team in hopes that they will want to adopt Confluence for use as our KB going forward. If they decide to go with my wiki solution, I am not sure if they will want to use a cloud based site or a locally hosted site.

If they decide to go with a locally hosted Confluence site (or a cloud based site for that matter, as the site I am working on is tied to my personal accounts and would need to create a separate company based site), will I have a way of easily transferring the information (pages, page hierarchy, ect.) to a new Confluence site?


Answers:
author: Artur J
body: Hi Mathew,

Yes, you can check our documentation, see [Migrate from Confluence Cloud to Server](https://confluence.atlassian.com/doc/migrate-from-confluence-cloud-to-server-298979321.html) and how to [Create a Cloud Site Backup](https://confluence.atlassian.com/display/ConfCloud/Create+a+site+backup) to import into a Confluence Server or Confluence Cloud.


author: Phill Fox
body: Hi @Matthew Tully - Yes you can export it all the details on how to do it are here. <https://confluence.atlassian.com/confcloud/migrating-from-confluence-cloud-to-confluence-server-724765578.html>


author: Nic Brough -Adaptavist-
body: Yes, you can export the Cloud site and import it to another Cloud site or your own server.


Tags: cloud

confluence-cloud
Typo (Smplfy->Simplify)
Asked by Adam Pryce:

*This question is in reference to Atlassian Documentation: [Confluence 5.9 Release Notes](https://confluence.atlassian.com/pages/viewpage.action?pageId=785333580)*

Typo in header Smplfy-\>Simplify


Answers:
author: Artur J
body: Hi Adam,

Thank you for pointing it out, we will fix it. ![thumbs-up](/html/@6E43D49CFFDA0652A93DEB490F177BB7/images/emoticons/thumbs-up.png "thumbs-up")


author: Phill Fox
body: Maybe Atlassian are trying to Smplfy the English language too?
mandatory fields in events
Asked by Michael Doujak:

*This question is in reference to Atlassian Documentation: [Team Calendars FAQ](https://confluence.atlassian.com/pages/viewpage.action?pageId=241566273)*

is it possible to enforce the entry of "who" information in an event? This is a team calendar and knowing the author of an event may be important if questions arise about an event.


Answers:
author: Michael Doujak
body: Yes, this is exactly what I am looking for.

My only problem is the fact, that in our installation of Confluence the "Who" field is not mandatory and I am wondering, how I can change this.

Sorry for the late reply. Apparently I am only allowed 1 post per day ...


author: Chander Inguva
body: Yes Michael,

Please find the screenshot. Are you looking for same or something else ?

TC.PNG  
[](https://community.atlassian.com/t5/Confluence-questions/mandatory-fields-in-events/qaq-p/290748?attachment-id=11850){#link_11878811f00734}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/200289/1/TC.PNG){#display_11878811f00734_0}


Tags: required-field

team-calendars-for-confluence
ToC macro not working after update to 5.9.2?
Asked by Vijay Patil:

Hi All, we recently upgraded from 5.8.17 to 5.9.2

We notice that none of our ToC links are working anymore. The ToC shows up correctly its just nothing happens after clicking the link.

Anyone else experiencing the same thing?


Answers:
author: Rodrigo Girardi Adami
body: Hi Vijay,

This is not a known behavior. Is this happening to all pages or just some? Happens to all browsers? If you try to recreate the TOC in a new page, does it works?

Regards,

Rodrigo

comments: author: Jonathan Drapeau
body: Having the same problem since we upgraded to 5.9.2. Recreating the ToC does not fix the problem and we're using the default theme.


author: Jonathan Drapeau
body: Having the same problem since we upgraded to 5.9.2. Recreating the ToC does not fix the problem and we're using the default theme.


author: AnnWorley
body: I just wanted to let you know we've seen some users have issues with the **Documentation Theme** after the upgrade to 5.9. You mention that the Table of Contents is not working on any of the pages, are all the affected pages using the **Documentation Theme** ? If so, please try [switching it to the Default Theme](https://confluence.atlassian.com/display/DOC/Switch+to+the+Default+Theme) and see if you continue to get the same issues. We have a [bug report](https://jira.atlassian.com/browse/CONF-39958) regarding this issue with the Table of Contents in the 5.9.1 \& 5.9.2 of Confluence that has been marked as *won't fix* by our development team as the Documentation theme will be discontinued in the next version of 5.9.
Error occurred during template rendering: Invocation of method 'getHtml' in class com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager
Asked by Jonas Andersson:

After upgrading from confluence 5.5 (server) to 5.9.2 confluence seem to start up like it should, but trying to reach the web interface i only see:

Error occurred during template rendering: Invocation of method 'getHtml' in class com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager$ExceptionHandlingWebPanel threw exception java.lang.LinkageError: loader constraint violation: when resolving method "com.atlassian.confluence.util.velocity.VelocityUtils.getRenderedTemplate(Ljava/lang/String;Lorg/apache/velocity/context/Context;)Ljava/lang/String;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, de/nielsjaeckel/confluence/plugins/universalnavigation/renderer/HtmlListRenderer, and the class loader (instance of org/apache/catalina/loader/WebappClassLoader) for the method's defining class, com/atlassian/confluence/util/velocity/VelocityUtils, have different Class objects for the type org/apache/velocity/context/Context used in the signature at template/includes/macros.vm\[line 1451, column 20\]. Contact your administrator for assistance.

Among other bugs i noticed that all files were overwritten by root (which the installer demanded), so i have chowned both application directory and installation directory to the right user again, however same message on restart.

The error seems to refer to <https://ecosystem.atlassian.net/browse/ATR-42> but i don't see a solution, just that it's fixed. I also attempted reaching the addon's on http://\<our.confluence.address\>:8090/plugins/servlet/upm#compatibility but this renders the same error screen as above.

I also attempted copying back the old server.xml which contained a few modifications (opening several http/https connectors), but all ports opened report the same error.

Have anyone seen this error before? Thankful for anything that might lead me right.  

<br />


Answers:
author: Jonas Andersson
body: Broken plugin, solved by support in less than 1hour!!

comments: author: legal90
body: Could you please share the solution?


author: Jonas_Bygd?n
body: Which plugin?


author: g
body: In this case, issue was caused by this plugin: <https://marketplace.atlassian.com/plugins/de.nielsjaeckel.universal-navigation.plugin/server/overview>

Disabling plugin fixed issue.


author: C_ Derek Fields
body: In my case, it was caused by the Brikit plugin (which literally "bricked" the space)


author: Alex Koxaras _Relational_
body: [@C_ Derek Fields](/t5/user/viewprofilepage/user-id/41090) how did you solve the Brikit theme problem? The same thing just happened to me!


Tags: confluence-administration
Want to create a Report for Confluence pages as a whole for value addition
Asked by Ashok Kumar Jha:

Hi All,

With continuous utilization of confluence from requirement, Development,sharing for verification, to production and support .

We are thinking to create Report check use/awareness of pages written to ease the process by everyone.

In order to do that we need some process like hit count or others existing plugin with performance issue.

So will very much useful if we can directly collects the information from confluence core itself and create the report on demand whenever required.

Question is like below:

Does the confluence core store somewhere like page creator,updater with date for visitors too.

If yes then the process via which we can fetch those data for further processing.

Thanks and Regards in Advance,

Ashok Jha


Answers:
author: Siddheshwar mhetre
body: Hello Ashok,

Using the confluence user macro you can create a reports of name of the pages with creator name, last update or number of hit's of the pages.

You can get a report in tabular format.

like..

image2015-12-28 12:40:1.png

Regards,

Siddheshwar

[](https://community.atlassian.com/t5/Confluence-questions/Want-to-create-a-Report-for-Confluence-pages-as-a-whole-for/qaq-p/260905?attachment-id=9784){#link_1187885fd800f0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/190777/1/image2015-12-28%2012%3A40%3A1.png){#display_1187885fd800f0_0}

comments: author: Ashok Kumar Jha
body: Hello Siddheshwar, Thank you for reply. So, in confluence user with administrative privilege can create this macro. We need the report in tabular format as mentioned below:\|Space Name\| Page Name\| Author \| Creation Date \|View Count \| Viewers \|\|Space1 \| a/b/c/d \| abc \| 11-21-2015 \|4 \| Xyz,abc,pqr \|Regards,Ashok
what?s wrong about this SocketException
Asked by Jone:

the system is error?I can login ?but i can't access the page of user management?

the log is as follow?

Caused by: org.apache.jasper.JasperException: Unable to load class for JSP  
at org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:630)  
at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:149)  
... 84 more  
Caused by: java.lang.ClassNotFoundException: org.apache.jsp._500page_jsp  
at [java.net](http://java.net).URLClassLoader$1.run(URLClassLoader.java:202)  
at java.security.AccessController.doPrivileged(Native Method)  
at [java.net](http://java.net).URLClassLoader.findClass(URLClassLoader.java:190)  
at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134)  
at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66)  
at org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:628)  
... 85 more  
2015-12-28 10:35:53 [org.apache.tomcat.util.net](http://org.apache.tomcat.util.net).JIoEndpoint$Acceptor run  
??: Socket accept failed  
[java.net](http://java.net).SocketException: Too many open files  
at [java.net](http://java.net).PlainSocketImpl.socketAccept(Native Method)  
at [java.net](http://java.net).PlainSocketImpl.accept(PlainSocketImpl.java:408)  
at [java.net](http://java.net).ServerSocket.implAccept(ServerSocket.java:462)  
at [java.net](http://java.net).ServerSocket.accept(ServerSocket.java:430)  
at [org.apache.tomcat.util.net](http://org.apache.tomcat.util.net).DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:61)  
at [org.apache.tomcat.util.net](http://org.apache.tomcat.util.net).JIoEndpoint$Acceptor.run(JIoEndpoint.java:352)  
at java.lang.Thread.run(Thread.java:662)

image2015-12-28 10:51:36.png  
[](https://community.atlassian.com/t5/Confluence-questions/what-s-wrong-about-this-SocketException/qaq-p/415908?attachment-id=11363){#link_11878867d0cd04}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/70421/1/image2015-12-28%2010%3A51%3A36.png){#display_11878867d0cd04_0}


Answers:
author: Rodrigo Girardi Adami
body: Hi Jone,

As far as I know, the too many open files is a limitation of the OS as stated in [this doc](https://confluence.atlassian.com/display/CONFKB/Too+many+open+files+error).

The error of the documentation and the one you are seeing is not exactly the same however I would check if the file limit of the OS wasn't reached.

I hope this helps!

Cheers,

Rodrigo


author: Vasiliy Zverev
body: It seems that some trouble on tamcat (<http://stackoverflow.com/questions/18149699/org-apache-jasper-jasperexception-unable-to-load-class-for-jsp>). try to restart JIRA web-server.


Tags: confluence-administration

documentation
confluence update question
Asked by Hsu Yao Chang:

Dear all,

We would like to update confluence from version 4.2.1 to version 5.8, but we found our default port is 80 for confluence used. When we updated confluence , we found we needed to change default port to another port 8090 by modified server.xml file as listed as below: How can we keep default port 80 to new confluence version used ? Thank you.

port.jpg  
[](https://community.atlassian.com/t5/Confluence-questions/confluence-update-question/qaq-p/415079?attachment-id=7043){#link_118788949317a0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/70281/1/port.jpg){#display_118788949317a0_0}


Answers:
author: Chander Inguva
body: To check what process is running on port 80 try these commands

```
netstat -tulpn|grep 80     for linux
```

```
netstat -a -n -o |find 80   for windows
```

Regards

Chander Inguva


author: Hsu Yao Chang
body: Thank you for your kindly reply.

We found we can not use port range between 0-1024 port when we use root account . How can we modify the setting ? Thank you.

comments: author: Nic Brough -Adaptavist-
body: That's not right - Linux generally stops you from using ports below 1024 when you are \*not\* root. Your best option is usually to put a proxy web-server in front of JIRA, as you certainly do not want to run the service as root, and the tricks to get it to run on a port below 1024 when not a root user are, well, not pretty.


author: Chander Inguva
body: Yup. good point Nic.


author: Nic Brough -Adaptavist-
body: You need to work out what else is already running on port 80, stop that, and change the port for Confluence back to 80 in the server.xml