Camera pictures stored on encrypted SD card are not displayed in gallery app
Hello fellow SFOS users,
I stumbled over the following phenomenon: Pictures taken by the camera app are not display in the gallery app, if the pictures are stored on an encrypted SD card. I am able to find and open the picture files via the file system using the app "File Browser". I already tried to refresh the media database using the "Sailfish Utilities". Unfortunately this did not solve the problem.
Formating the SD card without encryption and storing pictures on the card that way makes them appear in the gallery app as expected.
I'd like to know, if anybody can confirm this behaviour. If it is reproducable, it might be a general bug that Jolla developers could probably fix. I am using SailfishOS X 3.0.1.11 on Xperia X in combination with a SDXC card from SanDisk with a capacity of 200 GB.
Thank you and greetings,
rebos
Got the same bug.
ahoi_jolla ( 2019-02-02 22:22:18 +0200 )editI've actually got the opposite problem - I symlink the encrypted SD card folder (which is a hidden .folder on the decrypted volume) to /home/nemo/Pictures and photos without fail ALWAYS show up twice in the gallery app. I'm using the scripts from This thread though, so not sure if there's something in there that picks the tracker into gear sifting through the decrypted volume.
Piece_Maker ( 2019-02-02 23:47:28 +0200 )editNo videos but pictures in Galery app, using encrypted 128 GB sdhc card (ext4 formated with phone settings app). Seems to be really a bug!
Marti Masa K ( 2019-02-20 20:37:30 +0200 )edit@Piece_Maker, if you want to discuss your observations in an issue at Github (assuming that you are using crypto-sdcard) or at the appropriate thread at TJC, I am pretty sure we can resolve your pictures being shown twice in the Gallery app.
olf ( 2019-06-14 22:02:37 +0200 )editPlease provide a bit more details then: The device and SailfishOS version you are using, plus what
ls -l /home/nemo | grep '^l.*'
emits.The problem for both, pictures and music is - say - asynchronous.
On startup of the device the
trackerd
is started. But at that point an encrypted device cannot be found because it is not unlocked at that time.When restarting the
trackerd
after unlocking - via sailfishos tools -> empty media database (and e. g. virgi's Tracker Path Settings patch is used and set to recursively search the sd card) all data will occur in media player and gallery.@jolla: please retrigger trackerd after unlocking!
cy8aer ( 2019-06-15 15:43:34 +0200 )edit