can someone else te...
 
Notifications
Clear all

can someone else test this possible bug for me.

6 Posts
2 Users
0 Likes
1,150 Views
Posts: 234
Topic starter
(@hxkd)
Reputable Member
Joined: 7 years ago

I have come across a serious issue in the 1.4.0 version I think but I need someone else to test this issue and confirm it.

I have a reseller webhosting plan enabled with everything set as unlimited. If you add a user with this as their hosting plan, then go and add 3 domains with the same name, ie test1.co.za, test2.co.za and test3.co.za. Then once these are added check the folder structure on the server and see if the 3 sites are created in iis. Once confirmed, then goto the solidcp and goto any one of the websites, click on its name, scroll down to the bottom and check the  Force delete website directory checkbox and delete the site, if you look in solid cp it will show you the other 2 websites are still there, but if you goto the webserver hostingspaces folder the client account and folders are all gone. the websites still exist in iis, just the folders are missing.

If this is a bug, I suggest that everyone be carefull as it deletes active sites with websites, etc all from the servers when it should not be.

5 Replies
Posts: 1964
Admin
(@m-tiggelaar)
Noble Member
Joined: 8 years ago

Hello,

I have tested this on our live and development SolidCP deployments.

Neither of them can reproduce your description on a User and a Reseller space.

Please note that adding Websites (or any resources) directly under it's Reseller space is not recommended (your best off creating a user under that reseller for your own sites for example, rather then directly on reseller).

However never the less whenever i delete 1 out of 3 sites only that 1 directory gets deleted for me.

Regards,

Marco

Reply
Posts: 234
Topic starter
(@hxkd)
Reputable Member
Joined: 7 years ago

ok just did some more tests, I just added a new virtual server with one server in it with iis and operating system, no other services, created a new hosting plan and enabled everything, created a test user, added 4 domains, saved them went to website, force deleted it, and all the sites were removed from iis and from the filesystem. This is a serious issue.

Reply
Posts: 1964
Admin
(@m-tiggelaar)
Noble Member
Joined: 8 years ago

I did the same tests on both live and our dev lab.

Under both Reseller and User --> it just deletes 1 single directory for me (the one it's supposed to be deleting) and leaves the others as intended.

As mentioned earlier i really can not reproduce this issue.

Since you can reproduce it on other servers i would assume it's related to your policy or system settings. As even from the IIS codes it shows it's grabbing the directory path from the site settings in IIS.

Reply
Posts: 234
Topic starter
(@hxkd)
Reputable Member
Joined: 7 years ago

ok, seems to have found the bug, we configured the website backup folder in the web policy to backup which creates a single backup folder above all the website folders, it seems when you do this and delete a website the command decides to delete all folders of the client folder including the hosting space folder, we changed this to  [DOMAIN_NAME]backups and it seems to now leave the space folder and other folders alone.

Marco please test this and see if this is indeed the case on your install, just set the web policy to backups, create the domains and delete one of them and see... maybe need to look at how this causes the space folder to be deleted as well.

Re enabling this does cause this to happen again, so it definately looks like this was the cause.

Reply
Page 1 / 2
Share: