NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
chaug
Dec 08, 2013Aspirant
ReadyNAS Ultra as seafile server
Hi!
I'd like to use my ReadyNAS Ultra as a seafile server (see www.seafile.com) but this is not possible without some extra work, or perhaps it is not possible at all? This what this post is about.
The thing is that seafile requires python 2.7 which is not available for Debian Etch (which is basically what the ReadyNAS Ultra is running on).
So now I'm thinking about two possible paths that I could explore, but since they involve quite some effort, I'm wondering which one seems more promising:
Two other options which I have already rules out for myself are:
My doubts regarding option 1 are: a) not sure if the procedure described for Python 2.6 works the same way for Python 2.7. b) if it works in principle, I don't know if it will work on the ReadyNAS (i.e. RAIDiator 4.2.xx, aka as ReadyNAS OS 4), c) if it works, I don't know if I will be missing other stuff (apart from Python).
Regarding option 2, I'm not sure a) if and and how it is possible to use a NAS share as storage space for the Raspberry Pi, and b) if this is generally possible, what drawbacks there might be in practice, e.g. if there is a power cut and bot the NAS and the Pi reboot, what risk is there that they will not re-connect properly?
Any advice?
BTW: similar issues seem to apply if you want to install owncloud on your ReadyNAS Ultra, but I haven't dug into that one deeper.
I'd like to use my ReadyNAS Ultra as a seafile server (see www.seafile.com) but this is not possible without some extra work, or perhaps it is not possible at all? This what this post is about.
The thing is that seafile requires python 2.7 which is not available for Debian Etch (which is basically what the ReadyNAS Ultra is running on).
So now I'm thinking about two possible paths that I could explore, but since they involve quite some effort, I'm wondering which one seems more promising:
1) Try to build a Python 2.7 package for Debian Etch (along the lines of what Patrice Neff describes here: http://weblog.patrice.ch/2009/01/14/install-python-2-6-on-debian-etch.html)
2) Run seafile on another device (e.g. a Raspberry Pi) and use the NAS as storage for that device only.
Two other options which I have already rules out for myself are:
3) Buy one of the new ReadyNAS models (which run on the latest version of Debian)
4) Install a different OS on my ReadyNAS Ultra (something along these lines: http://www2.warwick.ac.uk/fac/sci/csc/people/computingstaff/jaroslaw_zachwieja/readynaspro-jailfix/)
My doubts regarding option 1 are: a) not sure if the procedure described for Python 2.6 works the same way for Python 2.7. b) if it works in principle, I don't know if it will work on the ReadyNAS (i.e. RAIDiator 4.2.xx, aka as ReadyNAS OS 4), c) if it works, I don't know if I will be missing other stuff (apart from Python).
Regarding option 2, I'm not sure a) if and and how it is possible to use a NAS share as storage space for the Raspberry Pi, and b) if this is generally possible, what drawbacks there might be in practice, e.g. if there is a power cut and bot the NAS and the Pi reboot, what risk is there that they will not re-connect properly?
Any advice?
BTW: similar issues seem to apply if you want to install owncloud on your ReadyNAS Ultra, but I haven't dug into that one deeper.
3 Replies
Replies have been turned off for this discussion
- fastfwdVirtuoso
chaug wrote: I was able to install python-simplejson with apt-get but when I try any of the other ones, I get an "unmet dependencies" error because the versions available via apt-get depend on lower versions of python. For example: The following packages have unmet dependencies:
python-setuptools: Depends: python (< 2.6) but 2.7.2-7 is to be installed
E: Broken packages
Is there any way to get around this?
You can install setuptools manually:
cd ~
mkdir py_tmp
cd py_tmp
wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-2.0.tar.gz
tar -xvf setuptools-2.0.tar.gz
cd setuptools-2.0
python setup.py install
Then you can install PIP, which will make it easier to find and install python packages in the future:
cd ~/py_tmp
wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py
python get-pip.py
The other two packages could be installed via pip -- i think "pip install PIL" and "pip install MySQL-Python" will get the right files -- but they'll want to be compiled by gcc-4.3, which probably isn't on your NAS... So you can try downloading and installing the Debian packages manually using dpkg instead. It'll be tedious and awkward, but maybe possible. Here's a python-imaging package that won't complain about python 2.7:
http://packages.debian.org/wheezy/python-imaging
and here's a python-mysqldb:
http://packages.debian.org/wheezy/python-mysqldb
I haven't checked, though, to see whether those packages will have other dependency problems. - chaugAspirantThanks! I have now installed python2.7, however, as I suspected, this was not the end of the trouble. I also need the following:
- python-setuptools
- python-simplejson
- python-imaging
- python-mysqldb
I was able to install python-simplejson with apt-get but when I try any of the other ones, I get an "unmet dependencies" error because the versions available via apt-get depend on lower versions of python. For example:The following packages have unmet dependencies:
python-setuptools: Depends: python (< 2.6) but 2.7.2-7 is to be installed
E: Broken packages
Is there any way to get around this? - fastfwdVirtuoso
chaug wrote: The thing is that seafile requires python 2.7 which is not available for Debian Etch (which is basically what the ReadyNAS Ultra is running on).
Spend $2.69: http://rnxtras.com/addons/python-2-7-readynas-4-x86
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!