Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : The following errors were found : You cannot create staging in a subdirectory of the original installation



Threaded Mode | Print  

 The following errors were found : You cannot create staging in a subdirectory of the original installation (7 Replies, Read 19160 times)
litebit
Group: Member
Post Group: Newbie
Posts: 8
Status:
Hi

today I tried to create a staging version of a Wordpress site, as usual in a subdirectory in the same domain.
But now I get the error

Code
  The following errors were found :

You cannnot create staging in a subdirectory of the original installation


(including the typo, "cannnot" should be "cannot")

Did something changed? Because we used to do this a lot before.

This would mean the staging function no longer works when there is only a single domain available and WP is installed in the root of that domain.

Or is this another error?



IP: --   

The following errors were found : You cannot create staging in a subdirectory of the original installation
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5652
Status:
Hi,

This error appears only when you have source WordPress installed in a sub-directory and you are trying to create a staging instance into another sub-directory within another sub directory.

If you have the installation in the root of your domain this error should not appear. If you can open a support ticket with us we can check this for you :
https://softaculous.deskuss.com/

We have also fixed the cannot typo and it will be updated in the next version of Softaculous.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

The following errors were found : You cannot create staging in a subdirectory of the original installation
litebit
Group: Member
Post Group: Newbie
Posts: 8
Status:
Hi,

well my wordpress site is installed in www.domain.com
and I am trying to create the staging in www.domain.com/_staging

I will open a support ticket
IP: --   

The following errors were found : You cannot create staging in a subdirectory of the original installation
litebit
Group: Member
Post Group: Newbie
Posts: 8
Status:
Quote From : Brijesh January 5, 2021, 10:47 am
Hi,
This error appears only when you have source WordPress installed in a sub-directory and you are trying to create a staging instance into another sub-directory within another sub directory.

If you have the installation in the root of your domain this error should not appear. If you can open a support ticket with us we can check this for you :
https://softaculous.deskuss.com/

We have also fixed the cannot typo and it will be updated in the next version of Softaculous.

(ignore my previous post)
Actually, your note about subdirectories got me to recheck the installations, and I found something interesting :
My site is installed in the root of the domain : https://www.domain.com
I wanted to create a staging in https://www.domain.com/_staging
Then I get the error

However, when I try to create the staging in https://www.domain.eu/_staging

(this is my old temp domainname)  it works, and I also can do a push to live on www.domain.com

Original WP installation on https://www.domain.com was done in /home/myaccount/domains/domain.com/private_html
(I don't know why, because I did do the necessary to create the symlink from private_html to public_html) 

but I can see that when trying to create the staging under a different domain, it always tries (correctly) under /public_html/ /home/myaccount/domains/domain.eu/public_html/_staging

Which lets me believe that when trying to create the staging in https://www.domain.com/_staging, Softaculous is also trying to create the staging in /home/myaccount/domains/domain.com/public_html/_staging?

So before opening a support ticket, I will try to fix/move the original installation into /public_html
IP: --   

The following errors were found : You cannot create staging in a subdirectory of the original installation
litebit
Group: Member
Post Group: Newbie
Posts: 8
Status:
Hi,
so I managed to fix the main site to /public_html/ in stead of /private_html/and that seem to have fixed the error I got when trying to creating the staging site under the same domain.
I now can create a staging like I used to do


IP: --   

The following errors were found : You cannot create staging in a subdirectory of the original installation
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5652
Status:
Glad to know you were able to create Staging now.

Thank you for sharing the details about the issue you faced.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

The following errors were found : You cannot create staging in a subdirectory of the original installation
sarfrazsyed
Group: Member
Post Group: Newbie
Posts: 1
Status:
Quote From : litebit January 5, 2021, 9:44 pm
Hi,
so I managed to fix the main site to /public_html/ in stead of /private_html/and that seem to have fixed the error I got when trying to creating the staging site under the same domain.
I now can create a staging like I used to do




Can you please guide how you have done it. I am facing the similar issue
IP: --   

The following errors were found : You cannot create staging in a subdirectory of the original installation
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5652
Status:
Quote From : sarfrazsyed December 6, 2023, 5:30 pm

Can you please guide how you have done it. I am facing the similar issue

Hi,

Sorry for the delay in response.

If you are still facing the issue please open a support ticket with us so we can check this for you :
https://softaculous.deskuss.com/open.php


-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 24, 2024, 8:29 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.025