youngmon/atlassian-qna huggingface dataset:
Remote debug confluence with eclipse
Asked by Fran?ois:

Hi,

i added the following confliguration in my setenv.sh =\>

**-Xdebug -agentlib:jdwp=transport=dt_socket,address=1043,server=y,suspend=n**

i see in my logs the following line =\>

**Listening for transport dt_socket at address: 1043**

So I suppose that I normally can connect on the port 1043 with my eclipse, but i doesnt work...

I have no probleme to remote debug on a windows server, but hier it's a linux and it fail...

What's the difference? and what I'm missing?

Thanks.

Fran?ois


Answers:
author: crochaju
body: Fran?ois, have a try in it!

**Step 1 - Edit catalina.bat:**

Go to your **atlassian-jira-x.x.x-standalone/bin** and open **catalina.bat** in an editor.

Find the following chunk of code:  

|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1 2 3 4 5 6 | `rem ``set` `_EXECJAVA=%_RUNJAVA%` `rem ``set` `MAINCLASS=org.apache.catalina.startup.Bootstrap` `rem ``set` `ACTION=start` `rem ``set` `SECURITY_POLICY_FILE=` `rem ``set` `DEBUG_OPTS=` `rem ``set` `JPDA=` |

and replace it with:  

|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1 2 3 4 5 6 | `set` `_EXECJAVA=%_RUNJAVA%` `set` `MAINCLASS=org.apache.catalina.startup.Bootstrap` `set` `ACTION=start` `set` `SECURITY_POLICY_FILE=` `set` `DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=7456,server=y,suspend=n` `set` `JPDA=` |

Notice that **address=7456** means that this port will be available for debugging. You can use any other port you want.

**Step 2 - Add external run configuration in Eclipse**

* Go to**Run -\> Debug Configurations...**
* Create a new **Remote Java Application** run configuration: (right click**Remote Java Application -\> New**)
* Make sure your**Project:** option is set to your Jira plugin project.
* Set your **Connection Type:** to **Standard (Socket Attach)**.
* Under**Connection Properties** , put in your **host** (in my case localhost ), then specify your **port**. (in my case 7456)

Now you have your debugging mechanism all set up. After you start jira, just run this debugging configuration (Debug As -\> Debug Configurations -\> Your configuration) and place your breakpoints wherever you need them.

Cheers


Tags: app

debug

eclipse

remote

request
Import Function
Asked by Renato:

Hi there, I am currently testing your product (CRM Suite) and one main question arose when I checked it out. Is there a way to Import a contact data sheet (Excel / CSV) to CRM Suite? I am asking because we currently have all of our contacts placed in another software application and it would be very helpful and time efficient if we could just Import all the existing contacts. Thanks a lot for taking your time regarding my concern. Cheers, Renato


Answers:
author: Philipp Eckelmann
body: Hi Renato,

sorry for the delayed reply. We just started the development of the next release. CSV imports are on our backlog and will be available shortly... along with some other improvements.

Including our testing period, we think that the next release will be available in 4-6 weeks.

Is there anything else we could help you with?

Best regards  
Philipp

comments: author: Lennart Werner
body: Hi Philipp,

we are interested in your product as well. Do you have an update concerning the time table of your new release? We are migrating from an other CRM solution and need to transfer our contacts.

Cheers,

Lennart


author: Philipp Eckelmann
body: Hi Lennart,

Currently, we are running the final tests. The next release is almost ready. It took longer than we thought but now it is only a matter of 2-3 days.

Best regards  
Philipp


author: Philipp Eckelmann
body: Hi Lennart,

Today, we released the new version. Please have a look at it as the CSV import is implemented.

Best regards  
Philipp


Tags: addon-com.eckelmann.confluence.crmcontactlist

confluence-administration
Comparing migration methods
Asked by Deligkaris Kosmas:

Hi all, I am new to Confluence and trying to find my way around. I had a production installation in Win7 which I wanted to migrate to Windows Server.

I managed to do this by unzipping the Confluence ZIP installation file, setting the path to HOME folder, copying the old Confluence HOME folder to the new location, and finally migrating the postgre database, by making a new one and then restoring from the backed up one.

However, copying ++both++ the original Confluence installation and HOME folders and migrating the database also seemed to work.

My question is, are these two methods fundamentally different in any way? Does the Installation directory store any customized settings which are updated, depending on the system? Is it OK if I just copy the installation folder or am I going to mess up any settings (server IDs, folder location etc...)?

Thank you


Answers:
author: Roman Kirilenko
body: Hi!

Both ways should be OK if you didn't made any customizations after installation like changing port number for Confluence, memory tuning and so on by editing configuration files in the installation directory.


Tags: confluence-administration
DB Password visible in plain text in Confluence configuration file
Asked by Pranjal Shukla:

Any way we can encrypt the DB username \& password or at least password?


Answers:
author: Petar Petrov (Appfire)
body: There is an [open issue](https://jira.atlassian.com/browse/CONF-2146) about this.

For now think about restricting OS and file access.


Tags: confluence-administration
confluence emoji support
Asked by Bryan Collick:

It seems like mac users (my entire company's workforce) are encountering an issue when trying to add an Mac OS emoji to a confluence page.

Steps to reproduce:

* Create a blank page
* Open the Mac OS characters tool (control+command+space)
* select an emoji (not other special characters; those work)
* Attempt to save the page

Expected result: The page saves.

Actual result: Error Message: "*Unable to communicate with server. Saving is not possible at the moment.*" Then it will say that the server has reconnected and to try again, but it will never successfully save.

Anyone have any idea if there's something here I can fix to support emoji?


Answers:
author: Barbara Berti
body: Hi,

we have just released [Icons for Confluence](https://marketplace.atlassian.com/apps/1224522/icons-for-confluence?hosting=cloud&tab=overview)(cloud), a set of +500 fully customisable icons (colour, size, shape) to be added to Confluence documents. Hope you might give it a try! Thank you


author: Rafa?
body: Atlassian does not know how to use emoji. Inline comments in Clonfluence don't work if any emoji is used in the article and they know it about 1.5 year: <https://jira.atlassian.com/browse/CONFCLOUD-39744>


author: Joseph Lim-Effendy
body: I too am experiencing this with JIRA as well in my company. I would appreciate it if the Atlassian product could support a wider variety of the newer emojis. Are there plans to do so?


Tags: emoji

mac
Confluence as an Intranet: Spaces vs Pages
Asked by Gary Hooper:

We are planning to use Confluence as our Intranet. My question is around best practice in using Spaces vs Pages.

Each team will have its own "area" for content, eg HR, IT, Legal, Development, etc. We will have a Company space as a central point. Groups like IT, HR, Legal provide outward services, whereas groups like Development are more inward focused.

I have two options:

1. Use a page like Company/IT and Company/HR for all outbound IT and HR info, and keep the IT and HR spaces for internal team use only. Especially for HR and Legal, there's likely a lot of confidential information.
2. Use a space for each of IT and HR and Legal, with the home page containing that outbound information. Each of IT, HR, and Legal space editors will then need to be really careful about restricting pages that are confidential.

Any thoughts on this? How have others solved this?

Thanks.


Answers:
author: James Dellow
body: I would also recommend separating collaboration and information referenced internally by a department or function from content shared across the whole business.

One immediate benefit is from a search perspective, but also the permissions will be easier to manage.

You might also want to break up the company space into different spaces, depending on your particular mix of internal communication, knowledge sharing and reference information needs. For example, if you have an extensive company policy manual, it might help if you don't mix that content with less formal content.

However, I would avoid vanity spaces or departmental specific publishing spaces, unless you can be assured that users know exactly who does what - e.g. is expenses to do with finance or HR?


author: Robert Reiner _smartics_
body: You could have two spaces per department: One for internal and one for public content. The central company space many then transclude from or reference to the content in the public spaces. The internal spaces may also use content in these public spaces.

Users find it sometimes hard to locate content in too many spaces. But in your case the rules which content goes where seems pretty easy to follow (internal or public).

I use labels to mark the function of a space. Different layouts and skins would be recommended, but I often do not have that much time. But I'm working in a really small team ...

I would not recommend to mix internal and public content in one space. But this may be related to my working style and is just an opinion.
How to stop typing code
Asked by Robert Martin:

Hi all,

I frequently use the double curly bracket macro to type code so that it shows up `like this`. The problem is that if I want to go back and insert some regular (not monospaced) text after the code, I can't get the code formatting to turn off. I have to delete everything and start over. Is there a better way to revert to regular formatting?

Thanks!


Answers:
author: Sandy Johnson
body: This may be too much of a simplification of your question, but are you closing the code macro? For example, it should read: '{code}some code{code}'. So here the words "some code" would be mono spaced and everything before and after would not.

comments: author: Robert Martin
body: I was using the double-curly-brace shortcut for `{code`}, but yes, I was ending it as well. It's when you try to add text *after* that that I can't seem to the monospacing off.
How can I delete personal spaces of employees who are no longer with us?
Asked by Cate Galeza:

I've deactivated a lot of users but their personal space still shows up. Do I need to delete them first in order to get rid of their personal space or are they two different things?

Thanks!


Answers:
author: Peter Geshev
body: Hi Cate,

I am afraid that you will have to delete the spaces manually. Users who have created content cannot be deleted, they [should be disabled](https://confluence.atlassian.com/doc/delete-or-disable-users-138318.html), but the content they have generated will not be deleted.

All the best,

Peter


author: Lorenzo Bueno
body: Hello Cate,  
Peter is correct, and the first thing you should do in order to delete the space is to check the permissions for it, in case you have it, you can delete it.  
Follow this doc for it: [Deleting a space](https://confluence.atlassian.com/conf51/deleting-a-space-336169192.html) or [Spaces](https://confluence.atlassian.com/display/DOC/Spaces).  
I hope this helps!


author: Seonghoon.Kim
body: In my case, I have first removed a user. Then, I tried to delete it as explained above. But I cannot delete it because of disappearance of the delete tab.![fullsizeoutput_2.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/13434i65116F68810E54A0/image-size/large?v=v2&px=999 "fullsizeoutput_2.jpeg")

comments: author: Tim Williams
body: I encountered the same dead end. I settled for archiving the space, which removes it from the space directory. Seems odd that personal spaces can't be deleted because the documentation saying members of confluence-administrators can do this.


author: Tim Williams
body: I found a way to delete the spaces. When you are in the personal space details and can NOT see the delete option, click the "Overview" tab and magically the option to delete appears. Very strange.


author: Evanna McMahon
body: Thanks Tim, that worked for me


author: Anonymous
body: If you have issues with seeing the "deletion" tab below overview for a user space, you can move to an another space (not a user space) and click there on the deletion tab. Then you can adjust the link in the browser at the end wit replacing the key parameter at the end. You also can use this link and adjust it to your own confluence instance:

<https://confluence.domain.ltd/authenticate.action?destination=/spaces/removespace.action?key=>

The user space key starts with a \~, you can see it in the space overview.

This was the only way I was able to delete a user space. The workaround provided by [@Tim Williams](/t5/user/viewprofilepage/user-id/1053766) seems not to work for me.


Tags: cloud

confluence-cloud
How do I link to a windows file path on a server?
Asked by Heidi Fernandez:

*This question is in reference to Atlassian Documentation: [Links](https://confluence.atlassian.com/pages/viewpage.action?pageId=776656293)*

I have been able to do but can't remember how I did it. I have tried different browsers and copy-pasted onto the page. I have used the link feature, but can't seem to duplicate it. Basically, we would like to add a path that the user can click on and it will open the file server path in window explorer when we can connected to the network. Currently, they have to copy the path and paste into windows explorer. There are a couple that I created where I can click on the link and it does open windows explorer. I just can't remember how I did it.


Answers:
author: Heidi Fernandez
body: Hello Mick,

I figured out a work around. I copy the server share path into a new outlook message and make it a hyperlink, then I copy and paste the hyperlink onto the confluence page. I have to create the path as a hyperlink outside of Confluence to get it to work.

Thanks,

Heidi


author: Mick Davidson
body: Heidi, I've followed the link to the Atlassian docs page, but there is nothing on that that shows you how to link to a server. Did you get this issue resolved? Cheers.


Tags: documentation

link
How to configure this Add On?
Asked by Lisa V:

Hi there,

I've searched a while but didn't found something helpful.

Simple question: how do I configure this Add On after Installation? I found the point where I could change the .xml, but do I need to change something to get it working?

I got the Attributes I want to synchronize in JIRA (e.g. phone number).

Thanks and greetings,

Lisa


Answers:
author: Lisa V
body: Hi,

about "echocat Adam".

Greetings,

Lisa


author: Hemant
body: Hi,

Which add-ons are you talking about ?

Thanks,

HEmant


Tags: addon-org.echocat.adam

confluence-administration
Using meeting notes for weekly JourFixes
Asked by Thomas Schubert:

Confluence 5.9.7

I would like to use meeting notes for weekly meetings to the same subject area (jour fixe) to easily keep track on tasks.

I want a new meeting notes page for each new meeting to have a protocol for what happened in each meeting.

My problem is, that most of the tasks are not solved over a longer period. I want these tasks to be on the agenda in each of the following meetings. But if just I copy the content of the last meeting notes page into a new meeting notes page, the tasks, which are a basic content of my meeting notes, are duplicated.

They than appear more than one times at my task report macro on the meeting notes parent page.

What is the best way to keep track on tasks and have a separate meeting notes page for each meeting?

Thanks a lot,

Thomas


Answers:
author: Benjamin Weinheimer-Erben _mgm-tp_
body: Hi Thomas,

you can try to add a Task-Report-Macro to your Template to see all unresolved Tasks within your Jour Fixe section. I am not sure if you can restrict the Task-Report-Macro to all child-pages of a parent-page, but if, this would solve your use case.

greetings  
Benjamin

comments: author: James Dellow
body: The task report macro is pretty flexible:

<https://confluence.atlassian.com/doc/task-report-macro-590260009.html>
How can I find out when an appointment was entered in calendar ?
Asked by Children Services IT:


Answers:
author: crochaju
body: Hi Bonita!

I reckon i got what you asked, and Its possible to check at you DB.

Have a look at this documentation to see if works. In this case was a verification about the creator, but it gives when it was created.

<https://confluence.atlassian.com/display/CONFKB/How+to+find+the+Creator+of+a+Calendar+in+Team+Calendars+for+Confluence>

Cheers
Uploading an attachment in C# URGENT
Asked by Vaishali Dhanoa:

Hey! I have been trying to upload an attachment( text or png) to my confluence page, but it is giving me an error. I am trying to send the request in the following format. Please let me know if it requires some changes?  
This is the code snippet in C# :

string boundary = "------------------------" + DateTime.Now.Ticks.ToString("x");  
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);  
req.Credentials = CredentialCache.DefaultCredentials;  
req.Headers.Add("X-Atlassian-Token", "nocheck");  
req.Method = "POST";  
req.ContentType = "multipart/form-data; boundary=" + boundary;  
string contentDisp = "Content-Disposition: form-data; name=\\"file\\"; filename=\\"foo.txt\\"";  
string contentType = "Content-Type: text/plain";  
string fullContents = "{0}\\r\\n{1}\\r\\n{2}\\r\\n\\r\\n{3}\\r\\n{4}--", boundary, contentDisp,contentType, Encoding.Default.GetString(contents), boundary;  
req.ContentLength = fullContents.Length;  
using (StreamWriter reqStream = new StreamWriter(req.GetRequestStream()))  
{

reqStream.Write(fullContents);  
reqStream.Flush();  
reqStream.Close();  
}  
var httpResponse = (HttpWebResponse)req.GetResponse(); //403 Error


Answers:
author: Nic Brough -Adaptavist-
body: You haven't told us what error you're getting.


Tags: attachment
Does this Add on also support an Active Directory?
Asked by Lisa V:

Hi there,

we use for our user authentication an Active Directory.

Does the synchronization also work for Active Directory? For example, if we want to synchronize the phone numbers?

Thanks and greetings,

Lisa


Answers:
author: Hemant
body: Hi ,

Yes, synchronization can also work for Active Directory, below link might help you more.

<https://confluence.atlassian.com/conf58/synchronising-data-from-external-directories-771892691.html>

Thanks,

Hemant

comments: author: Lisa V
body: Hi Hemant,

thanks for your fast answer!

I will check the link and thanks!

Greetings,

Lisa


Tags: addon-org.echocat.adam

confluence-administration
How can I change LANG and LC_MESSAGES Environment Variables?
Asked by Pavel Potcheptsov:

There is Environment Variables section under System Information in Confluence Admin panel.

And there are unexpected RU values for LANG and LC_MESSAGES.

```
LC_MESSAGES 	ru_RU.UTF-8LANG			ru_RU.UTF-8
```

My system in CentOS and when I go to console i see

```
# localeLANG=ru_RU.UTF-8LC_CTYPE="en_US.UTF-8"LC_NUMERIC="en_US.UTF-8"LC_TIME="en_US.UTF-8"LC_COLLATE="en_US.UTF-8"LC_MONETARY="en_US.UTF-8"LC_MESSAGES="en_US.UTF-8"LC_PAPER="en_US.UTF-8"LC_NAME="en_US.UTF-8"LC_ADDRESS="en_US.UTF-8"LC_TELEPHONE="en_US.UTF-8"LC_MEASUREMENT="en_US.UTF-8"LC_IDENTIFICATION="en_US.UTF-8"LC_ALL=en_US.UTF-8# env | grep ruLC_MESSAGES=ru_RU.UTF-8LANG=ru_RU.UTF-8
```

How can fix this and set en_US instead ru_RU for confluence?


Answers:
author: Pavel Potcheptsov
body: I was able to fix this by commenting **SendEnv LANG LC_\*** line in **/etc/ssh/ssh_config**on my local computer, i.e. on linux computer from which I ssh to confluence server.

After commenting this line I disconnected via ssh from confluence, connected again and restarted confluence daemon.

After restarting confluence daemon I see **LANG en_US.UTF-8** in Environment Variables section under System Information.


author: Toli An
body: change locale for user under which the application run

```
export LANG=en_US.UTF-8
```

<br />

<http://www.cyberciti.biz/faq/how-to-set-locales-i18n-on-a-linux-unix/>


Tags: confluence-administration
Resolved comments appearing in confluence mobile to anonymous users
Asked by Zed Tan:

Hi guys,

I'm using Confluence for our public-facing software documentation, and we've been using the comments function quite liberally.

It works well on desktop, but we just found out that *resolved* comments appear in full (thread and all) for anonymous users on Confluence mobile.

2 solutions i've found in your docs:

1. turn off confluence mobile completely;
2. use jquery to turn off comments entirely for anonymous users: <https://confluence.atlassian.com/confkb/how-to-hide-page-tools-and-comments-section-for-anonymous-users-in-confluence-697139365.html>.

Both are not ideal --- is there any other way to hide *all* comments on confluence mobile?

Thanks


Answers:
author: Zed Tan
body: <https://jira.atlassian.com/browse/CONF-5639>


author: Zed Tan
body: There is another issue with resolved inline comments on confluence:

They turn up in searches for anonymous users.

This is not acceptable for a feature that is supposed to help with an editorial process.


Tags: cloud

confluence-cloud
what is the encryption algorithm that Confluence use for its stored password in Oracle database ?
Asked by beini sun:

The Server ID of our Confluence is **BRE9-HBXX-S2DX-R5QS**


Answers:
author: Hemant
body: Hi,

Confluence using hashing algorithm (based on [Seraph](http://docs.atlassian.com/atlassian-seraph/latest/)), below link might help you more:

<https://developer.atlassian.com/confdev/development-resources/confluence-architecture/confluence-internals/password-hash-algorithm>

Thanks,

Hemant
Error on question space in KB
Asked by Mary John:

my end user page is public but on that page there is an error on watchers "

Error occurred while loading watchers in this space

Please refresh the page or contact your administrator."

how to fix this ?

error in KB.JPG  
[](https://community.atlassian.com/t5/Confluence-questions/Error-on-question-space-in-KB/qaq-p/57212?attachment-id=4933){#link_11902a7f9ed3c2}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/9622/1/error%20in%20KB.JPG){#display_11902a7f9ed3c2_0}


Answers:
author: crochaju
body: Hi Mary!

it might hep you!

[https://confluence.atlassian.com/display/CONFKB/'Failed+to+add+watcher%3A+error'+When+Trying+to+Add+a+Watcher+to+a+Page](https://confluence.atlassian.com/display/CONFKB/)

Cheers

Carlos Rocha


Tags: cloud

confluence-cloud

documentation