[defaultuser@XperiaXZ2Compact ~]$ /usr/bin/sailjail -p jolla-gallery.desktop /usr/bin/jolla-gallery
constructing /run/firejail/mnt/privileged: Images,Ambienced,msyncd,Accounts,Keys …
mounting /run/firejail/mnt/privileged @ /home/defaultuser/.local/share/system/privileged
hiding /run/firejail/mnt/privileged
[D] unknown:0 - Using Wayland-EGL
library “libGLESv2_adreno.so” not found
library “eglSubDriverAndroid.so” not foundError: Input file path cannot be read: /home/defaultuser/NAS/Bilder/2023/IMG_20230423_101731.mp4
[W] unknown:0 - NemoThumbnailCache::ThumbnailData {anonymous}::generateVideoThumbnail(const QString&, const QString&, const QByteArray&, const QSize&, bool) Could not generateVideoThumbnail: “/home/defaultuser/NAS/Bilder/2023/IMG_20230423_101731.mp4” QSize(512, 512) true
Error: Input file path cannot be read: /home/defaultuser/NAS/Bilder/2023/IMG_20230417_074131.mp4
[W] unknown:0 - NemoThumbnailCache::ThumbnailData {anonymous}::generateVideoThumbnail(const QString&, const QString&, const QByteArray&, const QSize&, bool) Could not generateVideoThumbnail: “/home/defaultuser/NAS/Bilder/2023/IMG_20230417_074131.mp4” QSize(512, 512) true
Error: Input file path cannot be read: /home/defaultuser/NAS/Bilder/2023/IMG_20230415_102301.mp4
[W] unknown:0 - NemoThumbnailCache::ThumbnailData {anonymous}::generateVideoThumbnail(const QString&, const QString&, const QByteArray&, const QSize&, bool) Could not generateVideoThumbnail: “/home/defaultuser/NAS/Bilder/2023/IMG_20230415_102301.mp4” QSize(512, 512) true
Error: Input file path cannot be read: /home/defaultuser/NAS/Bilder/2023/IMG_20230414_191634.mp4
[W] unknown:0 - NemoThumbnailCache::ThumbnailData {anonymous}::generateVideoThumbnail(const QString&, const QString&, const QByteArray&, const QSize&, bool) Could not generateVideoThumbnail: “/home/defaultuser/NAS/Bilder/2023/IMG_20230414_191634.mp4” QSize(512, 512) true
[W] unknown:52 - file:///usr/lib64/qt5/qml/Sailfish/Gallery/ImageViewer.qml:52:5: QML Image: Cannot open: file:///home/defaultuser/NAS/Bilder/2023/IMG_20230501_183102.jpg
[W] unknown:52 - file:///usr/lib64/qt5/qml/Sailfish/Gallery/ImageViewer.qml:52:5: QML Image: Cannot open: file:///home/defaultuser/NAS/Bilder/2023/IMG_20230501_183100.jpg
[W] unknown:1154 - file:///usr/lib64/qt5/qml/Sailfish/Silica/PageStack.qml:1154:13: QML Binding: Binding loop detected for property “value”
[W] unknown:1154 - file:///usr/lib64/qt5/qml/Sailfish/Silica/PageStack.qml:1154:13: QML Binding: Binding loop detected for property “value”
[W] unknown:1154 - file:///usr/lib64/qt5/qml/Sailfish/Silica/PageStack.qml:1154:13: QML Binding: Binding loop detected for property “value”
Would the path /home/defaultuser/Pictures/NAS/Bilder/2023/… work better?
Would the path /home/defaultuser/Pictures/NAS/Bilder/2023/… work better?
Not in all aspects:
- Thumbnails for Pictures are created and showed in Gallery-Dirs and when opening the Overview-Page of NAS, but open a Picture is not possible (not found), Exif-Data are shown of each Picture.
- Thumbnails for Videos are not created (maybe through too big files or missing permissions) but shown without Thumbnail inside Video-Dir (which seems to be some kind of internal Sorting for Video-Files, which isn´t a bad idea). Open Video not Possible but also Info (Exif-Info are shown).
So tracker3 do its part here, the Sailjail-Permissions are all set, so there must be other Problems with my dafs2fs-share or permissions for Gallery.
Softlinking the ~/NAS/Bilder/2023 inside Pictures is no option for me because then all content will be Displayed under Pictures from Phone-Memory/SD-Card which create doubled content there.
I got the solution:
add
whitelist ${HOME}/NAS
to /etc/sailjail/permissions/Pictures.permissions
and /etc/sailjail/permissions/Videos.permissions
The next OS update may wipe these lines out, unfortunately.
I know so maybe a patch will be made or the option to add other Directorys in App-Preferences in SFOS.
For some reason tracker3 did not update home/defaultuser/Pictures/NAS/Bilder/2023/ by itself.
Is there a way to trigger the daemon without the need to buildup the complete database from the ground up?
Nextcloud account is meant to be used with Nextcloud, it is not a generic WebDAV client, so I’ll close this bug report.