We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

FTP Error | Forum

Stuart Naylor
Stuart Naylor Mar 26 '14
I have had this before with oxwall.


Its annoyed me so been having a look at whats happening.


On the first time it ask for ftp update on a plugin or theme it asks for FTP details.


It comes back with an authentication error.


Not sure why as when I check my logs I have this.

(changed user name to ******)

Wed Mar 26 13:57:27 2014 [pid 1] [*******] OK LOGIN: Client "127.0.0.1"Wed Mar 26 13:57:27 2014 [pid 3] [*******] FAIL MKDIR: Client "127.0.0.1", "/srv/www/samba4all.org/srv/www/samba4all.org/ow_core/test"


Its trying to make a directory in ow_core called test for some reason.

I dont know why but the OW_Root is being added to OW_Core.


It gets called in /ow_system_plugins/base/bol/plugin_services.php


I have just changed $testDir = OW_DIR_CORE . 'test';

to $testDir = 'ow_pluginfiles/test';



And it works. Bugged me for ages that!!!




ross Team
ross Mar 27 '14
Thank you for sharing. 
Stuart Naylor
Stuart Naylor Mar 27 '14
Actually wasn't that great a share. I don't know why but all the calls have a double ow_dir_root when it comes to ftp.

It now passes the ftp check and looks like it updates but actually doesn't.


from vsftp.log/srv/www/samba4all.org/srv/www/samba4all.org/

double directory


but must be just ftp as the calls elsewhere for php use ow_dir_root and they are fine.


the ftp does a load of checks that I am not really sure what is going on.


I will see if I can debug and find where this happens.

Stuart Naylor
Stuart Naylor Mar 27 '14
define('OW_URL_HOME', 'http://www.samba4all.org/'); define('OW_DIR_USERFILES', OW_DIR_ROOT.'ow_userfiles'.DS); define('OW_DIR_STATIC', OW_DIR_ROOT.'ow_static'.DS); define('OW_URL_STATIC', OW_URL_HOME.'ow_static/'); define('OW_URL_USERFILES', OW_URL_HOME.'ow_userfiles/'); define('OW_DIR_PLUGINFILES', OW_DIR_ROOT.'ow_pluginfiles/'); define('OW_PASSWORD_SALT', '5332bdd1c2e9f'); define('OW_DIR_CORE', OW_DIR_ROOT.'ow_core'.DS); define('OW_DIR_INC', OW_DIR_ROOT.'ow_includes'.DS); define('OW_DIR_LIB', OW_DIR_ROOT.'ow_libraries'.DS); define('OW_DIR_UTIL', OW_DIR_ROOT.'ow_utilities'.DS); define('OW_DIR_PLUGIN', OW_DIR_ROOT.'ow_plugins'.DS); define('OW_DIR_THEME', OW_DIR_ROOT.'ow_themes'.DS); define('OW_DIR_SYSTEM_PLUGIN', OW_DIR_ROOT.'ow_system_plugins'.DS); define('OW_DIR_SMARTY', OW_DIR_ROOT.'ow_smarty'.DS);