Public links returning an Internal Server Error when enabling the auditing app

Symptom

Public Links are returning an Internal Server Error when opened from anonymous users

Environment

owncloud 10.x

admin audit app version < 2.1.2

Steps to reproduce

  • Access ownCloud via the webUI
  • Enable the admin audit app
  • Create a public share/link and distribute
  • Access the link as anonymous user
  • Notice the Internal Server Error

Cause

Issue with admin_audit app when public link involves external storages

Solution/Workaround

Issue fixed in the version 2.1.2 of admin_audit app