Re: [galaxy-dev] Galaxy + ProFTPd - proper configuration / uploaded files not accessible in Galaxy

2013-04-08 Thread Jan Hapala
Hi Björn,

yes, this was the problem - I had wrong GID there.
Now it works!

Thanks!
Jan



2013/4/8 Björn Grüning 

> Hi Jan,
>
> you have that line in your config file, right?
>
> SQLNamedQuery LookupGalaxyUser SELECT
> "email,password,'1003','1003','/media/data/galaxy_ftp/%U','/bin/bash'
> FROM galaxy_user WHERE email='%U'"
>
> 1003 is the group ID of your galaxyuser. Try to adjust that number to
> your ID.
>
> Hope that will work!
> Bjoern
>
>
> >
> > I am new to Galaxy. I have managed to set up my Galaxy server with
> > PostgreSQL and ProFTPd.
> > I only do not know how to configure the system properly in order to
> > get uploaded files into Galaxy.
> >
> >
> > Problems:
> > 1. I cannot see the files uploaded through ProFTPd from Galaxy.
> > 2. I cannot upload any (even tiny) file through the Galaxy web
> > interface -- Galaxy puts the upload task in the queue and the arrow is
> > blinking (like it is uploading) but it never ends.
> >
> >
> > Problem nr. 1 is solved when I set the current user's home directory
> > access rights to 777. But it does not seem to be the best solution
> > (and the ProFTPd config file shown
> > in http://wiki.galaxyproject.org/Admin/Config/Upload%20via%20FTP is
> > more restrictive than that).
> >
> >
> > I run Galaxy under UNIX user called galaxyuser. And I log into Galaxy
> > as some...@somewhere.com.
> > The access rights on the folders are as follows:
> > drwx--x--x 3 galaxyuser root 4096 dub  5 12:05 /var/ftp_uploads/
> > /var/ftp_uploads/:
> > total 4
> > drwx-- 2 65533 65533 4096 dub  8 15:38 some...@somewhere.com
> >
> >
> > I would appreciate any suggestions.
> > Best regards,
> >
> >
> > Jan
> > ___
> > Please keep all replies on the list by using "reply all"
> > in your mail client.  To manage your subscriptions to this
> > and other Galaxy lists, please use the interface at:
> >   http://lists.bx.psu.edu/
> >
> > To search Galaxy mailing lists use the unified search at:
> >   http://galaxyproject.org/search/mailinglists/
>
> --
> Björn Grüning
> Albert-Ludwigs-Universität Freiburg
> Institute of Pharmaceutical Sciences
> Pharmaceutical Bioinformatics
> Hermann-Herder-Strasse 9
> D-79104 Freiburg i. Br.
>
> Tel.:  +49 761 203-4872
> Fax.:  +49 761 203-97769
> E-Mail: bjoern.gruen...@pharmazie.uni-freiburg.de
> Web: http://www.pharmaceutical-bioinformatics.org/
>
>
___
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Re: [galaxy-dev] Galaxy + ProFTPd - proper configuration / uploaded files not accessible in Galaxy

2013-04-08 Thread Björn Grüning
Hi Jan,

you have that line in your config file, right?

SQLNamedQuery LookupGalaxyUser SELECT
"email,password,'1003','1003','/media/data/galaxy_ftp/%U','/bin/bash'
FROM galaxy_user WHERE email='%U'"

1003 is the group ID of your galaxyuser. Try to adjust that number to
your ID. 

Hope that will work!
Bjoern


> 
> I am new to Galaxy. I have managed to set up my Galaxy server with
> PostgreSQL and ProFTPd.
> I only do not know how to configure the system properly in order to
> get uploaded files into Galaxy.
> 
> 
> Problems:
> 1. I cannot see the files uploaded through ProFTPd from Galaxy.
> 2. I cannot upload any (even tiny) file through the Galaxy web
> interface -- Galaxy puts the upload task in the queue and the arrow is
> blinking (like it is uploading) but it never ends.
> 
> 
> Problem nr. 1 is solved when I set the current user's home directory
> access rights to 777. But it does not seem to be the best solution
> (and the ProFTPd config file shown
> in http://wiki.galaxyproject.org/Admin/Config/Upload%20via%20FTP is
> more restrictive than that).
> 
> 
> I run Galaxy under UNIX user called galaxyuser. And I log into Galaxy
> as some...@somewhere.com.
> The access rights on the folders are as follows:
> drwx--x--x 3 galaxyuser root 4096 dub  5 12:05 /var/ftp_uploads/
> /var/ftp_uploads/:
> total 4
> drwx-- 2 65533 65533 4096 dub  8 15:38 some...@somewhere.com
> 
> 
> I would appreciate any suggestions.
> Best regards,
> 
> 
> Jan
> ___
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
>   http://lists.bx.psu.edu/
> 
> To search Galaxy mailing lists use the unified search at:
>   http://galaxyproject.org/search/mailinglists/

-- 
Björn Grüning
Albert-Ludwigs-Universität Freiburg
Institute of Pharmaceutical Sciences
Pharmaceutical Bioinformatics
Hermann-Herder-Strasse 9
D-79104 Freiburg i. Br.

Tel.:  +49 761 203-4872
Fax.:  +49 761 203-97769
E-Mail: bjoern.gruen...@pharmazie.uni-freiburg.de
Web: http://www.pharmaceutical-bioinformatics.org/

___
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/