Folder permissions ...
 
Notifications
Clear all

Folder permissions after manual upgrade&migrating to SolidCP

4 Posts
2 Users
0 Reactions
2,390 Views
Posts: 4
Topic starter
(@webilics)
New Member
Joined: 6 years ago

Hi,
I have followed the instructions at https://solidcp.com/kb/installation/migrate-websitepanel-solidcp/
I think I have messed up with folder permissions of websitepanel after manual upgrade&migrating to solidCP  1.3
Please direct me to the folder permissions and settings setup and IIS user permissions setup.

The following 2 errors are
--while adding new domain
--while adding a FTP account

Page URL: /Default.aspx?pid=SpaceDomains&mid=75&ctl=add_domain_step2&DomainType=Domain&SpaceID=2&ReturnURL=
Logged User: serveradmin
Work on Behalf: admin
Hosting Space: 2

Stack Trace: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'ADD' task on 'testdomainnamehere123.com' WEB_SITE ---> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Could not create system user ---> System.UnauthorizedAccessException: Access is denied.

at System.DirectoryServices.Interop.UnsafeNativeMethods.IAds.SetInfo()
at System.DirectoryServices.DirectoryEntry.CommitChanges()
at SolidCP.Providers.Utils.SecurityUtils.CreateUser(SystemUser user, RemoteServerSettings serverSettings, String usersOU, String groupsOU)
--- End of inner exception stack trace ---
at SolidCP.Providers.Web.IIs70.CreateWebSiteAnonymousAccount(WebSite site)
at SolidCP.Providers.Web.IIs70.CreateSite(WebSite site)
at SolidCP.Server.WebServer.CreateSite(WebSite site)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.Providers.Web.WebServer.CreateSite(WebSite site)
at SolidCP.EnterpriseServer.WebServerController.AddWebSite(Int32 packageId, String hostName, Int32 domainId, Int32 packageAddressId, Boolean addPreviewDomain, Boolean ignoreGlobalDNSRecords)
--- End of inner exception stack trace ---
at SolidCP.EnterpriseServer.WebServerController.AddWebSite(Int32 packageId, String hostName, Int32 domainId, Int32 packageAddressId, Boolean addPreviewDomain, Boolean ignoreGlobalDNSRecords)
at SolidCP.EnterpriseServer.ServerController.AddDomainWithProvisioning(Int32 packageId, String domainName, DomainType domainType, Boolean createWebSite, Int32 pointWebSiteId, Int32 pointMailDomainId, Boolean createDnsZone, Boolean createPreviewDomain, Boolean allowSubDomains, String hostName)
at SolidCP.EnterpriseServer.esServers.AddDomainWithProvisioning(Int32 packageId, String domainName, DomainType domainType, Boolean createWebSite, Int32 pointWebSiteId, Int32 pointMailDomainId, Boolean createDnsZone, Boolean createPreviewDomain, Boolean allowSubDomains, String hostName)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.EnterpriseServer.esServers.AddDomainWithProvisioning(Int32 packageId, String domainName, DomainType domainType, Boolean createWebSite, Int32 pointWebSiteId, Int32 pointMailDomainId, Boolean createDnsZone, Boolean createPreviewDomain, Boolean allowSubDomains, String hostName)
at SolidCP.Portal.DomainsAddDomain.AddDomain()

---------------------------------------------

Page URL: /Default.aspx?pid=SpaceFtpAccounts&mid=98&ctl=edit_item&SpaceID=2
Logged User: serveradmin
Work on Behalf: admin
Hosting Space: 2
Stack Trace: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.UnauthorizedAccessException: Access to the path 'C:Program Files (x86)FileZilla ServerFileZilla Server.xml' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Xml.XmlDocument.Save(String filename)
at SolidCP.Providers.FTP.FileZilla.CreateAccount(FtpAccount account)
at SolidCP.Server.FTPServer.CreateAccount(FtpAccount account)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.EnterpriseServer.FtpServerController.AddFtpAccount(FtpAccount item)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.EnterpriseServer.esFtpServers.AddFtpAccount(FtpAccount item)
at SolidCP.Portal.FtpAccountEditAccount.SaveItem()

3 Replies
Posts: 1509
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

Can you confirm the SolidCP Server app pool user is a member of the local administrators group?

Thanks,

Trevor Robinson

Reply
Posts: 4
Topic starter
(@webilics)
New Member
Joined: 6 years ago

Hi
I have been using websitepanel since its launch and with all its versions.
Yes, the solidcp server app pool user is a member of the  Administrators group
and the IIS_IUSRS is listed as the Web Users Group Name in the settings and has all 3 solidcp users  WPPortal /WSPEnterpriseServer/WPServer along with network service.
The issue is with the migrated version from websitepanel to SolidCP

1. what should be the identity of the server app pools i have tried all combinations ApplicationPoolIdentity / LocalSystem / identity user as created with correct passwords

2. are there any specific permissions for folders
C:HostingSpaces
C:HostingSpacesuser
C:WindowsSystem32inetsrvconfig
C:Program Files (x86)FileZilla ServerFileZilla Server.xml

3. I need to have new domains and websites created using the default app pool ASP.NET 4.0 (Classic). but instead the SollidCP tries to create a new user and new app pool.

4. Is there any powershell script to check SolidCP installation parameters and required permissions checker?

Reply
Posts: 1509
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

  1. The SolidCP app pool user should be an local or domain account.
  2. Administrators should have access to those folders.
  3. Please disable dedicated app pools in the hosting plan and it will used shared ones.
  4. There is not an powershell script to check the SolidCP installation or permissions.

Kind Regards,

Trevor Robinson

Reply
Share: