Skip to content

fluffychat: 'An error occured while init the app' #597177

Backlog

Description

@betaigeuze

Nixpkgs version

  • Unstable (27.05)

Describe the bug

After a recent flake update fluffychat fails to properly start and I get the following pop-up when starting the app:

PathNotFoundException: Cannot delete file, path = '/home/MYUSER/.local/share/chat.fluffy.fluffychat/FluffyChat linux.sqlite' (OS Error: No such file or directory, errno = 2)

When checking the contents of /home/MYUSER/.local/share/chat.fluffy.fluffychat/, there is nothing except for shared_preferences.json

Steps to reproduce

  • Install latest unstable package of fluffychat (currently 2.11.5)
  • Start fluffychat

(since the previous version worked, I assume it is necessary to have an existing logged in account on the machine and then update in place to trigger this error)

Minimal reproducer

Expected behaviour

fluffychat starts and opens recent conversations of recently logged in account

Screenshots

No response

Relevant log output

Full log output, when opening through a terminal:

(fluffychat:4489): Atk-CRITICAL **: 20:03:40.234: atk_socket_embed: assertion 'plug_id != NULL' failed
[IMPORTANT:flutter/shell/platform/embedder/embedder_surface_gl_impeller.cc(126)] Using the Impeller rendering backend (OpenGLESSDF).
Gdk-Message: 20:03:40.392: Unable to load  from the cursor theme
package:media_kit_libs_linux registered.
[Matrix] Welcome to FluffyChat <3
*** sqflite warning ***

You are changing sqflite default factory.
Be aware of the potential side effects. Any library using sqflite
will have this factory as the default for all operations.

*** sqflite warning ***

[Matrix] !!!CRITICAL!!! Unable to open database! Delete file and try again... - SqfliteFfiException(error, Invalid argument(s): Couldn't resolve native function 'sqlite3_initialize' in 'package:sqlite3/src/ffi/libsqlite3.g.dart' : Failed to load dynamic library 'libsqlcipher.so': Failed to load dyna
mic library 'libsqlcipher.so': libsqlcipher.so: cannot open shared object file: No such file or directory.
}) DatabaseException(Invalid argument(s): Couldn't resolve native function 'sqlite3_initialize' in 'package:sqlite3/src/ffi/libsqlite3.g.dart' : Failed to load dynamic library 'libsqlcipher.so': Failed to load dynamic library 'libsqlcipher.so': libsqlcipher.so: cannot open shared object file: No suc
h file or directory.
)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 4489, tid: 138160109547328, name io.flutter.ui
os: linux arch: x64 comp: no sim: no
build_id: '8da3e74f73d952882caa070d8f16f6b6'
isolate_dso_base: 7da7b58b9000, vm_dso_base: 0
isolate_instructions: 7da7b6319000, vm_instructions: 0
    #00 abs 00007da7b67c6dc7 virt 0000000000f0ddc7 _kDartSnapshotText+0x4addc7
    #01 abs 00007da7b6f18899 virt 000000000165f899 _kDartSnapshotText+0xbff899
<asynchronous suspension>
    #02 abs 00007da7b6f18794 virt 000000000165f794 _kDartSnapshotText+0xbff794
<asynchronous suspension>
    #03 abs 00007da7b6f1868d virt 000000000165f68d _kDartSnapshotText+0xbff68d
<asynchronous suspension>
    #04 abs 00007da7b6d5d9ad virt 00000000014a49ad _kDartSnapshotText+0xa449ad
<asynchronous suspension>
    #05 abs 00007da7b6f17672 virt 000000000165e672 _kDartSnapshotText+0xbfe672
<asynchronous suspension>
    #06 abs 00007da7b6f170b0 virt 000000000165e0b0 _kDartSnapshotText+0xbfe0b0
<asynchronous suspension>
    #07 abs 00007da7b6f16f8d virt 000000000165df8d _kDartSnapshotText+0xbfdf8d
<asynchronous suspension>
    #08 abs 00007da7b6f16ea9 virt 000000000165dea9 _kDartSnapshotText+0xbfdea9
<asynchronous suspension>
    #09 abs 00007da7b6fe9be3 virt 0000000001730be3 _kDartSnapshotText+0xcd0be3
<asynchronous suspension>
    #10 abs 00007da7b6fe95ed virt 00000000017305ed _kDartSnapshotText+0xcd05ed
<asynchronous suspension>
    #11 abs 00007da7b6f1406f virt 000000000165b06f _kDartSnapshotText+0xbfb06f
<asynchronous suspension>
    #12 abs 00007da7b6f13914 virt 000000000165a914 _kDartSnapshotText+0xbfa914
<asynchronous suspension>
    #13 abs 00007da7b6f0dca1 virt 0000000001654ca1 _kDartSnapshotText+0xbf4ca1
<asynchronous suspension>
    #14 abs 00007da7b6d55568 virt 000000000149c568 _kDartSnapshotText+0xa3c568
<asynchronous suspension>
    #15 abs 00007da7b6f1f5be virt 00000000016665be _kDartSnapshotText+0xc065be
<asynchronous suspension>
    #16 abs 00007da7b6febe4e virt 0000000001732e4e _kDartSnapshotText+0xcd2e4e
<asynchronous suspension>

[Matrix] !!!CRITICAL!!! Unable to open database! Delete file and try again... - SqfliteFfiException(error, Invalid argument(s): Couldn't resolve native function 'sqlite3_initialize' in 'package:sqlite3/src/ffi/libsqlite3.g.dart' : Failed to load dynamic library 'libsqlcipher.so': Failed to load dyna
mic library 'libsqlcipher.so': libsqlcipher.so: cannot open shared object file: No such file or directory.
}) DatabaseException(Invalid argument(s): Couldn't resolve native function 'sqlite3_initialize' in 'package:sqlite3/src/ffi/libsqlite3.g.dart' : Failed to load dynamic library 'libsqlcipher.so': Failed to load dynamic library 'libsqlcipher.so': libsqlcipher.so: cannot open shared object file: No suc
h file or directory.
)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 4489, tid: 138160109547328, name io.flutter.ui
os: linux arch: x64 comp: no sim: no
build_id: '8da3e74f73d952882caa070d8f16f6b6'
isolate_dso_base: 7da7b58b9000, vm_dso_base: 0
isolate_instructions: 7da7b6319000, vm_instructions: 0
    #00 abs 00007da7b67c6dc7 virt 0000000000f0ddc7 _kDartSnapshotText+0x4addc7
    #01 abs 00007da7b6f18899 virt 000000000165f899 _kDartSnapshotText+0xbff899
<asynchronous suspension>
    #02 abs 00007da7b6f18794 virt 000000000165f794 _kDartSnapshotText+0xbff794
<asynchronous suspension>
    #03 abs 00007da7b6f1868d virt 000000000165f68d _kDartSnapshotText+0xbff68d
<asynchronous suspension>
    #04 abs 00007da7b6d5d9ad virt 00000000014a49ad _kDartSnapshotText+0xa449ad
<asynchronous suspension>
    #05 abs 00007da7b6f17672 virt 000000000165e672 _kDartSnapshotText+0xbfe672
<asynchronous suspension>
    #06 abs 00007da7b6f170b0 virt 000000000165e0b0 _kDartSnapshotText+0xbfe0b0
<asynchronous suspension>
    #07 abs 00007da7b6f16f8d virt 000000000165df8d _kDartSnapshotText+0xbfdf8d
<asynchronous suspension>
    #08 abs 00007da7b6f16ea9 virt 000000000165dea9 _kDartSnapshotText+0xbfdea9
<asynchronous suspension>
    #09 abs 00007da7b6fe9be3 virt 0000000001730be3 _kDartSnapshotText+0xcd0be3
<asynchronous suspension>
    #10 abs 00007da7b6fe95ed virt 00000000017305ed _kDartSnapshotText+0xcd05ed
<asynchronous suspension>
    #11 abs 00007da7b6f1406f virt 000000000165b06f _kDartSnapshotText+0xbfb06f
<asynchronous suspension>
    #12 abs 00007da7b6f13914 virt 000000000165a914 _kDartSnapshotText+0xbfa914
<asynchronous suspension>
    #13 abs 00007da7b6f0dca1 virt 0000000001654ca1 _kDartSnapshotText+0xbf4ca1
<asynchronous suspension>
    #14 abs 00007da7b6d55568 virt 000000000149c568 _kDartSnapshotText+0xa3c568
<asynchronous suspension>
    #15 abs 00007da7b6f1f5be virt 00000000016665be _kDartSnapshotText+0xc065be
<asynchronous suspension>
    #16 abs 00007da7b6febe4e virt 0000000001732e4e _kDartSnapshotText+0xcd2e4e
<asynchronous suspension>

[Matrix] !!!CRITICAL!!! Unable to construct database! - PathNotFoundException: Cannot delete file, path = '/home/MYUSER/.local/share/chat.fluffy.fluffychat/FluffyChat linux.sqlite' (OS Error: No such file or directory, errno = 2)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 4489, tid: 138160109547328, name io.flutter.ui
os: linux arch: x64 comp: no sim: no
build_id: '8da3e74f73d952882caa070d8f16f6b6'
isolate_dso_base: 7da7b58b9000, vm_dso_base: 0
isolate_instructions: 7da7b6319000, vm_instructions: 0
    #00 abs 00007da7b6337b0b virt 0000000000a7eb0b _kDartSnapshotText+0x1eb0b
    #01 abs 00007da7b6ac143d virt 000000000120843d _kDartSnapshotText+0x7a843d
    #02 abs 00007da7b6d4ae73 virt 0000000001491e73 _kDartSnapshotText+0xa31e73
    #03 abs 00007da7b632646c virt 0000000000a6d46c _kDartSnapshotText+0xd46c
    #04 abs 00007da7b6d4b22d virt 000000000149222d _kDartSnapshotText+0xa3222d
<asynchronous suspension>
    #05 abs 00007da7b6f1414d virt 000000000165b14d _kDartSnapshotText+0xbfb14d
<asynchronous suspension>
    #06 abs 00007da7b6f13914 virt 000000000165a914 _kDartSnapshotText+0xbfa914
<asynchronous suspension>
    #07 abs 00007da7b6f0dca1 virt 0000000001654ca1 _kDartSnapshotText+0xbf4ca1
<asynchronous suspension>
    #08 abs 00007da7b6d55568 virt 000000000149c568 _kDartSnapshotText+0xa3c568
<asynchronous suspension>
    #09 abs 00007da7b6f1f5be virt 00000000016665be _kDartSnapshotText+0xc065be
<asynchronous suspension>
    #10 abs 00007da7b6febe4e virt 0000000001732e4e _kDartSnapshotText+0xcd2e4e
<asynchronous suspension>

[Matrix] !!!CRITICAL!!! Unable to construct database! - PathNotFoundException: Cannot delete file, path = '/home/MYUSER/.local/share/chat.fluffy.fluffychat/FluffyChat-1778928968259.sqlite' (OS Error: No such file or directory, errno = 2)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 4489, tid: 138160109547328, name io.flutter.ui
os: linux arch: x64 comp: no sim: no
build_id: '8da3e74f73d952882caa070d8f16f6b6'
isolate_dso_base: 7da7b58b9000, vm_dso_base: 0
isolate_instructions: 7da7b6319000, vm_instructions: 0
    #00 abs 00007da7b6337b0b virt 0000000000a7eb0b _kDartSnapshotText+0x1eb0b
    #01 abs 00007da7b6ac143d virt 000000000120843d _kDartSnapshotText+0x7a843d
    #02 abs 00007da7b6d4ae73 virt 0000000001491e73 _kDartSnapshotText+0xa31e73
    #03 abs 00007da7b632646c virt 0000000000a6d46c _kDartSnapshotText+0xd46c
    #04 abs 00007da7b6d4b22d virt 000000000149222d _kDartSnapshotText+0xa3222d
<asynchronous suspension>
    #05 abs 00007da7b6f1414d virt 000000000165b14d _kDartSnapshotText+0xbfb14d
<asynchronous suspension>
    #06 abs 00007da7b6f13914 virt 000000000165a914 _kDartSnapshotText+0xbfa914
<asynchronous suspension>
    #07 abs 00007da7b6f0dca1 virt 0000000001654ca1 _kDartSnapshotText+0xbf4ca1
<asynchronous suspension>
    #08 abs 00007da7b6d55568 virt 000000000149c568 _kDartSnapshotText+0xa3c568
<asynchronous suspension>
    #09 abs 00007da7b6f1f5be virt 00000000016665be _kDartSnapshotText+0xc065be
<asynchronous suspension>
    #10 abs 00007da7b6febe4e virt 0000000001732e4e _kDartSnapshotText+0xcd2e4e
<asynchronous suspension>

*** sqflite warning ***

You are changing sqflite default factory.
Be aware of the potential side effects. Any library using sqflite
will have this factory as the default for all operations.

*** sqflite warning ***

*** sqflite warning ***

You are changing sqflite default factory.
Be aware of the potential side effects. Any library using sqflite
will have this factory as the default for all operations.

*** sqflite warning ***

[Matrix] !!!CRITICAL!!! Unable to open database! Delete file and try again... - SqfliteFfiException(error, Invalid argument(s): Couldn't resolve native function 'sqlite3_initialize' in 'package:sqlite3/src/ffi/libsqlite3.g.dart' : Failed to load dynamic library 'libsqlcipher.so': Failed to load dyna
mic library 'libsqlcipher.so': libsqlcipher.so: cannot open shared object file: No such file or directory.
}) DatabaseException(Invalid argument(s): Couldn't resolve native function 'sqlite3_initialize' in 'package:sqlite3/src/ffi/libsqlite3.g.dart' : Failed to load dynamic library 'libsqlcipher.so': Failed to load dynamic library 'libsqlcipher.so': libsqlcipher.so: cannot open shared object file: No suc
h file or directory.
)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 4489, tid: 138160109547328, name io.flutter.ui
os: linux arch: x64 comp: no sim: no
build_id: '8da3e74f73d952882caa070d8f16f6b6'
isolate_dso_base: 7da7b58b9000, vm_dso_base: 0
isolate_instructions: 7da7b6319000, vm_instructions: 0
    #00 abs 00007da7b67c6dc7 virt 0000000000f0ddc7 _kDartSnapshotText+0x4addc7
    #01 abs 00007da7b6f18899 virt 000000000165f899 _kDartSnapshotText+0xbff899
<asynchronous suspension>
    #02 abs 00007da7b6f18794 virt 000000000165f794 _kDartSnapshotText+0xbff794
<asynchronous suspension>
    #03 abs 00007da7b6f1868d virt 000000000165f68d _kDartSnapshotText+0xbff68d
<asynchronous suspension>
    #04 abs 00007da7b6d5d9ad virt 00000000014a49ad _kDartSnapshotText+0xa449ad
<asynchronous suspension>
    #05 abs 00007da7b6f17672 virt 000000000165e672 _kDartSnapshotText+0xbfe672
<asynchronous suspension>
    #06 abs 00007da7b6f170b0 virt 000000000165e0b0 _kDartSnapshotText+0xbfe0b0
<asynchronous suspension>
    #07 abs 00007da7b6f16f8d virt 000000000165df8d _kDartSnapshotText+0xbfdf8d
<asynchronous suspension>
    #08 abs 00007da7b6f16ea9 virt 000000000165dea9 _kDartSnapshotText+0xbfdea9
<asynchronous suspension>
    #09 abs 00007da7b6fe9be3 virt 0000000001730be3 _kDartSnapshotText+0xcd0be3
<asynchronous suspension>
    #10 abs 00007da7b6fe95ed virt 00000000017305ed _kDartSnapshotText+0xcd05ed
<asynchronous suspension>
    #11 abs 00007da7b6f1406f virt 000000000165b06f _kDartSnapshotText+0xbfb06f
<asynchronous suspension>
    #12 abs 00007da7b6f13b1a virt 000000000165ab1a _kDartSnapshotText+0xbfab1a
<asynchronous suspension>
    #13 abs 00007da7b6f0dca1 virt 0000000001654ca1 _kDartSnapshotText+0xbf4ca1
<asynchronous suspension>
    #14 abs 00007da7b6d55568 virt 000000000149c568 _kDartSnapshotText+0xa3c568
<asynchronous suspension>
    #15 abs 00007da7b6f1f5be virt 00000000016665be _kDartSnapshotText+0xc065be
<asynchronous suspension>
    #16 abs 00007da7b6febe4e virt 0000000001732e4e _kDartSnapshotText+0xcd2e4e
<asynchronous suspension>

[Matrix] !!!CRITICAL!!! Unable to open database! Delete file and try again... - SqfliteFfiException(error, Invalid argument(s): Couldn't resolve native function 'sqlite3_initialize' in 'package:sqlite3/src/ffi/libsqlite3.g.dart' : Failed to load dynamic library 'libsqlcipher.so': Failed to load dyna
mic library 'libsqlcipher.so': libsqlcipher.so: cannot open shared object file: No such file or directory.
}) DatabaseException(Invalid argument(s): Couldn't resolve native function 'sqlite3_initialize' in 'package:sqlite3/src/ffi/libsqlite3.g.dart' : Failed to load dynamic library 'libsqlcipher.so': Failed to load dynamic library 'libsqlcipher.so': libsqlcipher.so: cannot open shared object file: No suc
h file or directory.
)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 4489, tid: 138160109547328, name io.flutter.ui
os: linux arch: x64 comp: no sim: no
build_id: '8da3e74f73d952882caa070d8f16f6b6'
isolate_dso_base: 7da7b58b9000, vm_dso_base: 0
isolate_instructions: 7da7b6319000, vm_instructions: 0
    #00 abs 00007da7b67c6dc7 virt 0000000000f0ddc7 _kDartSnapshotText+0x4addc7
    #01 abs 00007da7b6f18899 virt 000000000165f899 _kDartSnapshotText+0xbff899
<asynchronous suspension>
    #02 abs 00007da7b6f18794 virt 000000000165f794 _kDartSnapshotText+0xbff794
<asynchronous suspension>
    #03 abs 00007da7b6f1868d virt 000000000165f68d _kDartSnapshotText+0xbff68d
<asynchronous suspension>
    #04 abs 00007da7b6d5d9ad virt 00000000014a49ad _kDartSnapshotText+0xa449ad
<asynchronous suspension>
    #05 abs 00007da7b6f17672 virt 000000000165e672 _kDartSnapshotText+0xbfe672
<asynchronous suspension>
    #06 abs 00007da7b6f170b0 virt 000000000165e0b0 _kDartSnapshotText+0xbfe0b0
<asynchronous suspension>
    #07 abs 00007da7b6f16f8d virt 000000000165df8d _kDartSnapshotText+0xbfdf8d
<asynchronous suspension>
    #08 abs 00007da7b6f16ea9 virt 000000000165dea9 _kDartSnapshotText+0xbfdea9
<asynchronous suspension>
    #09 abs 00007da7b6fe9be3 virt 0000000001730be3 _kDartSnapshotText+0xcd0be3
<asynchronous suspension>
    #10 abs 00007da7b6fe95ed virt 00000000017305ed _kDartSnapshotText+0xcd05ed
<asynchronous suspension>
    #11 abs 00007da7b6f1406f virt 000000000165b06f _kDartSnapshotText+0xbfb06f
<asynchronous suspension>
    #12 abs 00007da7b6f13b1a virt 000000000165ab1a _kDartSnapshotText+0xbfab1a
<asynchronous suspension>
    #13 abs 00007da7b6f0dca1 virt 0000000001654ca1 _kDartSnapshotText+0xbf4ca1
<asynchronous suspension>
    #14 abs 00007da7b6d55568 virt 000000000149c568 _kDartSnapshotText+0xa3c568
<asynchronous suspension>
    #15 abs 00007da7b6f1f5be virt 00000000016665be _kDartSnapshotText+0xc065be
<asynchronous suspension>
    #16 abs 00007da7b6febe4e virt 0000000001732e4e _kDartSnapshotText+0xcd2e4e
<asynchronous suspension>

Exception caught but auto send crash reports is disabled.
PathNotFoundException: Cannot delete file, path = '/home/MYUSER/.local/share/chat.fluffy.fluffychat/FluffyChat linux.sqlite' (OS Error: No such file or directory, errno = 2)
<asynchronous suspension>
<asynchronous suspension>
<asynchronous suspension>
<asynchronous suspension>
<asynchronous suspension>
<asynchronous suspension>
<asynchronous suspension>

Additional context

No response

System metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.18.66, NixOS, 27.05 (Axolotl), 27.05.20261201.c555305`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.35.6`
 - nixpkgs: `/nix/store/r88gxcdviidyc9y0fgq4gnpfigl7z6bg-source`

Notify maintainers

@mkg20001
@tebriel
@Aleksanaa


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: bug
    on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions