Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Specified FTP Path does not exist Or Unable to fetch path from the data received !!



Threaded Mode | Print  

 Specified FTP Path does not exist Or Unable to fetch path from the data received !!, Remote softaculous problem (9 Replies, Read 17045 times)
AboYousef
Group: Member
Post Group: Newbie
Posts: 8
Status:
I want to install WordPress (or any CMS just for testing my new server)
And because I use Webmin/Virtualmin I have to use remote softaculous
When I use my main user of the virtula server (main domain account)
I can install normally using public_html as ftp path, put when I use an
Addon user (ex: uesr.main_user) I get  Specified FTP Path does not exist
Or Unable to fetch path from the data received !!
I tried to use "/" and public_html and even created a seb-directory for the
New addon user and used in softaculous but it always the same
Please help me fix this
Thanks
IP: --   

Specified FTP Path does not exist Or Unable to fetch path from the data received !!
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5638
Status:
Hi,

As per our discussion via support ticket.

It looks like the addon FTP user you created points to a directory in the public_html folder i.e. public_html/website folder while your domain points to public_html folder.

Since the FTP user does not have access to write files/folders in the public_html folder hence you will not be able to add the domain in Softaculous since Softaculous requires a FTP user which will be able to write to the document root of the domain.

Please try to create a user which has access to the document root of your domain and then it should work fine.

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

Specified FTP Path does not exist Or Unable to fetch path from the data received !!
Namesco_jthompson
Group: Member
Post Group: Newbie
Posts: 11
Status:
The same error is happening for me. This is a brand new installation of Softaculous Remote, and I'm running test scripts to try to get it to do something, using the example scripts from the documentation

The error occurs when I try to use the "Add Domain" function. I'm using the "Admin acting as User Example" method. Here's the code:

PHP Code

 $url 'http://localhost:2008/index.php?' .
        
'api_key=' config::API_KEY .
        
'&api_pass=' config::API_PASSWORD .
        
'&useuser=' config::DOMAIN_NAME .
        
'&api=serialize' .
        
'&act=adddomain';


$post = array(  'add_domain'  => 1,
                
'username'    => config::USER_NAME,
                
'domain'      => config::DOMAIN_NAME,
                
'server_host' => config::FTP_HOSTNAME,
                
'ftp_user'    => config::FTP_USERNAME,
                
'ftp_pass'    => config::FTP_PASSWORD,
                
'ftp_path'    => config::FTP_DIRECTORY,
                
'backup_path' => '/backups/',
                
'data_dir'    => '/datadir/',
                
'protocol'    => 'ftp',
                
'port'        => '21'
    
); 



I can confirm that the details are all correct in the config class that I'm using. I can connect using FTP from the server that Softaculous Remote is installed and running on.

IP: --   

Specified FTP Path does not exist Or Unable to fetch path from the data received !!
Namesco_jthompson
Group: Member
Post Group: Newbie
Posts: 11
Status:
This error also shows on the web GUI when I add it manually
IP: --   

Specified FTP Path does not exist Or Unable to fetch path from the data received !!
Namesco_jthompson
Group: Member
Post Group: Newbie
Posts: 11
Status:
The following code using the same class file (and therefore FTP details) runs correctly from the server that Softaculous Remote is running from, which leads me to think that this isn't an FTP problem, but a problem with the Softaculous scripts themselves

PHP Code

 if(!$conn ftp_connect(config::FTP_HOSTNAME)) {
    die(
"Cannot connect to servernn");
}

if(!
ftp_login($connconfig::FTP_USERNAMEconfig::FTP_PASSWORD)) {
    die(
"Cannot log innn");
}

if(!
ftp_chdir($connconfig::FTP_DIRECTORY)) {
    die(
"Cannot chdir to " config::FTP_DIRECTORY "nn");
}

if(!
$contents ftp_nlist($conn".")) {
    die(
"Cannot list directorynn");
}

print_r($contents); 



IP: --   

Specified FTP Path does not exist Or Unable to fetch path from the data received !!
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5638
Status:
Hi,

Is the domain (which you are trying to add) pointing to the correct server ? Or is it a dummy domain ? The domain should be pointing to the correct server to be able to add the same.

The process for adding a domain is as follows :
1. After the details are posted Softaculous connects to the FTP server and creates a file with random name to the FTP path posted.
2. Then the file just created is accessed via curl call to the domain being added from the Softaculous Remote server.
3. Softaculous then checks the response received and if the response is correct the domain is added to Softaculous Remote.

As per the error message you have stated it looks like the file is being created successfully on the FTP server but Softaculous is unable to access the file.

You can also try to enable the logs from Softaculous Admin panel -> Settings Logs Level. You will find the logs at the following path :
/var/softaculous/logs/softaculous.log

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

Specified FTP Path does not exist Or Unable to fetch path from the data received !!
quamruzzaman
Group: Member
Post Group: Newbie
Posts: 2
Status:
Also same problem here for Addon domain. Have any solution please?
IP: --   

Specified FTP Path does not exist Or Unable to fetch path from the data received !!
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5638
Status:
Quote From : quamruzzaman October 27, 2016, 9:21 pm
Also same problem here for Addon domain. Have any solution please?


Please PM me your FTP and domain details or open a support ticket here :
https://www.softaculous.com/support/

We will check it for you.


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

Specified FTP Path does not exist Or Unable to fetch path from the data received !!
IHS_101
Group: Member
Post Group: Newbie
Posts: 1
Status:
I am am having the same error please help me
IP: --   

Specified FTP Path does not exist Or Unable to fetch path from the data received !!
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5638
Status:
Quote From : IHS_101 June 22, 2017, 7:22 pm
I am am having the same error please help me

Hi,

Can you please open a support ticket with us with the FTP details you are posting so that we can check the issue for you ?


-----------------------
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 March 19, 2024, 11:05 am.

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