- Install Python from DSM Package Center
- Enable SSH
- SSH in
- Enable and switch to user shell (optional, requres user homes to be enabled)
- set shell to
/bin/ash
in/etc/passwd
su - <user>
- set shell to
- Create directory to store all of this (optional)
mkdir gmvault&&cd gmvault
- Get virtualenv
wget https://raw.github.com/pypa/virtualenv/develop/virtualenv.py
- Create virtualenv & install gmvault
python virtualenv.py venv
./venv/bin/pip install gmvault
- Backup Gmail!
ash ./venv/bin/gmvault sync [email protected]
Last active
March 21, 2023 01:47
-
-
Save dschep/4105713 to your computer and use it in GitHub Desktop.
Gmvault on Synology NAS
Oh.. I think I know why.. it's because venv version of PIP wasn't installed.
The step earlier gave this error:
/volume1/homes/Matt/gmvault $ python virtualenv.py venv
New python executable in venv/bin/python
Cannot find sdist setuptools-.tar.gz
Cannot find sdist pip-.tar.gz
which I ignored... hehe.
So basically I tried following the steps exactly, but after installing Python in the DSM Package Manager, it's not actually available in the CLI. So I manually added /volume1/@appstore/python/bin to the /root/.profile PATH.
Maybe that's causing issues? mmm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
followed this and ended up with..
reading manifest file 'gmvault.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'gmvault.egg-info/SOURCES.txt'
running build_scripts
running install_lib
creating /usr/local/python/lib/python2.7/site-packages/gmv
error: could not create '/usr/local/python/lib/python2.7/site-packages/gmv': Permission denied
This was after running ./venv/bin/pip install gmvault
Any ideas?