youngmon/atlassian-qna huggingface dataset:
Confluence 6 won't start editor
Asked by ANUDINA:

A system error has occurred --- our apologi  
**[Return to site homepage...](http://anudina.corp.com:9093/)**

The SystemInformationService could not be retrieved due to the following error: java.lang.IllegalStateException: Spring Application context has not been set

### Cause {#toc-hId-1564433219}

java.lang.NullPointerException  
at com.atlassian.confluence.setup.actions.SetupPathsAction.execute(SetupPathsAction.java:41)

#### Stack Trace:\[hide\] {#toc-hId--1184237247}

```
java.lang.NullPointerException	at com.atlassian.confluence.setup.actions.SetupPathsAction.execute(SetupPathsAction.java:41)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	e.CancellingInterceptor.intercept(CancellingInterceptor.java:21)
```


Answers:
author: Steven F Behnke
body: I believe that OP solved his problem in this other question: [https://community.atlassian.com/t5/Confluence-questions/Getting-system-error-after-installing-Confluence-server/qaq-p/620294](https://community.atlassian.com/t5/Confluence-questions/Getting-system-error-after-installing-Confluence-server/qaq-p/620294?)


author: Steven F Behnke
body: What do you mean "Confljuence won't start editor?"
> The SystemInformationService could not be retrieved due to the following error: java.lang.IllegalStateException: Spring Application context has not been set

That is one of the most basic errors in the application. You haven't set up the file system, permissions, or the database correctly and the application is failing to even start up. You should make sure you're following the instructions carefully.

It could be something else but USUALLY this is because of a system-level issue.

comments: author: ANUDINA
body: Hi Steve,

Thanks for reply. I did not follow you,. I have done similar installtion for JIRA and Bitbucket they worked correctly. But confluence was crating the tables when first time it goes for setup. It some more time hence I refreshed the screen. And I am seeing the error above. What is the next step? I should follow?


author: Steven F Behnke
body: Please post the entire contents of catalina.out and atlassian-confluence.log.

These are located in /opt/atlassian/confluence/logs/ and /var/atlassian/application-data/confluence/logs/ if you used the default paths.


author: ANUDINA
body: I was trying to install it went for long when I refresh again I got this erro. I even recreated the DB by dropping it. I uninstalled and reinstalled the confluence in my linux box. But still no luck. What I should be doing properly in order to install?
I need to copy a Space
Asked by Jack Wilson:

Using Confluence v6.0.5, I am tying to find out is there is a way to copy a space. Much the space I want to copy fits another prodict.

I have looked around your community board as well as seaching articles using Google. While there are aticles, they are outdated. So my quesiton is with the release that I have, or one slightly later, is there a way in the current releases to copy or clone a space?

If not I have a lot of work ahead of me.

Thank you in advance for your response.

Jack Wilson  
Northwest Software


Answers:
author: Steven F Behnke
body: Do you have Confluence Server or Confluence Cloud? If you have Confluence Server you could consider using the copy space add-on: <https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugin.copyspace/server/overview>

The source code is avaliable here: <https://bitbucket.org/atlassianlabs/confluence-copy-space-plugin> . I know it says Confluence v5 but I just keep updating it for personal use.


author: Stephan Sutter
body: Hi Jack,

As Nic wrote, there is no out of the box solution. You could use the Space Tree Creator Add-on to create your spaces based on a template. The user can fill out a form and the space is created accordingly.

Check out the [Live Examples](https://focuspro.eps.ch/display/PEPSMarktExample?&pagepropertiesreport.serverrender)(no registration required)

Kind regards,  
Stephan

EPS Software Engineering AG


author: Nicolas Werle _Decadis AG_
body: Hi Jack,

Out of the box this is not possible in Confluence, but the Add-On [Space Admin for Confluence](https://marketplace.atlassian.com/plugins/com.decadis.confluence.spaceadmin/server/overview)should help you, to handle this issue.   

In addition, it provides more functions, like permission management, as well as search \& replace.   
If you have any questions regarding to this, please feel free to contact me directly via email to: n.werle(at)decadis.de  

Best regards

Nic  
DECADIS AG
How to create a link with {expand} in sidebar?
Asked by Caleb Green:

Hi. I'm new to Confluence and looking for help with the sidebar, specifically the {expand} feature.

Presently I use {expand:Departments} to create a dropdown of different spaces like - \[AB:\], etc.

Right now "Departments" is only text, though, not a link. Is there a way to convert it?

If I plug in a space key or other type of link, it just becomes the flat text.

Any suggestions? Thanks!


Answers:
author: Shannon S
body: Hi Caleb,

You can use [Confluence Wiki Markup](https://confluence.atlassian.com/doc/confluence-wiki-markup-251003035.html) to link to a page.

For example, here's what I did to get a link to work in the Expand Macro:

![Screen Shot 2017-08-07 at 1.52.45 PM.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/4161i882A61716E28C4A9/image-dimensions/585x414?v=v2 "Screen Shot 2017-08-07 at 1.52.45 PM.jpg")

Note, you don't see that I've done this, but you have to put {expand} after the links you list.

And you can see the result here:

![Screen Shot 2017-08-07 at 1.53.09 PM.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/4162iAFEE4DEE1C2C09C1/image-dimensions/351x453?v=v2 "Screen Shot 2017-08-07 at 1.53.09 PM.jpg")

It will not look like a link until you get out of the Space Tools section and go back to the main space page, but it does work effectively.

Let us know if you have any trouble!

Kind Regards,  
Shannon


Tags: expand

side-bar
Jira software + Confluence processes
Asked by Aleksejs Gusarovs:

I having some problems with jira and confluence each are running about 30 processes, is there configuration issue ? How can we reduce count of active instances?


Answers:
author: Nic Brough -Adaptavist-
body: Should be three java processes, assuming you've got Confluence 6+

What exactly are all these "processes"? I'm more familiar with \*nix machines, where a process list is given by "ps", but I'm aware Windows does it differently and you might not be looking at the Java/Tomcat level.

comments: author: Aleksejs Gusarovs
body: Sorry i described a bit incorect, not processes but threads, so actualy i have about 10 projects, 6 active users, biggest project has above 150 issues. So main problem is that both jira and confluence ara slowe, and RAM usage is above 3GB for each, its abit confusing. Also Jira sometimes crashes, but in log files there is no information why this is hapening.   

Im running Jira 7.4.2 Confluence 5.9.8, on Centos 7, and using nginx as reverse proxy.


Tags: jira-software
Confluence startup error
Asked by Calen Shelton:

I have been using confluence for several months without issues. All of the sudden 2 days ago it wouldn't open saying there was a cluster error. After looking around it seemed this would be fix by restarting the Confluence service. I restarted the service, and now Confluence won't start and gives the following error:  

Unable to start up Confluence. Fatal error during startup sequence: confluence.lifecycle.core:mananagedjobs (Start and stop the Managed Scheduled Jobs) - org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only

I haven't been successful searching for this specific issue. Is there anything obvious here I can quickly fix?


Answers:
author: Shannon S
body: Hi Calen,

Do you have any further details from your error that you could share with us? The part you've shared is a bit generic, so if you are able to review your logs and see if you can find a **caused by** line or any more specific errors, please share that with us.

In addition, can you tell us if you've recently upgraded or installed any add-ons?

Kind Regards,  
Shannon

comments: author: Calen Shelton
body: I found this particular error that has come up in our a logs a few times.

*Caused by: org.h2.jdbc.JdbcSQLException: IO Exception: "Missing lob entry, block: 3772773" \[90028-176\].*

This seems to be the issue from what we can see in the logs.


author: AnnWorley
body: Hi Calen,

Shannon is off shift now but I wanted to share this article that addresses a similar startup error:

[Unable to Start Confluence Due to I/O errors during LOB access](https://confluence.atlassian.com/confkb/unable-to-start-confluence-due-to-i-o-errors-during-lob-access-236587810.html)

You mentioned you have been using Confluence for several months. If this is a Production instance, please follow [Migrating to Another Database](https://confluence.atlassian.com/doc/migrating-to-another-database-148867.html) to move to a supported database as the [Embedded H2 Database](https://confluence.atlassian.com/doc/embedded-h2-database-145098285.html) is for trial only and not appropriate for Production.

Thanks,

Ann
BundleException when adding third party dependency
Asked by Saba:

When I add the following dependency to my pom.xml:

```
<dependency>
    <groupId>org.apache.odftoolkit</groupId>
    <artifactId>odfdom-java</artifactId>
    <version>0.8.11-incubating</version>
    <scope>compile</scope><!-- important! -->
</dependency>
```

I get the following error during atlas-run or atlas-package:

```
[INFO] [talledLocalContainer] 2017-08-04 16:33:59,885 ERROR [QuickReload - Plugin Installer] [plugin.osgi.factory.OsgiPlugin] enableInternal Detected an error (BundleException) enabling the plugin 'com.plugin.export.odt' : Unresolved constraint in bundle com.plugin.export.odt [258]: Unable to resolve 258.0: missing requirement [258.0] osgi.wiring.package; (osgi.wiring.package=com.hp.hpl.jena.query). ?This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see https://developer.atlassian.com/x/mQAN
```

I know that my problem is related to [this article](https://developer.atlassian.com/docs/faq/troubleshooting/bundleexception), and there is another [similar question](https://community.atlassian.com/t5/Answers-Developer-Questions/BundleException-enabling-plugin/qaq-p/512284) on the form, however I can't seem to find the answer.

No OSGi bundle seems to be exporting the package for my plugin to consume it, according to the article referenced above I may need to provide it by packaging it within my plugin and removing the package import! but I can't begin to understand what this might mean?

What am I doing wrong? What are the steps to track the problem? Is this a dependency conflict or simply my dependency


Answers:
author: Christo Mastoroudes _Adaptavist_
body: Hi,

I would possibly look at the scope:

<https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html>

Perhaps also investigate to see if there are any conflicts:

atlas-mvn dependency:tree

This will print a list with all the dependencies for your project.

If you do find a conflict, you can exclude the offending version from your pom with the \<exclusions\> tag.


Tags: app

dependency

osgi
Why does the Multimedia macro not load videos when I a page has more than a certain number of them?
Asked by Graham Campbell:

I have an article in Confluence 6.1 which has 10 mp4 attachments. The largest is 149mb.

If I place all 10 of them in the page, the page will not complete loading.

I get all the text, and other macros load in just fine including the Table of Contents and even some of my own custom macros. I can also see the outline of where each video player is supposed to be including the play button, but the videos themselves are not there and clicking play does nothing.

The page appears to be continuing to load forever. Only manually cancelling the page load by hitting the stop X button in the Chrome tab seems to have an effect, and it is not consistent.

It appears to me that the page is constantly stalling on fetching the videos.

Conversley, if I simply place the videos inline as attachments (no multimedia macro) then the page loads just fine.

What is going on with the Multimedia macro that could cause this?


Answers:
author: Shannon S
body: Hello Graham,

Can you open up Developer Tools and Network tab on Chrome and then refresh the page? Have a look on that panel in red and see if you can notice any problems with the remaining videos loading. Please feel free to share with us if it doesn't contain any private information.

Kind Regards,  
Shannon


Tags: multimedia
How to add 'countstatus' macro to get total count from multiple pages?
Asked by Nikhil Subhash More:

I have more than 10 pages where I have added 'countstatus' macro. It would be great help if i could get a total count all at once, which would save a lot of time I spend by going to each page and add all status counts.

A solution would be a great help.

PS: I am completely new to confluence. And I am still learning, a detailed solution with steps would be most helpful.


Answers:
author: Andrey Khaneev _StiltSoft_
body: You can use Page Include macros, or Page Properties Report macro if you place statuses in tables.

comments: author: Nikhil Subhash More
body: Hello, Thanks for taking time to answer.

I added page properties report macro, but did not understand how to get the total count i need. I do not want table rows to be displayed, as it is doing in page properties report. I just want the total count across lets say 20 different pages located under different parent page.

Let me elaborate my question. :

I have added a column for priorities in the table, and added 'status' macros in each row. and have added a 'countstatus' macro at the end of the table. Which gives me total count for the table. (thats all I want)

There are multiple pages across which I have implemented same thing. What I need now is a macro which will add up the total count across these pages all at once. Currently I have to go to each page and add the count manually.

Is there a way to use the page properties report macro for this purpose? if yes, then please guide me with steps.


author: Andrey Khaneev _StiltSoft_
body: Hello Nikhil,

First of all you need to aggregate all your statuses from different pages in one place to be able to count them. So you can use:

* Page Include macros to include different pages to the main page.
* Excertp and Excerpt Include to include pages partially.
* Page Properties Report if it shows all rows with statuses.

Then you can try to use countstatus macro to calculte count (I'm not aware of this macro). If this mocro doesn't work in this case, you can use [Pivot Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Pivot+table+macro) ([Table Filter and Charts](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) add-on) macro to count statuses: wrap Include macros or PPR macro with Pivot Table like in [this video](https://youtu.be/JGIijnaL9mU?t=70).


author: Nikhil Subhash More
body: Hi. Thanks again for the reply.

That video was really helpful. I tried to use the page include macro. It almost worked. But I came across an issue / bug. Though I think I can workout a solution with the help of information you have provided.

I will try out few different things. I didn't know there is so much we can do with macros. I don't know if we have full access to these macros. I couldn't find pivot table macro. Will check what add-ons we have.


author: Andrey Khaneev _StiltSoft_
body: Hi!

Pivot Table is from an add-on Table Filter and Charts. If you have any questions, feel free to ask.


Tags: macro
Can't check your base URL - reverse proxy
Asked by pavel.svec@i.cz:

I managed to run Confluence 6.3.1 on Debian 9. Shortly after installation we decided to run Confluence on https with reverse proxy on apache.

I redirected port 80 to 443 and then to confluence default 8090. But I get 'Can't check your base URL' problem during each logon to Confluence web-app even though I configured all parts according the atlassian doc.

Here is the (important) part of *apache site file*.
>
> ```
> <VirtualHost <my_ip>:443>
>
>  ServerName <my_domain>
>
>  ProxyPass / http://localhost:8090/
>
>  ProxyPassReverse / http://localhost:8090/
>
> </VirtualHost>
>
> <VirtualHost <my_ip>:80>
>  ServerName <my_domain>
>  Redirect Permanent / https://<my_domain>/
> </VirtualHost>
> ```

Here is the (important) part of *tomcat server.xml*.

```
<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
 proxyName="localhost"
 proxyPort="443"
 secure="true"
 scheme="https" 
/>
```

Here is the URL base from Confluence admin console.

```
https://<my_domain>
```

I believe there's nothing wrong with this configuration. Am I right?

Thx ahead for any contribution.


Answers:
author: Nic Brough -Adaptavist-
body: The proxyName in the server.xml should be the domain you want to access Confluence on, not localhost (unless you only every want to proxy from the server!)

For example

\<Connector port="8090" connectionTimeout="20000" redirectPort="8443"  
maxThreads="48" minSpareThreads="10"  
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"  
protocol="org.apache.coyote.http11.Http11NioProtocol"  
proxyName="my_domain" proxyPort="443" scheme="https" /\>

comments: author: pavel.svec@i.cz
body: 1. It's made on purpose. -\> by design =\> proxyName="localhost"

2. Could it help a module mod_remoteip (x-forwarded)?


author: Nic Brough -Adaptavist-
body: No, your proxyName is incorrect, you need to use the right server name. A module won't help you get around an incorrect setting.


author: pavel.svec@i.cz
body: Of course., u were right! Thx.
PDF Export Not working after migration to the new confluence experience
Asked by Chris_Courtney:

Hi,

The PDF Export function is now not working in the new confluence experience. The export progress remains at 0% after its been selected. I have opted out to the old interface and this has resolved the issue.

Is there any fix for this?


Answers:
author: AnnWorley
body: It's supposed to be fixed now - please try again and let us know your experience:

[Confluence export functionality page and space are not working (e.g PDF, XML, HTML, Word)](https://jira.atlassian.com/browse/CONFCLOUD-56582)

I didn't find any mention of it working when you opt out of the new UI, so I am hoping this is indeed the same issue.

comments: author: Chris_Courtney
body: I have enabled the new Confuence experience and have been able to export to PDF successfully so it looks as if the issue is resolved

thanks


author: Saran Sekar
body: Hi [@Chris_Courtney](/t5/user/viewprofilepage/user-id/1143989) [@AnnWorley](/t5/user/viewprofilepage/user-id/502040) , What was done to fix this?  
Could you share the same. I'm facing the same issue. Using [Atlassian Confluence](http://www.atlassian.com/software/confluence) 7.3.2 Server version.


Tags: confluence-cloud

export

pdf
Is it possible to export content form different pages in one document
Asked by Emma Avetisyan:

Hi,  

Can you please advice how can I export different pages from different spaces in one document?

Thanks,

Emma


Answers:
author: Shannon Meehan _K15t_
body: Hi Emma,

I know this is an old post, but it's worth mentioning that my team has just introduced a document builder feature in our [Scroll Documents app](https://marketplace.atlassian.com/apps/1217608/scroll-documents-for-confluence?hosting=cloud&tab=overview) that enables you to do this.

Scroll Documents defines a document as a collection of Confluence pages (usually a page tree), and this new feature gives you the ability to compile a new document by searching for and copying pages from anywhere in your instance.

So the way this feature works is when you create a document, you can assemble copies of Confluence pages to insert in your document. You can also drag and drop to define a new structure if you need your pages to appear in a different order in the export -- essentially giving you the custom export structure you're looking for.

Our [documentation](https://help.k15t.com/scroll-docs/1.3.0/server/how-to-assemble-a-document-from-existing-confluence-pages-172589372.html "https://help.k15t.com/scroll-docs/1.3.0/server/how-to-assemble-a-document-from-existing-confluence-pages-172589372.html") goes into more detail.

If you have any questions, we'd be happy to help or show you a demo of the app. Just get in touch with us: hello@k15t.com.

Cheers,

Shannon (K15t)


author: GG
body: Hi Emma,

If you don't want to create a new page for the export, you will still need to bring all the pages to the same space in some way.

When they are in the same space, you can use Content Exporter for Confluence addon to export a whole page tree or any selected children of a page:

<https://marketplace.atlassian.com/plugins/com.metainf.confluence.plugin.pagetreeexporter.pagetree-word-exporter-plugin/cloud/overview>


author: Phill Fox
body: Hi Emma

One option would be to build a page with content from the pages you want to include using the Include Page Macro (<https://confluence.atlassian.com/doc/include-page-macro-139514.html>) or the Excerpt Include Macro ([https://confluence.atlassian.com/doc/excerpt-include-macro-148067.html)](https://confluence.atlassian.com/doc/excerpt-include-macro-148067.html)?)

Then you can export the page with your desired content.
Using existing license for Cloud
Asked by Mahesh Gandhe:

We have purchased license today (SEN-10088207).

We would like to use cloud version of your product. What is the best way to proceed?


Answers:
author: Nic Brough -Adaptavist-
body: Tell Atlassian you have made a mistake and ask for a refund, as you have bought the wrong type of licence. If it's within 30 days of purchase and not a "starter" licence, you should be ok. Start at <http://www.atlassian.com/company/contact>

Then, buy a Cloud system (sign up for a trial, and then pay for it) separately, a Server licence is no good for Cloud.

(I don't know if they transfer funds)
Confluence cloud - start parameter in REST API to get group members is not working
Asked by priyadarshini_ks:

Not able to get paginated result for group members in Confluence cloud using REST API.

**https://\<companyName\>.atlassian.net/wiki/rest/api/group/{groupName}/member?limit=100\&start=0**

This call correctly returned me the first 100 members in the group.

When I tried to get the next 100 members throught the below call:

**https://\<companyName\>.atlassian.net/wiki/rest/api/group/{groupName}/member?limit=100\&start=101**

It returned first 100 members again (same result as previous call)

limit parameter works, restricts the result to the value specified.

But start parameter is not considering the value specified, it is getting the results with its default value which is 0.

Could you please help, what I am missing here?


Answers:
author: Shannon S
body: Hi Priyadarshini KS,

<br />

You're not missing anything; this is actually a known bug in our system: [CONFCLOUD-56322](https://jira.atlassian.com/browse/CONFCLOUD-56322)

There is one workaround if you have groups with fewer than 200 members, which I will assume you may not:
> Use the limit value up to 200 for groups with less than 200 users.  
> There is no workaround for groups with more than 200 users.

Let us know if you have any questions about this. In the meantime you can vote on that issue to help show the number of users who have run into the issue, and watch it in order to be updated of any changes.

Kind Regards,  
Shannon


Tags: confluence-cloud

group

rest-api