Insync wont start


#1

I’m running Insync on Linux Mint 17.1. For some reason Insync won’t start after I log out of my account and log in again. When I try to start it manually using the command “insync start” I get a pop-up saying “It seems that another insync app is currently running.” When I try to stop insync with the command “insync quit” I get the message “Insync doesn’t seem to be running. Start it first.”

It’s kind of like Schrodinger’s cat. It’s both running and not running.

The only way to fix this is to reboot the computer.

It there a lock file that needs to be deleted, or something?


#2

@bozackt This is related to this issue: Log off takes minutes. We’re planning to include the fix for this in the next release.


#3

Thanks for the response. I’ll stand by for the next release.


#4

Hello I’ve notice this issue has returned with insync-headless-1.4.4.37065-fc24.x86_64.rpm on RHL. Installed without sudo. Was working perfectly for some time until I logged of and then promptly logged back in again. Now it won’t start.

LSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 7.2 (Maipo)
Release:        7.2
Codename:       Maipo

#5

Currently assessing Insync. Same issue. start command exits without a problem with insync-headless. All subsequent commands report the service as not having been started.


#6

Hey @alyssackwan!

What’s your Insync version and OS? :slight_smile:


#7

Debian Stretch, insync-headless 1.5.2.37346.

It seems to start now, and I can grep for the pid. However, when I try to add an account (initial setup), it hangs forever. SIGINT-ing the process consistently raises a KeyboardInterrupt at line 111 of isyncd/linux/headless/cli.py, inside of ipc_insync.


#8

This is what my ${HOME}/.config/Insync/out.txt contains:

Sign in with your Google Account

[avatar_2x]
Enter your email [ ] [ ]
[Next] Find my account
One Google Account for everything Google

• Google
• Privacy
• Terms

Change language [English (United States) ]


#9

Hi @alyssackwan, sorry for the trouble! Tagging our engineer @Kurt_Ko for further assistance. :slight_smile:


#10

Hi!

Can you run ‘insync start --no-daemon’ and send us the output?
Are you running a terminal only setup?

Thanks!


#11

Hi @Kurt_Ko,

me@main:~$ insync-headless start --no-daemon
To add accounts in headless mode, use the "insync-headless add_account" command. Run "insync-headless help add_account" for more details.
INFO     2018-10-09 15:36:12,231 [__main__insync-headless__:main:50] insync version: 1.5.2.37346
INFO     2018-10-09 15:36:12,235 [__main__insync-headless__:main:51] client created <ideskmain.client.Client object at 0x7fa7eb90d850>
INFO     2018-10-09 15:36:12,236 [unix_socket_server_portable:start:49] unix socket server thread start
INFO     2018-10-09 15:36:12,237 [__main__insync-headless__:main:56] starting client
INFO     2018-10-09 15:36:12,245 [fswatch:_start:532] LinuxFSWatcher._start
INFO     2018-10-09 15:36:12,247 [fswatch:_pull_loop:267] Inotify loop enter

This is a VM in the cloud to which I am mosh’ed and tmux’ed into.

Thanks,
Alyssa


#12

Just following up. If this is not resolved I cannot use Insync.


#14

Hi @alyssackwan!

Can you go to ‘www.insynchq.com/auth’ , login with your google account, and then it will give you an [AUTH_CODE].
Once you have an [AUTH_CODE], add your account by running ‘insync-headless add_account -a [AUTH_CODE]’

Let me know if it works for you!

Thanks!


#15

Thanks! I was able to move_folder afterwards as well.