Skip to content

Public shares for album work but give log error saying share does not exist? #1652

Description

@nigelharpur

Describe the bug

When I share a public link to an album the link works fine, just as expected, but in my NC log I see these entries following each (successful) access via the link.

The requested share does not exist any more
{
"reqId": "A3HdbAMiDmxsJ824105w",
"level": 3,
"time": "2026-04-15T09:47:15+00:00",
"remoteAddr": "2xx.1xx.6x.2xx",
"user": "--",
"app": "no app in context",
"method": "GET",
"url": "/apps/memories/api/image/info/459500?token=EHJewy7fpE3w01dvF15eUxj8bGL8EdNh&albums=EHJewy7fpE3w01dvF15eUxj8bGL8EdNh",
"scriptName": "/index.php",
"message": "The requested share does not exist any more",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36",
"version": "33.0.2.2",
"data": {
"trace": "[{"file":"/var/www/nextcloud/apps/memories/lib/Db/FsManager.php","line":320,"function":"getShareByToken","class":"OC\Share20\Manager","type":"->"},{"file":"/var/www/nextcloud/apps/memories/lib/Db/FsManager.php","line":346,"function":"getShareObject","class":"OCA\Memories\Db\FsManager","type":"->"},{"file":"/var/www/nextcloud/apps/memories/lib/Controller/ImageController.php","line":255,"function":"getShareNode","class":"OCA\Memories\Db\FsManager","type":"->"},{"file":"/var/www/nextcloud/apps/memories/lib/UtilController.php","line":20,"function":"OCA\Memories\Controller\{closure}","class":"OCA\Memories\Controller\ImageController","type":"->"},{"file":"/var/www/nextcloud/apps/memories/lib/Controller/ImageController.php","line":193,"function":"guardEx","class":"OCA\Memories\Util","type":"::"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":205,"function":"info","class":"OCA\Memories\Controller\ImageController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}]"
},
"id": "69e0d52e7b07e"
}

Steps To Reproduce

Create album
Go to share menu
Select public link and copy
Use link from a browser

Platform

- OS:Ubuntu Server 22.04
- Browser:n/a on server
- Memories Version:8.0.1
- Nextcloud Version:33.0.2
- PHP Version:8.3

Error generated after accessing album via share link from Linux Mint with Vivaldi/Firefox or from Windows 10 with Chromium - have no others to test with.

Screenshots

No response

Additional context

  • Any errors in the JS console?
  • Any errors in the Nextcloud server logs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions