noiselabs/box-linux-sync

Authentication required during start, prevents autostart on boot

Opened this issue · 1 comments

I'm on Ubuntu GNOME 16.04 and I put /.davfs2/box-linux-sync/bin/box-sync start as an entry in Gnome's startup application preferences. However, it gives an error.

I think it's because when I enter /.davfs2/box-linux-sync/bin/box-sync start normally in terminal, it still asks for my password:
Please enter the password to authenticate user xxxx@ucla.edu with server https://dav.box.com/dav or hit enter for none.

I've put in my e-mail and password in ./davfs2/secrets -- box sync appears to be pulling at least my e-mail, so why not the password?

Let me know if there's any way to fix this.

Many thanks,
Kevin

I had the same issue, althought my username wasn't found either. It turns out the client was looking for the secrets in /etc/davfs2/secrets. I added the configuration from /root/.davfs2/secrets to /etc/davfs2/secrets and that made automount work.