-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FTP questions #210
Comments
Can this be an issue with the passive mode? https://github.com/bgruening/docker-galaxy-stable#using-passive-mode-ftp |
You have to use your email address that you have used to register in galaxy, I'm afraid username alone is not enough. But you'll also be facing problems with passive mode on a mac, as bjoern pointed out. If this is just your local machine, you can copy files into the ftp folder, they will appear in the upload box even without using FTP. |
@bgruening
and the logs gave:
@mvdbeek I tested that because we are close to propose a Galaxy flavor and I wanted to propose a quick-start. I will try using the "Docker toolbox" instead of the new "Docker for Mac" |
@lecorguille if you want to use
Yeah, but have you tried to list or copy files? Because passive mode will need additional high ports for transfer, and those are not exposed. |
Thank you guys My next problem is about /export
lecorguille@MacBook ~ $ docker logs -f foobar
Starting ProFTP
proftpd: started
Starting Galaxy reports webapp
reports: ERROR (abnormal termination)
Starting nodejs
galaxy:galaxy_nodejs_proxy: ERROR (abnormal termination)
[...]
==> /home/galaxy/logs/uwsgi.log <==
File "lib/galaxy/webapps/galaxy/buildapp.py", line 63, in paste_app_factory
app = galaxy.app.UniverseApplication( global_conf=global_conf, **kwargs )
File "lib/galaxy/app.py", line 54, in __init__
self.config.check()
File "lib/galaxy/config.py", line 650, in check
self._ensure_directory( path )
File "lib/galaxy/config.py", line 631, in _ensure_directory
raise ConfigurationError( "Unable to create missing directory: %s\n%s" % ( path, e ) )
ConfigurationError: Unable to create missing directory: /export/galaxy-central/database/files
[Errno 13] Permission denied: '/export/galaxy-central/database' lecorguille@MacBook ~ $ docker exec -it foobar /bin/bash
root@default:/galaxy-central# su galaxy
galaxy@default:/galaxy-central$ touch /export/yo
touch: cannot touch ‘/export/yo’: Permission denied
lecorguille@MacBook ~ $ docker exec -it foobar /bin/bash
root@39122946cb0d:/galaxy-central# su galaxy
galaxy@39122946cb0d:/galaxy-central$ touch /export/yo |
Oh Docker on Mac ... any chance you can use a Linux ;)
This is probably because of the OSX file system. Please refer to the data-volumes section here to get it working: https://github.com/bgruening/docker-galaxy-stable#usage |
There is also this project I found somewhere: https://github.com/codekitchen/dinghy |
@lecorguille as an alternative can you please try if #217 works for you? |
@lecorguille please try sftp if OSX is playing the Diva ;) and feel free to reopen if necessary. |
Hi, Sorry @bgruening, I'm curently on hollyday. I will update this thread and
|
OK, it works when I use the command line and Filezilla but fails with Cyberduck. But Filezilla is enough for me to check the container. So thanks you! |
Thanks for getting back to me! |
Hi,
RRooowww, it seems really simple but I can't figure out why I can't upload file using FTP.
Note that I'm using a Mac
I launch that:
docker run -d -p 8080:80 -p 8021:21 -v ~/tmp/galaxy_docker_export:/export/ bgruening/galaxy-stable
I register within the galaxy instance accessible via http://127.0.0.1:8080
I tried that:
$ ftp lecorguille@127.0.0.1 8021 Connected to 127.0.0.1. 220 ProFTPD 1.3.5rc3 Server (Public Galaxy FTP) [::ffff:172.17.0.2] 331 Password required for lecorguille Password: 530 Login incorrect.
The FTP folder is there:
/export/galaxy-central/database/ftp/lecorguille@sb-roscoff.fr
Is there something I missed? Can you point me a log file within the container because I got nothing in
/var/log/proftpd
?Many many thanks!
The text was updated successfully, but these errors were encountered: