Insync error on Debian 12

I just upgraded to debian 12 (and updated insync to v3.8.6.50504) and noticed that insync is diaplying a red exclamation mark next to the icon in the tray. I thought it wasn’t working at all but it does seems to be syncing. However I’m not actually able to open the GUI, and the background process seems to exit shortly after it starts. For example, I run insync start, and it appears to start up and the icon appears in the tray, but shortly after if I try an insync command it says it doesn’t seem to be running.

I tried the suggestions here, but they do not work.

I assume this is an issue since the upgrade but I can’t be sure. Any ideas?

Here is the output of insync start --no-daemon

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
WARNING:root:While reading /usr/share/applications/defaults.list
Traceback (most recent call last):
  File "idesklinux/application_manager.py", line 53, in __index_default_apps
  File "configparser.py", line 696, in read
  File "configparser.py", line 1091, in _read
configparser.DuplicateOptionError: While reading from '/usr/share/applications/defaults.list' [line 33]: option 'application/rdf+xml' in section 'Default Applications' already exists
WARNING:root:While reading /usr/share/applications/defaults.list
Traceback (most recent call last):
  File "idesklinux/application_manager.py", line 70, in __index_apps_for_mimetypes
  File "configparser.py", line 696, in read
  File "configparser.py", line 1091, in _read
configparser.DuplicateOptionError: While reading from '/usr/share/applications/defaults.list' [line 33]: option 'application/rdf+xml' in section 'Default Applications' already exists

** (insync:142443): WARNING **: 16:24:00.658: Failed to load shared library 'libnotify.so.4' referenced by the typelib: /lib/x86_64-linux-gnu/libnotify.so.4: undefined symbol: g_memdup2
INFO     2023-06-17 16:24:00,724 [mainlogs:_log_run:138] Core(app_version=3.8.6.50504, platform=Linux-x86_64-debian/12) initialized
INFO     2023-06-17 16:24:00,752 [mainsettings:_load_settings:236] Loaded settings, machine fingerprint = xxx
INFO     2023-06-17 16:24:00,849 [inotify_manager:__init__:132] INotifyManager FS_ENCODING: utf-8
INFO     2023-06-17 16:24:00,849 [fswatcher:_start:57] LinuxFSWatcher._start
INFO     2023-06-17 16:24:00,849 [inotify_manager:_pull_loop:315] Inotify loop enter
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
INFO     2023-06-17 16:24:00,996 [fswatcher:watch:77] watch origin: /home/me/Google Drive
INFO     2023-06-17 16:24:01,001 [app:start_core:65] core started
INFO     2023-06-17 16:24:01,003 [unix_socket_server:start:106] unix socket server thread start
INFO     2023-06-17 16:24:05,909 [syncwork:_conflict_resolution:4939] There is a pending local edit of workspace.json that is causing a conflict. {'synced_item': xxx, 'file_info': xxx}
INFO     2023-06-17 16:24:06,196 [syncwork:_conflict_resolution:4084] There is a later local edit of workspace.json that is causing a conflict. {'synced_file': xxx, 'cl_res': xxx, 'file_info': xxx}
INFO     2023-06-17 16:24:06,198 [syncwork:add_prompt:449] Prompt added: ModifyConflictPrompt(node_id=644, name='workspace.json', cause='local')
ERROR    2023-06-17 16:24:06,204 [platui_impl:display_notification:82] Cannot initialize notifications.

Try installing 3.8.6 built for Debian 12. I’m using it for quite some time, and I use Debian testing as a daily driver, and don’t experience any problems.

InSync has dedicated Debian 12 builds, but they don’t put the links out there.

1 Like

Sorry, should have stated in the OP that I’m using 3.8.6.50504 already.

I guessed, but if you look to the release page, there are different builds for different Debian versions. The one I linked has no visible link, but is specifically compiled for Debian 12.

Hope this helps,

Cheers,

H.

2 Likes

Thank you for the quick assist @bayindirh :slight_smile:

Bump this post if you need further help, @_LL!

1 Like

Ah I had just assumed it was the same version. Thanks for the pointer, I just installed that one and the app is now opening and seems fine :slight_smile:

2 Likes

Hello again, I’m bumping this because I’m receiving the same issue again now after an apt upgrade. The releases page does not seem to have anything beyond my current version (which is 3.8.6.50504) but I wonder if there is another secret release like before? I tried to go to https://cdn.insynchq.com/builds/linux/ but I am forbidden so not really sure where else I can look.

Hello @_LL! The latest version is indeed 3.8.6, and newer versions are always released here on Forums.

Can you please run these two commands:
lsb_release -a
apt-cache policy insync

lsb_release -a:

No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 12 (bookworm)
Release:	12
Codename:	bookworm

and then apt-cache policy insync:

insync:
  Installed: 3.8.6.50504-bullseye
  Candidate: 3.8.6.50504-bullseye
  Version table:
 *** 3.8.6.50504-bullseye 500
        500 http://apt.insync.io/debian bullseye/non-free amd64 Packages
        100 /var/lib/dpkg/status

@_LL The installed package is bullseye instead of bookworm. Try using the latter build from her: https://www.insynchq.com/downloads/linux#debian

Let me know how it goes :slight_smile:

1 Like

Aha, that explains it. All seems resolved now, thanks!

1 Like

@_LL No problem! Glad this has been sorted out on your end. Happy syncing!