We have an intranet server (win10) running on top of a folder in our owncloud directory. Currently this is running on a separate computer that has the owncloud desktop client syncing the files. This works ok, but I would like to combine the owncloud server (Ubuntu 24.04, oc 10.14.0) and intranet server into one system.
I experimented with using davfs2 looping back to localhost on the server. This does work but was painfully slow.
So I was thinking, maybe the intranet server could read and serve files directly from the owncloud data folder ââŚ/owncloud/data/{USER}/files/intranetâ as this would be the lowest latency option.
Even though I would set the intranet user to read only on the owncloud data directory I am worried about causing interference with owncloud. Is there no risk if only reading from this file set?
While directly accessing ownCloudâs data folder can be tempting for low latency, itâs not recommended. It could lead to unexpected conflicts with ownCloud processes.
A safer option might be using ownCloudâs external storage feature. You can define the intranet folder as an external storage location with read-only access for the intranet user. This keeps things separate while allowing read access.
Readonly access wonât harm ownCloud.
But there are other issues to consider:
security: a misconfiguration on your intranet server might expose files from other users.
sharing is not visible there. Any shares, that users create wonât appear in the filesystem.
If you want to view one specific owncloud/data/USER/files/intranet subfolder only, all this should be manageable, if you know what you do. (aka not recommended, no official support )
I agree with frelancesage: using an external storage feature is much more recommended. There is e.g. ftp or local avalable as external storages. In any case, the concept would be a bit different: such storage lives outside the owncloud/data tree, your âotherâ server is âhostâ, and ownloud is only âguestâ.
Thanks you both for your insight. It is funny, I just disabled the external storage addon so we could get the âstay signed inâ checkbox available.
There will only ever be one owncloud user and the intranet folder encompasses the entire user directory. I will give the local external storage a shot and see how it goes.