youngmon/atlassian-qna huggingface dataset:
why does Confluence show 404 page for existing pages?
Asked by Xaver Inglin:

When a user tries to access an existing page for which he has no access rights the 404 page is shown. Why is this?

There should rather be a message, that the user has no access to the page.


Answers:
author: Shannon S
body: Hi Xaver,

This has been reported as a bug in our system, and you're welcome to watch it for updates:

* [CONFCLOUD-57226](https://jira.atlassian.com/browse/CONFCLOUD-57226)

Please vote on it as well as it helps us keep account of how many users are running into the issue.

Let us know if you have any questions about this!

Kind Regards,  
Shannon


author: Nic Brough -Adaptavist-
body: That can happen with proxies, poorly configured web-servers or core installation files with the incorrect permissions set. There's a standard "you can't see this page because it's deleted or you don't have permission" built into Confluence, but users will get a 404 if it can't be served up by Confluence. What url is showing when someone lands on this, and how does it compare to your base url in Confluence?

comments: author: Xaver Inglin
body: we uses confluence cloud.

I expect a 401 instead of 404 if user has no access to the page.


author: Nic Brough -Adaptavist-
body: Ah, Cloud, that needs to go to Cloud support then.


author: Shannon S
body: Thanks [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454)! It's a known bug so I have posted it here in case anyone else runs into the issue. :)

Kind Regards,  
Shannon


author: Nic Brough -Adaptavist-
body: Sorry, I didn't refresh and check that it had been answered!


author: Shannon S
body: No worries! It's understandable

Kind Regards,  
Shannon
Navigation menu on Confluence
Asked by David LE DRU:

Hello,

I have a document in Confluence that has headers and titles, which I would like to see in a left-hand side navigation menu identical to the one you get in Word.

Any idea how that can be done ?

Cheers,

David.


Answers:
author: Nic Brough -Adaptavist-
body: You won't get one identical to Word, but there is a way to get close. Use the "table of contents" macro. It will automatically generate a tree from all the headers in a page. It would not be hard to throw it into a two or three column layout on the left hand side.

comments: author: David LE DRU
body: Thanks Nic. I do have a table of contents and could stick it to the left, but I would need that table to be static. Both columns move when scrolling down, so the table is only visible when you are at the top of the document.

I guess I'm gonna have to make do with pages, then, but that's not as good and will be a lot of extra work.

Thanks again for your help. Have a great day, Nic.

David.
Why was my Confluence-instance down?
Asked by Florian:

This morning my Confluence was not running. I have it set up as a service on Ubuntu 16.04. I had to manually start it

    $ sudo /etc/init.d/confluence start

I wanted to attach the catalina.out-log to my post, however this message cannot exceed 20000 characters, so in what log file should I look for errors?


Answers:
author: Florian
body: thanks for that hint, I found the reason. My backup-routines (run by CRON-jobs) shut down both, confluence AND PostgreSQL due to backups and the time between shutting them down was too short that in some cases (like it happened yesterday) the database was unavailable before confluence was shut down. I will fix it by better timing of the CRON-Jobs

comments: author: Shannon S
body: Ooh! Good catch. :) Glad I got you pointed in the right direction at least!

Take care and Kind Regards,  
Shannon


author: Florian
body: In atlassian-confluence.log I have a lot ERROR-entries like those the evening before that happened:

```
09-24 22:00:04,911 ERROR [localhost-startStop-5] [engine.jdbc.spi.SqlExceptionHelper] logExceptions FATAL: terminating connection due to administrator command
2017-09-24 22:00:04,911 ERROR [localhost-startStop-5] [engine.jdbc.spi.SqlExceptionHelper] logExceptions An I/O error occurred while sending to the backend.
2017-09-24 22:00:04,912 WARN [localhost-startStop-5] [impl.schedule.caesium.SchedulerClusteredJobDaoProxyWrapper] delete Could not delete clustered job 'DefaultPluginScheduler:com.atlassian.analytics.client.upload.S3EventUploader:job'
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Unable to acquire JDBC Connection
```

```
2017-09-24 22:00:04,914 ERROR [localhost-startStop-5] [engine.jdbc.spi.SqlExceptionHelper] logExceptions FATAL: terminating connection due to administrator command
2017-09-24 22:00:04,914 ERROR [localhost-startStop-5] [engine.jdbc.spi.SqlExceptionHelper] logExceptions An I/O error occurred while sending to the backend.
```

followed by some hundred similar entries

comments: author: Shannon S
body: Hello,

It appears that your database connection is the root cause Confluence crashing.

Have a look at your database logs to see why it might be closing the connection to Confluence. You may also try restarting your database server itself to fix any issues with instability.

Thus:

1. Stop Confluence
2. Restart the database server
3. Start Confluence.

Let us know if you have any trouble!

Kind Regards,  
Shannon


author: Shannon S
body: Hi there,

You can try the atlassian-confluence.log file and it might explain the reason for the crash there.

A few examples of things that might cause a crash are available here:

* [Troubleshooting Confluence Hanging or Crashing](https://confluence.atlassian.com/confkb/troubleshooting-confluence-hanging-or-crashing-163415613.html)

Let us know if you find any suspicious lines around the time of the crash and if you're not able to determine the cause please feel free to share with us.

Kind Regards,  
Shannon
Back up error
Asked by soldesk:

Hi to all,

I am trying to back up the confluence server through "Backup \& Restore" but it seems that I got this error (below). I'm trying to back up the existing confluence to import it to a new server. We are running the server on Ubuntu OS and transferring to Windows. hope to have some leads since I don't have any idea what will I do next. thank you and more power.

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


Answers:
author: Nic Brough -Adaptavist-
body: Please read the first line of the error - it tells you what the problem is.

comments: author: soldesk
body: thank you [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454), upon checking, I have more than enough space in my device to back up the whole confluence.


author: Nic Brough -Adaptavist-
body: I'm afraid that's wrong. Confluence is clearly telling you that your operating system can't write to the disk because it's out of space.

I suspect that you might not know quite what "space" is though. It can be the physical number of bits you can write to a device, but many filing systems are more advanced than simple dumps of bits. If you're on an ext type file system (quite likely as you said 'Ubuntu'), then you need to look at inodes as well as volume of bits (try df -khi ). Other file systems may be similar. And your users may be limited by quotas. You should also check that you have enough space on the partition for the OS in case it's creating loads of temporary files etc.

Might be worth a look through /var/log for logs generated at the time the export failed as well.


author: soldesk
body: Deleted some files, first line of error changed:

![](filesystem:chrome-extension://fdpohaocaechififmbbbbbknoalclacl/temporary/screencapture-192-168-10-3-8090-admin-dobackup-action-1506500439724.png)![screencapture-192-168-10-3-8090-admin-dobackup-action-1506500439724.png](https://community.atlassian.com/t5/image/serverpage/image-id/6899i19B35C92EB52038C/image-size/large?v=v2&px=999 "screencapture-192-168-10-3-8090-admin-dobackup-action-1506500439724.png")
What happened to the Documentation Theme in Confluence 6?
Asked by Susan Seidlitz:

The Documentation Theme is no longer available in version 6.x? What happened to it and how can I get it back?


Answers:
author: Danny Zuccaro
body: Hi Susan,

The documentation theme was removed as of version 6.x as you highlighted and it was transitioned to the default theme. You can read the end of support notice here - [https://confluence.atlassian.com/conf59/end-of-support-announcements-for-confluence-792499890.html and](https://confluence.atlassian.com/conf59/end-of-support-announcements-for-confluence-792499890.html?and) a transition guide here - [https://confluence.atlassian.com/conf59/switch-to-the-default-theme-792498652.html.](https://confluence.atlassian.com/conf59/switch-to-the-default-theme-792498652.html.?)

Hope this helps,  
Danny

comments: author: Susan Seidlitz
body: Danny,

Neither one of those links work.


author: Danny Zuccaro
body: Not sure what happened Susan - let me try again.

[Switch to default theme.](https://confluence.atlassian.com/conf59/switch-to-the-default-theme-792498652.html)

[End of Support Notice.](https://confluence.atlassian.com/conf59/end-of-support-announcements-for-confluence-792499890.html)


author: Susan Seidlitz
body: I found the problem, When I clicked on the link it was picking up the period at the end. delete that and it works. Thanks for the info. It help!!


author: Danny Zuccaro
body: No trouble and glad it helped Susan. If you could please hit the checkmark to the left to mark this question as answered.

Have a great day!
how to join two labels with Content by label Macro
Asked by Aurelien Le Bastard:

Hi,

I find how to exclude labels with minus but I don't find how to join (AND operator) labels. The '+' doesn't work like the minus.

Thanks,


Answers:
author: Stephen Deutsch
body: There is a section in the documentation under CQL Filters that describes what you're looking for:

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

comments: author: Aurelien Le Bastard
body: Nice !

You saved me :)


author: Amal - Seibert Solutions
body: Hey there,   

in which version is this option available?   
I can't find the Option to enable CQL.

Thanks,   
Amal


author: Tom Clement
body: The easy way to do this is to choose the "Add a filter" link, then choose Label from the drop down list box. Then specify the label you want ANDED in the box that appears.


Tags: label
Writing Macro to add Labels based on Article content
Asked by Jonathan Jacobi:

So I wanted to create a macro (very similar to <http://confluence-addons.connect.adaptavist.com/label-tools/latest/choose-label-macro.html> but definitely not identical unfortunately :\\ )

That adds labels/suggest in a popup box or something similar from a given list, in case the words in the label-list appear in the confluence article.

Is it possible?

Can I do it "macro-only"?

Without creating a plugin or anything like that..?

Thanks a lot!!!


Answers:
author: Stephen Deutsch
body: This might be a good starting point:

<https://community.atlassian.com/t5/Jira-questions/How-do-I-add-labels-to-a-page-using-a-user-macro/qaq-p/129512>

Although the code is old, it should still work. Just don't forget to change the \&lt; and \&gt; to \< and \> respectively.

comments: author: Jonathan Jacobi
body: How do I use this function?

<https://docs.atlassian.com/confluence/5.9.9/com/atlassian/confluence/labels/LabelManager.html#getSuggestedLabelsInSpace-com.atlassian.confluence.labels.Labelable-java.lang.String-int->

I don't know what parameters I should give it, but it seems like it would give me exactly what I need, and then I will only need to list it.

maybe, if it is possible, how do I access the page's content?

I could check the page's content and if some words exist there, I will add them as labels- that seems like an ideal solution, don't you think ?:)

Thanks a lot!!!!! :-)


author: rohit patel
body: Hi Stephen,

I am also trying to achieve something similar. I am very new to confluence and still learning. I just wanted to know how do i use the code that is provided on [https://community.atlassian.com/t5/Jira-questions/How-do-I-add-labels-to-a-page-using-a-user-macro/qaq-p/129512](https://community.atlassian.com/t5/Jira-questions/How-do-I-add-labels-to-a-page-using-a-user-macro/qaq-p/129512?)

Regards,

Rohit


Tags: macro

user-macro
How to close account when account email address is not longer accessible?
Asked by Ryan Hitch:

Good afternoon,

We are in the process of clearing up a few service subscriptions having transferred control of a project.

As part of this transfer we no longer have access to the email servers/accounts, ordinarily this has not proven to be an issue - however Atlassian has *forced* a password reset on the account and emailed out instructions to the (no longer accessible) email address.

It does not seem to be possible to raise a support ticket without logging in (which obviously we cannot do).

So my question is - how do we exit this vicious cycle? At the moment our only option is to cancel the Visa card which funds the account - but that seems a very messy way to end a business relationship!

Our goal is simple to close the account.

Regards,

Ryan


Answers:
author: AnnWorley
body: Hi Ryan,

Please use the form at: [Pricing, billing \& licensing help](https://www.atlassian.com/company/contact/purchasing-licensing) to communicate with our customer advocates team about closing the account.

If you have any trouble, please let me know and I will follow up.

Thanks,

Ann


Tags: account

authentication

jira
Can our server users edit content with our Cloud users?
Asked by Oliver Quillia:

Our company is going through a merger and wanted to purchase a new 100 seat, per month, per user Confluence Cloud package. We currently have a 100 seat, server license and wanted to know if I purchase this cloud package could our existing server users and new cloud users edit each other's content.  

Example: Say I wanted to create a wiki page for everyone to use and edit. Could the older server users and cloud users see and edit the same wiki content?  

I've read that I could export our server content to our new cloud server which would help to join the two. But, after we do that would all we have to do is just assign permissions for our wiki page across platforms? Is there a difference with how we create this wiki page? If I create the wiki on the server environment prior to cloud migration, would new cloud users be able to see, edit, etc?


Answers:
author: Oliver Quillia
body: What would be the purpose of migrating our current server to the cloud, then? Would it be purely to avoid a setup from scratch on the new cloud server? If I have to recreate the old users to the new cloud users as well as add new users, what advantage would be there if I exported our server to the cloud? Again, much thanks!

comments: author: Nic Brough -Adaptavist-
body: The main advantage would be having everything in one place.


author: Oliver Quillia
body: Ok.. great thanks again, Nic!


author: Peter DeWitt
body: Oliver, those are two separate offering from Atlassian. Users would need an account in each system in order to edit.

comments: author: Oliver Quillia
body: Thanks for your response, Peter.

If I understand you correctly, and assuming a migration had been made from our current server to the new cloud server, an old user and a new cloud user could not edit the same page even if they were granted permissions to edit the page?


author: Nic Brough -Adaptavist-
body: And a page on Cloud would not be in the same system as the Server one. You'd need to find a way to synchronise two separate pages.


author: Oliver Quillia
body: Sorry, also, let's say if that's not possible - to be able to edit content across old/new users - would I have to recreate profiles from the old server to the new cloud server?   

Ex: Sam and Mary both work for the same company. Sam is an older user of Confluence server and Mary is a new cloud user. In order for Sam and Mary to edit the new wiki page, a new seat would have to be reserved for Sam on the cloud server in order to edit/access the same page. Sam cannot be 'invited' to edit the cloud page Mary is working on.


author: Nic Brough -Adaptavist-
body: Yes, they're separate systems, each user will need an account on each system.

If you replicated though, that would not be necessary. Sam could edit on one end, and the changes would be copied over to the other end without him needing an account there.


author: Oliver Quillia
body: Right.. Thanks Nic.. That's the problem I'm trying to avoid.


Tags: cloud

developer

link

migration

server
Confluence -- Cookie based authentication endpoint?
Asked by Kyle Ross:

I am currently setting up cookie-based authentication for my organization. I have set up the connection for JIRA. I am requesting a cookie ID using the endpoint //server/rest/auth/1/session.  

This endpoint doesn't seem to work for confluence, and I haven't yet been able to find documentation anywhere for the endpoint I am supposed to use.  

Can anyone shed some light on this?


Answers:
author: Dario B
body: Hi Kyle,

As you may have already found out there is no session endpoint available for Confluence and indeed we have the below feature request open in order to have this added:

- <https://jira.atlassian.com/browse/CONFCLOUD-57359>

As mentioned in above feature request:
> If you have JIRA and Confluence on the same instance then you can call the JIRA session endpoint and, if the credentials used to authenticate the request have Confluence application access, you can use the cookie you retrieved to authenticate Confluence REST API calls.

Otherwise, if you don't have JIRA, you can then use Oauth authentication as explained in the below thread (see only the answers from 2017):

- <https://community.atlassian.com/t5/Questions/Confluence-Oauth-Authentication/qaq-p/331326>

I hope this helps.

Cheers,  
Dario


author: Gregory Van Den Ham
body: What are you using as an authentication source? Confluence has 3rd party add-ons already created for user authentication. For example [SAMl](https://marketplace.atlassian.com/plugins/com.resolution.atlasplugins.samlsso.Confluence/server/overview)

comments: author: Kyle Ross
body: Thank you for that link!

I am authenticating from a Java script, as I have done for JIRA. In that instance, I was sending a POST to JIRA and getting back the JSESSIONID.

Where I work, we are required to go through an arduous process for each new add-on, and its not even certain that it may be approved. For that reason, I would like to avoid 3rd party add-ons.  

This should be possible to do, since I was able to achieve it in JIRA, right?


Tags: authentication

cookie
Importing data between major versions of Confluence
Asked by Whip Hubley:

Hey there. We have a test instance of Confluence 6.4.1 and a production instance of Confluence 5.8.4 and I would like to regularly update the test instance to have the same content as production. Is it possible to export the database (in our instance postgres) along with the attachments directory from the earlier version and import them into the latest version ? I'm guessing the schema has changed between versions but can we manually run the schema update script to handle this ? Otherwise our test instance is going to get quickly out of date before we can update live. Thanks.


Answers:
author: Whip Hubley
body: OK this does work fine. Initially on startup you'll see something like the following:

```
Confluence will not start up because the build number in the home directory [7401] doesn't match the build number in the database [5982]
```

But to fix this just edit the buildNumber in \<confluence_home\>confluence.cfg.xml to the earlier value and all required schema changes will then be applied on startup.


author: Mizan
body: Welcome , I have never tried this myself but the upgrade should initiate again after you import the database from the production.

if the data is less you can also try importing XML <https://confluence.atlassian.com/doc/restoring-a-site-152034.html>


author: Whip Hubley
body: Thanks for the response. The upgrade from 5.x to 6.x has already taken place and the schema has been updated. But my concern is that if I now attempt to import data from 5.x into 6.x then during startup it will recognise an earlier schema and refuse to start. If that's the case then I wonder if we can manually run the schema update to enable the application to start. We have a test instance of a newer version because we are testing the upgrade from 5.x to 6.x and then was to keep the 6.x version up to date until it's time to migrate.


author: Mizan
body: You mentioned : *Is it possible to export the database (in our instance postgres) along with the attachments directory from the earlier version and import them into the latest version ?*

By doing this you are actually upgrading confluence. When you start Confluence 6.4.1 , it will detect that the database is for version 5.8.4 and initiate an upgrade for the database and the new required tables will be created or modified

However, the version of test instance should always be same as the production. Why you need a test instance on a newer version ?
Session Timeout
Asked by Mark Mercer:

After signing in to Confluence my session times out after about 10 to 15 seconds.

This is happening to multiple accounts on our system but some of them get maybe a minute or two.

How can this be fixed / adjusted.


Answers:
author: AnnWorley
body: Hi Mark,

I understand some users are seeing sessions time out in Confluence only 10 - 15 seconds after logging in.

By default the session timeout is an hour, as described in [How to adjust the session timeout for Confluence](https://confluence.atlassian.com/confkb/how-to-adjust-the-session-timeout-for-confluence-126910597.html). Please check the timeout setting in the file: `<confluence_install>/confluence/WEB-INF/web.xml.`

Is it possible that you are accessing another application in the browser and it's overwriting the cookie for Confluence? If so, there are two workarounds on this guide: [Logging into another Atlassian application logs me out of Confluence](https://confluence.atlassian.com/confkb/logging-into-another-atlassian-application-logs-me-out-of-confluence-268043930.html)

I look forward to hearing what you find is causing the sessions to time out.

Thanks,

Ann


Tags: session

timeout
Complete questions and show result
Asked by Patrick Vanhoof:

Hi,

We now have an Excel sheet to determine the type of project one wants to start. Based on the answers to a number of questions in the Excel, the type of project is defined.

Can something similar be done in Confluence?

Thanks,

Patrick


Answers:
author: James Conway
body: Hello [@Patrick Vanhoof](/t5/user/viewprofilepage/user-id/1131759)

I wonder if a forms or workflow app for Confluence could be adapted to meet your requirements?

For instance a Comala Document Management workflow (without a final state) could lead user through a workflow to get to the desired output. Workflow parameters could add additional flexibility (particularly the list type).

Reach out to our Customer Success team at <https://support.comalatech.com> with more details of your requirements if you want to explore further.

All the best

James

comments: author: Patrick Vanhoof
body: Hi James,

The question is over 4 years old and no longer actual. I do not remember if and how we solved it, but we do have the Comala Document Management add-on.

Thanks for the help anyway.

Kind regards,

Patrick


author: Jack Brickey
body: Hi [@Patrick Vanhoof](/t5/user/viewprofilepage/user-id/1131759) , I am working on cleaning up some of the old posts and came across yours. I don't know of any way to accomplish what you're asking for here in Confluence. However, by chance did you find something if so please feel free to share here to potentially benefit others.

comments: author: Patrick Vanhoof
body: Haven't found a solution to this.