I can view the shared photos as an admin, but not as the user.
version: 9.0.53 (stable)
php 5.4
It not working on mobile device browser or computer.
`Enabled:
activity: 2.2.1
admin_audit: 1.0.0
announcementcenter: true
comments: 0.2
dav: 0.1.6
direct_menu: 0.9.0
documents: 0.12.1
external: 1.2
federatedfilesharing: 0.1.0
federation: 0.0.4
files: 1.4.4
files_antivirus: true
files_external: 0.5.2
files_pdfviewer: 0.8.1
files_sharing: 0.9.1
files_texteditor: 2.1
files_trashbin: 0.8.0
files_versions: 1.2.0
files_videoplayer: 0.9.8
firstrunwizard: 1.1
gallery: 14.5.0
music: 0.3.12
notes: 2.0.2
notifications: 0.2.3
password_policy: 1.0.0
provisioning_api: 0.4.1
systemtags: 0.2
templateeditor: 0.1
theming: 0.2.0
updatenotification: 0.1.0
Disabled:
audios
encryption
galleryplus
ojsxc
user_external
user_ldap
user_saml
`
`Exception: Could not locate node linked to ID: 6731
Error gallery Exception: Could not locate node linked to ID: 6760
Error gallery Exception: Could not locate node linked to ID: 6760
Error PHP Undefined offset: 0 at /media/54bf67db-da31-4c50-bb3c-27140944b223/www/nextcloud/apps/gallery/environment/environment.php#363
Error gallery Exception: Could not locate node linked to ID: 6756
Error gallery ExceptionCould not locate node linked to ID: 6756
Error PHP Undefined offset: 0 at /media/54bf67db-da31-4c50-bb3c 27140944b223/www/nextcloud/apps/gallery/environment/environment.php#363`
Error! Could not generate a preview of this file. Please go to the next slide while we remove this imae from the slideshow.
Did you manually delete files from the file system? Looks like in your NC there are still some files linked that do not exist any more. You can run a file-scan: sudo -u www-data php /path/to/nextcloud/occ files:scan --all
I thought that you perhaps manually deleted files (via SSH or FTP). There will be a feature to create and delete thumbnails manually via occ-command, not sure how far the development is:
That feature may be released one day, but that won’t solve the initial problem. Maybe the encryption key is corrupt. I had a similar issue with a botched upgrade (my fault).
I suspect it works with one user because the thumbnails are still there, but if you remove them, then you’ll get the same errors.
I’m not using encryption.
The photos are sharing via Samba shares, if that matter.
I also tried manually add 'enable_previews' => true, in config.php
and deleted user thumbnails folder, /data/<user>/thumbnails
but error persist.
Users had experience this issue in OwnCloud prior NC.
Another thing I notice is that my MP3 Player (audios) detect all songs in the playlist when I’m log in as an admin, but as the user, it not recognize at all.
When log in as a user, the ‘music’ player built in, it says “No music found”.
Can you temporarily disable the apps direct_menu and music?
Does it work if you place the files on your principal storage (not on external storage)? Would also be interesting if other external storage fails as well.
No, I’m mounting it as local storage.
By the way, my smbclient is installed , but it says it isn’t.
Note: "smbclient" is not installed. Mounting of SMB / CIFS, SMB / CIFS using OC login is not possible. Please ask your system administrator to install it.
@oparoz Is this node link the reference of the file in the filecache-table?
This the the OP could try to trace which file is causing the errors…
Not sure how to debug this any further, who can help out? If you don’t get answers in a reasonable time, also consider creating a bug report on Issues · nextcloud/server · GitHub
@tx7, since this problem seems to affect all the apps which need to access the filesystem, I think it would be a good idea to post the details on Github. There must be something strange going on with the Samba mount.
Note that the player has its own database.
and your old version has issues recognizing removed files so you could see them even if they are gone (but not play them)
By the way: in the apostore i released the neuest version of the audios-continuation calles “Audio Player”
For you issue: did you touch perhaps the mimetypes?
Did you check the filecache table if the files are still there?