1

We are upgrade the Sitecore from 8.2 to 10.4. We have followed below steps to perform the database upgrade

1. Install Sitecore vanilla 10.4
2. Restore the 8.2 database
3. Run the database scripts Core, master and web database.
4. Pointed the new database in the vanila connectionstring.config
5. On the Sitecore Launchpad, open the Control Panel, in the Database section, click Clean up databases, select all the
databases, and then click Clean.
6. Run the "**Sitecore.UpdateApp.exe clean**"

The issue is the Sitecore launchpad and all the icons image is different is competitively vanilla instance. Attached two image for the reference.

Vanilla Sitecore 10.4 Instance

enter image description here

After upgrade

enter image description here

Still, icons referring to old paths

enter image description here

Is there any other action need to perform, Kindly advise.

Still see the 8.2 refernce in launchpad after run the upgrade scripts, clean database, Sitecore.UpdateApp.exe clean command

enter image description here

Updates

Database query

enter image description here

4
  • Are you copying any files from your solution over the top of the vanilla site? Best bet is to inspect the two dashboards and confirm what class or css is causing the header to be red. You can them inspect old vs new css files to see why it is not being applied. This way you can then investigate why that change not applied Commented Oct 25 at 6:58
  • Is it something that can help. buoctrenmay.com/2022/11/21/… Commented Oct 25 at 7:04
  • I have changed only connection string of the core, master, security and web database. Commented Oct 25 at 7:05
  • Please see updated answer Commented Oct 25 at 17:15

3 Answers 3

0

As described in this article, they are having the same issue, you can download and install this package.

https://gitlab.com/viet.hoang/workshop/-/blob/master/Sitecore%2010.2%20item%20package/Default%20Launchpad%20Item-1.0.zip

And check if this resolves your issue.

Hope this helps.

4
  • This package works only for the "Sitecore Experience Platform" text. Still the icons is refereeing old. Commented Oct 25 at 8:46
  • Ok so you mean the it resolve the red header? right Commented Oct 25 at 9:12
  • Yes, that is resolved Commented Oct 25 at 10:08
  • launchpad icon still referring old one. Commented Oct 25 at 14:44
0

Check out this blog post as ut seems to have similar issue to what you are describing:

https://buoctrenmay.com/2022/11/21/sitecore-10-2-0-after-upgrading-from-sitecore-9-0-0-databases-the-launchpad-looks-slight-different-with-fresh-one/

Root cause they identified is:

/sitecore/client/Applications/Launchpad” having old presentation details

UPDATE 25/10/24

The only reason you can be seeing the old icons, is if you failed to complete step (6) in your list

  1. Run the "Sitecore.UpdateApp.exe clean"

In Sitecore 10.3, the data for all the important sitecore item is read from Items AS Resources (IAR) files. The cleaning process mentioned above deletes all the information from the various DBs, that Sitecore wants to read from the IAR files.

If this step is not completed correctly, the SQL data take priority over the IAR files and overwrites it.

If you take a vanilla Sitecore instance, then run the following SQL you should get zero results returned:

SELECT * FROM [Your_Sitecore_core].[dbo].[SharedFields]
WHERE ItemId = 'F20C2C6D-ACFC-40BA-B560-A8DF0803A85E'

If you then edit that same field via the Sitecore UI, then rerun the query, you will see results are returned.


To test this out, run the above query and see if anything is returned. If so, then the old SQL values are overwriting the IAR values. Run this query:

DELETE FROM [Your_Sitecore_core].[dbo].[SharedFields]
WHERE ItemId = 'F20C2C6D-ACFC-40BA-B560-A8DF0803A85E'

If you check your launchpad, you should then see the correct icon. Meaning that the icon is being read from IAR files.

In summary, in order to correct your installation, you wil need to try rerunning the Sitecore.UpdateApp.exe for the CORE database.

9
  • already ran multiple time the Sitecore.UpdateApp.exe clean , core: 0 item(s) it is coming in cmd . Commented Oct 28 at 5:25
  • When you run the select query above, does it return any result? Commented Oct 28 at 7:57
  • yes, It is return, then i ran the delete query, followed by run the clean cmd. Commented Oct 28 at 12:16
  • After running the DELETE query. The SELECT query should then return zero result. If you then recycle the app pool for the CM instance, then the icon should revert to the correct icon. The information for the incorrect icon is coming from that field, so if the query returns zero result, then there is nowhere for the data to come from. It must come from IAR Commented Oct 28 at 13:47
  • updated the question Commented Oct 28 at 15:54
0

In order to fix the issue for launch pad icon, you will need to go the core database and remove the items from there. You can run below query to get those details.

SELECT *
  FROM [Core_DB_Name].[dbo].[SharedFields]
  Where ItemId = '852A679B-FA00-4A6B-BF7A-CBEEDBC576BE' and FieldId = 'D25B56D4-23B6-4462-BE25-B6A6D7F38E13'

In the above query, FieldId is the id of the icon field in the core database. You can replace the ItemID with the ids of the item in the launchpad.

enter image description here

For all the items in the launchpad, you will need to delete those items from the Items and SharedFields table in the core database by running below query.

Delete from [Core_DB_Name].[dbo].[Items]
Where ID = '852A679B-FA00-4A6B-BF7A-CBEEDBC576BE'

Delete from [Core_DB_Name].[dbo].[SharedFields]
Where ItemId = '852A679B-FA00-4A6B-BF7A-CBEEDBC576BE'

Once the delete operation is performed for all the items, you can recycle the app pool. Thereafter, Sitecore will render the icons from the resource files located under the Data\items\core folder in the UpdateAppTool.

Note: The items in the launchpad might got have skipped on UpdateApp tool in case there is any modification made to any of the fields inside them. You can check for them inside the Data\logs folder of the UpdateApp.

Update:

Can you try running below snippet in Powershell to check whether resource file for the launchpad items exist and is not overridden by sql.

$item = Get-Item -Path core: -Query "/sitecore/client/Applications/Launchpad/PageSettings/Buttons/Marketing/Forms"
$aItemLocation = $item.Database.DataManager.DataSource.GetItemLocations($item.ID)

#resource file exist
[Sitecore.Data.DataProviders.ItemLocations.AggregatedItemLocationsExtensions]::IsResource($aItemLocation)
# check if the resource file is not getting overridden from sql.
[Sitecore.Data.DataProviders.ItemLocations.AggregatedItemLocationsExtensions]::IsOverridden($aItemLocation)

Hope this helps!!! Let me know in case you have any queries.

10
  • hi, here is not only experience analytics icons all the icons in the sitecore lunchpad. Commented Oct 28 at 5:20
  • @Rameshkumar Did you tried to perform the step for one item in the launchpad to delete the items from Items and 'SharedFields` table as mentioned above. Did that worked?
    – ckhanna
    Commented Oct 28 at 6:31
  • yes, i have perform the delete query. But that is not working as expected. Commented Oct 28 at 6:39
  • @Rameshkumar Can you try running above powershell snippet for the items on launchpad and check whether the resource file exist and is not overridden by sql. Also I hope you restarted app pool after deleting items from database.
    – ckhanna
    Commented Oct 28 at 8:32
  • updated the question Commented Oct 28 at 15:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.