KTailctl icon indicating copy to clipboard operation
KTailctl copied to clipboard

Flatpak version is not saving config. Is it a permissions issue?

Open mlongval opened this issue 7 months ago • 12 comments

Hello,

I am running Kubuntu24.04 with Plasma 5.27.11

I have installed the the Flatpak version of KTailctl (About reports version 0.17.1)

Issue: Settings made inside KTailctl are not saved between launches. (ie: Start minimized, Tray Icon Theme etc)

I checked who it is running as: (turns out that is ok doc is me)

doc@DellL5400:~/.var/app/org.fkoehler.KTailctl/data/fkoehler.org/KTailctl$ ps aux | grep KTail doc 10419 0.0 0.0 9292 2432 pts/3 S+ 14:11 0:00 grep --color=auto org.fkoehler.KTailctl doc 10726 0.0 0.0 9148 2176 pts/2 S+ 14:17 0:00 grep --color=auto KTail

I then got the logs from "journalctl --user -f | grep org.fkoehler.KTailctl"

Jul 14 14:27:29 DellL5400 systemd[1836]: app-flatpak-org.fkoehler.KTailctl-11060.scope: Consumed 12.392s CPU time. Jul 14 14:27:36 DellL5400 plasmashell[4404]: QString::arg: 2 argument(s) missing in org.fkoehler.KTailctl Jul 14 14:27:36 DellL5400 systemd[1836]: Started app-org.fkoehler.KTailctl-aeb68df8de074bfd8256154bc9351100.scope - KTailctl. Jul 14 14:27:36 DellL5400 systemd[1836]: Started app-flatpak-org.fkoehler.KTailctl-11269.scope. Jul 14 14:27:36 DellL5400 plasmashell[11280]: [2024-07-14T14:27:36][warning][/run/build-runtime/kconfig/src/core/kconfigini.cpp:503] Couldn't write "/home/doc/.var/app/org.fkoehler.KTailctl/config/KTailctlrc" . Disk full? Jul 14 14:27:38 DellL5400 plasmashell[11280]: [2024-07-14T14:27:38][warning][/run/build-runtime/kconfig/src/core/kconfigini.cpp:503] Couldn't write "/home/doc/.var/app/org.fkoehler.KTailctl/data/fkoehler.org/KTailctl/data" . Disk full? Jul 14 14:27:40 DellL5400 plasmashell[11280]: [2024-07-14T14:27:40][warning][/run/build-runtime/kconfig/src/core/kconfigini.cpp:503] Couldn't write "/home/doc/.var/app/org.fkoehler.KTailctl/data/fkoehler.org/KTailctl/data" . Disk full?

The disk is not full.

doc@DellL5400:~/.var/app/org.fkoehler.KTailctl/data/fkoehler.org/KTailctl$ df -h /home Filesystem Size Used Avail Use% Mounted on /dev/mapper/luks-a3a3421d-4bee-4ef3-8c55-a84fdc620833 820G 4.4G 774G 1% /home

Is it a permissions issue? ... so I modified the

/home/doc/.var/app/org.fkoehler.KTailctl/data/fkoehler.org/KTailctl/data

file to be world-writable (and I modified all the parent directories to be 775

doc@DellL5400:~/.var/app/org.fkoehler.KTailctl/data/fkoehler.org/KTailctl$ ls -la total 8 drwxrwxr-x 2 doc doc 4096 Jul 14 14:27 . drwxrwxr-x 3 doc doc 4096 Jul 14 00:16 .. -rwxrwxrwx 1 doc doc 0 Jul 14 14:09 data

But I still get the same issue with KTailctl not being able to write the settings.

Any help would be appreciated. I really like KTailctl otherwise. I am just nitpicking here.... :smiley:

Thanks.

FYI: ChatGPT suggested:

doc@DellL5400:~$ flatpak -u override --filesystem=home org.fkoehler.KTailctl

but that did not change anything.

Cheers from Canada!

mlongval avatar Jul 14 '24 18:07 mlongval