pydio-sync
pydio-sync copied to clipboard
Linux - pydio-sync is not able to use gnome-keyring to save credentials in Ubuntu 18.04
After upgrading from Ubuntu 16.04 to 18.04 I found that pydio-agent is not able to use gnome-keyring anymore so is falling back to python file keyring backend to save credentials. Because of this now is not possible to run the agent on startup (unattended) and the only way to make it work is to start it manually from a terminal so the file keyring password can be entered.
In order to solve this problem I rebuild the module using a more recent keyring python module (the one that is shipped with Ubuntu 18.04 - v10.6.0) and the problem was solved. The agent is able to use gnome-keyring again and it can be started without the use of a terminal since it doesn't require any interaction anymore.
Can you please look into updating the keyring module version dependency in requirements.txt file and build a new pydio-agent binary?
hi @casasfernando Ok we'll look into this - we are currently in a sprint where sync is not top of the list, but this could be looked at in the forthcoming weeks -c
Ok. Thanks for looking into this.
hi @casasfernando Ok we'll look into this - we are currently in a sprint where sync is not top of the list, but this could be looked at in the forthcoming weeks -c
BTW Charles, while building pydio-sync I found also that there may be an issue with the code in pydio python sdk "python-2" branch that cause file upload to fail with error "Upload error: file is partial (410)". There is an issue already open in github for a long time in case you can take a look at it: https://github.com/pydio/pydio-sdk-python/issues/2
hi @casasfernando Ok we'll look into this - we are currently in a sprint where sync is not top of the list, but this could be looked at in the forthcoming weeks -c
BTW Charles, while building pydio-sync I found also that there may be an issue with the code in pydio python sdk "python-2" branch that cause file upload to fail with error "Upload error: file is partial (410)". There is an issue already open in github for a long time in case you can take a look at it: pydio/pydio-sdk-python#2
Please disregard this last message. I already found the cause of the problem and updated the open issue in pydio-sdk-python.
@casasfernando
Thanks for your post, I ran into the same issue after upgrading to 18.04 months ago and finally could solve it with pydio-sync running in a virtualenv and upgrading versions of keyring
and cffi
in requirements.txt
.
dpkg -l python-keyring
and dpkg -l *cffi*
have been helpful to find the system version and update requirements.txt
with keyring==10.6.0
and cffi==1.11.5
.