掲示板
Only random assets are shown
7年前 に Ra Jo Ga Cha によって更新されました。
Only random assets are shown
Junior Member 投稿: 77 参加年月日: 17/01/19 最新の投稿
This must be a problem with my imported database but I can't find significant difference between shown contents and the hidden ones.
In Content -> Web Content in admin interface it only counts 41 contents from the thousands that are, but additionally it's only showing eight of them where pagination is set to 20 elements per page, 3 elements in the first page, 4 elements in the second, 1 in the third. It's pretty rare. Moreover, some of them are repeated...
In asset-publisher portlet, it just shows 9 contents, a pair of them coincide with the contents shown in admin menus, not the others. But again, that's only 9 contents from the thousands that are in the database. I'm not getting any errors in the logs, what can be happening?
In Content -> Web Content in admin interface it only counts 41 contents from the thousands that are, but additionally it's only showing eight of them where pagination is set to 20 elements per page, 3 elements in the first page, 4 elements in the second, 1 in the third. It's pretty rare. Moreover, some of them are repeated...
In asset-publisher portlet, it just shows 9 contents, a pair of them coincide with the contents shown in admin menus, not the others. But again, that's only 9 contents from the thousands that are in the database. I'm not getting any errors in the logs, what can be happening?
7年前 に Olaf Kock によって更新されました。
RE: Only random assets are shown
Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿Ra Jo Ga Cha:
This must be a problem with my imported database but I can't find significant difference between shown contents and the hidden ones.
AssetPublisher searches relevant content through the search engine - if you've imported your database, it might be significantly different from what is indexed. Trigger a full reindex in the server administration and try again.
7年前 に Ra Jo Ga Cha によって更新されました。
RE: Only random assets are shown
Junior Member 投稿: 77 参加年月日: 17/01/19 最新の投稿
I previously tried it without results. Now I tried again and nothing again, but I noticed it only takes some seconds, and I imagine that this huge databases should keep a while to reindex everything. Maybe reindex process isn't working correctly?
7年前 に Olaf Kock によって更新されました。
RE: Only random assets are shown
Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
Maybe.
If you need help to analyze this, it would take some more information though. E.g. do you see anything suspicious in the log file? Can you see all the files in the document library? Can you also download them from the document library? It's possible that you brought over the database, but not the (by default) file system based document library storage.
If you need help to analyze this, it would take some more information though. E.g. do you see anything suspicious in the log file? Can you see all the files in the document library? Can you also download them from the document library? It's possible that you brought over the database, but not the (by default) file system based document library storage.
7年前 に Ra Jo Ga Cha によって更新されました。
RE: Only random assets are shown
Junior Member 投稿: 77 参加年月日: 17/01/19 最新の投稿
The logs, at its default level, aren't showing anything about this. In the document library I can see my documents when I navigate through folders (in first, "Folders" section), but in the "Documents" section (second one) only one file is showing. As I am able to see all the others into its folders in the first section, I thought it would be the normal behavior. And I can download them.
What do you mean by "but not the file file system based document library storage"? Data folder? It is there too.
Edit: One more question. Is there any way to launch the reindex by console commands?
Edit2: Just checked index files (/opt/liferay/data/lucene/xxxxx) and they haven't been modified for two weeks, so reindexing hasn't worked, here I think there will be the problem.
What do you mean by "but not the file file system based document library storage"? Data folder? It is there too.
Edit: One more question. Is there any way to launch the reindex by console commands?
Edit2: Just checked index files (/opt/liferay/data/lucene/xxxxx) and they haven't been modified for two weeks, so reindexing hasn't worked, here I think there will be the problem.
7年前 に Olaf Kock によって更新されました。
RE: Only random assets are shown
Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿Ra Jo Ga Cha:
Edit2: Just checked index files (/opt/liferay/data/lucene/xxxxx) and they haven't been modified for two weeks, so reindexing hasn't worked, here I think there will be the problem.
Sounds like you're on 6.x - a full spec of your current version would be good as well.
Also, make sure that your ${liferay.home} also points at /opt/liferay - check the various portal-*.properties (especially portal-setup-wizard.properties is known to explicitly set it). Maybe you're running from a different directory (where you might not have write access, thus indexing is quick) than you think. On the other hand, you're not getting anything logged - so this is a quite really wild guess...
7年前 に Ra Jo Ga Cha によって更新されました。
RE: Only random assets are shown (回答)
Junior Member 投稿: 77 参加年月日: 17/01/19 最新の投稿
My apologies, you're right, it was an intended configuration (not mine, this is an update from other user's instance).
The modified file was
/opt/liferay/osgi/configs/com.liferay.portal.search.configuration.IndexStatusManagerConfiguration.cfg
It may help anybody in a similar trouble or searching for how to shut down reindexing.
A lot of thanks!
PS: This is a 7.0 instance coming from 6.1 to 6.2 upgrade process.
The modified file was
/opt/liferay/osgi/configs/com.liferay.portal.search.configuration.IndexStatusManagerConfiguration.cfg
It may help anybody in a similar trouble or searching for how to shut down reindexing.
A lot of thanks!
PS: This is a 7.0 instance coming from 6.1 to 6.2 upgrade process.