It is currently Sun Feb 12, 2012 11:44 am

All times are UTC + 2 hours




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: FTP only on 127.0.0.1
PostPosted: Sun Feb 07, 2010 4:40 am 
Offline

Joined: Sat Jan 09, 2010 2:28 pm
Posts: 34
The ftp server in the module documents only listens on 127.0.0.1. How can I change this?

_________________
Website design company resources
Arabic News and Chat portal
Web design company in Egypt


Top
 Profile  
 
 Post subject: Reinstalled
PostPosted: Sun Feb 07, 2010 2:05 pm 
Offline

Joined: Sat Jan 09, 2010 2:28 pm
Posts: 34
I even uninstalled the document module and reinstalled it to run the wizard, changed the ip, restarted openerp-server and openerp-web and still it only listens to 127.0.0.1

_________________
Website design company resources
Arabic News and Chat portal
Web design company in Egypt


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 07, 2010 10:53 pm 
Offline

Joined: Fri Mar 13, 2009 5:16 pm
Posts: 28
Location: United kingdom
Same problem here...

http://openobject.com/forum/topic14858.html

No answer from openerp team? So try using something else or pay an expert. I think odoo offered ftp that worked when it worked if you know what I mean.

Are you trying to install it on a linux desktop after the numerous installs I have done with this system I think the ftp may work slightly better / different on a server install as opposed to a desktop / laptop install.

But I am with you on this and understand your pain! Hope you get it sorted.

S


Top
 Profile  
 
 Post subject: Server
PostPosted: Tue Feb 09, 2010 1:21 pm 
Offline

Joined: Sat Jan 09, 2010 2:28 pm
Posts: 34
My install is on a linux VPS server.

_________________
Website design company resources
Arabic News and Chat portal
Web design company in Egypt


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 09, 2010 9:42 pm 
Offline

Joined: Tue Jul 28, 2009 7:42 pm
Posts: 11
Same issue here.

I'm running OpenERP v5.05 under Ubuntu 9.10 server.

Apparently, the issue comes from the fact the FTP python server is binding on localhost when starting instead of *.

You can check this with the following linux command:

netstat -a

You will receive something like TCP 0 0 localhost:zope-ftp

A normal result should be TCP 0 0 *:zope-ftp.

Its normally configurable but until now I didn't find the way to fix it.

Thanks if someone from the OpenERP team could help on this one.

Regards


Top
 Profile  
 
 Post subject: help?
PostPosted: Sat Feb 20, 2010 2:03 am 
Offline

Joined: Sat Jan 09, 2010 2:28 pm
Posts: 34
no help?seems like a common problem not only me.

_________________
Website design company resources
Arabic News and Chat portal
Web design company in Egypt


Top
 Profile  
 
 Post subject: I am nearly ready to give up on recomending openerp
PostPosted: Mon Mar 01, 2010 12:01 pm 
Offline

Joined: Sat Jan 09, 2010 2:28 pm
Posts: 34
Please if anyone here cares about more people using openerp, help or point me in the right direction.

_________________
Website design company resources
Arabic News and Chat portal
Web design company in Egypt


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 01, 2010 12:38 pm 
Offline

Joined: Fri Nov 21, 2008 9:56 am
Posts: 3061
Location: Lotharingie
have you dhcp which run on your server ?


Top
 Profile  
 
 Post subject: No DHCP
PostPosted: Tue Mar 02, 2010 1:03 pm 
Offline

Joined: Sat Jan 09, 2010 2:28 pm
Posts: 34
We are running on fixed ips no dhcp.

_________________
Website design company resources
Arabic News and Chat portal
Web design company in Egypt


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 02, 2010 3:07 pm 
Offline

Joined: Fri Nov 21, 2008 9:56 am
Posts: 3061
Location: Lotharingie
in the openerp book p406 (pdf p410)
install modules document and board_document, the system automatically proposes to configure the document management system.
try to uninstall reinstall this 2 modules or read the doc for more info :
http://openerp.com/buy.html?page=shop.b ... egory_id=4


Top
 Profile  
 
 Post subject: I did that
PostPosted: Tue Mar 16, 2010 12:29 am 
Offline

Joined: Sat Jan 09, 2010 2:28 pm
Posts: 34
I did that and still things do not work for FTP. Do you have ftp working on this version?


GEM wrote:
in the openerp book p406 (pdf p410)
install modules document and board_document, the system automatically proposes to configure the document management system.
try to uninstall reinstall this 2 modules or read the doc for more info :
http://openerp.com/buy.html?page=shop.b ... egory_id=4

_________________
Website design company resources
Arabic News and Chat portal
Web design company in Egypt


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 16, 2010 12:54 pm 
Offline

Joined: Fri Nov 21, 2008 9:56 am
Posts: 3061
Location: Lotharingie
you can have a fixed IP and have the dhcp to run, have you try ? (uninstall, install modules too after).
My version 5.0.7 windows, but even with linux try dhcp to run.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 16, 2010 12:00 pm 
Offline

Joined: Wed Feb 03, 2010 1:16 pm
Posts: 86
I had the same problem. I fixed that in modifying addons/document/ftpserver/__init__.py like this :

Code:
def run(self):
        autho = authorizer.authorizer()
        ftpserver.FTPHandler.authorizer = autho
        ftpserver.max_cons = 300
        ftpserver.max_cons_per_ip = 50
        ftpserver.FTPHandler.abstracted_fs = abstracted_fs.abstracted_fs
        if PASSIVE_PORTS:
            ftpserver.FTPHandler.passive_ports = PASSIVE_PORTS

        ftpserver.log = lambda msg: self.log(netsvc.LOG_INFO, msg)
        ftpserver.logline = lambda msg: None
        ftpserver.logerror = lambda msg: self.log(netsvc.LOG_ERROR, msg)

        #HOST = self.detect_ip_addr()
        HOST = '*' # MODIFY HERE
        address = (HOST, PORT)
        ftpd = ftpserver.FTPServer(address, ftpserver.FTPHandler)
        ftpd.serve_forever()


I hope it'll help you...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 13, 2010 6:50 pm 
Offline

Joined: Thu May 22, 2008 8:06 pm
Posts: 148
I installed trunk versions of server and web client this weekend and initially ftp was only served on 127.0.0.1 and not the external interface.

Adding "ftp_server_host = 192.168.0.7" to my openerp-server.conf file fixed.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 13, 2010 7:16 pm 
Offline

Joined: Tue Mar 04, 2008 11:41 am
Posts: 319
Location: Athens, Greece
This feature is intentional and will stay there.FTP is restricted by default to the localhost (for security reasons).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP