Issue with Activity Email links

Hi,
I’m hoping you can help.
When an activity notification email is sent to a recipiant, the links in the email to the files associaed with the activity aren’t found correctly resulting in the web browser producing an Internal Server Error witht this in the log…


OCP\Files\NotFoundException:

/var/www/html/apps/files/lib/Controller/ViewController.php - line 141:

OCA\Files\Controller\ViewController->redirectToFile("1591")

/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 166:

OCA\Files\Controller\ViewController->showFile("1591")

/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 99:

OC\AppFramework\Http\Dispatcher->executeController(OCA\Files\Co ... {}, "showFile")

/var/www/html/lib/private/AppFramework/App.php - line 126:

OC\AppFramework\Http\Dispatcher->dispatch(OCA\Files\Co ... {}, "showFile")

/var/www/html/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

OC\AppFramework\App::main("OCA\\Files\ ... r", "showFile", OC\AppFramew ... {}, { fileid: "1 ... "})

<<closure>>

OC\AppFramework\Routing\RouteActionHandler->__invoke({ fileid: "1 ... "})

/var/www/html/lib/private/Route/Router.php - line 297:

call_user_func(OC\AppFramew ... {}, { fileid: "1 ... "})

/var/www/html/lib/base.php - line 975:

OC\Route\Router->match("/f/1591")

/var/www/html/index.php - line 42:

OC::handleRequest()

The issue happens both when logged into the Nextcloud and as a logged out user.

The url which is produced when clicking on the link the browser address bar is:
https://net.[redactedforconfidentiality].co.uk/index.php/f/1591

I’m running this on Ubuntu Server 18.04.2
All Ubuntu packages are up to date
Nextcloud Version 16.0.1 (all up to date)
The install is on premises

Any help welcome :slight_smile:

could you solve this problem?