youngmon/atlassian-qna huggingface dataset:
Can not log in to Confluence
Asked by kumar:

Hi,

I migrated our Jira and Confluence server to another sever (IP changed). And I faced 2 issues below:  
1. When I key in IP of new server, it directed to landing page of the old system. So I need to key in <http://10.10.6.22:8400/jira(or> confluence) to access to log in page  
2. I am not able log in Confluence page though can log in Jira page.

Thanks


Answers:
author: Vitor LC
body: Hi [@kumar](/t5/user/viewprofilepage/user-id/527588) ,

From my experience it seems that something is not yet properly changed in the config files or the database. Did you check:

* [Migrating Confluence Between Servers](https://confluence.atlassian.com/doc/migrating-confluence-between-servers-184150.html)
* [Migrating Jira applications to another server](https://confluence.atlassian.com/adminjiraserver/migrating-jira-applications-to-another-server-938846962.html)

On Confluence you may check if all info is correct in server.xml and maybe also the [base URL](https://confluence.atlassian.com/doc/configuring-the-server-base-url-148592.html).

Cheers,

Vitor


Tags: confluence-server

server
Edit Office documents without downloading and re-uploading
Asked by Gregory Muir:

We just did an update to 7.4.4 and there is an expectation that we can embed and edit office docs without downloading and re-uploading.

This is a little snippet from 5.9 documentation. "The Office Connector allows you to edit attached office files in their native application (such as Word, Excel, PowerPoint or OpenOffice) and save the file right back to the Confluence page. No need to download and re-upload the file."

Well, I see Office Connector is going away and Office Companion is the way of the future. It works pretty nicely, especially combined with the office macros. Display nicely in the page, editing and saving is quick. But it still involves downloading and uploading.

Are we looking for functionality that isn't supported anymore or am I missing it in here?

Thanks!


Answers:
author: James Dellow
body: They mean you don't need to download, open, edit, save, and upload as separate steps. The file always downloads.


Tags: confluence-server

server
is there a way to clean out JIRA info from a Confluence backup?
Asked by Syed:

I have a really old Jira and confluence shared environment backup. i am interested in restoring the old confluence data to my new site. the new environment has only confluence and i dont intend to restore JIRA. it is self hosted still on a dated version of confluence so that the data doesnt really mess up.

I am able to restore and get most things workign except for syncrony which messes up and editor never loads and user creation that is looking for creating user on port 8080 and not 8090 for the new confluence server. there is no service configured on 8080.

I see in the cwd_directories that jira is the default user directory but i dont know how to change that or point confluence to use confluence internal directory to create and manage users. is there a way to clean JIRA out of these settings?

Thanks


Answers:
author: Nic Brough -Adaptavist-
body: Jira and Confluence are totally separate systems, so I think you need to explain what you are thinking by "take Jira out of Confluence"?


author: Syed
body: i got a temporary answer from one of the confluence help pages so i can create users now. Also Syncrony is working now but i am not sure if this is the change that fixed it. it was a secondary issue and i tried like 10 different solutions before getting this one without checking synchrony.

full solution here

<https://confluence.atlassian.com/display/CONF57/Restoring+Passwords+To+Recover+Admin+User+Rights>

i only did the following:

`select` `d.id, d.directory_name, m.list_index` `from` `cwd_directory d` `join` `cwd_app_dir_mapping m` `on` `d.id=m.directory_id;`

`this shows me jira and internal as 0 and 1 respectively `

`update` `cwd_app_dir_mapping` `set` `list_index = 0` `where` `directory_id = <Internal Directory id>;`

`update` `cwd_app_dir_mapping` `set` `list_index = <Noted Internal Directory list_index>` `where` `directory_id = <Directory id that had list_index 0>;`

`this reverses so confluence internal is 0 and after a restart i can create users. `

comments: author: Syed
body: nvm syncrony is not fixed. will see if i can fix that one in another post.


author: Syed
body: I would still appreciate a way to take out JIRA without messing up the backup.

i see different lines in the .xml backup but i am not sure what the effect would be.


Tags: cloud

confluence-cloud
How do I create a tree of links on my home page?
Asked by Mohammad Mozaffari:

I would like to create a tree with different links to other pages, and categorized each group of links under various subjects in my home page.

Is there a tutorial on this topic to follow instructions?

I could not find any such help in the available Confluence Support topics.

Thanks!


Answers:
author: Fabienne Gerhard
body: Hi [@Mohammad Mozaffari](/t5/user/viewprofilepage/user-id/4127911)

welcome to this wonderful community.

My first idea would be using labels to categorize your links. Works in cloud and server version of Confluence!

You label your sites (e.g. start label for all sites for categorie 'Start', technic label for categorie 'Technic' aso) - than you put the [macro 'Content by label'](https://support.atlassian.com/confluence-cloud/docs/insert-the-content-by-label-macro/) on your homepage and costumize it, let it show all pages with start, than all pages with technic.

Hope this could help you - feel free to ask for more help!


Tags: new-to-confluence
Mapping Docker inside Plesk to the correct Port to support SSL
Asked by Benjamin Kramer:

How do I set the Docker Image inside Plesk for SSL so that it works proper with Proxy Rules.

8090:8090 works just without SSL without any problems

8090:443 =\> is not accepted

When forcing it to https ill get the error should be the port 443

Thanks for your help

Benjamin

![docker3.PNG](/t5/image/serverpage/image-id/114492i0A966983A62D13DA/image-size/large?v=v2&px=999 "docker3.PNG")![docker2.PNG](/t5/image/serverpage/image-id/114491iA30D2B6AA7E7B6B2/image-size/large?v=v2&px=999 "docker2.PNG")![docker1.PNG](/t5/image/serverpage/image-id/114490i98F5A49811FA0BE5/image-size/large?v=v2&px=999 "docker1.PNG")


Answers:
author: Benjamin Kramer
body: No idea?


Tags: confluence-server

server
Can't use environment variable settings
Asked by jagauthier:

When starting a confluence docker, there is a stack dump when setting ATL_JDBC_URL:

```


docker run --network net --name jira -e ATL_JDBC_USER=confluence -e ATL_JDBC_PASSWORD=password -e ATL_DB_DRIVER=org.postgresql.Driver -e ATL_JDBC_URL=jdbc:postgresql://postgres:5432/confluence -p 8090:8090 -p 8091:8091 -i -t --rm docker.io/atlassian/confluence-server:7.8.1-jdk11
```

```

INFO:root:Generating /opt/atlassian/confluence/conf/server.xml from template server.xml.j2
INFO:root:Generating /opt/atlassian/confluence/confluence/WEB-INF/classes/seraph-config.xml from template seraph-config.xml.j2
INFO:root:Generating /opt/atlassian/confluence/confluence/WEB-INF/classes/confluence-init.properties from template confluence-init.properties.j2
INFO:root:Generating /var/atlassian/application-data/confluence/confluence.cfg.xml from template confluence.cfg.xml.j2
Traceback (most recent call last):
File "/entrypoint.py", line 17, in <module>
user=RUN_USER, group=RUN_GROUP, overwrite=False)
File "/entrypoint_helpers.py", line 57, in gen_cfg
cfg = jenv.get_template(tmpl).render(env)
File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "/opt/atlassian/etc/confluence.cfg.xml.j2", line 28, in top-level template code
<property name="hibernate.connection.driver_class">{{ databases[atl_db_type][0] }}</property>
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 411, in getitem
return obj[argument]
jinja2.exceptions.UndefinedError: dict object has no element Undefined
```

Not sure what is happening here. This is my first introduction to confluence.


Answers:
author: jagauthier
body: Finally, got this. ATL_DB_TYPE needs to be set.

comments: author: Vladislav Polyutkin
body: Hi [@jagauthier](/t5/user/viewprofilepage/user-id/4127589)

What value did you use?

I've got an error when used like 'ATL_DB_TYPE=postgres'

jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'postgres'


author: drewdemarco
body: [@Vladislav Polyutkin](/t5/user/viewprofilepage/user-id/5087789)

From the choices looks like it should be postgresql rather than postgres per the docker hub page.

<https://hub.docker.com/r/atlassian/confluence-server>

* `ATL_DB_TYPE`

  The type of database; valid supported values are:
  * `mssql`
  * `mysql`
  * `oracle12c` (Confluence 7.3.0 or earlier only)
  * `oracle` (Confluence 7.3.1 or later only. Compatible with Oracle 12c and Oracle 19c)
  * `postgresql`


author: Vladislav Polyutkin
body: Hi All,

Exactly, following value worked as expected:

    - 'ATL_DB_TYPE=postgresql'


Tags: confluence-server

server
Is there a way to inherit editing permissions?
Asked by Luis Gerardo:

I would like the pages that are created within the main page to inherit the editing restriction that is given to the main page.


Answers:
author: Niranjan
body: Hi [@Luis Gerardo](/t5/user/viewprofilepage/user-id/4127835) ,

If your page's parent page has restrictions around who can view it, then your page inherits those restrictions and "Anyone" on your page really means "Anyone who isn't restricted from viewing the parent page." You can tell if your page is inheriting restrictions from any of its parent pages by looking for the content **There are inherited view restrictions** under the restrictions window's dropdown menu and above the user name search bar.

More info in this KB - <https://support.atlassian.com/confluence-cloud/docs/add-or-remove-page-restrictions/>

comments: author: Luis Gerardo
body: I understand, but what happens if I restrict the main page so that they can only be seen by some and edited by me, that cannot be inherited in the pages.


author: Niranjan
body: Are you referring to the home page as the main page? If restrictions are applied on the home page and child pages created under it, then restrictions should be inherited by default.


author: Luis Gerardo
body: Yes. For example, if I give restricted editing to the home page, the subpages that are created do not maintain said editing restriction


author: Daniel Ebers
body: Only view permissions will be inherited. Without additional Apps this is not to be configured. There is a Suggestion opened with Atlassian. In case you are interested feel free to watch the suggestion.

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

Alternatively apps like "Edit Permission Inheritance" can be purchased via marketplace to inherit the edit permissions (at least for Confluence server, for Cloud there is no App known to me doing the same).


author: Rodolfo Romero - Adaptavist
body: [Edit Permission Inheritance](https://marketplace.atlassian.com/apps/1221313/edit-permission-inheritance?hosting=cloud&tab=overview) is now available on Cloud.

This seems to be the only way at the moment to do this.


author: Chris Davies
body: Add-on works a treat. Thanks.

I do find it a little daft that I will now have to pay around $15 per month for what is something that should be catered for within Atlassian's stock permission controls.


author: Piotr Janik
body: It looks like there's another app (so far free), \[Pages Manager for Confluence\|<https://marketplace.atlassian.com/apps/1232122/pages-manager-for-confluence-bulk-organize-edit-archive>\], but I'm on Data Center now, I haven't used it.


Tags: cloud

confluence-cloud
Linking to anchor in a blog post from a different page does NOT work
Asked by Wade Weston:

I am trying to create a link, from a regular page, to and anchor in a blog post. It is not working. I create the anchor in the blog post. Then I go to the regular page and I select the text I want to create the link for, click to create a link button, then go to advanced. Then I enter the "pageName#anchorName" then save.

Then I go the the regular page where I created the link to test it. I am expecting it to take me to the blog poast \> anchor location. It does not work.

It actually goes to a blank page with the pageName in the title.

Please advise.

Thanks


Answers:
author: Wade Weston
body: Thanks. Not sure what a "web link" is in this case. The only way to link to a specific section of a page, to my knowledge, is an anchor. Anyway not a big deal I just went ahead and converted all of the blog posts to regular pages. The blog capability in Atlassian is way too basic and not very good anyway so I didn't really want to use it for that reason.

I ended up trying it out and got a little bit further into it than I wanted to and then of course this came up so I just scratched it.

Thanks

comments: author: Fabienne Gerhard
body: Sorry - I was not sure about linking to a specific part of the page, than of course only anchor would work. So you're absolutly right.

Web link was the only option for me linking to a blog post.

According to the length of blog posts as you mentioned your solution would be the next thing I would have mentioned (convert to regular page) - I only use blog post to teaser to new pages and keep it as short and simple as possible.

Cheers


author: Fabienne Gerhard
body: Hi [@Wade Weston](/t5/user/viewprofilepage/user-id/4127797)

welcome to this wonderful community.

I find your problem pretty interesting - gave it a try and made the same experience.

My question would be: Why would you use an anchor link? I think the problem might be that a blogpost is not a typical page (that's why using pageName#anchorName won't probably not work) and that's why you won't find blogposts on sitestructure to rearrange them.

An easy work around would be using web link instead of anchor link - maybe this could help you?

Feel free to ask for help - and please keep me informed if you find a solution. I really find this interesting cause I never thought of this before.


Tags: confluence-server

server
How to get macro input parameters
Asked by Terje R?stum:

I'm trying to set up a macro using atlassian connect (express). This macro requires a custom editor with some custom input parameters.

This works just fine for the preview which gets called with all the parameters in the url, but when loading my custom editor i cannot understand how to get a hold of the macro params. My first thought was that the editor url got called with these params in the query, but no. Should they be?

This page in the documentation: [https://developer.atlassian.com/cloud/confluence/modules/dynamic-content-macro/](https://developer.atlassian.com/cloud/confluence/modules/dynamic-content-macro/?)

has an example where they use the Atlassian JS API and calls "getUrlParameter", but without the input params in the url, that doesnt help much.

So i am a little confused.


Answers:
author: Frank Lippes
body: Perhaps a little late, but I ran into the same question and by trial and error I found out you can add them to the url yourself in atlassian-connect.json:

"url": "/path?space-key={space.key}\&page-id={page.id}\&labels-to-ignore={labels-to-ignore}"

Where labels-to-ignore is a custom parameter.

In my js code, I can reference it in an app.get route handler like so:

let labelsToIgnore = req.query\['labels-to-ignore'\];


author: Diego
body: Hello [@Terje R?stum](/t5/user/viewprofilepage/user-id/3954135) !

As I understand, you need some assistance with the development with a software solution for Confluence Cloud.

I would like to share with you the existence of our Sister Community, the Developer Community. You can check more topics and share your own inquiries here:
> * [++***\[Atlassian Developer Community\] Confluence Developer***++](https://community.developer.atlassian.com/c/Confluence)

There you will share your questions and needs directly with a plethora of capable developers that work with our platform!

Let us hear from you.


Tags: cloud

confluence-cloud

connect

macro
Can we export an entire space so that it can be viewed off line?
Asked by jolyont:

We are considering using a confluence space to build a wiki user manual for our product.

It is important that the users can view the manual when they are offline.

I know that individual pages can be exported (to pdf etc...).

However, it would be really nice to be able to export the whole thing and then the users can open it up in a web browser on their local machine and read it offline.

is this possible with confluence... or some other wiki-engine?

"help we obi-wan kenobi, you're my only hope"


Answers:
author: Bill Bailey
body: Under space tools in the server edition, HTML export is a builtin function ( **Space Tools -\> Content Tools -\> Export)**. Maybe there is a similar function in the Cloud version?


author: Mikael Sandberg
body: Hi [@jolyont](/t5/user/viewprofilepage/user-id/3971959),

Welcome to Atlassian Community!

You would need an app for this if you want to export a whole space to an offline format. I know [K15t](https://marketplace.atlassian.com/vendors/7016/k15t) have apps that can export to both PDF and Word, I have used Scroll Office at my previous job to export multiple pages to Word. There are also other apps in the [Marketplace](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=pdf) that can do this for you.


Tags: cloud

confluence-cloud
How to create new page from template?
Asked by Ted:

Currently, when clicking on ... near create button, there's a blank dialog appear with spinner, and it stays there forever cause of an issue happen behind.

Please help me to resolve this issue! THANK YOU! ![Screen Shot 2020-10-15 at 22.56.24.png](https://community.atlassian.com/t5/image/serverpage/image-id/114459iA162CAC74E78168E/image-size/large?v=v2&px=999 "Screen Shot 2020-10-15 at 22.56.24.png")![Screen Shot 2020-10-15 at 22.57.00.png](https://community.atlassian.com/t5/image/serverpage/image-id/114460i1C6BB1D5DD19ECDA/image-size/large?v=v2&px=999 "Screen Shot 2020-10-15 at 22.57.00.png")![Screen Shot 2020-10-15 at 22.57.28.png](https://community.atlassian.com/t5/image/serverpage/image-id/114461iA56ED7AF16B3CC62/image-size/large?v=v2&px=999 "Screen Shot 2020-10-15 at 22.57.28.png")


Answers:
author: Diego
body: Hello [@Ted](/t5/user/viewprofilepage/user-id/900118) !

By looking at the description of your situation, I believe that you are affected by the issue described under this document:
> * [++***\[Confluence On-Premises\] Creating new page or space loads forever***++](https://confluence.atlassian.com/confkb/creating-new-page-or-space-loads-forever-744329880.html)

I suggest that you take a look at the knowledge base article and try diagnose the root cause of your situation. Just keep in mind that creating backups of your database, templates and blueprints is essential before proceeding with the fixes suggested in the document.

Let us hear from you.

comments: author: Ted
body: I still got the same issue after trying the way mentioned in the above-recommended link.


Tags: confluence-server

server
Table view with new editor containing many collums
Asked by Darko Ojdanic:

Hi all,

I have a table with \~20 columns, used for short text entries. With the old editor, there was a scroll bar, so I could see and edit text clearly, and scroll to the right for few columns that didn't fit to the view.

With the new editor, the table is always scaled to be seen completely. Which is very disturbing for big tables. Can this automatic scaling be turned off?

Thanks.


Answers:
author: Diego
body: Hello [@Darko Ojdanic](/t5/user/viewprofilepage/user-id/3892489) !

As I understand, side-scrolling (horizontal scroll bar) is not present on tables that contain a considerable amount of columns.

With this description in mind, I tried to replicate this behavior in both Narrow and Wide page views in Confluence New Editor (Fabric).

In both cases, I was unable to replicate.

Here is what I see:
> Narrow Page View
>
> ![Screen-Recording-2020-10-19-at-1(1).gif](https://community.atlassian.com/t5/image/serverpage/image-id/114824i744615CF05B64B3D/image-dimensions/175x168?v=v2 "Screen-Recording-2020-10-19-at-1(1).gif")
>
> Wide Page View
>
> ![Screen-Recording-2020-10-19-at-1(2).gif](https://community.atlassian.com/t5/image/serverpage/image-id/114825iB467B67A3282339F/image-dimensions/197x115?v=v2 "Screen-Recording-2020-10-19-at-1(2).gif")

For both cases, I had to manually resize columns so the text would fit correctly within them or have more space than what is necessary.

What I noticed is that, by default, Confluence will try and resize table columns every time I change the Width for my Page (Narrow vs Wide).

By default, the width of the table is dynamically defined:
> *The width of each column is set to a percentage of the page width, so your columns will grow or shrink as your page size changes. Using the width switcher to the right of the layout, you can determine how much white space appears on either side of your layout. If a column includes an item that's too wide for it, you'll see a horizontal scroll bar when viewing the page.*

You can check more details on tables for Confluence Cloud here:
> * [++***\[Confluence Cloud\] Format your page***++](https://support.atlassian.com/confluence-cloud/docs/add-formatting-to-your-page/#Addformattingtoyourpage-tables)

Since I was unable to replicate the behavior you described (no horizontal scrollbar), please allow me to ask you a few questions:
> 1. *What happens if you manually resize the table columns?*
> 2. *What browser are you currently using?*
> 3. *Is this affecting other users as well?*

Let us hear from you!

comments: author: Darko Ojdanic
body: Thanks!

I made it now. I think the reason it didn't work at first, was that (after reading the manual) I tried with one or two column, in wide page settings, but it only had a small resize effect. Once I saw your videos, I moved columns "a lot" and it worked.

One question thought: the right border of the last column cannot be moved! Is this correct behavior?

I tried with Google Chrome (86.0.4240.75) and Microsoft Edge (86.0.622.43).


Tags: cloud

confluence-cloud
how to use <ac:title
Asked by fvila:

Hi all,

I have images I dragged and dropped images that look like this in the code editor,

\<ac:image\>  
\<ri:attachment ri:filename="icon_blue_chartObj_job.png"/\>  
\</ac:image\>

and I want to add a tooltip on hover. In the html this would be \<img title="xxxxx" ....

I read in the doc that you can use an \<ac:title\> link, but I don't see how this fits in with the image syntax above, and I couldn't find any examples.

Thank you


Answers:
author: Bill Bailey
body: When you insert an image, there is a title tab in the macro dialog where you can enter a title (and alt text). The resulting storage code is:

```
<ac:image ac:alt="Test Title" ac:height="83" ac:thumbnail="true" ac:title="Test Title">??? 
<ri:attachment ri:image.jpg">
 <ri:page ri:content-title="XXXXX"/>
??? </ri:attachment>
? </ac:image>
```


Tags: confluence-server

server