Skip to content

Unable to Install a New Site Due to Folder Permissions #334

@WillStrohl

Description

@WillStrohl

I just upgraded to the latest release, 2.1.1. In previous versions, I had no issues installing on this same computer. I just stepped through the wizard like magic. In this release, I get to the end and receive a previously unseen error message about not being able to set the permissions of the local folder (see screenshot below). I've included the log of the issue as well.

I do not believe this is the same issue as #322.

image

2021-09-07 08:39:14.846 -07:00 [INF] Saved user settings
2021-09-07 08:41:16.483 -07:00 [INF] Creating site platform9101.loc in C:\Work\Platform\platform9101
2021-09-07 08:41:16.509 -07:00 [INF] Site platform9101.loc was deleted
2021-09-07 08:41:17.036 -07:00 [INF] Created site platform9101.loc
2021-09-07 08:41:17.048 -07:00 [INF] platform9101.loc already in C:\WINDOWS\system32\drivers\etc\hosts
2021-09-07 08:41:17.048 -07:00 [INF] Creating file system directories for platform9101.loc
2021-09-07 08:41:17.049 -07:00 [INF] Deleting directory C:\Work\Platform\platform9101\Website
2021-09-07 08:41:17.051 -07:00 [ERR] Error occured while attempting to set folder permissions
System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
   at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
   at System.Security.Principal.NTAccount.Translate(Type targetType)
   at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
   at System.Security.AccessControl.ObjectSecurity.ModifyAccessRule(AccessControlModification modification, AccessRule rule, Boolean& modified)
   at nvQuickSite.Controllers.FileSystemController.SetFolderPermission(String accountName, String folderPath)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions