Open sHHHk opened 1 year ago
Same idea of : https://github.com/nextcloud/server/issues/36013 ?
@sHHHk sorry for the late reponse. Could you elaborate on how to reproduce the issue? Or what you mean with "preview image link doesn't work"? Do you mean that a file shared with another user doesn't display the preview in their file list?
Please provide a screenshot of what you consider broken.
@sHHHk You describe error with talk app. (on my side, same issue, via web ou mobile app(android and ios)) => if you click on picture ; you can see it
Have you tested on files app ? (web and mobile ?) thumbnail are not created and on : web : you can see picture mobile : get error "No resized image available. Download full image?" => if Yes, picture(or video) is downloaded and can be watch locally.
Example : If folder his not shared :
If folder his shared by other(here user S) :
=> via web app, click on file and you see it => via app : you can see it
If share via link : no preview too I have configure preview, generate all, systemd generate all preview for all new files : no change
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.
As @mejo- stated: please elaborate on how to reproduce this. Please be as step-by-step as possible. If we cannot reproduce, it'll be very challenging to sort out what is going on.
How are you creating the initial share?
Are you opening the file details/sharing tab and selecting Share link to generate a shareable link?
Or are you using the Talk paperclip then selecting Share from Nextcloud?
It sounds more like you're trying to use an Internal link to share with someone, but they don't actually have access to the share. So this would be expected behavior.
In my example the user who uploaded the image can view it with both of these URLs. Whereas the user who the file was shared with can only view it in his Nextcloud Talk Folder under the second URL. The server throws a 404 for the first URL.
Example for a preview URL: https://example.com/core/preview?fileId=1240931
This would be an Internal Link (well it's what it gets transformed to after the shorter one is generated). It won't work unless the destination party already has share access to this file (i.e. you've shared the folder or file previously with them with appropriate rights).
Example for https://example.com/remote.php/dav/files/user/Talk/20210908_091635.jpg
This second was likely shared using the Talk paperclip then selecting Share from Nextcloud. Because shareable links don't generate files here since they're not attachments.
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.
⚠️ This issue respects the following points: ⚠️
Bug description
Whenever I share a picture with another user via Nextcloud Talk for example, the user with whom the picture was shared cannot see it under their preview URL.
In my example the user who uploaded the image can view it with both of these URLs. Whereas the user who the file was shared with can only view it in his Nextcloud Talk Folder under the second URL. The server throws a 404 for the first URL.
Example for a preview URL: https://example.com/core/preview?fileId=1240931
Example for https://example.com/remote.php/dav/files/user/Talk/20210908_091635.jpg
Steps to reproduce
Unfortunately I was not able to enclose the cause of this. I thought I could pin the issue down by disabling all apps with occ and disabling server sided encryption (which was originally enabled on my instance).
Expected behavior
I would assume that an image preview should be shown for the user who the file was shared with under the exact same link with the preview id.
In my example: https://example.com/core/preview?fileId=1240931
Installation method
Official All-in-One appliance
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.0
Web server
Apache (supported)
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response