Syncing a local SMB mount folder

Hi,

I installed the 1.3.22.36179 headless version on Linux Ubuntu Xenial amd64.

I started Insync with insync-headless start --no-daemon and I created a new account specifying a local /mnt/mount path which is a smbmount to a Samba share I have to bidirectionally sync to Google Drive:

mount|grep drive
//localhost/share on /mnt/drive type cifs (rw,relatime,vers=1.0,cache=strict,username=drive,domain=DOMAIN,uid=0,noforceuid,gid=0,noforcegid,addr=127.0.0.1,unix,posixpaths,serverino,mapposix,acl,rsize=1048576,wsize=65536,echo_interval=60,actimeo=1,user=drive)

The path is correctly mounted and I can list all files and directories into it.

I added a new account with the following command:

insync-headless add_account -a [my_key] -p /mnt/drive/ -e "ms-office"

and I waited for long (30 minutes), but nothing is synced on Google Drive (which is actually empty).

I also tried with the command insync-headless force_sync / but nothing happened.

I investigated to find out if I have errors or something like this, and I ran these commands:

root@server-z1:/mnt# insync-headless get_status
UNLINKED

root@server-z1:/mnt# insync-headless get_errors
None

root@server-z1:/mnt# insync-headless get_sync_progress
No syncing activities

If I run insync-headless manage_selective_sync [account_email] I get a very long “Loading” message and nothing happens in the Ncurses interface. If I type CTRL+C to end the interface I get the Error communicating with Insync process.

If I try to stop Insync with insync-headless quit it doesn’t stop and I don’t get any result on the command line.

Could you help me to better understand how it works, please?

Thank you very much!
Bye

1 Like

Tagging our engineers @beatobongco and @jimperio and they will get back to you.

@decibel83 Is Insync still stuck at that state? Does your /mnt/drive contain a large number of files? It’s possible that Insync is in fact working, but just taking a long time to scan and index your local files.

Could you please send an email to support@insynchq.com with your logs.db as well as the entire dbs folder located at ~/.config/Insync? Thank you very much!

I have the exact same use case. I have a research samba share located at /mnt/datalake that is synced with google drive using InSync since google file stream doesn’t support actual files anymore.

@decibel83, can you post here their response to your email so I can learn too? Thanks

Thanks everyone.
Yes, the share is about 100 Gb big.
I am about to resume the test and reinstall Insync from scratch to start again and test.
I will let you know, thanks!