The indexThe index

warm qing February 3, 2020

 

The newly created page cannot be searched. What is the reason

confluence问题1.jpg

4 answers

0 votes
Ollie Guan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 8, 2020

Hello @warm qing ,

Join your city’s online group to keep the conversation flowing.

https://ace.atlassian.com/shanghai/

https://ace.atlassian.com/beijing/

https://ace.atlassian.com/hang-zhou/

https://ace.atlassian.com/shen-zhen/

https://ace.atlassian.com/guang-zhou/

Feel free to add my Wechat(guanqun1982) and join ACE in China.

0 votes
warm qing February 11, 2020

confluence问题3.jpg

warm qing February 11, 2020

An error occurred while searching the space.

0 votes
warm qing February 11, 2020

confluence问题2.jpg

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 11, 2020

Hello,

Happy to help you with this problem. 

Have you been able to find the page lately after your site had a chance to re-index?

If not, I would recommend that you Configure the Indexing Language to make sure that Confluence can index Chinese languages. After that, you can try to rebuild the content indices from scratch and then see if you're able to find the page.

If there's still an issue after that, you'll want to check your Confluence server logs to see if there is an issue preventing indexing from running. 

Let me know if you have any trouble.

Shannon

warm qing February 11, 2020

Configure the Indexing Language   
You don't see this optio

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 12, 2020

Hello,

Thank you for your follow-up. You might not be able to see the menu if you aren't the system administrator. 

But with all of the problems you're running into, I would still recommend that you try rebuilding the index from scratch.

Again, you can find the steps here:

You'll need to completely stop Confluence and start it after the procedure, so be aware of that.

Let me know if you have any trouble.

Regards,

Shannon

warm qing February 12, 2020

i'm administrator 

 

How to Rebuild the Content Indexes From Scratch on Confluence Server

We've done this before

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 13, 2020

Hello,

If you've not run the content reindex from scratch within the last week, I would recommend you do it again.

Following that, you need to check your Confluence server logs to see if there is an issue preventing indexing from running. You can run a reindex right before and tail the logs when it's rebuilding so we can see the error.

Shannon

warm qing February 13, 2020

TypeLevelProblemLast OccurrenceMatches

 WARNIndex not working due to 'journal state store is corrupt' error1 minute ago8458 matches, last match on line 51659
 ERRORCannot Create XML Backup Due to ObjectNotFoundException No Row with Given Identifier2 hours ago41 matches, last match on line 50693
 WARNDocument Contents Are Not Searchable15 hours ago63 matches, last match on line 46486
 WARNWhen inserting an image on a page, a view file macro is used instead5 days ago1 match on line 650

Currently scanning: atlassian-confluence.log

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 13, 2020

Hello,

The errors you're encountering there are all asking you to reindex the content indices from scratch as a resolution, so I would recommend that you perform that reindex again right now. Make sure your Confluence server has been completely shut down, and then run the steps on the article that is linked in those error messages:

It appears that although you have done it before, it either wasn't recent enough or didn't completely reindex your server, so you need to try it again.

After that, please go to your Confluence Server log itself, do not use the log scanner. You will want to review the full stack traces manually when the reindex is being performed, and then you will be able to find any error messages specifically associated with your problem.

Regards,

Shannon

warm qing February 13, 2020

The current state is that reindexing is searchable, so every new document needs to be indexed, which is not normal.Where is the specific path of the service log?

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 13, 2020

Hello,

Reindexing will index every single document that is currently on the site. This is what you need to do to fix your issue. You will want to do this during maintenance hours, because it can take some time, especially for large instances. I'm not sure I understand your reply regarding every document needing to be indexed. Can you clarify that for me?

If you have a look at Working with Confluence Logs, you will find how to locate your server logs.

Regards,

Shannon 

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 14, 2020

Hi there,

I re-read your response from yesterday, and I think what you were saying is that you feel that every time you are adding a new document, you have to run re-index. This shouldn't be the case; Confluence indexes on its own regularly.

However, by triggering your full reindex, you'll be able to see in your error logs what is causing indexing not to complete.

I look forward to see your results from your reindex.

Regards,

Shannon

warm qing February 14, 2020

However, by triggering a full reindex, you will be able to see in the error log what caused the index to fail to complete.I look forward to seeing your results from your re-indexing.I don't know where to watch this?

My installation directory is under OPT

My data directory is under data

I am a Chinese, my personal English is not very good, is to use the translation, there may be some parts of the bad.Forgive me a lot

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 14, 2020

Hi there,

Thank you for following up. Per the article Working with Confluence logs.

You can follow the indexing by looking at your Confluence log. You will be able to find your Confluence log file using the information from that article which I am including below:

This section describes Confluence's default logging behavior, and assumes that you have not changed the destination of the logs. In order to unify logging across different application servers, Confluence uses the atlassian-confluence.log as its primary log, not the application server log.

  • When you start Confluence, log entries will be sent to the application server logs until Confluence has completed its initial bootstrap. Any log entries written to the console will be repeated into the log in the Confluence home directory as described below.
  • Once the initial startup sequence is complete, all logging will be to <confluence-home>/logs/atlassian-confluence.log. For example: c:/confluence/data/logs/atlassian-confluence.log.

Note that the default location is the Confluence home directory, not the application server's log file. The home directory is specified in <confluence-installation>/confluence/WEB-INF/classes/confluence-init.properties.

I hope that helps! 

Regards,

Shannon

warm qing February 14, 2020

Can I send the log email to you? The log content is too large

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 17, 2020

Hi there,

Unfortunately, it's not possible to send an entire log file via Community. I recommend pasting only the relevant stack trace, or you can paste it somewhere like Pastebin and its alternatives.

Let me know if you have any trouble!

Shannon

warm qing February 18, 2020
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 19, 2020

Thank you for providing that. Unfortunately, the stack trace you provided is from last Wednesday, but I asked you to reindex on Friday, so it doesn't appear to match up.  We want to make sure it's directly related to your issue.

Can you confirm that you did indeed reindex your entire site from scratch? What is the exact date and time that you restarted Confluence after the procedure?

When you look at your log files, make sure the timestamp on your stack trace matches that information.

Thank you for your help.

Shannon

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 19, 2020

Thank you so much for sharing those logs!

That does look like the right one, which leads me to this issue:

I noticed the same message here:

2020-02-15 17:34:03,134 WARN [http-nio-8090-exec-40] [confluence.impl.journal.DefaultJournalManager] enqueue Newly enqueued entry in journal [main_index] has an ID [546071] that should have been higher than the journal state store's most-recent-id [551924]. it is likely that this node's journal state store is corrupt.

There are a few different fixes there, which will depend entirely on your current environment.

Have a look at that and let me know if you have any trouble.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events