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 ...
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @lynne ,
Can you please share the properties of the popular content macro (click edit page nad edit on the macro)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @lynne
Click "Edit" on the page where macro is used, and then click on macro. This will display edit option for macro.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Seems you have not added the macro to the page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @lynne ,
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.