youngmon/atlassian-qna huggingface dataset:
Checking last time spaces are modified for a Confluence Instance
Asked by Bakul Warikoo:

I am trying to extract data for all the spaces present under our Confluence Instance (Server). We need the info regarding the last date of modification of space along with space name. We are in process of archival of spaces which are not in use for long hence, this request.

I have run the below query however, this query does not show proper data (incorrect data is present), and along with that, it is listing down couple of spaces which have been deleted long back. Any inputs on how to do this?

*SELECT spaces.spacename, MAX(content.lastmoddate) FROM CONTENT as content, SPACES as spaces WHERE content.spaceid = spaces.spaceid GROUP BY spaces.spacename;*


Answers:
author: O
body: Try this:

[https://marketplace.atlassian.com/apps/186/reporting-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/186/reporting-for-confluence?hosting=server&tab=overview)

Based on that second image, it looks like it does what you want.


Tags: confluence-server

server

space
Attachments not found after migration Confluence 6.15.9
Asked by changmle:

I want to migrate my confluence to a new server. I managed to restore the xml file (without attachments) from old confluence (mysql) to new confluence (postgres)

Then I moved the attachments folder to the new confluence but now my confluence pages cannot find the attachments. Anyways to solve this issue?


Answers:
author: Kiran Panduga {Appfire}
body: Hi [@changmle](/t5/user/viewprofilepage/user-id/2270364) ,

After moving the attachments folder to the new confluence home directory, did you perform the re-indexing? If not, please perform the re-indexing and verify.

Additionally, if you are still unable to find the attachments, verify whether the attachments are really copied into the new confluence home directory path i.e \<confluence_home_directory\>/attachments/ver003

Thanks,

Kiran.

comments: author: changmle
body: yes, i rebuild index for search indexes.

the profile pictures are loaded but not the attachments of the page. i have verified that the path is correct.


author: Kiran Panduga {Appfire}
body: Hi [@changmle](/t5/user/viewprofilepage/user-id/2270364) ,

can you verify whether the attachments exists by running a find command?

To see if your attachments exist in your attachment directory, search the folder directory for an example attachment id of a broken attachment.

For example, if your attachment has an ID of `123456789`, search your confluence home directory for a folder with this name. If you get a result, it means your attachment is on disk. On a unix like system you could do this with a command like **`find <confluence-attachment-dir> | grep 123456789`**


Tags: confluence-server

server
New navigation hasn't arrived yet.
Asked by Gizem Yucel:

I've been waiting for the newest version of the Confluence for a while. It is still written as "new navigation will arrive in December 2nd week." Unfortunately, nothing's changed.   
I wonder if there is an issue with our account. I will decide whether we will keep on using Confluence or not - according to ?the new UI.


Answers:
author: Shannon S
body: Hello Gizem,

Welcome to Atlassian Community. It's nice to meet you.

I believe the editor was still being rolled out as of this week; that communication you read could be out-of-date.

You can contact the [Cloud Support Team](httpse://support.atlassian.com/contact) directly, and they can have a look at your instance and let you know if it's possible to push the changes to you.

Let me know if you have any trouble.

Regards,

Shannon


Tags: confluence-cloud

new-to-confluence
Please tell me how to arrange the images horizontally in the new UI.
Asked by ??-Tenju-:

In the old UI, I was able to arrange the dropped images neatly and horizontally as shown below. Please tell me how to arrange them in the same way in the new UI.

?Old UI?

![f937fe112db33b62b068b6f0db60d515.png](/t5/image/serverpage/image-id/75566i03BC4FB59D1CEC2C/image-dimensions/325x264?v=v2 "f937fe112db33b62b068b6f0db60d515.png")

\*Supplement  
With the new UI, it is difficult to adjust the size and spacing, and it is difficult to adjust one by one because the center alignment is standard when inserting images.

?New UI?

![37ce5f0804c3668bb52efc5ad1c8da52.jpg](/t5/image/serverpage/image-id/75567i639528703C04D686/image-dimensions/317x184?v=v2 "37ce5f0804c3668bb52efc5ad1c8da52.jpg")


Answers:
author: Shannon S
body: Hello [@??-Tenju-](/t5/user/viewprofilepage/user-id/3666693),

Welcome to Atlassian Community! It's very nice to meet you.

First, I wanted to share with you the ticket we are working on to correct this issue:

* [CONFCLOUD-68501](https://jira.atlassian.com/browse/CONFCLOUD-68501) *Allow Images to be inserted inline or in an sentence in the New Editor*

I recommend using the **Layouts** feature for this:

![CleanShot 2019-12-13 at 16.09.20.png](https://community.atlassian.com/t5/image/serverpage/image-id/76244i689689FBF743ABB8/image-size/large?v=v2&px=999 "CleanShot 2019-12-13 at 16.09.20.png")

There are a few different ones you can choose from:

![CleanShot 2019-12-13 at 16.09.58.png](https://community.atlassian.com/t5/image/serverpage/image-id/76245i21A7EE218752943F/image-size/large?v=v2&px=999 "CleanShot 2019-12-13 at 16.09.58.png")

You can add multiple on a page, and add your images inside each section, like this:

![CleanShot 2019-12-13 at 16.10.39.png](https://community.atlassian.com/t5/image/serverpage/image-id/76246i2FAA14FBCCEC1FEA/image-dimensions/499x359?v=v2 "CleanShot 2019-12-13 at 16.10.39.png")

The borders won't display when you publish the page. The downside here is that you can only increase the image size as large as the section will allow you to.

Another workaround would be to create a **Table** instead. The borders *will* display when you publish the page, but you will have difficulty increasing the image size outside of the range of the table as well.

If you have any other features that you're sorely missing from the new editor, have a look at our [Confluence Cloud Editor Roadmap](https://confluence.atlassian.com/confcloud/confluence-cloud-editor-roadmap-967314556.html). Someone else might have asked about the same. We'll include any missing features there, along with their workarounds and any bug or feature request tickets that may apply.

Let me know if you have any questions about that.

Regards,

Shannon


Tags: confluence-cloud

new-to-confluence
Can't create page in confluence - after 30 seconds times out with error
Asked by Micron21 Support:

When attempting to create a new page, the page loads \`\[myhostnameandport\]/pages/resumedraft.action?draftId=15695877\&draftShareId=72d47233-7586-4f13-bd50-3c2d68531097\&\` but after 30 seconds of loading it times out with the error popup \`Something went wrong after loading the editor. Copy your unsaved changes and refresh the page to keep editing\`

I can edit existing pages fine, and can create spaces fine.

I tried restarting synchrony and confluence, neither with any result. I have tried logging out and back in, and have tried clearing my cache, and a different browser.

The errors I see in the browser console is:  
\`SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data[batch.js:3380:472](https://documentation.micron21.com:8090/s/745c768127677b8e0ae592e4292bb512-CDN/en_GB/7901/70b99a3474165a6093a2423f21069b9c63f07abc/cece122f7a815bd0fd476ad553daf240/_/download/contextbatch/js/editor-v4,atl.general,editor,macro-browser,main,page,-_super/batch.js?build-number=7901&frontend.editor.v4=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&whisper-enabled=true)\`

The atlassian-confluence log shows no logs when I click "create". The atlassian-synchrony log shows:  
\`\`\`  
2019-12-09 12:49:47,662 DEBUG \[272:StdOutHandler \[/opt/atlassian/confluence/jre/bin/java\]\] {"synchrony":{"request":{"remote-addr":"\[my-server-ip\]","uri":"/synchrony/heartbeat","request-method":"get","query-string":"_=1575856187628","x-forwarded-for":"\[my-client-ip\]"},"response":{"status":200},"ns":"synchrony.middleware.logging","level":"info","message":"synchrony.middleware.logging \[info\] null"}}  
2019-12-09 12:49:48,093 DEBUG \[272:StdOutHandler \[/opt/atlassian/confluence/jre/bin/java\]\] {"synchrony":{"request":{"remote-addr":"\[my-server-ip\]","uri":"/synchrony/v1/data/Synchrony-c9722e5c-3311-3852-9f4b-7f9d15b99e29/confluence-15695886","request-method":"post","query-string":"state-at=@head\&state-format=type-tagged\&rewrite-request=true\&cached=true","x-forwarded-for":"\[my-client-ip\]"},"response":{"status":404},"ns":"synchrony.middleware.logging","level":"info","message":"synchrony.middleware.logging \[info\] null"}}  
\`\`\`

So it looks like Synchrony is giving me a 404 error.

I've actually solved this whilst building the question logs; my reverse proxy had been configured to redirect on custom-errors. So, the proxy was detecting the 404 error code, and not parsing that to Synchrony but instead displaying a customerrorpage.

Synchrony relies on receiving the 404 page not found error to be able to generate the new page. Be wary with your proxy configurations!


Answers:
author: Kiran Panduga {Appfire}
body: Hi [@Micron21 Support](/t5/user/viewprofilepage/user-id/3666530) ,

You can address the Synchrony process error 404, by validating the symptoms and resolution provided in the below Atlassian KB article.

<https://confluence.atlassian.com/confkb/collaborative-editing-cannot-be-enabled-because-the-settings-page-does-not-load-946044810.html>

Thanks,

Kiran.


Tags: confluence-server

server
Can I change the language of the Confluence page to English?
Asked by ???:

Hi\~ I'm a Confluence user in Korea.

Our company is headquartered in Korea and has several overseas subsidiaries.  
So I have created a Confulence page in Korean and English to manage pages in two languages.

But I have some problems as the image below.  
The photo below is a screenshot from a US branch.

There are Koreans we can't change.

How can I change it?

p.s. Our Website URL is ..

<https://midasuser.atlassian.net/wiki/spaces/20191129/pages/5014694/Import+DWG+DXF>

![??? 002.png](https://community.atlassian.com/t5/image/serverpage/image-id/75558i48F71AE03BE06358/image-size/large?v=v2&px=999 "??? 002.png")![??? 003.png](https://community.atlassian.com/t5/image/serverpage/image-id/75559i7A28C2CCA7E3D9B4/image-size/large?v=v2&px=999 "??? 003.png")


Answers:
author: Shannon S
body: Hello [@???](/t5/user/viewprofilepage/user-id/3214678),

Thank you for contacting us about this!

I believe that it may be using the default browser setting or Confluence setting.

You can have a look here for information on how to change the language for individual users:

* [Set the Default Language](https://confluence.atlassian.com/cloud/set-the-default-language-873871361.html)

I hope that helps, but do let me know if you have any questions about that.

Regards,

Shannon


Tags: cloud

confluence-cloud
REST /rest/api/user/current Unauthorized with OAuth 2.0 3LO
Asked by James Hees:

We're converting our Confluence app from application links to OAuth2.0. Calls like

<https://api.atlassian.com/ex/confluence/{our_cloud_id}/rest/api/space>

work however anything related to users, groups fails with 401 unauthorized. These worked with application links. Examples of what fails:

<https://api.atlassian.com/ex/confluence/{our_cloud_id}/rest/api/user/current>

<https://api.atlassian.com/ex/confluence/{our_cloud_id}/rest/api/group>

A curl request for these looks like: curl --request GET --url <https://api.atlassian.com/ex/confluence/{our_cloud_id}/rest/api/user/current> --header "Authorization: Bearer {our_token}" --header 'Accept: application/json'


Answers:
author: Dario B
body: Hi [@James Hees](/t5/user/viewprofilepage/user-id/1490073) ,

Apologies for late reply. However I can see that you already got the issue solved by opening a support ticket in <https://support.atlassian.com/contact>

I am pasting the solution in here in case anyone would be interested.

The issue was due to the below bug that is now solved:

* [\[CONFCLOUD-68643\] Cannot establish new application links from server to Confluence cloud](https://jira.atlassian.com/browse/CONFCLOUD-68643)

Cheers,  
Dario


Tags: atl-adm

atl-dev

cloud

confluence-cloud
Cannot delete the first created space in a Confluence Cloud account (Free subscription)
Asked by Rachel Fuerst:

I signed up for a free Cloud account as a small documentation space for my own personal development projects. As a former Confluence Support Engineer, I was also curious about how the user management features work in the free version!

I found an interesting issue and thought I'd share it in case other users also encounter it. I tried to log this as a Feature Request at jira.atlassian.com but was routed over here.

When you create a Confluence instance, you must create your first space to populate the schema (or at least, this is how it is in the Server versions).

I created my first space in as part of the setup process and later realized that I wanted to change the content of that first space. I went back to the first space's content tools and found I had no rights to delete the space:

<br />

![Screen Shot 2019-12-08 at 11.50.45 AM.png](/t5/image/serverpage/image-id/75534i21855FE7321FE183/image-size/large?v=v2&px=999 "Screen Shot 2019-12-08 at 11.50.45 AM.png")

**Thoughts:**

I believe this relates to how the administrator rights work in the free version of the app. I'm not sure if this is intentional behavior, but it would be nice to be able to delete the first created space. Oftentimes users aren't thinking so much about the content of their new sites, but rather its setup when they are prompted to create the space. It's quite easy to misname a space in the wrong context and then want to delete it to clean up the site.


Answers:
author: Kat Warner
body: Hi [@Rachel Fuerst](/t5/user/viewprofilepage/user-id/3666313)

This one is a known bug - <https://jira.atlassian.com/browse/CONFCLOUD-68319>

comments: author: Rachel Fuerst
body: [@Kat Warner](/t5/user/viewprofilepage/user-id/1210828) Thanks so much! This is exactly what I was looking for. :)


author: Ian Mac
body: My +1 for this too. Thanks


author: Rachel Fuerst
body: **Update:**

The [original bug](https://jira.atlassian.com/browse/CONFCLOUD-68319) has been resolved for any new Confluence Cloud Free sites, however another fix will need to be applied for any existing sites with this issue.

If you created your Confluence Cloud Free site before **Jan, 8th, 2020** , you will still be impacted by the bug.

If your site is affected, you can follow the progress of the fix in this new bug ticket:   

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


Tags: confluence-cloud
Best way to give constructive feedback on Confluence Cloud's new editor?
Asked by Maxwell Spangler:

I'm a long time Confluence on-premises user who happily used the product daily at my former job.

Now I'm trying out Cloud Confluence and I'm struggling with non-intuitive changes from the previous user interface.

Whats the best way to constructively work with Atlassian to say: please change \<this\>?

For those in my position who happily used the past product and are now trying to use the new product, having features drastically changed, removed or features operating faulty seems like a really dangerous place for an established company. It creates a huge opportunity for users to discard the trust we've had in a platform and explore other options: negating the brand and all its past hard work.

I just asked another question and prior to doing so tried to search for answers and received a haystack that mixed Confluence Cloud and Confluence \[normal\] results together. This is a huge time sink that doesn't help users, so it again creates an opportunity for us to just find another product.

I figured I'd be constructive and ask here because I'd be happy to help provide feedback.

THANKS


Answers:
author: Hermance NDounga
body: Hello Maxwell,

It can be challenging going from the old to the new editor (as someone who supports both deployments and switches daily, I can tell I totally understand :) )   
there is a documentation page that underlines **all changes** that have been implemented in the new editor for Confluence. <https://confluence.atlassian.com/confcloud/confluence-editing-improvements-945107733.html>

At the bottom of this documentation page you will also see where the feedback button is located on any Confluence page in edit mode (using the new editor), which is colled and addressed by our product team.

If you have a feature request you can also raise it in our public tracker in this project : <https://jira.atlassian.com/browse/CONFCLOUD-11740?jql=project%20%3D%20CONFCLOUD%20AND%20type%20%3D%20Suggestion%20AND%20statusCategory%20!%3D%20Done%20ORDER%20BY%20Updated>

Hope it helps!


Tags: cloud

confluence-cloud
Simply link a text to attachment
Asked by Mischa Gallati:

Hi together

How can i simply link a text to attachment ?

Is that true that is not possible anymore? How can a symple thing so dificulty to make?   

**I found solutions dont work anymore**

* simply chose a attachment to link in the link field
* "\["
* Show The properties panel for images or attachments

The solution with the attachment macro i dont like! I realy want to klick on the text to open a pdf in previw window!!!

Its sad that i need so match time to do a simply link a attachment!!! Hope i get a easy solution,.

Thanks and Reguards (sorry for my english)


Answers:
author: Shannon S
body: Hello Misha

Welcome to Atlassian Community. It's nice to have you join us!

As we roll out the new editor, some features that were formerly available in the old editor may not yet be available for use. We go over a few of these on our [Confluence Cloud Editor Roadmap](https://confluence.atlassian.com/display/ConfCloud/Confluence+Cloud+Editor+Roadmap).

For example, I raised a feature request for linking text to attachments a while back, and you can find that here:

* [CONFCLOUD-65302](https://jira.atlassian.com/browse/CONFCLOUD-65302) *Ability to link text to an attachment in editor*

There's also another feature for linking specifically attachments as text:

* [CONFCLOUD-65640](https://jira.atlassian.com/browse/CONFCLOUD-65640) *Cannot add link to image in Fabric Editor*

I can see that specifically linking images as a link is in our short-term backlog. Linking attachments with text is not yet, but I believe the two should be related.

As a workaround in the meantime, indeed, the only workaround is to obtain the URL for an attachment using the [Attachments Macro](https://confluence.atlassian.com/confcloud/attachments-macro-724765160.html) on the page (**. . . \> Attachments**).

Let me know if you have any questions about that.

Regards,

Shannon


Tags: cloud

confluence-cloud
Can't use cursor up or down when editing code snippets within a table cell? (Confluence Cloud)
Asked by Maxwell Spangler:

I'm a long time Confluence user who is trying to use Confluence Cloud with its new user interface. I'm really struggling.

Right now I'm creating a table with three cells. Columns one and two contain normal text and things are fine.

Column three contains code snippets. They show up in a a monospace typeface with number lines and that's great.

When I place the cursor within the code text, I can cursor left and right to edit a line.

**But when I try to cursor up or down, the focus leaves the cell and moves to another cell or outside of the table. So the only way to edit code in this context is to constantly use reposition the mouse to each line.**

If I place the same code snippet outside of the table, I can cursor left/right/up/down and edit the code content with no problems.

This problems happens with Chrome or Firefox on Fedora Linux 29. I doubt it's a platform or browser specific issue, but I'm trying to be helpful.


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Maxwell Spangler](/t5/user/viewprofilepage/user-id/3666042)

This happens to me as well. **However** , **press ctrl and then use the up/down keys**. That should do the trick!


Tags: cloud

confluence-cloud
How i can change default port 8090 to 80 ?
Asked by Igor Loginov:

I try change port number from 8090 to 80 in server.xml but after restart i cant connect to server (((

whats wrong ?


Answers:
author: DPKJ
body: [@Igor Loginov](/t5/user/viewprofilepage/user-id/3665868) First of all Welcome!!!

Now coming to your question, can have look at your log files, it will surely have some errors. You can also share snippet of that here for further help.

comments: author: Igor Loginov
body: I can send to you log files, but i cant share snippet. My server in the closed network.

How i can send logs ?


author: DPKJ
body: [@Igor Loginov](/t5/user/viewprofilepage/user-id/3665868) I suggest you to find evidence of error in your log file, and just share those lines in comment here.

Also, make sure you don't have any other service running on port 80, and you are running your confluence using root privileges (usually port 80 require that).

Startup related logs are located at - \<APPLICATION_DIRECTORY\>/logs/catalina.out

Can you also recheck your server.xml and tell me where have you make changes?


author: Igor Loginov
body: Thanks a lot !!!!

I replace startup user from confluence to root and server start fine with 80 port.

Nice job !!!


author: Nic Brough -Adaptavist-
body: NO!

Do NOT run Confluence as root, it is a massive security hole, even inside a "closed" network.

You should either use a proxy, or use the setuid to run it with limited privileges.


author: DPKJ
body: [@Igor Loginov](/t5/user/viewprofilepage/user-id/3665868) [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) is right about running confluence as ROOT user (this is true for all Atlassian application)

I suggest you use reverse proxy server for this, like NGINX or Apache HTTPD.


author: Igor Loginov
body: I move confluence server to localhost:8090 and setup nginx as frontend .

All works fine :)))


Tags: confluence-server

server
Link ToC to headings under different tabs
Asked by Supriya Suresh:

Hello, I need to link the table of contents to headings in a way that when users click on the heading in ToC, the user should be redirected to that section. These sections might be under different tabs. (Please refer the picture). Also, the ToC is created automatically using a macro.

Edit: The user is in the Roadmap tab, goes to ToC and clicks on Abstract (content under a different tab). The User is not redirected to the Abstract content![Tabs.png](https://community.atlassian.com/t5/image/serverpage/image-id/75663i59FA5E3C4DC05E50/image-size/large?v=v2&px=999 "Tabs.png")


Answers:
author: Greg Woods
body: Did you ever resolve this one? I have the same issue.


author: Dominic Lagger
body: Hi [@Supriya Suresh](/t5/user/viewprofilepage/user-id/3665631)

It seems, you are using a third party app. Please contact the app creator and ask for a solution.

Regards, Dominic

comments: author: Greg Woods
body: Ok, I'll try that thanks. Although I have a feeling I'll be passed between the two macro creators


author: Justina
body: [@Greg Woods](/t5/user/viewprofilepage/user-id/5150195) , did you have any luck? I have exactly the same issue here


author: Greg Woods
body: I'm afraid not. I adjusted my template to not use it


author: Avin Deb
body: Even I am facing the exact same problem. Seems like a long-running bug that no one has yet bothered to fix.


author: Ste Wright
body: Hi [@Supriya Suresh](/t5/user/viewprofilepage/user-id/3665631)

The table of contents macro will work as you suggested - although not sure what you are referring to as tabs - could you clarify?

You mention a screenshot above - could you attach this?

Ste

comments: author: Supriya Suresh
body: [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) , Sorry. I did not realize the picture was not attached. I have now added a picture and a sample scenario.