<html><head></head><body>There are several things you can try. Out of my head I remember two relevant mount options:<br>
- stale, which should handle an offline fileserver more graceful. That might however not solve the problem of owncloud locking up when trying to access the file, because we internally cache all the metadata and then of course expect the files the be available.<br>
- fsc, which makes nfs mount use FSCACHE when the cachefilesd is running and configured. I don't know if that is available on the pi.<br>
<br>
In general oc makes the assumption that file modifications are made exclusively via webdav or the web frontend. If I understand correctly you are using a replicated mysql setup on the two machines an then use nfs to export the files from the fileserver to the pi. That should work, assuming you mount the NFS share as the data dir and point the logfile to another directory on the pi.<br>
<br>
I do not understand what you mean by external starage mounted as local because those terms are used in several places and I might likely misinterpret what you are saying.<br>
<br>
Have you set up cachefilesd?<br>
What mount options do you use?<br>
Where do you mount the nfs share in relation to the owncloud data dir on the pi?<br>
Do you use the files_external app?<br>
<br>
So long<br>
<br>
Jörn<br><br><div class="gmail_quote"><br>
<br>
Thomas Keil <thomcz@gmail.com> schrieb:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Hello,<br /><br />I have a raspberry pi running owncloud, and a fileserver in the same<br />network, which is mounted via NFS on the pi. this storage is then<br />mounted as 'local' in owncloud.<br />the problem comes in when the fileserver is offline. if I try to access<br />a folder from the NFS mount (which is not available since the server is<br />down), owncloud hangs completely. the apache itself is still running,<br />other hosted sites are available, but I have to restart the apache<br />server to be able to access owncloud again.<br /><br />my setup is still experimental. I have two synchronized owncloud<br />instances, one on the pi and one on the fileserver. I use LDAP<br />authentication (the server is running 24/7 on the pi) for both<br />instances. the file system structure concerning owncloud is identical<br />for both machines. the directory which is mounted as 'external storage'<br />is exported as NFS from the fileserver to the pi. the my
sql
databases<br />are synchronized via master-master replication, the data directory via<br />unison.<br />it is working fine when both machines are running. the only problem (for<br />now) is the one described above.<br /><br />is there a better approach to handle this situation? I would like to<br />avoid using SMB (for technical as well as personal reasons), and SFTP<br />does not work (or at least I did not get it to work for now).<br /><br />I would really appreciate comments or suggestions concerning this<br />problem. I also welcome questions about my setup in general (which I<br />will gladly describe in detail once it is working satisfactorily).<br /><br /><br />kind regards,<br /><br />Thomas Keil<br /></pre><p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr /><br />Owncloud mailing list<br />Owncloud@kde.org<br /><a
href="https://mail.kde.org/mailman/listinfo/owncloud">https://mail.kde.org/mailman/listinfo/owncloud</a><br /></pre></blockquote></div><br>
-- <br>
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.</body></html>