Open G1FEF opened 12 months ago
Can you look in your Nextcloud logs for the error log entry corresponding with these steps?
Nothing until I changed log_level from 2 to 0 then I got the below. Not sure why only files from admin can be added to a photo album?
{"reqId":"G09esHgz6HODnNHH8qmH","level":0,"time":"2023-07-06T18:57:34+00:00","remoteAddr":"199.15.238.203","user":"admin","app":"webdav","method":"COPY","url":"/remote.php/dav/files/admin/Pictures/Friedrichshafen/2023-Friedrichshafen/Rosy/IMG20230623123132.jpg","message":"Can't add file to album, only files from admin can be added","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5.1 Safari/605.1.15","version":"27.0.0.8","exception":{"Exception":"Sabre\DAV\Exception\Forbidden","Message":"Can't add file to album, only files from admin can be added","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":132,"function":"copyInto","class":"OCA\Photos\Sabre\Album\AlbumRoot","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":659,"function":"copy","class":"Sabre\DAV\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpCopy","class":"Sabre\DAV\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\DAV\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\DAV\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\DAV\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":364,"function":"exec","class":"Sabre\DAV\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\DAV\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":172,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/photos/lib/Sabre/Album/AlbumRoot.php","Line":167,"message":"Can't add file to album, only files from admin can be added","exception":{},"CustomMessage":"Can't add file to album, only files from admin can be added"}}
On 6 Jul 2023, at 19:30, Josh Richards @.***> wrote:
Can you look in your Nextcloud logs for the error log entry corresponding with these steps?
— Reply to this email directly, view it on GitHub https://github.com/nextcloud/photos/issues/1917#issuecomment-1624137721, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFJ5OVEXLFMDBZXEYB4R4MLXO375LANCNFSM6AAAAAAZ5SPOUM. You are receiving this because you authored the thread.
Is some part of the path /Pictures/Friedrichshafen/2023-Friedrichshafen/Rosy/IMG20230623123132.jpg
either a shared folder or a file uploaded by another user?
Probably a duplicate of #1558
Nah this is a major issue, freshly installed Nextcloud and this doesn't work. This makes nextcloud photos unusable for any serious data storage because major, personal data is at the hands of lack of unit/e2e testing before release. It's literally impossible to miss this if any effort at all was put into testing it before shipping to the public.
Describe the bug When attempting to add a photo to an album an error results: Failed to add IMGxxxx.jpg to album xxxx. The photo is not added to the album.
To Reproduce Steps to reproduce the behavior:
Expected behavior The photo is added to the album.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Browser log