Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web upgrade with lost+found in data directory does not work #6906

Closed
herring-swe opened this issue Oct 22, 2017 · 3 comments
Closed

Web upgrade with lost+found in data directory does not work #6906

herring-swe opened this issue Oct 22, 2017 · 3 comments

Comments

@herring-swe
Copy link

Steps to reproduce

  1. Upgrade nextcloud from 11.03 to 12.03 from administrators panel
  2. Upgrade fails when making backup due to read error of "lost+found" in nextcloud/data directory

Expected behaviour

It should ignore lost+found folder

Actual behaviour

Upgrade stops.
After setting chmod o+rw on lost+found it works (but I shouldn't have to)

Server configuration

Ubuntu 16.04, apache.. ext4 fs of course :)
The rest shouldn't matter.

@blizzz
Copy link
Member

blizzz commented Oct 24, 2017

Lost+Found should not be there. The data folder is supposed to be controlled by just Nextcloud. I assume you are mounting this. In that case, it is best to not use root level of the mount but create a subdirectory within and use this as data folder. However changing the datadir in Nextcloud's config is not supported, you'd want to keep the path intact.

cc @icewind1991

@herring-swe
Copy link
Author

I'd say nextcloud should support having a root mount as a data dir, or root installation folder. Since it's for file-sharing and thus might need a large separate filesystem.
Currently it works perfectly and only trouble is with the upgrader, which can easily detect and skip this folder.
I could set the datadir to be elsewhere but my experience with other software says things break especially in upgraders which might not probe for the correct location of dirs (staring at pydio).

@MorrisJobke
Copy link
Member

This is an updater issue and was already reported there.

Duplicate of nextcloud/updater#68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants