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

Running seaf-fsck.sh error: Current user (0) is not the user for running seafile server #1045

Closed
FeitianSmartcardReader opened this issue Dec 16, 2017 · 2 comments

Comments

@FeitianSmartcardReader
Copy link

FeitianSmartcardReader commented Dec 16, 2017

Hi
I am trying check fsck function, I do install seahub and seafile by root, and using root to run seaf-fsck.sh, but it give error, error is below, from my understanding, the file owner is root, and i switch to root to run, but still give error.

seafile version: seafile-server-6.2.3

screen shot 2017-12-16 at 3 07 54 pm

Starting seaf-fsck, please wait ...

[12/16/17 15:07:48] seaf-fsck.c(155): Current user (0) is not the user for running seafile server (10103872). Unable to run fsck.
seaf-fsck run done

Done.

@FeitianSmartcardReader
Copy link
Author

Got the point, did check JensErat/docker-seafile#13, the seafile-data must be root too, but I was mount smb server which doesn't have root. that's why cannot run fsck

@FeitianSmartcardReader
Copy link
Author

To solve the issue, I do build source code and comment check_user fuction, now it works well

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

No branches or pull requests

1 participant