I am using an owncloud app (not publically available) that generates some files and stores them using owncloud’s internal storage mechanism (
$storage->newFile('somefile.json')) when called via
occ. The files are all created under
data/var/ in this case. Now when these files are read again from the web frontend using the same storage mechanism (
$storage->get('somefile.json')), it tries to find these files directly under
data/var/, which fails, of course.
I have no clue why this is happening, but it seems to be system-dependant, as there are setups where this doesn’t happen (all using owncloud 10.4). I am using Ubuntu 20.4, while the others all use CentOS 7 (I think).
Does anybody have an idea what might be causing this?