google-drive-ocamlfuse icon indicating copy to clipboard operation
google-drive-ocamlfuse copied to clipboard

google-drive-ocamlfuse hangs on start wth empty configs

Open muwlgr opened this issue 3 years ago • 2 comments

running : google-drive-ocamlfuse -debug -id [email protected] /tmp/mtpt with empty initial configs gives :

Starting application setup (label=default, base_dir=). [0.000076] TID=0: Loading configuration from /home/user1/.gdfuse/default/config...done Opening log file: /home/user1/.gdfuse/default/gdfuse.log

viewing /home/user1/.gdfuse/default/gdfuse.log gives :

[0.010862] TID=0: Setting up default filesystem... [0.010902] TID=0: BEGIN: Saving configuration in /home/user1/.gdfuse/default/config [0.013184] TID=0: END: Saving configuration in /home/user1/.gdfuse/default/config [0.013286] TID=0: Loading application state from /home/user1/.gdfuse/default/state...done Current version: 0.7.27 Docs mode not changed! Setting up cache db...done Setting up CURL...done Refresh token already present. [0.016350] TID=0: Starting filesystem /tmp/mtpt [0.022205] TID=1: init_filesystem [0.022359] TID=1: Starting flush DB thread (TID=2, interval=30s)

then it hangs indefinitely, does not ask my google password, does not open browser, nothing at all.

My system is Ubuntu 22.04 dev.branch, apt source : deb http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu impish main

any ideas on how could I start using google-drive-ocamlfuse ? Remember it worked somewhere in Jan 2016 on Ubuntu 14.04.

muwlgr avatar Nov 14 '21 19:11 muwlgr

Took my Ubuntu 20.04 system on which it worked when it was 14.04 (since then upgraded to 16.04, 18.04 and 20.04); installed focal build of g-d-o-fuse on it, got the same effect. Are you guys ever testing it ? With empty configs ? With configs created long ago ? With empty $DISPLAY, or with browser openers potentially non-working in different ways ? How can I learn what browser-opener it tried to run ? Or why it did not try to run it ?

muwlgr avatar Nov 14 '21 20:11 muwlgr

You can use -browser command switch to specify a custom browser (run google-drive-ocamlfuse -help to get all the options). Otherwise, you can try with the headless authorization if you need to open the browser on a different host: https://github.com/astrada/google-drive-ocamlfuse/wiki/Headless-Usage-&-Authorization

astrada avatar Nov 15 '21 07:11 astrada