Shares to external NFS server lost after reboot of server

Steps to reproduce

  • Setup a local mounted NFS share to a remote server but don’t make it auto mount (via /etc/fstab)
  • Configure that directory as external storage
  • Share that directory with a user
  • Reboot the server
  • Now the previously configured user share is lost

Expected behaviour

After the (re)mount of an external NFS folder is restored OwnCloud should restore the user shares too.

Actual behaviour

The user shares are lost. So I need to reshare all folders again with all users. That is lots of work and I need to keep track what user may access what folder too.

Server configuration

Ubuntu 22.04.3 LTS

Web server:
Apache 2.4.52

Database:
mysql 8.0.3

PHP version:
7.4.33

ownCloud version: (see ownCloud admin page)
10.9.1

Hey,

to me it looks like ownCloud should detect that the external storage is not available without “wiping” the info about shares but failed to do this. I’m not sure how much the ownCloud community is able to help with such issues. :frowning_face:

The only thing which the ownCloud community probably could help is probably to suggest to update to a more recent ownCloud version as 10.9.1 looks a little bit older (current is 10.3.1).

current is 10.13.1 :-). I will install that soon.

Lol the thing is that I did create an issue in the owncloud bug tracker system but they told me to ask it hier.

Next time this issue happens I will check the share mysql table to see if the shares are still there.

Hey,

i think this is something which really needs to be handled more gracefully by ownCloud itself and doesn’t depend on some configuration but i don’t know why they told you that the ownCloud community can help with that. :frowning_face: Did they specified how the ownCloud community could actually help?

The recent version is indeed 10.13.1, typo from my side :frowning_face:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.