Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,466,075
Community Members
 
Community Events
176
Community Groups

confluence popular page shows nothing

Edited

confluence version:7.17.4

 

we add popular macro on home page , when we click popular page, show no updating , we test create some pages and stars some page, nothing changes , can someone help this?

 

popular page shows below :

 

热门

  • 现在暂时还没有什么更新。。。

    现在有些安静,只要你的团队开始写文档,最受欢迎的文章和文件都会显示在这里~

    让我们一起开始这场文档狂欢吧~

     

     

     


    system plugin( Confluence Usage Stats )  is enabled, still null in popular page

    Confluence Usage Stats version 5.0.0, don't know why i can't answer or reply ...

     

     

2 answers

0 votes
Rilwan Ahmed Community Leader Jul 25, 2022

Hi @lynne ,

Welcome to the community !!

Popular macro is part of system plugin "Confluence Usage Stats". Can you check if the plugin and the modules are enabled ?
(Admin settings --> Manage Add-ons --> select System plugins)

Use "Space Key" and not the "Space Name" in the macro settings. 

Please note: Space Keys are case-sensitive. Separate each item with a comma. If not specified, the current space is searched. 
 

Also read about the macro for more details in https://ecosystem.atlassian.net/wiki/spaces/USGTRK/overview 

system plugin( Confluence Usage Stats )  is enabled, still null in popular page

Confluence Usage Stats version 5.0.0

Rilwan Ahmed Community Leader Jul 26, 2022

Hi @lynne ,

Can you please share the properties of the popular content macro (click edit page nad edit on the macro)

where can i find macro settings ? should i install confluence usage tracking plugin first ?  i see system plugins : confluence usage stats is already installed .

 

thanks

Rilwan Ahmed Community Leader Jul 27, 2022

Hi @lynne 

Click "Edit" on the page where macro is used, and then click on macro. This will display edit option for macro.
image.png 

Click on "Edit" , all required values to Restrict to these Spaces (Use "Space Key" and not the "Space Name"), Include these Content Types Only,  Restrict to these Events

cannot find macro settings, click the page edit  will into its edit page。。。。

 

Rilwan Ahmed Community Leader Jul 27, 2022

Seems you have not added the macro to the page. 

this is a confluence global homepage ,  not a user page, in user page we can add a popular macro to show popular pages , but in homepage  seemly  we don't set anything, ,  seems global settings page returns 404 , is there any problem with our confluence ?

 

 

seems everything is fine , but global popular page still not seen  , we tried restart confluence 、 reindex  , popular page seems broken , stuck loading  、pending in circle

 

in confluence log flush errors  like below : 

 

2022-07-29 00:07:36,574 ERROR [Caesium-1-2] [impl.schedule.caesium.JobRunnerWrapper] runJob Scheduled job com.atlassian.confluence.plugins.confluence-edge-index:flushEdgeIndexQueueJob#flushEdgeIndexQueue failed to run

com.atlassian.bonnie.LuceneException: org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only

at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:461)

at com.atlassian.confluence.internal.index.lucene.LuceneSearchIndexAccessor.withBatchUpdate(LuceneSearchIndexAccessor.java:152)

at com.atlassian.confluence.search.v2.DelegatingSearchIndexAccessor.withBatchUpdate(DelegatingSearchIndexAccessor.java:49)

at com.atlassian.confluence.plugins.edgeindex.job.EdgeIndexQueueFlusher.runJob(EdgeIndexQueueFlusher.java:33)

at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.doRunJob(JobRunnerWrapper.java:117)

at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.lambda$runJob$0(JobRunnerWrapper.java:87)

at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:84)

at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:68)

at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.runJob(JobRunnerWrapper.java:87)

at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:134)

at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:106)

at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:90)

at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:464)

at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeLocalJob(CaesiumSchedulerService.java:431)

at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:409)

at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:66)

at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:60)

at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:35)

at java.base/java.lang.Thread.run(Thread.java:834)

Caused by: org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only

Rilwan Ahmed Community Leader Jul 28, 2022

Hi @lynne ,

1. Regarding dashboard and popular content


You can modify the dashboard page as mentioned in https://confluence.atlassian.com/doc/configuring-the-site-home-page-138140.html

i.e create a page with required contents/macros and add to site home page as mentioned in above link

Note about permissions:
Before changing the site homepage you should check that the default 'confluence-users' or 'users' groups have permissions to view the space the page was created in, and that the page itself is not restricted to particular people or groups. 

If your site is public, you'll also need to make sure anonymous users have permissions to view the space, otherwise anonymous users will be directed to the dashboard instead.

2. Regarding the errors in log

This seems to be an issue with confluence 7.17 version. As a workaround, you need to rebuild index from scratch
https://jira.atlassian.com/browse/CONFSERVER-79529 

finally solved according to this:https://confluence.atlassian.com/confkb/popular-content-missing-after-reindexing-from-scratch-1031831625.html

 

1)shutdown confluence

2)clear plugin cache dirs

3)backup index dirs and delete index/edge contents (for we just can't see popular page ,while others functions all well )

4)restart confluence

 

confluence worked to rebuild edge pages ,and confluence not showing errors like:runJob Scheduled job com.atlassian.confluence.plugins.confluence-edge-index:flushEdgeIndexQueueJob#flushEdgeIndexQueue, and finally global popular page work well , thanks all.

Like Rilwan Ahmed likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events