Giter Club home page Giter Club logo

sitecore-instance-manager's Introduction

Sitecore Instance Manager (SIM)

SIM is an open source tool for managing the local park of Sitecore instances. You can install, locate, maintain, reinstall or delete Sitecore products. It has API and plugin engine so you can extend it for any your need.

Download SIM as a ClickOnce app

Resources

  1. Release History
  2. Documentation
  3. Troubleshooting
  4. Developer Center
  5. Contact Us

Features

Global Features

  1. List Sitecore websites installed locally and their modules
  2. Install new Sitecore standalone product
  3. Install Sitecore modules and packages
  4. Download Sitecore products from https://dev.sitecore.net
  5. Back up Sitecore websites, and Restore them (available only for Sitecore 8.2 and earlier)
  6. Export Sitecore website and Import it on remote computer (available only for Sitecore 8.2 and earlier)
  7. Delete Sitecore websites
  8. Reinstall Sitecore websites
  9. Deploy Sitecore to Docker

Open in Browser

Open applications

  • Open Website folder
  • Open Visual Studio project (create project if missing)
  • Open web.config and other *.config files
  • Open showconfig.xml configuration
  • Open current log file in Dynamic Log Viewer
  • Open entire log files in Sitecore Log Analyzer

Change website

  • Start/Stop App Pool
  • Recycle App Pool
  • Kill w3wp.exe process
  • Change Framework version
  • Change Framework bitness

Solr index creation

  • SIM now includes Solr support.
    • For Sitecore 8.2, this is available as a Configuration Preset during the installation wizard.
    • For Sitecore 8.1, it is necessary to download the appropriate "Solr support package" from https://dev.sitecore.net/downloads, and to add it to SIM using the "Add Module" button on the "Modules list" screen during installation.
  • This supports Solr 4 and higher.
    • Note: For Solr 4.x, the default "collection1" is used as a template, and must be present. For Solr 5.x and higher, the configuration located at server\solr\configsets\data_driven_schema_configs is used, as it has the language support required to index non-English text.
  • This module automates the following tasks:
    • Activates all Solr config files, and deactivates matching Lucene config files (same name with "Lucene" replacing "Solr"), with the following exceptions:
      • Sitecore 8.2 Solr + IOC files are not enabled.
      • Lucene default configuration files Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.config and Sitecore.ContentSearch.Lucene.DefaultIndexConfiguration.Xdb.config are not disabled.
      • The unmatched configuration file Sitecore.Social.Lucene.Index.Analytics.Facebook.config is disabled as required.
    • Sets core name to instance name + index name (e.g. "sc82u0_sitecore_web_index")
    • Copies configuration from "collection1" for each new core.
    • Calls Sitecore schema update wizard ("Generate the Solr Schema.xml file") for each new core.
    • Calls Solr API to create each core/collection.
    • Indexes are left empty, but can be built from Control Panel/Indexing Manager.
    • Enables Solr term support, as described here.

Extra features

  • Install MongoDB in one click
  • Edit etc\hosts file
  • Batch operations with SQL databases
  • Predefined configurations (Enable MVC, Scaling ...)
  • Update Licenses - updating Sitecore license file in all installed Sitecore instances
  • Multi deletion - wizard for deleting multiple installed Sitecore instances at once
  • Search and delete resources - wizard for searching different types of resources and deleting specific or all of them
  • SCLA - Sitecore Log Analyzer for analyzing, grouping and navigating through logs entries
  • SSPG - Sitecore Support Package Generator for collecting detailed information about an instance
  • SCB - Sitecore Config Builder for outputing single summarized configuration file based on all configuration files
  • Install Solr - wizard for installing Solr instances compatible with different Sitecore versions
  • Publish Dialog - executing Sitecore publishing in application (available only for Sitecore 8.2 and earlier)

Prerequisites

SIM will only work:

  • on Windows 7+, or Windows Server 2008 R2+
  • with Administrator permissions
  • with direct Internet access (no proxy)
  • when IIS is pre-configured with all necessary features (check Sitecore installation guide for details)

For Sitecore 9.0 and later:

For Sitecore 7.5, 8.0, 8.1 and 8.2:

  • with local MongoDB instance pre-configured and running as a service
  • with local SQL Server 2012+ instance with sa user account with sysadmin permissions

Known Issues

Supported Products

  • Sitecore CMS 6.3 and later
  • All Sitecore modules

Some of Sitecore modules have special support for initial configuration:

  • Active Directory
  • Web Forms for Marketers
  • E-mail Campaign Manager

sitecore-instance-manager's People

Contributors

alenpelin avatar andreyfilchenkov avatar art-alexeyenko avatar brad-christie avatar codingdennis avatar dmitrykolinchuk avatar dsolovay avatar eldblom-zz avatar giardinor2i avatar gopigujjula avatar its-mash avatar ivansheyenko avatar jlbruno avatar kamjam01 avatar msgx avatar navancommits avatar romanchernyk avatar sc-spl avatar sshushliapin avatar valeriyleman avatar viacheslavafanasyev avatar zvirja avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sitecore-instance-manager's Issues

Enable Zip compression when exporting an instance

Current implementation uses zip just for packaging without any compression and there is no easy way to change it. We should add a setting that will allow controlling compression level parameter and use DotNetZip default value out of the box.

Feature Request: Add compatible modules filter

So for instance, if I choose to select Sitecore 8.0 rev.150223 (8.0 Update-2) in the instance details page then on the next page (modules list) there's an option to filter the modules which compatible with the selected Sitecore instance

For example only these specific versions is displayed

  • Email Experience Manager 3.0 rev. 150223 (Update-2)
  • Web Forms for Marketers 8.0 rev.150224 (Update-2)
  • Or any modules from the marketplace that's compatible with that specific version

Imagine nuget package dependencies but simpler

Move all SIM-generated configs to zzz folder

Currently some SIM-generated config files are created in App_Config\Include folder, and some in App_Config\Include\zzz which is not good as makes difficult to find all of them. So we need to move all the configs into zzz folder to make it consistent.

Cleanup and refactor code

Before releasing SIM as an open source product, we need first ensure that it meets the readability and code style criteria, and to replace some functionality with newly released Diagnostics Toolset.

  • restructure project into flat folder style 'src/SIM./SIM..csproj'
  • perform code cleanup to meet at least 90% Sitecore code style requirements
  • remove mshtml dependency
  • remove unused icons
  • remove generated GhostDoc xml comments
  • make icons reusable by different buttons and menus
  • merge separate plug-in projects into SIM.Tool.Windows
  • merge 'Kill All w3wp But This' and 'Recycle All But This' commands

Implement switching profiles

Implement switching profiles so that user can have a couple of different ones and choose them with split button in Home tab

[Import] Change "Wrong package for import" error message

Scenario:

  1. Install an instance
  2. Rename Website folder to MySite
  3. Update IIS to point to MySite folder
  4. Export the instance
  5. Delete the instance
  6. Import the instance

Actual Result:
Error message is shown:

Wrong package for import

Expected Result:
Error message is shown:

Wrong package for import. The package does not contain Website\web.config file

Make package installation interactive

Currently when the package is being installed, SIM commands to overwrite changes in each conflict situation when an item or a file exists both in a solution and in a package. This however may lead to quite unpleasant situations and SIM should carefully ask user what to do in such a situation - the same way as Sitecore does.

[Import] Add support of renamed Website folder

Scenario:

  1. Install an instance
  2. Rename Website folder to MySite
  3. Update IIS to point to MySite folder
  4. Export the instance
  5. Delete the instance
  6. Import the instance

Actual Result:
Error message is shown:

Wrong package for import

Expected Result:
The instance is imported.

Add support of high DPI screens

Add support of high DPI screens which means these work items:

  1. Make sure that all 16px and 32px icons have 24px and 48px versions for high DPI screens with 150% scaling mode (200% is not possible as icons library doesn't have 64px icons).
  2. Add the App/UI/HighDPI/Enabled advanced setting which will indicate high DPI mode enabled.
  3. Add the $sm and $lg aliases for 16px/24px and 32px/48px icons sizes depending on App/UI/HighDPI/Enabled advanced setting.

Add support of SOLR

Sitecore Solr becomes more and more popular so SIM should support it. We need to research what we can do here and implement the most important parts.

Memory utilities got broken during migration

During migration to GitHub the necessary executable files were lost and need to be recovered:

  1. Find the ManagedGcAwareDump_*.exe and ManagedArgsTracer.exe executable files
  2. Zip them and embed into SIM.Tool.Windows assembly
  3. Modify the button handlers so that they utilize ApplicationManager.GetEmbeddedApp method to retrieve them

Windows 10 App (1.4.0.192) installation issues

Version: 1.4.0.192
Revision: 151215
Label: MK-192

The latest QA build http://dl.Sitecore.net/updater/sim wouldn't install correctly:

   1 16:12:59,328 INFO  **********************************************************************
   1 16:12:59,341 INFO  **********************************************************************
   1 16:12:59,341 INFO  Sitecore Instance Manager started
   1 16:12:59,341 INFO  Version: 1.4.0.192
   1 16:12:59,341 INFO  Revision: 151215
   1 16:12:59,341 INFO  Label: MK-192
   1 16:12:59,383 INFO  Executable: C:\Users\Mark\AppData\Local\Apps\2.0\H4W8RQGA.EDK\3VD93WTN.64W\sim...tion_abafaebf7cc9a2b2_0001.0004_a8a03d6ecbc12056\SIM.Tool.exe
   1 16:12:59,383 INFO  Arguments: <NO ARGUMENTS>
   1 16:12:59,383 INFO  Directory: C:\Users\Mark\AppData\Local\Apps\2.0\H4W8RQGA.EDK\3VD93WTN.64W\sim...tion_abafaebf7cc9a2b2_0001.0004_a8a03d6ecbc12056
   1 16:12:59,383 INFO  **********************************************************************
   1 16:12:59,383 INFO  **********************************************************************
   1 16:12:59,383 DEBUG               -> Re-initializing pipelines
   1 16:12:59,424 DEBUG                  Pipelines RAW configuration: <pipelines><install title="Installing the {InstanceName} instance"><step><processor type="SIM.Pipelines.Install.CheckPackageIntegrity, SIM.Pipelines" title="Validating install package" /></step><step><processor type="SIM.Pipelines.Install.GrantPermissions, SIM.Pipelines" title="Granting permissions" /><processor type="SIM.Pipelines.Install.Extract, SIM.Pipelines" title="Extracting files"><processor type="SIM.Pipelines.Install.CopyLicense, SIM.Pipelines" title="Copying license" /><processor type="SIM.Pipelines.Install.SetupWebsite, SIM.Pipelines" title="Configuring IIS website" /><processor type="SIM.Pipelines.Install.UpdateWebConfig, SIM.Pipelines" title="Setting data folder" /></processor><processor type="SIM.Pipelines.Install.UpdateHosts, SIM.Pipelines" title="Updating hosts file" /></step><step><processor type="SIM.Pipelines.Install.MoveDatabases, SIM.Pipelines" vital="true" title="Moving database files" /></step><step><processor type="SIM.Pipelines.Install.AttachDatabases, SIM.Pipelines" title="Attaching databases" /></step><step><processor type="SIM.Pipelines.Install.Modules.InstallActions, SIM.Pipelines" param="archive" title="Modules: installing archive-based modules" /><processor type="SIM.Pipelines.Install.Modules.CopyAgentFiles, SIM.Pipelines" title="Modules: copying agent files"><processor type="SIM.Pipelines.Install.Modules.CopyPackages, SIM.Pipelines" title="Modules: copying packages"><processor type="SIM.Pipelines.Install.Modules.InstallActions, SIM.Pipelines" param="package|before" title="Modules: performing pre-install actions"><processor type="SIM.Pipelines.Install.Modules.StartInstance, SIM.Pipelines" title="Modules: starting instance"><processor type="SIM.Pipelines.Install.Modules.InstallPackages, SIM.Pipelines" title="Modules: installing packages"><processor type="SIM.Pipelines.Install.Modules.StartInstance, SIM.Pipelines" title="Modules: starting instance (again)"><processor type="SIM.Pipelines.Install.Modules.PerformPostStepActions, SIM.Pipelines" title="Modules: performing post-step actions"><processor type="SIM.Pipelines.Install.Modules.InstallActions, SIM.Pipelines" param="package|after" title="Modules: performing post-install actions"><processor type="SIM.Pipelines.Install.Modules.DeleteAgentPages, SIM.Pipelines" title="Modules: agent files" /></processor></processor></processor></processor></processor></processor></processor></processor></step></install><multipleDeletion title="Multiple deletion"><step><processor type="SIM.Pipelines.MultipleDeletion.MultipleDeletion, SIM.Pipelines" title="Deleting the selected instances" /></step></multipleDeletion><delete title="Deleting the {InstanceName} instance"><step><processor type="SIM.Pipelines.Delete.CollectData, SIM.Pipelines" title="Collecting data" /></step><step><processor type="SIM.Pipelines.Delete.DeleteRegistryKey, SIM.Pipelines" title="Deleting registry key" /><processor type="SIM.Pipelines.Delete.StopInstance, SIM.Pipelines" title="Stopping application" /><processor type="SIM.Pipelines.Delete.DeleteDataFolder, SIM.Pipelines" title="Deleting data folder" /><processor type="SIM.Pipelines.Delete.DeleteDatabases, SIM.Pipelines" title="Deleting databases" /><processor type="SIM.Pipelines.Delete.DeleteMongoDatabases, SIM.Pipelines" title="Deleting databases" /><processor type="SIM.Pipelines.Delete.DeleteWebsiteFolder, SIM.Pipelines" title="Deleting website folder" /></step><step><processor type="SIM.Pipelines.Delete.DeleteRootFolder, SIM.Pipelines" title="Deleting root folder" /></step><step><processor type="SIM.Pipelines.Delete.DeleteWebsite, SIM.Pipelines" title="Deleting website" /><processor type="SIM.Pipelines.Delete.UpdateHosts, SIM.Pipelines" title="Updating the hosts file" /></step></delete><reinstall title="Reinstalling the {InstanceName} instance"><step><processor type="SIM.Pipelines.Reinstall.CheckPackageIntegrity, SIM.Pipelines" title="Validating package" /></step><step><processor type="SIM.Pipelines.Reinstall.StopInstance, SIM.Pipelines" title="Stopping application" /><processor type="SIM.Pipelines.Reinstall.DeleteDataFolder, SIM.Pipelines" title="Deleting data folder" /><processor type="SIM.Pipelines.Reinstall.DeleteDatabases, SIM.Pipelines" title="Deleting databases" /><processor type="SIM.Pipelines.Reinstall.DeleteWebsite, SIM.Pipelines" title="Deleting IIS website" /><processor type="SIM.Pipelines.Reinstall.DeleteWebsiteFolder, SIM.Pipelines" title="Deleting website folder" /></step><step><processor type="SIM.Pipelines.Reinstall.DeleteRootFolder, SIM.Pipelines" title="Recreating root folder" /></step><step><processor type="SIM.Pipelines.Reinstall.Extract, SIM.Pipelines" title="Extracting files"><processor type="SIM.Pipelines.Reinstall.CopyLicense, SIM.Pipelines" title="Copying license" /><processor type="SIM.Pipelines.Reinstall.SetupWebsite, SIM.Pipelines" title="Configuring IIS website" /><processor type="SIM.Pipelines.Reinstall.UpdateWebConfig, SIM.Pipelines" title="Setting the data folder" /><processor type="SIM.Pipelines.Reinstall.DeleteTempFolder, SIM.Pipelines" title="Collecting garbage" /></processor></step><step><processor type="SIM.Pipelines.Reinstall.MoveDatabases, SIM.Pipelines" vital="true" title="Moving database files" /></step><step><processor type="SIM.Pipelines.Reinstall.AttachDatabases, SIM.Pipelines" title="Attaching databases" /></step></reinstall><installmodules title="Installing modules to the {InstanceName} instance"><processor type="SIM.Pipelines.InstallModules.InstallActions, SIM.Pipelines" param="archive" title="Installing archive-based modules" /><processor type="SIM.Pipelines.InstallModules.CopyAgentFiles, SIM.Pipelines" title="Copying agent files"><processor type="SIM.Pipelines.InstallModules.CopyPackages, SIM.Pipelines" title="Copying packages into Website folder"><processor type="SIM.Pipelines.InstallModules.InstallActions, SIM.Pipelines" param="package|before" title="Performing pre-install actions"><processor type="SIM.Pipelines.InstallModules.StartInstance, SIM.Pipelines" title="Starting the instance"><processor type="SIM.Pipelines.InstallModules.InstallPackages, SIM.Pipelines" title="Installing the packages"><processor type="SIM.Pipelines.InstallModules.StartInstance, SIM.Pipelines" title="Starting the instance (again)"><processor type="SIM.Pipelines.InstallModules.PerformPostStepActions, SIM.Pipelines" title="Performing post-step actions"><processor type="SIM.Pipelines.InstallModules.InstallActions, SIM.Pipelines" param="package|after" title="Performing post-install actions"><processor type="SIM.Pipelines.InstallModules.DeleteAgentPages, SIM.Pipelines" title="Deleting agent files" /></processor></processor></processor></processor></processor></processor></processor></processor></installmodules><backup title="Backing up the {InstanceName} instance"><processor type="SIM.Pipelines.Backup.BackupDatabases, SIM.Pipelines" title="Backing up databases" /><processor type="SIM.Pipelines.Backup.BackupMongoDatabases, SIM.Pipelines" title="Backing up MongoDB databases" /><processor type="SIM.Pipelines.Backup.BackupFiles, SIM.Pipelines" title="Backing up files" /></backup><restore title="Restoring the {InstanceName} instance"><processor type="SIM.Pipelines.Restore.RestoreDatabases, SIM.Pipelines" title="Restoring databases" /><processor type="SIM.Pipelines.Restore.RestoreMongoDatabases, SIM.Pipelines" title="Restoring MongoDB databases" /><processor type="SIM.Pipelines.Restore.DeleteFiles, SIM.Pipelines" title="Deleting files"><processor type="SIM.Pipelines.Restore.RestoreFiles, SIM.Pipelines" title="Restoring files" /></processor></restore><export title="Exporting the {InstanceName} instance"><step><processor type="SIM.Pipelines.Export.ExportDatabases, SIM.Pipelines" title="Exporting databases" /><processor type="SIM.Pipelines.Export.ExportMongoDatabases, SIM.Pipelines" title="Exporting MongoDB databases" /></step><step><processor type="SIM.Pipelines.Export.ExportFiles, SIM.Pipelines" title="Exporting files" /></step><step><processor type="SIM.Pipelines.Export.ExportSettings, SIM.Pipelines" title="Exporting settings" /></step><step><processor type="SIM.Pipelines.Export.ExportPostActions, SIM.Pipelines" title="Assembling zip package" /></step></export><import title="Importing instance"><processor type="SIM.Pipelines.Import.ImportInitialization, SIM.Pipelines" title="Initialization"><processor type="SIM.Pipelines.Import.ImportRestoreDatabases, SIM.Pipelines" title="Restore databases" /><processor type="SIM.Pipelines.Import.ImportRestoreMongoDatabases, SIM.Pipelines" title="Restore MongoDB databases" /><processor type="SIM.Pipelines.Import.ImportUnpackSolution, SIM.Pipelines" title="Unpack solution"><processor type="SIM.Pipelines.Import.UpdateConnectionStrings, SIM.Pipelines" title="Update connection strings" /><processor type="SIM.Pipelines.Import.UpdateDataFolder, SIM.Pipelines" title="Update data folder" /><processor type="SIM.Pipelines.Import.UpdateLicense, SIM.Pipelines" title="Update license" /></processor><processor type="SIM.Pipelines.Import.ImportRegisterWebsite, SIM.Pipelines" title="Update IIS metabase" /><processor type="SIM.Pipelines.Import.ImportHostNames, SIM.Pipelines" title="Update hosts file" /></processor></import><setup title="Configing application"><processor type="SIM.Tool.Windows.Pipelines.Setup.SetupProcessor, SIM.Tool.Windows" title="Configuring application" /><processor type="SIM.Tool.Windows.Pipelines.Agreement.AcceptAgreement, SIM.Tool.Windows" title="Saving accepted agreement" /></setup><agreement title="License agreement"><processor type="SIM.Tool.Windows.Pipelines.Agreement.AcceptAgreement, SIM.Tool.Windows" title="Saving accepted agreement" /></agreement><download title="Downloading Sitecore 6.x and 7.x"><processor type="SIM.Tool.Windows.Pipelines.Download.GetPackageFileNamesProcessor, SIM.Tool.Windows" title="Detecting file names of the packages"><processor type="SIM.Tool.Windows.Pipelines.Download.DownloadProcessor, SIM.Tool.Windows" title="Downloading packages" /></processor></download><download8 title="Downloading Sitecore 8.x"><processor type="SIM.Tool.Windows.Pipelines.Download8.Download8Processor, SIM.Tool.Windows" title="Downloading packages" /></download8></pipelines>
   1 16:12:59,520 DEBUG   149.08ms    -  Re-initializing pipelines
   1 16:13:00,499 DEBUG               -> Main window ctor
   1 16:13:00,499 DEBUG     0.91ms    -  Main window ctor
   1 16:13:00,499 DEBUG               -> Initialize profile manager
   1 16:13:00,513 DEBUG                  params mainWindow: object (SIM.Tool.Windows.MainWindow)
   1 16:13:00,568 DEBUG                  return True (System.Boolean)
   1 16:13:00,568 DEBUG    63.38ms    -  Initialize profile manager
   1 16:13:00,568 DEBUG               -> Initializing plugins
   1 16:13:00,568 DEBUG               -> -> Load enabled plugins
   1 16:13:00,568 DEBUG               -> -> -> IsSitecoreMachine
   1 16:13:00,665 DEBUG   101.95ms    -  -  -  IsSitecoreMachine
   1 16:13:00,665 DEBUG   111.55ms    -  -  Load enabled plugins
   1 16:13:00,665 DEBUG               -> -> Execute <init> processors for plugins
   1 16:13:00,665 DEBUG     0.68ms    -  -  Execute <init> processors for plugins
   1 16:13:00,665 DEBUG   113.78ms    -  Initializing plugins
   1 16:13:00,665 DEBUG               -> Delete temp folders
   1 16:13:00,665 DEBUG                  Caller: SIM.FileSystem.DirectoryProvider
   1 16:13:00,665 DEBUG                  return "Skipped"
   1 16:13:00,665 DEBUG     0.17ms    -  Delete temp folders
   1 16:13:00,665 INFO  App insights call
   1 16:13:00,665 DEBUG               App insights done
   1 16:13:00,665 DEBUG               -> Initializing main window
   1 16:13:00,665 DEBUG                  Caller: SIM.Tool.Windows.MainWindow
   1 16:13:00,665 DEBUG     4.47ms    -  Initializing main window
   1 16:13:00,678 INFO  Main window caused unhandled exception
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Mark\AppData\Roaming\Sitecore\Sitecore Instance Manager\Temp\SIM.Tool.Windows\App.xml'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

2 errors after installation

I have a problem with the SIM-tool. I opened the zip-file and ran the tool SIM.tool.exe in admin mode. It ran through the entire setup process. Afterwards i keep getting an error each time it opens up something (like a menu element). It produces another error each time i try to import the Sitecore insurecore8-solution.
A third issue is also that the SIM-tool asks me to open the log-folder but when i accept, it then just show the documents folder in Windows. I did however found the log files under appdata/roaming/sitecore and i have added a link to then below. Git did not allow me to upload text files even though it says it should.

The laptop i try to install on is a new HP Elitebook 840 (I7, 8GB ram) with Windows 8.1. It is a complete new OS installation and the only things installed, besides the OS, is MS Office, SQL Server Express and Visual Studio,

download package error

installation result

Logs: https://drive.google.com/file/d/0B970L_RfZ0yTTmZ3eXF6cEFHcVU/view?usp=sharing

If anyone is in the Stockholm region, i can show it live.

Dynamic Log Viewer reopens same file

When Sitecore restarts, it creates new log file and SIM should close old log file (opened in Dynamic Log Viewer) and open new log file instead. However it was noticed that at least occasionally SIM reopens same old file, so we need to research the reason of that and fix.

Configuration - Sitecore 8 - Development - Initialize Speed Booster.zip and latest EXM versions

The EXM UI uses dictionary, with the current Initialize Speed Booster you cannot correctly work with EXM UI.
Example EXM cannot detect assigned Default list so you cannot send a message due to validation warnings.
Problem part:

 <!-- Removing the whole getTranslation pipeline and re-adding empty one to get rid of the errors in logs -->
    <getTranslation>
        <patch:delete/>
    </getTranslation>
    <getTranslation />

Please remove it or make it optional.

Remove log4net from Core

Refactor the system by removing log4net from Core and replacing SIM.Log with Sitecore.Diagnostics.Logging. Work items:

  1. Ensure that Sitecore.Diagnostics.Logging has everything necessary to fulfill replacement
  2. Remove SIM.Log
  3. Remove log4net from all projects excepting SIM.Tool.Base
  4. Add Sitecore.Diagnostics.Logging dependency into all projects
  5. Update code as it has slightly different API and adjust namespaces
  6. Implement LogProvider in SIM.Tool.Base and initialize Sitecore.Diagnostics.Logging with it

"Install MongoDB" button doesn't work

Have just Installed SIM 1.4 Update-1. Clicked "Install MongoDB" button. Got exception and following stuff in log file:

1 15:07:50,322 INFO **********************************************************************
1 15:07:50,322 INFO **********************************************************************
1 15:07:50,322 INFO Sitecore Instance Manager started
1 15:07:50,322 INFO Version: 1.4.0.144
1 15:07:50,322 INFO Revison: 150921
1 15:07:50,322 INFO Label: Update-1
1 15:07:50,322 INFO Executable: C:\ibu\tools\SIM\SIM.Tool.exe
1 15:07:50,323 INFO Arguments:
1 15:07:50,323 INFO Directory: C:\ibu\tools\SIM
1 15:07:50,323 INFO **********************************************************************
1 15:07:50,323 INFO **********************************************************************
1 15:07:50,547 WARN The profile is invalid
System.NullReferenceException: Object reference not set to an instance of an object.
at SIM.Tool.Base.Profiles.ProfileManager.get_IsValid()
1 15:07:50,684 INFO Wizard pipeline 'setup' starts
1 15:07:53,846 WARN The SIM.Tool.Windows.UserControls.ConfirmStepUserControl control does not implement IWizardStep
1 15:07:54,488 WARN The SIM.Tool.Windows.UserControls.ConfirmStepUserControl control does not implement IWizardStep
1 15:07:55,259 INFO Creating folder C:\Users\ibu\AppData\Roaming\Sitecore\Sitecore Instance Manager\Repository
1 15:08:55,362 INFO Granting full access for 'NT AUTHORITY\NETWORK SERVICE' identity to the 'C:\inetpub\wwwroot' folder
1 15:08:58,164 INFO Pipeline 'setup' starts, isAsync: True
1 15:08:59,679 INFO Running updater
7 15:09:01,176 INFO The 'C:\ibu\SIM repo\Email Experience Manager 3.1.1 rev. 150811.zip' file is considered as Sitecore Package, (type #1)
1 15:10:39,294 ERROR Error during handling menu button click: SIM.Tool.Windows.MainWindowComponents.InstallMongoDbButton
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at SIM.Tool.Base.WindowHelper.RunApp(String app, String[] params)
at SIM.Tool.Windows.MainWindowComponents.InstallMongoDbButton.OnClick(Window mainWindow, Instance instance)
at SIM.Tool.Windows.MainWindowHelper.<>c__DisplayClass20.b__18(Object param0, RoutedEventArgs param1)
1 15:10:46,605 ERROR Error during handling menu button click: SIM.Tool.Windows.MainWindowComponents.InstallMongoDbButton
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at SIM.Tool.Base.WindowHelper.RunApp(String app, String[] params)
at SIM.Tool.Windows.MainWindowComponents.InstallMongoDbButton.OnClick(Window mainWindow, Instance instance)
at SIM.Tool.Windows.MainWindowHelper.<>c__DisplayClass20.b__18(Object param0, RoutedEventArgs param1)

Remove nuget build targets

From the dark ages we used to have nuget.exe in the SVN to make sure that projects builds everywhere and developer does not need to do anything to use this brand new 'nuget' feature. Now it is not only not needed, but also doesn't work with GitHub as it ignores .exe files during push operation which makes our CI server fail build.

  • remove build target
  • remove nuget files

Showconfig is generated in Website folder

In current implementation, clicking Instance -> Ribbon -> Config Files -> Showconfig will generate showconfig in the website folder that will obviously restart Sitecore instance. We need to change that to generate showconfig in temp folder instead.

Rework backup/restore/export/import into single engine

We need to rework two separate components backup/restore and export/import pipelines into single one that utilizes same format and same features. For back ups they should be shown as a tree of dependencies just like backups in VirtualBox.

Add support of ASP.NET precompilation

In order to increase Sitecore 8 startup performance we need to implement a configuration package that will perform ASP.NET precompilation during the installation stage. Note that this process takes about 5 minutes on relatively fast laptop with 2 cores, 16GB RAM and 512GB SSD.

Implement Command-Line interface

We need to implement command-line interface for automation purpose. The list of commands to implement:

  • list
  • install
  • install-package
  • uninstall
  • start
  • stop
  • kill

Implement ClickOnce

We need to stop using separate releases and utilize ClickOnce which will make updates easier.

Embed NuGet Generator

Utilize Sitecore.NuGet.Core package to implement Bundled Tools -> Generate NuGet Packages menu item that does two things:

  • Generates NuGet packages in the %PROGRAMDATA%\Sitecore\NuGet directory
  • Changes NuGet %APPDATA%\NuGet\nuget.config configuration file to use this directory

Start SIM with a command-line manifest file

The point of this is to allow projects to simply store a manifest file describing the instance name, sitecore version, modules etc. to install. When setting up a fresh developer machine on the project, the manifest is retrieved with the source code and when double clicking the manifest file (e.g. extension .sim) would bring up SIM and automatically set up the instance for the project (with all the right versions and modules).

Optimize installation logic

Issue

  • The install process extracts Sitecore to, for example, c:\6e0e2c7f-be0e-4d6d-b3ef-f0f3bf7ebcaa
  • All files get inherited permissions of the C:\ drive, which on Windows Server is strict
  • Files are moved to, for example, c:\websites\jetstream, and do not inherit the permissions of c:\websites but keep the old ones inherited from c:\
  • A module such as EXM tries to edit App_Config\Security\Domains.config and throws an exception

Workaround:

Weak permissions on C:\ - no problem for me as this is a build server anyway, and I'm not sure SIM would be used for production installs anyway.

Possible solution?

What's the reason we don't extract the files directly to the destination, i.e. in this case directly to c:\websites\jetstream instead of the separated Extract + Move steps?

Update JetStream manifest to support x64

Old version of JetStream didn't support x64 out of the box, so we updated the manifest to install it with x86 only as the easiest way. Current version of JetStreem does support x64 without any additional changes so we need to remove this limitation.

Cleanup solution before exporting

In order to reduce the size of the export package, we can optionally cleanup WorkflowHistory, Properties, EventQueue, History tables in all the databases before exporting solution. Ideally these cleanup tasks should not affect original solution so all the databases should be first restored as copies, cleaned up and then backed up again.

[Export] [Feature-Request] Customize Export

Out of necessity, kind of a multi-part ask:

  1. Ability to specify [temp] location used to compile archive for export (Seems to use %SystemDrive%\{guid} (or maybe even specifically C:\{guid})), but not helpful when you're exporting due to lack of room.
  2. Ability to specify default location and naming convention of export (Each export requires a manual specification--maybe default to {instanceName}.zip and a default location (and re-use last supplied?)
  3. Ability to mark instance for deletion after export (again, ties in with archiving to free disk space) Currently, after an export, you're left deleting the instance in a second step.

Looks like a minor tweak to ExportArgs::GetTempFolder, SIM.Pipelines takes care of 1. 3 can be solved by going further up the chain to FileSystem.DirectoryProvider::GetTempFolder, SIM.Base (and making it an AdvancedSetting.

Notes to myself for when I have time, unless Alen knows a better way

SIM 1.4 Update-2 does not recognize existing repository

Trying to install Update-8.1x from existing repo (that previously worked) n't recognized by SIM and when i try to download them via version down loader not able to download 8.1x.

Error Image Click Here

I'm using SIM 1.4 rev. 150618
I'm not even able to use SIM 'Get Sitecore' option to get directly from cloud instead local repo.
Download works only up to 8.0x not for 8.1x

Latest SIM error in Windows 10

I installed SIM via ClickOnce in Windows 10 PC and often get the error below. SIM also doesn't detect Sitecore zip file in my Sitecore repository folder.
Please let me know if you need more information.

1 14:20:06,452 INFO Retrieving the COM class factory for component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)
at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType)
at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj)
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstanceT
at Microsoft.Web.Administration.ConfigurationManager.CreateAdminManager[TClass,TInterface](WebConfigurationMap webConfigMap, Boolean isAdminConfig)
at Microsoft.Web.Administration.ConfigurationManager.CreateConfiguration(WebConfigurationMap configMap, String configPathToEdit, Boolean isAdminConfig)
at Microsoft.Web.Administration.ConfigurationManager.GetConfiguration(String rawConfigurationPath, String cacheKey, Boolean isAdminConfig)
at Microsoft.Web.Administration.ConfigurationManager.GetApplicationHostConfiguration()
at Microsoft.Web.Administration.ServerManager.get_SitesSection()
at Microsoft.Web.Administration.ServerManager.get_Sites()
at SIM.Instances.InstanceManager.GetOperableSites(WebServerContext context, String defaultRootFolder, Nullable`1 detectEverywhere)
at SIM.Instances.InstanceManager.Initialize(String defaultRootFolder)
at SIM.Tool.Windows.MainWindowHelper.RefreshInstances()
at SIM.Tool.Windows.MainWindowHelper.Initialize()
at SIM.Tool.Windows.MainWindow.WindowLoaded(Object sender, EventArgs eventArgs)

Cannot list the sites when SIM not running as administrator

It is also nice if the app running not as administrator, it should display info message when failed to list the sites at SIM.Adapters.WebServer.WebServerManager.WebServerContext.get_Sites(). I found this issue at the first time I run SIM, cannot list any site. Anyway, thank you @Brad-Christie for the ifrunningasadministrator indicator. Thanks.

The instance of SQL Server cannot be reached

Hi,

I am running SQL Server Express 2012 on win 10.
For SIM 1.4 I am using connectionstring: Data Source=(LocalDb)\MSSQLLocalDB;Integrated Security=True, but also tried SQL Server authentication with both sa and a newly created admin account. Every time I get the message: "The instance of SQL Server cannot be reached"

The database name is OK, because when I change it I get the default message when SQL server cannot be found (a network related... blabla).
Also with all connectionstrings that fail in SIM, I am able to logon to the database from both SQL Server management studio and Visual Studio.

Is there some issue in the conn string, or something else?

Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.