No files synchonized?

I have installed insync-headless on a remote Linux Debian 10 machine.

I have added a Google Drive account.

But, there is nothing in the google drive directory.

How do I check what’s going on?

Here is the out.txt:

    INFO     2021-03-24 12:44:27,611 [mainlogs:_log_run:139] Core(app_version=3.0.9.10619, platform=Linux-x86_64-debian/10) initialized
    no crontab for danijel
    INFO     2021-03-24 12:44:27,684 [main:start_core:48] core started
    INFO     2021-03-24 12:44:27,685 [unix_socket_server:start:106] unix socket server thread start
    INFO     2021-03-24 12:44:28,501 [licensework:_do:399] License is now Office Trial.

    (process:3185): GLib-GIO-CRITICAL **: 12:44:32.748: _g_file_info_get_attribute_value: assertion 'G_IS_FILE_INFO (info)' failed
    INFO     2021-03-24 12:44:37,794 [fswatcher:_start:57] LinuxFSWatcher._start
    INFO     2021-03-24 12:44:37,795 [inotify_manager:_pull_loop:312] Inotify loop enter
    INFO     2021-03-24 12:44:37,798 [fswatcher:watch:77] watch origin: /home/danijel/googledrive

What to do?

Hi! I’ve forwarded your issue to our engineers. Let me get back to you on this!

Hi! Apologies for not getting back to you sooner.

Please run insync selective-sync to start syncing folders

Thanks!

I tried insync-headless selective-sync and I get error:

Traceback (most recent call last):
  File "insync-headless.py", line 19, in <module>
  File "site-packages/click/core.py", line 829, in __call__
  File "site-packages/click/core.py", line 782, in main
  File "site-packages/click/core.py", line 1259, in invoke
  File "site-packages/click/core.py", line 1066, in invoke
  File "site-packages/click/core.py", line 610, in invoke
  File "ideskheadless/cli.py", line 406, in selective_sync
  File "site-packages/npyscreen-4.6.2-py3.7.egg/npyscreen/apNPSApplication.py", line 30, in run
  File "site-packages/npyscreen-4.6.2-py3.7.egg/npyscreen/npyssafewrapper.py", line 41, in wrapper
  File "site-packages/npyscreen-4.6.2-py3.7.egg/npyscreen/npyssafewrapper.py", line 82, in wrapper_no_fork
  File "/usr/local/lib/python3.7/locale.py", line 604, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
[6738] Failed to execute script insync-headless

My locale gives:

LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8
LC_ALL=

What seems to be the problem? Please help.

I still have no files in my googledrive directory…

This works:

LC_ALL=en_US.utf8 insync-headless selective-sync

!

1 Like

Thank you once again @Danijel for sharing the solution you found! :heart: