youngmon/atlassian-qna huggingface dataset:
Re-install issue
Asked by Hansun YANG:

Hello, there

Somehow, I found disk space error and memory warning logs in my Conflunece Server. Not knowing how to fix it, I bought another license and successfully installed in another server. Confluence is a wonderful software! This time, I don't have memory and disk space issues.

But I have a problem. I could not reinstall this \<SEN-\*\*\*\*\*\*57\> license successfully. Since I had disk space error, I tried to install it on another server. The installation proceeded smoothly until I got an error message at the last moment. After the database settings, the installation runs to the last step. Then, I have an error page 405 or 403. When I recall the page, it shows pages of error message. I don't know what it means.

How can I reinstall my Confluence? Could this be the issue of server ID change? I tried to find Server ID page to change its number, but couldn't find the page in my account.

How can I handle this?


Answers:
author: Bibek Behera
body: Hi [@Hansun YANG](/t5/user/viewprofilepage/user-id/3900009) ,

Please check the catalina log for more details on what might be causing the issue. As a workaround try launching the app from command line by running the start-confluence.bat file available under confluence\>bin

-Bibek

comments: author: Hansun YANG
body: thanks for your advice. In fact, I deleted all the failed installation. I'd like to try a clean installation in a new server.

I'd like to know one things: the current license was issued in my first try on A-server. But now I'd like to install it on B-server. So can I use my current license number (which was issued in the first try on A-Server) on B-server? Or should I change the license number? If I should, where? Or isn't server-ID critical issue, as long as my license is valid?

thanks


author: Bibek Behera
body: The same license should work.


author: Hansun YANG
body: o-ho! Then let me try with this license on a different server. I wish I could get it done.

thanks


author: Hansun YANG
body: I'm pleased to tell you that I've succeeded in reinstallation! You're right. the server-ID is nothing to do with the error. Anyhow, it's wonderful day!


author: Hansun YANG
body: 1
Download Confluence pages in pdf formats using Python
Asked by Rajat Singh:

I tried using requests module and atlassian api but always ending up in having another link to download page. I used flyingpdf url in the modules. The code I used is :

import requests

url1 = "<https://confluence.xxx.com/confluence/spaces/flyingpdf/pdfpageexport.action?pageId=12345667>"

with requests.Session() as session:  
session.auth = HTTPBasicAuth('username', 'password')  
myfile = session.get(url1, verify=False)

print(myfile.url)  
open("C:\\\\Users\\\\%current_user%\\\\Downloads\\\\trying" + ".pdf", 'wb').write(myfile.content)

Also, when I am using get function in requests module it not even prompting for authentication (tried both ways). The content resulting in myfile.content is some javascript.


Answers:
author: Gonchik Tsymzhitov
body: You can copy that method which is will help you

<https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/confluence.py#L1594>

comments: author: Rajat Singh
body: I tried that method also but the resulting pdf is also containing javascript redirecting me to the company's login page. Does it have to do something with the login interface or with ssl verification (currently giving as False) ?

I also tried without giving the authentication credentials but still giving the same result. In short if I am trying with credentials also, the get method or the confluence get_page_as_pdf method is simply bypassing the authentication process.


author: ian.lamotte-kerr
body: Did you ever work this out by chance? I am hitting teh exact same problem.


author: Rajat Singh
body: Yeah. In my case I wanted to access my company's confluence pages which are protected by siteminder authentication. So, I had to create a session with Siteminder STS ( Secure token Service) with a specific company provided URL and login into that. After this process the rest is very easily done by using requests module or using Confluence API.


Tags: cloud

confluence-cloud

export

pdf
Can I include all spaces in "Create from Template" Macro's Space key
Asked by Hui Zha:

When I insert "Create from Template" Macro, select "How-to article" in Template name, I want to include **all** Spaces that I have access. Can I do that with "Space key"?

![2020-05-03_13-27-05.jpg](/t5/image/serverpage/image-id/93242i2170B8FC4396128E/image-size/large?v=v2&px=999 "2020-05-03_13-27-05.jpg")


Answers:
author: Ollie Guan
body: Hi [@Hui Zha](/t5/user/viewprofilepage/user-id/1472212) ,

No, only supply the unique space identifier (space key), to determine where the new page will be created when someone uses this macro to create a page.

<https://support.atlassian.com/confluence-cloud/docs/insert-the-create-from-template-macro/>


Tags: cloud
Hi, Is Atlassian using my Google Id authentication to log me in?
Asked by Alok Mishra:

Hi, Is Atlassian using my Google Id authentication to log me in? I didn't explicitly allow for Google authentication and only remember supplying my email id, but not sure as the sign in happened automatically. How can I know this? It logs me in automatically everytime and does not show the password reset option after before that.

Thank you


Answers:
author: Diego
body: Hello [@Alok Mishra](/t5/user/viewprofilepage/user-id/3900509) !

You can check if your Atlassian Account is connected to your Google Account by doing the following:

> 1. *Access the URL <https://id.atlassian.com>*
> 2. *Select "Manage Profile" ![Screen Shot 2020-05-05 at 16.53.02.png](https://community.atlassian.com/t5/image/serverpage/image-id/93543iC1DC461332486E30/image-dimensions/478x135?v=v2 "Screen Shot 2020-05-05 at 16.53.02.png")*
> 3. *Click "Email" in the sidebar*
> 4. *Check if there is a warning about your account being connected to google![Screen Shot 2020-05-05 at 16.52.05.png](https://community.atlassian.com/t5/image/serverpage/image-id/93544iF3551E5CE34BFD51/image-dimensions/460x210?v=v2 "Screen Shot 2020-05-05 at 16.52.05.png")*

This shows us that my current account is connected to a Google Account.

I hope this helps!


Tags: cloud
Office Word Macro no longer working when using different "Page Name"
Asked by Chris P.:

![Annotation 2020-05-03 100759.jpg](/t5/image/serverpage/image-id/93238iFF8FC5D8C5E9A3AC/image-size/large?v=v2&px=999 "Annotation 2020-05-03 100759.jpg")

It seems that, when using the Word macro and trying to specify the file location which is different than the current page that you are editing, this macro seems to freeze up.

The "Save" button and the "Preview" arrows icon can be pressed, but does not cause any actions.

Only the "Cancel" button still works.

I have restarted the browser, cleared cache, etc to ensure it was not a local environment issue.

Is this a bug?


Answers:
author: Chris P.
body: Notes:

* This is for Confluence Cloud
* Tested the Excel macro as well = same behavior


Tags: cloud

confluence-cloud

edit

macro

page
How do I delete a space that I'm not an admin of, but we have no access to space permissions?
Asked by Ryan Wild:

I seem to have ended up with a slightly weird situation... I've got a test space I have at some point in the past created which I now would like to delete. I've gone in to the space to try to delete it but realized I'm not an admin. Assumed I'd just broken perms previously so went into the admin CP To recover permissions, however because it's the free Confluence Cloud plan, there's no way to recover permissions...

Anyone come across this before, and got any idea's on how I can delete / recover permissions to this space?


Answers:
author: Daniel Eads
body: Hey Ryan,

We had a bug in the onboarding wizard which caused "Former User" to create the test space on new Free instances, leading to the situation you see where you can't regain access to the space to delete it. This bug has been fixed for new Free sites, but if your site was created during the period where the bug existed, that test space will still be there without admin permissions.

This issue is documented in a public Jira issue: [CONFCLOUD-69052](https://jira.atlassian.com/browse/CONFCLOUD-69052) - our current suggested workaround is trying a Standard trial (you don't have to enter credit card information). This will get you the permission to take control of the space and do what you want to with it. After the trial is up (or even after you've just taken control of the space), you can downgrade your Confluence site back to the Free plan.

Cheers,  
Daniel


Tags: cloud
Free disk space error & low free memory warning
Asked by Hansun YANG:

I have just installed confluence on my Linux Server having 3GB of memory and 20GB of disk space. Only one add-on: EasyMind.

Somehow I checked logs and saw the low-memory warning and free-disk-space error. Isn't each 3GB and 20GB enough for memory and disk space?

Do I have to add more memory and disk space? or Do I have to edit some configuration file? How?

Please help


Answers:
author: Nic Brough -Adaptavist-
body: 3Gb memory and 20Gb disk can be enough for a smaller Jira, but you'll need to look at each warning individually to work out if ir really might be a problem.

comments: author: Hansun YANG
body: thanks for your reply. Do you think there is any Java VM configuration page to increase memory or something on confluence?


author: Nic Brough -Adaptavist-
body: No, inside the application is too late, as to get it to run, you must have allocated the memory.

You need to edit the setenv.sh or setenv.bat file that sets the memory allocation on start up.


author: Hansun YANG
body: Thank you so much for your advice, Nic_Brough. Actually, I checked with set.env.sh but could not find any memory setting parts. Maybe I don't have enough knowledge about it. Confluence server doesn't seem to be easy to handle.


author: Nic Brough -Adaptavist-
body: The most important one in the setenv files is -Xmx - that's the maximum memory for the heap. You should find it followed with a number (for example -Xmx1024m) - increase the number to give the process more heap space


author: Hansun YANG
body: Wow, it works! I edited both .sh and .bat files and rebooted. Memory sizes got bigger as I set!

Great!

Thanks Nic_Brough


author: Nic Brough -Adaptavist-
body: Glad to help.

On a technical note, you only need to edit one of the two setenv.something files as only one of them ever runs. The .sh is run when your server is a Unix-like machine, and the .bat is only for Windows.

But I tend to edit them both too, just to keep them consistent and in case someone decides to move their Jira to the other platform.


author: Hansun YANG
body: O-ho, I got it. thanks a lot!
webclipper alike functionality available for Confluence?
Asked by Ronald Hermans:

Looking for a way to clip in an quick \& easy way (news)article, webpage, ... and to put it in the right space / page. Something like the clipper of Evernote. Preferable with preview in the Confluence page where the link will be published.


Answers:
author: alexschell
body: +1 for Webclipper


author: MB
body: +1


author: gue
body: +1

if we are lucky, we get it in 10 years or so. (Reasonable estimation based on other requests supported by hundreds of users)


author: Daniel Rykheer
body: So, SO needed... Or at least a macro/tool in Confluence to preview a page from its URL.


author: hyunils
body: +1 for Webclipper {#toc-hId--1184394268}
----------------------------------------


author: motorcycledata
body: +1 looking for a web clipper


author: Erik Covolo
body: +1 for WebClipper


Tags: cloud
How to get the old editor back
Asked by Jenni J?rvinen:

I've found a way to get the old editor going.  

If you have a [page done with the old editor](https://www.dropbox.com/s/vi3mqy8xq2hz3ol/Android%2Bmobiili%2B-%2BRegressiotesti.doc?dl=0 "page done with the old editor (exported to Word)"), in the top-right menu choose "Export to Word"  

In the new editor, in the top-right menu choose "Import Word document" and choose the same document you exported in the previous step.

After importing the Word document into a page, just delete the contents and start with a blank page - the old editor is still in use.

PS. The link is Word document created by old editor. Worked for me!


Answers:
author: Leslie Gilbert
body: Hi Dave,

You do have to have the template enabled in your instance. Additionally, when you are trying to apply it on a new page you will sometimes have to search for it by name. It can be hidden. Two help documents are below

<https://support.atlassian.com/confluence-cloud/docs/create-edit-and-publish-a-page/?_ga=2.217546261.249434565.1595863096-551459578.1590601124>  

<https://community.atlassian.com/t5/Confluence-Cloud-articles/Change-to-your-content-is-in-your-hands/ba-p/1324476>

\~Leslie


author: Dave Armstrong
body: Wonder if I missed the window for the "legacy editor page" template because I don't have that option.


author: Dave Armstrong
body: I tried the linked page but it didn't work for me, still see the current editor.


author: Leslie Gilbert
body: Instead of those steps, why don't you open the template that is called legacy editor page?


Tags: confluence-cloud
Seraph SSO for Confluence: Need SSOnCookie Class help
Asked by Mark Girdner:

We're trying to create a custom SSO for our Confluence Server using Atlassian's Seraph (<https://docs.atlassian.com/atlassian-seraph/2.6.1-m1/sso.html>) and have a question:

In the SSOnCookie class, where can I find documentation (or sample code) to flesh out the Constructor and the isExpired() and getLoginId() methods?  

public static SSOnCookie getSSOCookie(HttpServletRequest request)  
{  
// \[\[\[ What code goes here? \]\]\]  
}

public boolean isExpired()  
{  
// \[\[\[ What code goes here? \]\]\]  
}

/\*\* Return the username implied by the cookie in the request. \*/  
public String getLoginId()  
{  
// \[\[\[ What code goes here? \]\]\]  
}  

Thanks in advance!


Answers:
author: Gonchik Tsymzhitov
body: Github provided many interesting examples :)

<https://github.com/mschieder/jira-pvp-sso/blob/a3d29ca8254945573ed26d6084477db1f72ec644/src/main/java/cc/schieder/jira/pvp/SSOnCookie.java>


Tags: confluence-server

seraph

server

sso
Why confluence space deletion is taking too much time ?
Asked by Suraj van:

Hi All,

We have triggered a space deletion ((21 GB Space XML size) from UI and and it already taken more than 24hr but only 39% completed as of now.

We are also monitoring the attachment size in backend and found that attachment size reduced from 23.5GB to 12 MB that means already all attachment is deleted.

We can see in database still 1900 pages are left and the remaining time is showing 21hr.

Can anyone elaborate if we trigger larger space deletion how it works in backend , i mean first confluence delete attachment followed by Pages from UI and database ?

How we can speed up the process because we are looking to re-import the same space quickly?

Your any recommendation will be appreciated.

Regards

Suraj


Answers:
author: Benjamin
body: Never face this issue myself. I have deleted deleted spaces from small to spaces that had content written and many attachments. All of them usually deletes within an hour or so. I'm wondering if your system health is ok. I had no issue on a bare metal or on openstack.

Probably check the confluence logs for more info.

I am assuming your confluence navigation is quick and rest of the system is running fairly quick. If not, check your system health like memory and processor.


Tags: confluence-server

server
confluence does not start, have to kill application running at port 8000 and restart confluence
Asked by hadi.ariakia:

Hello,

This a frustrating error, confluence keeps failing to start property after rebooting our server.

We are running confluence/ Jira/ Bitbucket on a redhat server.

After reading the log files and doing lots of research I found that I need to I have to stop the confluence, kill an application that listens to port 8000 which was java, then restart confluence, and it works, but until next time we restart the server.

To solve the problem, we change the Tom Cat port to 8001 by following this link:

<https://confluence.atlassian.com/kb/ports-used-by-atlassian-applications-960136309.html>

We reboot the system and it worked once, but only once and then we faced the same issue again.

now we should kill the application run port 8001, restart the confluence manually again!

The interesting part is that the error, which is shown on confluence web page, seems to be irrelevant,

![conf_error.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/93192iC0BBF8DC10A568DE/image-size/large?v=v2&px=999 "conf_error.jpg")


Answers:
author: Deepanshu Natani
body: Hi [@hadi.ariakia](/t5/user/viewprofilepage/user-id/3775662)

This might occur if the Confluence instance was not stopped properly. And its a possibility that a previous instance of Confluence is also running.

Can you check that multiple Confluence instances are not running in your scenario?

comments: author: hadi.ariakia
body: Hello [@Deepanshu Natani](/t5/user/viewprofilepage/user-id/588324)

You are exactly right. I have no idea how two confluence service files have ended up to exist in one server! The both files were identical. In fact, one confluence is installed, but two service files and two instances were being created at the startup. To solve the problem I just deleted one service file manually, reboot the server and now everything works as intended. Thanks again mate.

![confluence_instances.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/93222iC83415737019BAEB/image-size/large?v=v2&px=999 "confluence_instances.jpg")


Tags: confluence-server

server
My pages are NOT displaying in the left sidebar
Asked by Miyoung Mary Kim:

It's very strange that published pages are not showing in the left sidebar under Pages on Space homepage.

I was trying to configure if there is a check box to show pages in the left sidebar, but was not successful to find it.

Can you please help for this matter?

Thank you.


Answers:
author: Ollie Guan
body: Hello [@Miyoung Mary Kim](/t5/user/viewprofilepage/user-id/3565320) ,

Space admin can reorder pages in Content Tools. Can you find the missing pages here?

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

comments: author: Miyoung Mary Kim
body: Thank you!! This is the place that I needed to check!


Tags: cloud

confluence-cloud
Embed Latest Blog Post on Third-Party Site
Asked by Travis Laine:

Is there a way to embed the latest blog post on a third party site? I have a dashboard for users that I'd like to show the latest post on. I see how to export the link but I don't see anything like, for example, Twitter embedded timelines that would allow me to embed Confluence Blog Posts.


Answers:
author: Diego
body: Hello [@Travis Laine](/t5/user/viewprofilepage/user-id/1788830) !

You should be able to achieve this via the RSS Feed feature in Confluence. With this, you should be able to relay the desired information into your dashboard.

Here is how I did it:
> 1. *Click the question mark icon in the top right corner of Confluence*
> 2. *Select "Feed Builder"*
> 3. *Deselect everything under "Type of Content", except for "Blog Posts"*
> 4. *Select "All Spaces" or the desired spaces under "From Space"*
> 5. *Click "Advanced Options"*
> 6. *Under "Feed Name" you can define the name of the feed*
> 7. *You can also get finer results by defining labels under "With these labels"*
> 8. *Under "Sorted by" select "Created Date"*
> 9. *In "Limit to" type 1 item (this will limit the feed to show only the latest post)*
> 10. *Under "Within the last" field, type the number of days the feed should look for new posts. This number should take into consideration how often you publish blog posts.*
> 11. *Click "Create RSS Feed"*
> 12. *Right click on the link created by Confluence and copy it*
> 13. *The link can now be used within the RSS Feed*

Here is how my blog post looks like:
> ![Screen Shot 2020-05-05 at 15.07.10.png](https://community.atlassian.com/t5/image/serverpage/image-id/93537i5768A87228123C3F/image-dimensions/456x245?v=v2 "Screen Shot 2020-05-05 at 15.07.10.png")

And here is how this blog post looks like in my browser's RSS feed reader:
> ![Screen Shot 2020-05-05 at 15.17.21.png](https://community.atlassian.com/t5/image/serverpage/image-id/93538iF6563304838967A7/image-dimensions/470x250?v=v2 "Screen Shot 2020-05-05 at 15.17.21.png")

For more information on RSS feed and Confluence, you can look here:

* ++***[\[Atlassian Support\] What is a Confluence RSS feed?](https://support.atlassian.com/confluence-cloud/docs/what-is-a-confluence-rss-feed/)***++
* ++***[\[Atlassian Support\] Build an RSS feed](https://support.atlassian.com/confluence-cloud/docs/build-an-rss-feed/)***++

Now that we have an RSS Feed from Confluence, we can embed this very feed within your dashboard using a RSS Reader.

Let us hear from you!


Tags: cloud
Import space error
Asked by Maxim Golubenko:

Hi! I export a space from old account and delete him. On import the space in new account I have error.  

Page Not Found

The page you were trying to reach could not be found: it may have been renamed or moved to another space, or the name you requested may be incomplete.

Tell me what the problem is.


Answers:
author: Fabian Lim
body: Hi [@Maxim](/t5/user/viewprofilepage/user-id/147108),

Looks like this issue was covered by this post: <https://community.atlassian.com/t5/Confluence-questions/Moving-entire-workspace-to-new-and-broken-links-404-error/qaq-p/844623>

Cheers


Tags: cloud
How can I determine how many images are marked up with Sketch?
Asked by Rich Scire:

I've been asked to verify the usage of our add-ons. I'd like to know if there is any way to count the number of images edited with Sketch for Confluence by [Old Street Solutions Ltd.](http://www.oldstreetsolutions.com/)


Answers:
author: Diego
body: Hello there [@Rich Scire](/t5/user/viewprofilepage/user-id/510499) !

It might be a good idea by starting with Old Street own documentation. You can take a look here:
> * ++***[\[Old Street Apps\] Sketch for Confluence](https://ossapps.atlassian.net/wiki/spaces/SFC/overview)***++

If nothing comes up there, you could try reaching out to their support channels:
> * [++***\[Atlassian Marketplace\] Sketch for Confluence -- Support***++](https://marketplace.atlassian.com/apps/1211075/sketch-for-confluence-image-editing?hosting=cloud&tab=support)

I hope this serves as some guidance. Thanks!
Something's Gone Wrong Error
Asked by Louis Morin:

I am getting a Something's Gone Wrong Error and I am no longer able to access my JIRA projects


Answers:
author: Yatish Madhav
body: Hi there

Thanks for posting this, Louis.

I am experiencing the same this morning - I had a look at the <https://status.atlassian.com/> page and all are Operational. But on few refreshes and some collegues doing the same doesn't resolve this.

Please advise where the issue is and how to better monitor this for our org?

Thank you

Yatish


Tags: cloud

confluence-cloud