Citrix StoreFront – Troubleshooting

In case of replication issues on Citrix StoreFront, first check if following two local service accounts are members of local administrators group on every StoreFront server.

NT SERVICE\CitrixClusterService
NT SERVICE\CitrixConfigurationReplication

If a new StoreFront server has been added to SF server group successfully, but the replication can’t be started, it could be the main cause.

Other StoreFront troubleshooting resources:

Citrix KB CTX207518
Troubleshoot Issues that Arise When Joining StoreFront Server to a Group
http://support.citrix.com/article/CTX207518

Citrix KB CTX206872
Troubleshooting StoreFront Propagation
http://support.citrix.com/article/CTX206872

Citrix StoreFront – Reset SF to the factory default state

How to reset your StoreFront (version 3.6 in this example) to the factory default state

Citrix KB
How to Reset StoreFront to the Initial Factory Settings
http://support.citrix.com/article/CTX200239

  1. Open PowerShell console as an administrator
  2. Go to folder:
    C:\Program Files\Citrix\Receiver StoreFront\Scripts
  3. Import required modules using this command:
     C:\Program Files\Citrix\Receiver StoreFront\Scripts>. .\ImportModules.ps1
  4. Reset SF config using this command:
     Clear-DSConfiguration

     

Citrix StoreFront – Export and import configuration

How to export and import StoreFront configuration

Citrix documentation for SF 3.6
https://docs.citrix.com/en-us/storefront/3-6/export-import-storefront-config.html

If you use Windows 2008 R2 for StoreFront, you need to upgrade PowerShell to version 3.0 or newer.
Export-STFConfiguration cmdlet does not work with PowerShell 2.0 on Windows 2008 R2 causing error:

An error occurred configuring StoreFront diagnostics. Unable to find type [PSCredential]: make sure that the assembly containing this type is loaded.

With PowerShell 3.0 it works fine.

To export/import SF configuration:

Open PowerShell as an administrator and use following commads:
1. load required modules

$SDKModules = 'C:\Program Files\Citrix\Receiver StoreFront\PowerShellSDK\Modules\Citrix.StoreFront'
Import-Module "$SDKModules\Citrix.StoreFront.psd1" -verbose
Import-Module "$SDKModules.Authentication\Citrix.StoreFront.Authentication.psd1" -verbose
Import-Module "$SDKModules.Roaming\Citrix.StoreFront.Roaming.psd1" -verbose
Import-Module "$SDKModules.Stores\Citrix.StoreFront.Stores.psd1" -verbose
Import-Module "$SDKModules.WebReceiver\Citrix.StoreFront.WebReceiver.psd1" -verbose
Import-Module "$SDKModules.SubscriptionsStore\Citrix.StoreFront.SubscriptionsStore.psd1" -verbose

2. export configuration

Export-STFConfiguration -targetFolder "c:\sfbkp\" -zipFileName "sfbackup01" -NoEncryption

3. import configuration

Import-STFConfiguration -configurationZip "c:\sfbkp\sfbackup01.zip" -HostBaseUrl http://sfront.yourdomain.net

These commands allow to export and import StoreFront configuration on a single server, or on a master SF server within of single group of StoreFront servers.
For more examples please check Citrix documentation under a link at the begining of this post.