Hi,

I installed the document module and noticed how attachments are now stored in 
the filesystem, which is nicer than in the DB. 
But the only way to upload files seems to be via FTP or SFTP.

FTP problem:
FTP runs on port 8021, and it can be connected to, but cannot list files. 
The openerp server is behind a firewall, and even though I've open port 8021, 
ftp does not work. I suspect that the firewall will only allow the ftp protocol 
(with random data reverse port connections and such..) only on port 21.
But port 21 cannot be used, since that is a privileged port (i.e. below 1024) 
and thus could only be opened if we let openerp run as root, which would not be 
elegant at all.
==> First question: has any got ftp access running via a firewalled port 8021?

SFTP:
So the sftp seemed like a solution (since it uses just one tcp port and is 
encrypted). The sftp module was installed, a key generated for the openerp user 
and a key generated for root (the sftp seems to only allow key based access).
When one tries to connect on the command line with "sftp -o Port=8022 
localhost", the initial connectivity works (one gets the sftp prompt), and a 
few log entries like:

> [2010-04-16 14:15:11,221] INFO:paramiko.transport:Connected (version 2.0, 
> client OpenSSH_4.7p1)
> [2010-04-16 14:15:11,557] INFO:paramiko.transport:Auth rejected (none).
> [2010-04-16 14:15:11,568] INFO:paramiko.transport:Auth granted (publickey).
> [2010-04-16 14:15:11,569] INFO:paramiko.transport:Secsh channel 1 opened.


But no files are directories are visible with ls. Directories cannot be made 
either. 
I also tried to make a connection with winscp, authentication is refused.
>> Any tips on how to use the SFTP interface?
>> Must authentication be key based, are there no solutions for using Openerp 
>> users?

Finally, on browsing the forum, the following topic seemed to indicate that 
document management is not quite stable, and one should wait for release 5.2, 
or a 5.6t (not sure what that release is)
http://www.openobject.com/forum/viewtopic.php?p=51819
I have 5.0.7, pulled from bazaar on Feb 2.
>> What code base would you recommend for a server to run accounting, document 
>> management productively today?

Thanks in advance,

Sean




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=54441#54441

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to