Some sites from one Liferay instance are seen in all other Liferay instanesSome sites from one Liferay instance are seen in all other Liferay instaneshttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=913012392024-03-28T16:21:01Z2024-03-28T16:21:01ZRE: Some sites from one Liferay instance are seen in all other Liferay instOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=922649942017-07-26T07:09:56Z2017-07-26T07:09:56Z<div class="quote-title">Alla Sapozhnikova:</div><blockquote>What is the sequence of events when restoring from backup? Can I use a clean Liferay installation, and then restore the database from the backup, and copy data files? Will this work?<br /><br />If I manage to restore the Liferay installation from the backup, what do I need to re-index? The whole suite?</blockquote><br /><br />This depends on your backup: To have a running Liferay installation, you'll need<br /><ul><li>The application server / web server with its configuration</li><li>Liferay's deployed code and plugins</li><li>Liferay's database (including the document library, in case that's stored in the file system - which is default)</li><li>all of your integrated systems</li><li>the search index</li></ul><br />I might have forgotten something - this is why it's nice to test the restore operation to a new server, as laid out above. Some people opt to not have a backup of their search index, instead they will reindex all after restore. When it takes prohibitively long to reindex, this is not an option. Otherwise it is. It's completely your choice.<br /><br />I have the principle that you're only allowed to call your "backup" a "Backup" if you've recently <em>demonstrated</em> that you can use this set of data to do a full restore of an operative server. What you need to restore totally depends on your installation. A starting point for Liferay is <a href="https://dev.liferay.com/discover/deployment/-/knowledge_base/7-0/backing-up-a-liferay-installation">in the documentation</a>Olaf Kock2017-07-26T07:09:56ZRE: Some sites from one Liferay instance are seen in all other Liferay instAlla Sapozhnikovahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=914490412017-07-05T12:56:29Z2017-07-05T12:56:29Z<div class="quote-title">Olaf Kock:</div><blockquote><br /><br />If this takes prohibitively long or seems like a big risk: Restore your backup to a new system and try it out there. Positive side effect: You've demonstrated that you're able to restore from backup.</blockquote><br />I re-indexed organizations through the Liferay GUI. It did not help. I don't think there is an option to re-index sites, is there?<br /><br />What is the sequence of events when restoring from backup? Can I use a clean Liferay installation, and then restore the database from the backup, and copy data files? Will this work?<br /><br />If I manage to restore the iLifeary installation from the backup, whot do I need to re-index? The whole suite?<br /><br />Thank you very much for your help.Alla Sapozhnikova2017-07-05T12:56:29ZRE: Some sites from one Liferay instance are seen in all other Liferay instOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=914423672017-07-05T09:22:08Z2017-07-05T09:22:08Z<div class="quote-title">Alla Sapozhnikova:</div><blockquote>Do you think any re-indexing will help?</blockquote><br /><br />It'll be quicker to just try than to argue about it. (Read: I don't know)<br />If this takes prohibitively long or seems like a big risk: Restore your backup to a new system and try it out there. Positive side effect: You've demonstrated that you're able to restore from backup.Olaf Kock2017-07-05T09:22:08ZRE: Some sites from one Liferay instance are seen in all other Liferay instAlla Sapozhnikovahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=913076652017-06-30T19:53:49Z2017-06-30T19:53:49ZThe site's company id does not match the user's company id and yet, I can see some sites from a different instance(company id) when trying to assign a site.<br /><br />No manual changes to the database were made. Do you think any re-indexing will help?<br /><br />Thank you.<br />AllaAlla Sapozhnikova2017-06-30T19:53:49ZRE: Some sites from one Liferay instance are seen in all other Liferay instOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=913061412017-06-30T19:35:47Z2017-06-30T19:35:47Z<div class="quote-title">Alla Sapozhnikova:</div><blockquote>Liferay version is 6.2<br /><br />Maybe it's a bug. I have hundreds of sites. And the sites I am asking about don't seem to be any different than other. So, I don't know how to reproduce the bug in a clean instance.</blockquote><br /><br />Which exact version of Liferay 6.2?<br /><br />A site has exactly one companyId (more is not possible in the D<img alt="emoticon" src="@theme_images_path@/emoticons/cool.gif" > and that must match the companyId for the user. (CompanyId is the technical term for the id of an instance). If there is anything spilling over to another instance, I can only imagine this to be coming from either some wrong reference (e.g. through manually changing the database) or a corrupt fulltext-index (I'm not sure if some aspect of searching for sites is done with index help, searching for users is using the index)Olaf Kock2017-06-30T19:35:47ZRE: Some sites from one Liferay instance are seen in all other Liferay instAlla Sapozhnikovahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=913053452017-06-30T17:17:34Z2017-06-30T17:17:34ZLiferay version is 6.2<br /><br />Maybe it's a bug. I have hundreds of sites. And the sites I am asking about don't seem to be any different than other. So, I don't know how to reproduce the bug in a clean instance.Alla Sapozhnikova2017-06-30T17:17:34ZRE: Some sites from one Liferay instance are seen in all other Liferay instChristoph Rabelhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=913046812017-06-30T17:10:47Z2017-06-30T17:10:47ZFeels like a bug to me.<br />Liferay version?Christoph Rabel2017-06-30T17:10:47ZSome sites from one Liferay instance are seen in all other Liferay instanesAlla Sapozhnikovahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=913012382017-06-30T17:04:40Z2017-06-30T17:04:40ZHi there,<br /><br />I