So I have a share for the NCBox image, which consists of two image files and two text files (showing perfectly fine):
However today when looking to edit one of the text files via my private account (ie not public share), they’re not showing:
I’ve checked and they’re there on disk, and links from the activity app take me to the proper folder but they don’t show in that directory.
I’ve run an occ files:scan just in case, no change.
Some interesting logs (loads of mysql, the remote mariadb server is up and fine):
PDOStatement::execute(): MySQL server has gone away at /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#91
Also,
Error no app in context InvalidArgumentException: The given author user is invalidN;
/var/www/html/apps/activity/lib/FilesHooks.php - line 889: OC\Activity\Event->setAuthor(NULL)
/var/www/html/apps/activity/lib/FilesHooks.php - line 749: OCA\Activity\FilesHooks->addNotificationsForUser('jason', 'link_expired', Array, 81981, '/Multimedia/201...', true, true, 3600)
/var/www/html/apps/activity/lib/FilesHooks.php - line 565: OCA\Activity\FilesHooks->shareFileOrFolderByLink(81981, 'file', 'jason', false)
/var/www/html/apps/activity/lib/FilesHooksStatic.php - line 101: OCA\Activity\FilesHooks->unShare(Array)
/var/www/html/lib/private/legacy/hook.php - line 106: OCA\Activity\FilesHooksStatic unShare(Array)
/var/www/html/lib/private/Share/Share.php - line 1541: OC_Hook emit('OCP\\Share', 'pre_unshare', Array)
/var/www/html/lib/private/Share/Share.php - line 977: OC\Share\Share unshareItem(Array, NULL)
/var/www/html/lib/public/Share.php - line 290: OC\Share\Share unshare('file', '81981', 3, NULL, 'jason')
/var/www/html/apps/files_sharing/lib/ExpireSharesJob.php - line 72: OCP\Share unshare('file', '81981', 3, NULL, 'jason')
/var/www/html/lib/private/BackgroundJob/Job.php - line 53: OCA\Files_Sharing\ExpireSharesJob->run(NULL)
/var/www/html/lib/private/BackgroundJob/TimedJob.php - line 54: OC\BackgroundJob\Job >execute(Object(OC\BackgroundJob\JobList), Object(OC\Log))
/var/www/html/cron.php - line 121: OC\BackgroundJob\TimedJob->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log))
{main}
And
Warning no app in context Missing expected parameters in change user hook
Reboot (of both server and db server) hasn’t resolved either
Errors above may be red herrings.