Hello 
i tried to install via root and maybe it works, 

However now the bash run.sh it is working, however my ldap is not working I have password incorrect and I get this error in the terminal :

galaxy.auth.providers.ldap_ad ERROR 2017-02-24 10:52:24,672 LDAP authenticate: search exception
Traceback (most recent call last):
  File "/home/galaxy/galaxy-dist/lib/galaxy/auth/providers/ldap_ad.py", line 118, in authenticate
    ldap.set_option(*opt)
  File "/home/galaxy/galaxy-dist/.venv/lib/python2.7/site-packages/ldap/functions.py", line 135, in set_option
    return _ldap_function_call(None,_ldap.set_option,option,invalue)
  File "/home/galaxy/galaxy-dist/.venv/lib/python2.7/site-packages/ldap/functions.py", line 66, in _ldap_function_call
    result = func(*args,**kwargs)
ValueError: option error


Any idea ?

Thanks,

Mohamed

2017-02-24 9:11 GMT+01:00 Mohamed Kassam <k.mamoud@gmail.com>:
Dear all,

I have migrate my old version of Galaxy to the new release V17.01, And I am facing this error when I am running run.sh, any clue ?

Installing collected packages: python-ldap
  Found existing installation: python-ldap 2.4.17
    DEPRECATION: Uninstalling a distutils installed project (python-ldap) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Can't uninstall 'python-ldap'. No files were found to uninstall.
  Can't roll back python-ldap; was not uninstalled
Exception:
Traceback (most recent call last):
  File "/home/galaxy/galaxy-dist/.venv/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/home/galaxy/galaxy-dist/.venv/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/home/galaxy/galaxy-dist/.venv/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/home/galaxy/galaxy-dist/.venv/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/home/galaxy/galaxy-dist/.venv/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/home/galaxy/galaxy-dist/.venv/lib/python2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/home/galaxy/galaxy-dist/.venv/lib/python2.7/site-packages/pip/wheel.py", line 329, in clobber
    os.utime(destfile, (st.st_atime, st.st_mtime))
OSError: [Errno 1] Operation not permitted: '/home/galaxy/galaxy-dist/.venv/lib64/python2.7/site-packages/dsml.pyo'


Thanks,

Mohamed