youngmon/atlassian-qna huggingface dataset:
Internal Server Error while appending new column in existing table using JSOUP html parser
Asked by vimlesh yadav:

We have a requirement where we need to update the existing table on confluence page using Rest API. We download the table content and then parse the data using JSOUP html parser and then get all first table. From Table Element we retrieved all rows Element and row element we add new \<td\>New Data\</td\> but while submitting this table we are getting 500 Internal Server Error and at times BAD request. But this data is getting parsed correctly on HTML page and also on JSON formatter properly.


Answers:
author: James Richards
body: Hello vimlesh,

If you're getting a 500 error it might be that the data you're sending isn't converted to HTML/XML correctly.

For example, in the REST call, if the table has a field like **Peanut Butter \& Jelly** , then the **\&** needs to be **\&amp;**.

Alternatively you can check the *atlassian-confluence.log* file when you make the REST call to see if it gives any errors.

Regards, James


Tags: confluence-administration
confluence space list
Asked by Anderson Hsu:

Dear partners,

After update confluence to 6.0.1 version, we found we can not find space list after when we login confluence if the account is not system administrator or confluence administrator. When can we find it ? Thanks a lot.

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


Answers:
author: AnnWorley
body: Hi Anderson,

I was not able to find a bug report or support case that describes an issue with viewing space lists after upgrading.

Please let me know:

* What version of Confluence did you upgrade from?
* In the screen shot, the MY SPACES list is blank, is that the space list you mean or are spaces also not showing for some users in the Spaces pulldown menu?
* MY SPACES in the sidebar only shows favorite spaces. Does the (non-admin) test user have any favorite spaces defined?
* Does the list display as expected for the test user in a different browser?

To help isolate the issue, please add the [Spaces List Macro](https://confluence.atlassian.com/doc/spaces-list-macro-139375.html) to a page and set the "Scope of spaces" parameter to "favorite". Then log in with a non-admin account and see if the list of favorite spaces appears.

I look forward to your reply.

Cheers,

Ann
Non clustered confluence database is being updated by another confluence instance
Asked by ???? POQ:

We've installed two confluence at one windows web server as a service, (use 8090, 8092 port)

one MSSQL DB server with two category .

Each confluence started without problem.

but sometimes one confluence occured fatal error during live service :

Non Clustered Confluence: Database is being updated by another Confluence instance. Please see <http://confluence.atlassian.com/x/mwiyCg> for more details.

We restart service when this error occured, but it happens again.


Answers:
author: Edwin Kyalangalilwa
body: Hi,

The error is related to not having a data center license for your Confluence and you're trying to cluster with the two instances.

You'll have to get a data center license to run two Confluences.

[Confluence Data Center](https://www.atlassian.com/software/confluence/enterprise/data-center)

comments: author: ???? POQ
body: Thank you for your answer Edwin.

We bought two server license for confluence because we run wiki at private network.

two confluence works well usually, but one broke down sometimes.


author: Edwin Kyalangalilwa
body: Do both Confluence servers use the same DB?


author: ???? POQ
body: no, same DB server, seperated catalog (different DB)


author: Guilherme V.
body: Usually, that error can be one of the following options:

- Two instances connected to the same database schema.  
- The database logs are full and are holding the connection.

I'd check the database connection in the confluence.cfg.xml just to ensure that each instance is connected to a specific schema.


author: ???? POQ
body: same server, seperated db, but schema is same , 'dbo' . is it can occurs problem?

\<property name="hibernate.connection.url"\>jdbc:sqlserver://10.10.10.10:7302;databaseName=CONFLUENCE_IMPAY_DB\</property\>  

\<property name="hibernate.connection.url"\>jdbc:sqlserver://10.10.10.10:7302;databaseName=CONFLUENCE_DB\</property\>


author: Nic Brough -Adaptavist-
body: That looks fine, they should be completely separated.

You'll want to check the database logs as Guilherme mentioned.


author: ???? POQ
body: thank you for your interest, Nic.

how can I check database log ?


author: Nic Brough -Adaptavist-
body: Go to the database server and find the logs for the database system.


Tags: data-center

database
Content by Label - NOR logic
Asked by adrianoatl:

Using the Content by Label macro, I'm trying to list pages that satisfy this logic: select all pages that:

- don't have the label "blue" =\> run alone: returns 5 pages

- OR don't have the label "red" =\> run alone: returns 5 pages

- OR don't have the label "yellow" =\> run alone: returns 4 pages

What I want is the logic to return the maximum amount of pages, i.e. in this case: 5 pages. But when I run this logic using this:

![Screen Shot 2018-02-18 at 10.07.04 PM.jpg](/t5/image/serverpage/image-id/15249iF54E5F342C5D2D69/image-size/large?v=v2&px=999 "Screen Shot 2018-02-18 at 10.07.04 PM.jpg")

I get 4 pages listed instead of five.

How do I work this out with the labels in the editor?


Answers:
author: Shannon S
body: Hi Adriano,

I just need some clarification here on what you're trying to make happen so I can best understand what you need.

I created 5 pages on my instance:

1.

   ```
   Red (with a label of red)
   ```

2.

   ```
   Orange (with a label of orange)
   ```

3.

   ```
   Yellow (with a label of yellow)
   ```

4.

   ```
   Green (with a label of green)
   ```

5.

   ```
   Blue (with a label of blue)
   ```

I type **-red** , so all pages that are NOT with label **red**, and I get as expected, all pages that are NOT red:

1.

   ```
   Orange
   ```

2.

   ```
   Yellow
   ```

3.

   ```
   Green
   ```

4.

   ```
   Blue
   ```

Same if I only use **-blue** , all pages that are not blue, and same with **-yellow**, all pages that are not yellow. I get 4 results each time.

Now, if I put in **Label\*** : **-red -yellow -blue**, then I get two results because these are all the pages that do not include red, yellow, OR blue:

1.

   ```
   Green
   ```

2.

   ```
   Orange
   ```

Same for if I make three filters, with one label each:

*

  ```
  Label*: -red
  ```

*

  ```
  Label: -yellow
  ```

*

  ```
  Label: -blue
  ```

I still get only green and orange, because those pages do not include red AND yellow AND blue.

If I have misunderstood your setup in any way can you please let me know and what exactly you are expecting to happen? I want to understand where the fault is.

Thank you!

Shannon

comments: author: adrianoatl
body: Hi Shannon. Yes, this is working fine. I got to the same conclusion a few days ago, but didn't update this post. The problem was with the way I thought labels worked (esp. with AND and OR). Thanks for your help, Shannon.


author: Shannon S
body: You're welcome, Adriano!

Happy you were able to come to the same conclusion.

Take care and have a pleasant weekend,

Shannon


Tags: cql

label
Unable to edit confluence page with embedded query (JQL)
Asked by Sajeev Kunjan:

Hi,

A confluence page that I created and maintaining (have required permission to edit), have few tables with embedded queries (JQL). Now I am not able to edit the page, getting a spinning wheel when clicked on edit icon (i have been trying for last few days). I faced similar issue on another page, I had to abandon that page as unable to edit. Can some one suggest what could be happening here and any solution?

Thank You

Sajeev


Answers:
author: Guilherme V.
body: It can be related to the Collaborative Editing in case you are using Confluence 6.X. Sometimes, the editor slows down due to the web requests. You can change the Collab. Editing mode to 'limited' in order to narrow down if that's the root cause.

<https://confluence.atlassian.com/doc/administering-collaborative-editing-858772086.html>

comments: author: Sajeev Kunjan
body: This option seems to be too risky and afraid of loosing edits (drafts) done by others. Any other option? I already abandoned one page due to the same issue and it is happening again on a different page.


Tags: jira
Confluence, How to display version comment on create new page? same with edit page.
Asked by Mai H?u:

I want to display version comment texbox on create new page, similar with edit page.

How can I do that? I'm using Atlassian SDK newest version.

Please help me. see image for more details.

![version comment.png](/t5/image/serverpage/image-id/15245iF8F6A2D6B2648970/image-size/large?v=v2&px=999 "version comment.png")


Answers:
author: louisdj
body: I don't think it is possible to add a comment on the V1, as this is the initial creation of the page.

I think the best workaround for you is to publish the page with only the title, and from then, you can add a comment about what is changed if you want.


Tags: atl-dev

atlassian-marketplace

confluence-app

confluence-development

questions-for-confluence
editing comments in confluence
Asked by Jaime Romaguera:

We have users who have watches on pages complained to me that when user re-edited comments they made. It does not send an email to notify the watcher/s that the updated was made on the page.

According to my testing, this is by design. I was hoping that someone could confirm this and if they know a workaround.

Thanks

Regards

Jaime


Answers:
author: Jaime Romaguera
body: Hi Igor,

Thank you for advice

"**Subscribed to daily updates"** is not an optionas we disabled the plugin so people would not get spammed on a daily basis with what people are doing on the Wiki Server.

**Subscribed to network** is not a good solution due to the fact that the owner of the space would have to follow everybody just to get a notification when a comment has been modified.

The space owner wants/need to know that a user has modified a comment so they can act on it in a quick manner.

All the notifications work for everything except when a user modified a comment they made earlier.

Thanks

Regards

Jaime

comments: author: Jaime Romaguera
body: FYI Does not work if you follow the user. Making a comment works, modifying a comment does not.


author: Igor M.
body: Hey,

According to [Email Notifications](https://confluence.atlassian.com/confcloud/email-notifications-724765358.html) guide, they should get notifications on add, edited or deleted comments in they are **Subscribed to daily updates** or **Subscribed to network.**

* Pages being added, edited, or deleted.

* Blog posts being added, edited, or deleted.

* Comments being added, edited, or deleted.

Could you test that and confirm?

Regards,

Igor
I would like a button on my confluence page, when clicked, to create a new page within that space.
Asked by Matthew Brashear:

Is this even possible? See screenshot.

![Screen Shot 2018-02-18 at 2.42.12 PM.png](/t5/image/serverpage/image-id/15238i81640467C6EB0CC8/image-size/large?v=v2&px=999 "Screen Shot 2018-02-18 at 2.42.12 PM.png")

Specifically, is it possible to have a custom page template launch when the button is clicked?

Thanks,


Answers:
author: Max Foerster - K15t
body: Hi Matthew,

just create a new page template in your space according to your needs and then use the "Create from Template" macro in Confluence (and select the created template as your choice for clicking the button) on a page.

Best,

Max

comments: author: Max Foerster - K15t
body: Hi Matthew,

were you able to solve your problem with my answer? If yes, I'd appreciate it if you could accept my answer as solution (checkmark on the left hand side of my post)

Best, Max


author: Matthew Brashear
body: Hi Max, sort of. Your direction worked for linking a macro to the button, however, buttons that accept macros only work when it is a button within a page. My hope was to include the same button and macro on the overview page (landing page). Thank you for your direction and for helping me figure out how macros work.


author: Max Foerster - K15t
body: Hi Matthew,

not sure if I understand correctly. The "button" is the macro. What keeps you from adding the macro and pointing at the template on the regular page you're using as home page for a space? Or do you mean the dashboard of your Confluence?
Syntax of User Macro confluence
Asked by Allen Chun:

Hi Atlassian Community,

I'm new to confluence and wanted to display a create a macro using UserMacro.

Currently I can display a table with the title of childpages.

![Screenshot 2018-02-18 23.36.08.png](/t5/image/serverpage/image-id/15237i61D098D18BD0CE2A/image-size/large?v=v2&px=999 "Screenshot 2018-02-18 23.36.08.png")

I want to ask what's the full syntax of confluence User macro? I wanted to show also the reporter, status, created at and number of likes.

Thanks in advance


Answers:
author: Thomas Deiler
body: [Duplicate](https://community.atlassian.com/t5/Confluence-questions/Syntax-of-User-Macro-confluence/qaq-p/731083).
Syntax of User Macro confluence
Asked by Allen Chun:

Hi Atlassian Community,

I'm new to confluence and wanted to display a create a macro using UserMacro.

Currently I can display a table with the title of childpages.

![Screenshot 2018-02-18 23.36.08.png](/t5/image/serverpage/image-id/15237i61D098D18BD0CE2A/image-size/large?v=v2&px=999 "Screenshot 2018-02-18 23.36.08.png")

I want to ask what's the full syntax of confluence User macro? I wanted to show also the reporter, status, created at and number of likes.

Thanks in advance


Answers:
author: Shannon S
body: Allen,

Can you clarify what you are looking for exactly in regards to the syntax?

We have documentation on [Writing User Macros](https://confluence.atlassian.com/doc/writing-user-macros-4485.html) and I'm sure you've looked over that so let us know if there's something particular that you're not able to find.

Regards,  
Shannon
Confluence Cloud Security Problems
Asked by Paul Johnstone:

Hi Atlassion Team,**Confluence Cloud Privacy \& Security Problems**   
People Directory in Confluence Cloud  
Activity in Confluence Cloud  

At this stage, there are current problems with **Confluence Cloud.** Confluence is used to help teams network together, a number of confluence customers use confluence to build a network with their customers. So their customer can work together as a team.   

Privacy \& Security is the number one objective in today's world we live in...This is why I ask my question. In regards to the current Privacy \& Security problems that are in two main areas of Confluence which are the following;  

People Directory in Confluence Cloud  
Activity in Confluence Cloud  

I understand that there has been a number of tickets in regards to this but at this stage, I do not see any release date to FIX to provide Cloud customer to manage this.  

<br />

Kind Regards  

Paul Johnstone  
Director   

<br />


Answers:
author: Shannon S
body: Paul,

I believe you may be referring to this feature request in terms of People Directory Security?

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

At this time, I would recommend voting on that and watching it as you likely already are, and any updates to that will be posted there.

In addition, this may also be interesting to you:

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

As for the issue with activity, can you let me know your concern? Any activity that is posted on the overview page will only be displayed to users who already have access to view the page.

Regards,

Shannon
Why when I add a message in the custom HTML - a scroll is added to the pages in Edit mode
Asked by shira segal inbar:

Hi,

We added a message to the custom HTML At end of the HEAD (inside a div tag).

The problem is that a second scroll was added to all pages, this scroll is only on edit mode.

Is there an idea for a solution?

Thanks,

Shira


Answers:
author: Shannon S
body: Shira,

Could you clarify what you mean that a scroll was added? Feel free to share a screenshot, and let us know what you're trying to accomplish exactly.

It will also help if you show us the exact code that you're using.

Thank you for your help!

Regards,

Shannon

comments: author: shira segal inbar
body: Thanks Shannon,

In the image attached you can see the double scroll i was referring to.

It happens only in large pages.

The code:

\<html\>  
\<div style="background-color: #b3e5fc; border: 2px solid #000000; margin: 4px; padding: 2px; font-weight: bold 1; text-align: center;"\> Confidentiality Notice: This site ........  
\</div\>  
\</html\>

The double scroll:

![Double scroll.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/15782iEDA9132ECE79E32E/image-dimensions/110x156?v=v2 "Double scroll.PNG")


author: Shannon S
body: Hi Shira,

Where exactly are you adding the code? I am trying to replicate this myself, but I am unable to get it in the same location as yours which makes me think you might be directly editing the Confluence source code. Could you confirm where you are adding this?

Secondly, can you tell me which browsers you're able to replicate this in?

Regards,

Shannon


author: Shannon S
body: Shira,

I looked into this and confirmed with a colleague, and you might be able to get around that issue by changing the overflow property on that div.

For example:

```
overflow: visible !important
```

Can you try that and let us know how it goes?

Shannon


author: shira segal inbar
body: Hi Shannon,

I try the overflow and still we have double scroll.

I add this code in the Custom HTML At end of the HEAD and we are working with chrome.

Thanks,

Shira


author: Shannon S
body: Shira,

Does the issue ONLY occur in Chrome or does it show in all browsers?

When you say you add them at the end of HEAD, I think you mean that you're editing the source files instead of using Confluence's built-in features to add code to a header. Is this correct?

If so, I'm not really able to provide much more help here as the issue is more development related than Confluence, but the key is that you can try different overflow options on the div and see which one will correct the issue for you. I'm sorry the one that we provided you doesn't work but there are some others you can try:

* [CSS overflow property](https://www.w3schools.com/cssref/pr_pos_overflow.asp)

Kind regards,

Shannon


Tags: atl-dev

configuration

html

page
Import Word Document does not import into the space folder you are on. It sorts it in the main spac.
Asked by Command Center:

Import Word Document does not import into the space folder you are on. It sorts it in the main space. This causes confusion for users looking for files they imported and a mess when trying to keep steps in order. Has this been changed? or do we have a lot of cleanup after a Word document import?


Answers:
author: Ramona Scripcaru
body: Hey,

Indeed, Word import will import the file on the same level with the parent page and this is the current behavior which I totally agree that might be misleading. I suggest to vote/watch comment on [https://jira.atlassian.com/browse/CONFCLOUD-56149 for](https://jira.atlassian.com/browse/CONFCLOUD-56149?for) our Product Management team to consider this functionality.

As one workaround, we can recommend to Reorder the pages from *Space tools* \> *Reorder pages.*

Unfortunately, it is hard to identify the pages which were created with Word Import in order to suggest you one cleanup option.

Cheers,

Ramona


Tags: import
How to install confluence with just command line?
Asked by Himanshu Pande:

I am new to confluence installation and trying to install it on my server. I am following the steps as given here :

<https://confluence.atlassian.com/doc/installing-confluence-on-linux-143556824.html>

Step 4 says : Once installation is complete head to http://localhost:8090/ in your browser to begin the setup process.

But how I can do this step only with CLI interface? I have a server hosted by someone and I just get CLI to it.

Kindly let me know.


Answers:
author: Thomas Deiler
body: Dear [@Himanshu Pande](/t5/user/viewprofilepage/user-id/1188642),

you can do in text mode. That's not comfortable and probably not everything works, but give it a try: [https://unix.stackexchange.com/questions/40350/what-is-the-best-text-mode-browser](https://unix.stackexchange.com/questions/40350/what-is-the-best-text-mode-browser "What is the best text-mode browser? [closed]")

So long

Thomas
Looking for a way to autostart a youtube when selected
Asked by Tom Sheffield:

I am trying to figure out if I can use Confluence to provide a static location for youtube content and have it automatically start when the page is selected.

Was able to use "Widget Connector" to get the content there, however it has to be clicked on once the user arrives at the page.

Reading the Multimedia Macro documentation shows an autostart for it but I can't figure out how to get it to work. The only way to use this was to actually put the mp4 on the page and then configure the macro.

If the Multimedia Macro is the only way to autostart a mp4, then is there a way to restrict the use of the video to just stop/start, adjust audio, and close it? Do not want the ability to comment or upload/download the video.


Answers:
author: Guilherme V.
body: Hey Tom.

I was only able to accomplish that with an iframe. Here's what I did:

1. Enabled HTML Macros(refer to <https://confluence.atlassian.com/confkb/how-to-put-an-iframe-into-confluence-598837531.html> for more information).
2. Inserted the HTML macro in the page.
3. Used the following iframe configuration:

```
<iframe src="https://www.youtube.com/embed/Pv3OhX0qjDg?autoplay=1?t=12" noborder="0" width="400" height="400" scrolling="yes" seamless></iframe>
```

As you can see, you will need to use the ***<https://www.youtube.com/embed/>***format, insert the rest of the link and use "?autoplay=1"(which will start the video automatically and "?t=12"(which is the timeframe).

In this example, I wanted to display a video of my YT Channel when the page is accessed, starting from the 12s of the video.