youngmon/atlassian-qna huggingface dataset:
Confluence is not working when setting up from using backup data
Asked by Asra Iqbal:

Hi All,

I am trying to setup a test server of my original confluence server and i want it exactly the replica of original server. so i am using the backup files and spent many days to set it up but for some reason i am getting 503 error after checking the logs i got an error for few plugins nothing else.

Is anyone else had the same issue or anyone can help. i am going to share the logs.  
{code}  
\[plugin.osgi.factory.OsgiPluginInstalledHelper\] availableForTraversal Cannot determine required plugins, cannot resolve bundle 'org.randombits.storage.confluence'

ERROR \[ThreadPoolAsyncTaskExecutor::Thread 20\] \[spring.scanner.extension.ComponentImportBeanFactoryPostProcessor\] postProcessBeanFactory Unable to load class 'com.atlassian.bitbucket.auth.RememberMeService' for component importation purposes. Skipping...

\[plugin.osgi.factory.OsgiPlugin\] enableInternal Detected an error (BundleException) enabling the plugin 'org.randombits.storage.confluence' : Unresolved constraint in bundle org.randombits.storage.confluence \[256\]: Unable to resolve 256.0: missing requirement \[256.0\] osgi.wiring.package; (\&(osgi.wiring.package=com.atlassian.confluence.content.render.xhtml)(version\>=4.0.0)(!(version\>=6.0.0)))

<br />

<br />

<br />

{code}


Answers:
author: Brant Schroeder
body: [@Asra Iqbal](/t5/user/viewprofilepage/user-id/4313431) Welcome to community. It looks like corrupt plugin cache. I would suggest stopping the Confluence service and deleting the following directories.

* \<confluence.home\>/bundled-plugins/
* \<confluence.home\>/plugins-cache/
* \<confluence.home\>/plugins-osgi-cache/
* \<confluence.home\>/plugins-temp/
* \<confluence.home\>/bundled-plugins_language/

After deleting the directories start the service and see if Confluence will start.

comments: author: Asra Iqbal
body: [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100)Thanks for the help i tried that already and it was not working. Anyways i appreciate.


author: Brant Schroeder
body: Did you install the same version of of Confluence as the server where the backup was made?


Tags: questions-for-confluence

server
How to show live database records on a confluence page?
Asked by Ankit Shukla:

I have Openedge (Progress RDBMS) from where I wanted to show the live records on a confluence page. Is there any support to fetch the same?


Answers:
author: Brant Schroeder
body: [@Ankit Shukla](/t5/user/viewprofilepage/user-id/4313138) You would need to use an app to do this. There are several database connectors in the marketplace you should take a look at [https://marketplace.atlassian.com/search?product=confluence\&query=database](https://marketplace.atlassian.com/search?product=confluence&query=database)


Tags: confluence-server

server
Install Confluence Server with Mysql 8 fails
Asked by kjhall55:

Install of confluence 7.11.0 server using mysql 8.0 on Centos 8 fails with error:

error code \[1419\]; You do not have the SUPER privilege and binary logging is enabled

According to the install instructions, binary logging must be on, but other sources indicate that when binary logging is on, the SUPER privilege is required by default for certain operations. There is no mention of this in the Confluence setup doc, and sources report that setting SUPER privilege is not desirable from a security perspective. Is there a recommended method for setting this up?


Answers:
author: Spunkie
body:     set global log_bin_trust_function_creators=1;

comments: author: Steve Shaw
body: Thanks Spunkie :smile: For more on this topic, please see <https://confluence.atlassian.com/confkb/install-upgrade-confluence-7-11+-fails-with-error-you-do-not-have-the-super-privilege-and-binary-logging-is-enabled-1044096915.html>


author: Aaron Andrade
body: [@kjhall55](/t5/user/viewprofilepage/user-id/4118324) Did you figure this out? I am having the same issue with version 7.11.1.

comments: author: kjhall55
body: I ended up giving the ID "SUPER" privilege, that fixed it, but I wasn't happy about it. The instructions for setting up Confluence (and Bitbucket, and Jira) with mysql are outdated and just plain wrong in places. It's obvious Atlassian would prefer you use postgresql, I just didn't want to have another database service running on that machine, there are other apps there that use mysql.


author: Aaron Andrade
body: We tested that out in our stage environment and it did work. I opened up a support ticket with Atlassian: <https://getsupport.atlassian.com/servicedesk/customer/portal/14/CSP-290482>.


author: kjhall55
body: There are other issues with configuring with MySQL, the documentation is badly outdated.. For example, it specifies using the following to configure the user access to the database:

    GRANT ALL PRIVILEGES ON <database-name>.* TO '<confluenceuser>'@'localhost' IDENTIFIED BY '<password>';

But that doesn't work, "IDENTIFIED BY" seems to be deprecated in current versions of MYSql 8, you need to do the GRANT first without the password, then do ALTER to set the password.

Ran into similar issues with Jira and Bitbucket, in Bitbucket particularly, the latest version of the database connector (8) does not work, you need to use version 5.

These are the issues I remember during the setup, I did finally get everything working, but it was a long slog.


Tags: confluence-server

mysql

server
How fix accounts.google.com redirected you too many time?
Asked by Harry Klein:

I'm unable to figure out how to resolve this error message in Confluence. Any thoughts?

![OnPaste.20210319-094244.png](/t5/image/serverpage/image-id/135165i806E7380DC07B41D/image-size/large?v=v2&px=999 "OnPaste.20210319-094244.png")


Answers:
author: Dominic Dertatevasion
body: I encountered this same error when using Microsoft Edge. My tracking prevention was set to "Strict." My solution was to add the below exception to "Tracking prevention" inside Edge's settings. This solved the "accounts.google.com redirected you too many times" error and I was still able to maintain my "Strict" tracking prevention setting.

* "Settings" \> "Privacy, Search, and Services" \> "Tracking prevention" \> "Exceptions" \> "Add a Site"
* Added the URL **https://\<ENTER_TENANT_NAME_HERE\>.atlassian.net**

Dominic


author: Sri Kumar
body: Hi [@Harry Klein](/t5/user/viewprofilepage/user-id/3627914) ,  

Good day.  
Can you confirm which browser are you using to view confluence?  

Can you confirm if it is a supported browser of Atlassian cloud products :<https://support.atlassian.com/atlassian-account/docs/supported-browsers-for-atlassian-cloud-products/> ?

-Sri

comments: author: Robin Doran
body: Jumping on this as I have the same issue on the latest stable version of Chrome for Mac.

In my case it stopped working around 6 months ago


author: Harry Klein
body: Hi Sri - sorry for not responding sooner. I am using the latest version of Chrome on Windows 10. All systems are kept current in terms of updates.


author: anishasokan
body: Yes, I am having the same issue, when trying to embed a Google Spreadsheet in Jira.

![Screenshot_2021-05-20_14-16-29.png](https://community.atlassian.com/t5/image/serverpage/image-id/144171iF6A499048AC5BFEE/image-size/large?v=v2&px=999 "Screenshot_2021-05-20_14-16-29.png")

Let me know if there is anything to be done on Google Workspace level.

- like access prermissions?


author: Andrew M
body: For me it was Bitdefender Anti-Tracker causing the problem. If you add you confluence domain to the exempt list it seems to fix the issue.


author: Harry Klein
body: [@Andrew M](/t5/user/viewprofilepage/user-id/4408034) ding! ding! ding! we have a winner. Thank you.


author: anishasokan
body: I am using Debian 10 GNU/Linux and Chromium browser. On may 20th when I tried I was having same issue.

"accounts.google.com redirected you too many times."

But today, I see the same where I added the spreadsheet is woking fine.

I tried adding a new spreadsheet report its also working fine.

I haven't made any changes on Google Workspace or Jira Cloud.

I dont have any Anti-Virus on my Debian 10 GNU/Linux.

Not sure how it started working again. But good that is working.

Thanks,  
Anish


Tags: cloud

confluence-cloud
Table formatting in Page Properties Issue
Asked by Adam Davila:

I have a table that is inside a page properties macro, that is inside a 3-column layout. At first, everything is fine, but at some point when editing and saving the page, the table formatting becomes corrupted and one of the tables columns no longer will wrap the text, which extends the column width indefinitely until the text is on one line. This makes the information in the table illegible without scrolling the extra long column. Is this a known bug and/or is there a fix in progress?

Here's how it should look (Left column is a Page Properties Macro)

![Initial with No Issue.PNG](/t5/image/serverpage/image-id/135150i42F39E12882A4004/image-size/large?v=v2&px=999 "Initial with No Issue.PNG")

Here's how it looks after saving:

![After Saving with Issue.PNG](/t5/image/serverpage/image-id/135151i4C099BDD5BACEE25/image-size/large?v=v2&px=999 "After Saving with Issue.PNG")

The change seems to happen randomly, but from testing, it seems to consistently happen if someone is editing a page and then they shrink their browser from full screen to a smaller size. Currently using the up-to-date version of Chrome.

Also, once the issue occurs, I can't correct the table so that the columns are back inside the initial boundaries of the page properties macro/layout column. The only option is to delete the table completely and add a new one.

Thanks for the help!


Answers:
author: Brant Schroeder
body: [@Adam Davila](/t5/user/viewprofilepage/user-id/3699444) Can you share a screenshot of what it looks like before you save it so I can try and recreate the issue.

comments: author: Alex Johnson
body: There is an active suggestion that has been made on the [Atlassian Confluence Jira Issues Board](https://jira.atlassian.com/browse/CONFCLOUD-67831).

This may help redirect anyone who came here searching for a workaround.


author: Alexander Malic
body: I am having a similar issue with Confluence cloud.

Here's how to reproduce this issue

1. Create a new template
2. Add a two column page layout macro
3. Add page properties into the right page layout macro column
4. Add a table into the page properties macro and change "Header rows" to "Header columns" within it's properties
5. Enter some values into the header cells
6. Change column width of the header column **(this is important)**
7. Save the template
8. Edit the template again
9. Suddenly the page properties macro shows a horizontal scroll bar and the table width of the table macro inside the properties macro can not be adjusted


author: Tyler Wetzel
body: Having the same issue here where I add a row, and then on save the entire table shifts over and puts my row as a column. It's beyond frustrating.


author: P. Bryan Edge-Salois
body: I've experienced this as well. Very obnoxious bug.


author: Oskar Wirth _OWI_
body: we are experiencing the same problem.


Tags: cloud

confluence-cloud
Fill drop down list from headlines from other sides
Asked by David Pasternak:

Hi everybody,

actually I'm trying something which I hope I'm able to explain perfectly.

I've two sides:

1. Test systems -\> this is a page properties report with all underlying sides to test systems which we're running in our team
2. test databases -\> this is also a page properties report with all underlying sides to test databases which we're using

No I want to have a drop down list in each new test databases side where I can choose the test system on wich the database is configured. Because test systems are fluctuable and we're creating new one, deleting old ones I'm trying to find a way to fill the drop down list on the test databases side automatically with all headlines which where used for test systems.

Maybe on an example:

Let's say we've 3 test systems test1, test2 and test3. I've also 3 test databases db1, db2 and db3.

db1 is running on test1  
db2 is running on test2  
db3 is running on test3

Now I create a new test system test4 and create the side to that testsystem. When this side is created and I will create a new database side for a new test database the new test4 test system should automatically appear in the drop down list for choosing the test system where the new database is running on.

Somebody have a good idea how to solve this?

Thanks and Regards,  
David


Answers:
author: Brant Schroeder
body: [@David Pasternak](/t5/user/viewprofilepage/user-id/4312726)

With the delivered page properties you will only be able to add that information in the page properties either as a confluence page or just text. There is not a way to dynamically have a dropdown list.


Tags: confluence-server

server
User macro (html+js)
Asked by me:

Hi

I have (html+js) file that available [here](https://github.com/kamshory/ISO8583Parser)

How can I create user macro that work like this? (Get string and show result)

I try to create new user macro and put html+js in it, but when I add it on a page not load on page!

Any idea?

Thanks,


Answers:
author: Bill Bailey
body: Can you post your user macro code? Make sure you are following the macro syntax.


Tags: confluence-server

html

javascript

server

user-macro
What does the active users mean on the usage statistics
Asked by Shoban Raj:

Does anyone knows what does the active users mean on the usage statistics page of confluence questions. I dont think its the active users on the confluence space.

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


Answers:
author: Shoban Raj
body: Posting the answer found if incase anyone else is looking for this. Its actualy the users who involved in creating the questions/answers/comments, found this by the filter option provided by the statistics itself. We had some spaces with few questions, while viewing the stats for that noticed this.


author: Krister Broman _Advania_
body: Not sure as I do not have questions for Confluence installed but my guess would be that in this case active users are the total amount of users that have an active account (meaning it is not set as inactive) AND access to the product.

comments: author: Shoban Raj
body: Thanks for responding but I don't think it's that active users because we do have more than 8000 users and many are using it actively. Anyway is there a way to actually find that out.


author: Krister Broman _Advania_
body: Documentation of Questions is not really that good and hard to navigate. The part of statistics can be found here: <https://confluence.atlassian.com/questions/administer-questions-593035916.html>

But as you may have seen it says very little. So guessing a bit with the extra info of your 8000 users and if it is as you say that it is not the space users my guess would be that you have a macro displaying questions in the dashboard and the software records each individual users that see that macro as an active users that look at questions.


author: Shoban Raj
body: Yes I saw that link before, it doesn't really explains that particular field. Anyways thanks a lot for your inputs.


Tags: confluence-server

questions-for-confluence

server
How to check that in confluence how many spaces and pages created in last week
Asked by kanaka prasad ponnuru:

Hi Team,

Is there any way to check how many spaces and pages created in last week?

Thanks,

Kanaka


Answers:
author: Vero Rivas
body: Hi [@kanaka prasad ponnuru](/t5/user/viewprofilepage/user-id/2328832)

Look at this post, maybe can help you

<https://confluence.atlassian.com/doc/view-space-activity-2818381.html>

Cheers


author: G subramanyam
body: Hi [@kanaka prasad ponnuru](/t5/user/viewprofilepage/user-id/2328832) welcome to the Confluence Atlassian Community. I hope you are staying safe and healthy.

To answer your query, confluence allows you to view the site statistics, like- pages, blogs, posts viewed, added or updated in a given time period.

Navigation:

Confluence \>\> Settings\>\> General config\>\> Admin\>\> Global activity.

However, please be informed, your confluence administrator should have "enabled" global activity to view the stats.

To further help with your query, please access this link:

*<https://confluence.atlassian.com/doc/viewing-site-statistics-123043962.html>*

If my post address your query, kindly click "accept answer".

comments: author: kanaka prasad ponnuru
body: Hello [@G subramanyam](/t5/user/viewprofilepage/user-id/3929184)

Thanks for the response. I could not able to find the Global activity option.

How can I able to see the status? Please guide me on this.

Thanks in advance.


author: G subramanyam
body: Hi Prasad,

Sorry for the late reply. That Plugin is **disabled by default**and your confluence admin should enable "global activity". Here the points from the URL I posted:

* The [Confluence Usage Stats plugin](https://plugins.atlassian.com/plugin/details/271), which provides the 'Global Activity' screen, is known to cause performance problems on large installations. This plugin is **disabled by default** . A status report on the progress of the performance issues with this plugin is available in this issue: [USGTRK-15](https://ecosystem.atlassian.net/browse/USGTRK-15?src=confmacro) - Jira project doesn't exist or you don't have permission to view it. .

* Your Confluence system administrator can enable the plugin, but please be aware of the possible impact upon your site's performance.

* The plugin is sometimes called '**Confluence Usage Tracking**'.

* If your Confluence site is clustered, the global activity information will not be available.


Tags: confluence-server

server
Could not load bootstrap from environment. Premature end of file.
Asked by ??????? ?????:

Hello

Confluence version 7.4.6

auto reboot server confluence doesnt start

Descriptions: Could not load bootstrap from environment  
Time: 2021-03-19 15:35:02

Level: fatal

Exception: BootstrapException: Unable to bootstrap application: Failed to parse config file: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.

log files from server:

<https://drive.google.com/file/d/1dtAzfMhZJIGpls6vgvVQkxV1xL4b1nx_/view?usp=sharing>


Answers:
author: Daniel Ebers
body: Hi [@??????? ?????](/t5/user/viewprofilepage/user-id/4312500)

I am not following by your last reply. Have you checked confluence.cfg.xml and it did not help, is this correct?

Please also review the basics of the server, for example if there is sufficient disk space available and permissions set right according to [installation guide](https://confluence.atlassian.com/doc/confluence-installation-guide-135681.html).

Is the error still coming up when you try to start Confluence? If so, is it the same error or do you meanwhile get another error message?

Please provide as many details as possible. Somebody from Community is then more likely being able to help.

Regards,  
Daniel


author: Pavel Junek
body: Hi [@??????? ?????](/t5/user/viewprofilepage/user-id/4312500),

Welcome to Atlassian community!

You can try see [this thread](https://community.atlassian.com/t5/Confluence-questions/Upgrade-Issue/qaq-p/1394872). There may be a problem with the file confluence.cfg.xml

* [How to Generate a New confluence.cfg.xml](https://confluence.atlassian.com/confkb/how-to-generate-a-new-confluence-cfg-xml-425461512.html)

Pavel

comments: author: ??????? ?????
body: It is [How to Generate a New confluence.cfg.xml](https://confluence.atlassian.com/confkb/how-to-generate-a-new-confluence-cfg-xml-425461512.html) good instraction but need to add to configuration strings:

\<property name="hibernate.connection.password"\>db_password\</property\>  
\<property name="hibernate.connection.url"\>jdbc:postgresql://localhost:5432/confluencedatabasename\</property\>  
\<property name="hibernate.connection.username"\>yourDBuser\</property\>


Tags: confluence-server

server
Confluence page attachment
Asked by Shweta Katti:

Hi,

I'm trying to attach 3 pdf docs of sizes 16, 14, 10 m.b on Confluence Page...I don't know does it take long time to be uploaded?

Regards,

Shweta.K


Answers:
author: Fabienne Gerhard
body: Hi [@Shweta Katti](/t5/user/viewprofilepage/user-id/4277209)

the file size should not be the problem - do you have any special characters in your file name? On [documentation site](https://support.atlassian.com/confluence-cloud/docs/upload-a-file/) Atlassian gives a note to avoid using special characters.

All in all using smaller sized pdfs could also be good in Free plan because of the limited [storage plan of 2GB](https://support.atlassian.com/confluence-cloud/docs/learn-about-confluence-cloud-plans/). Is it possible you already reached?

comments: author: Shweta Katti
body: Hey Fabienne,

The pdfs got uploaded then in a while.

Thanks for your help anyways?

Regards,

Shweta.K


Tags: cloud

confluence-cloud
Copy page doesn't have option "include attached files and images"
Asked by ? ??:

In <https://confluence.atlassian.com/doc/copy-a-page-139013.html> shows the option "include attached files and images".

But my confluence does not have that option.![image.png](/t5/image/serverpage/image-id/135096i5FD0A038419EB19B/image-size/large?v=v2&px=999 "image.png")

How can I copy images when copying page?


Answers:
author: Vero Rivas
body: Hi [@? ??](/t5/user/viewprofilepage/user-id/4312367)

Make sure you have the permissions, because on that page there is a section for permissions

<https://confluence.atlassian.com/doc/space-permissions-overview-139521.html>

If you are missing the permissions, maybe that's the great little detail

Cheers

comments: author: ? ??
body: I checked it again, and copying of image is always on by default! I added all permissions for testing, but there was no option for copying attachments when trying copying page.

<br />

My problem was actually the copied image was broken in copied page. At that time, confluence server is very unstable. I think this resulted in broken copy of image. I tried copy again, now it works well.

Thank you for replying!


Tags: cloud

confluence-cloud