-
Notifications
You must be signed in to change notification settings - Fork 183
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
CreateHome fails #2995
Comments
Also happens on continuously deployed demo instances (eg. https://ocis.ocis-web.latest.owncloud.works/). I did a dump of the user storage (storage-users.zip), that is similar to @kulmann s example, that can be use to reproduce the state oCIS is in after the CreateHome didn't succeed... Though it doesn't bring us futher to the answer why this happens at all.
|
@butonic can you please have a look again? |
@wkloucek did you see any |
Possible fix: cs3org/reva#2457 |
Side note: Started the WOPI deployment example today and ran into this issue multiple times |
which version of oCIS did you use? (if latest, could you please post your docker image digest?) |
|
did you start from scratch (no volumes present before) or did you have pre-existing volumes? You can check that by running Background: It was potentially fixed in cs3org/reva#2457. It is already included in your image but if you have a old volume, the bug will be persisted forever... |
I thought I had removed the volumes before starting the newly pulled images, but |
Had some issues because volumes seemed not to be deleted the way I expected them to...now they're all fresh but the problem persists, yes |
Just set up a new machine (and both pulled fresh docker images & compiled oCIS locally), still an issue |
I have the issue with current After creating the container and logging in, (I was using Error Log (in container)
I did not see any error relating to See #3152 for original (probable duplicate) bug report. |
I seem to be able to reproduce this 100% of the time if the backing filesystem is a tmpfs. For example, with the following argument to
|
@nealey IIRC tmpfs does not support extended attributes in the user.* namespace, which is required by the decomposed filesystem ocis uses by default: https://cateee.net/lkddb/web-lkddb/TMPFS_XATTR.html Try using a different filesystem, or use a docker volume. |
Reading this thread it seems to either be the default (low) ulimit on macos or conservative oses, or a filesystem without extattr support. There have also been a lot of fixes with regards to file locking and atomicity, so this should no longer be a problem. Closing. Please open a new issue if you think you are still encountering this. |
Describe the bug
Sometimes ™️ the
CreateHome
grpc request fails on first user login. As a result the logged in user sees aResource not found
page, which is yielded by a 404 fromPROPFIND
on the user home.What I noticed in the filesystem is that the following folder structure was created, with a symlink to a non-existing folder:
Steps to reproduce
Steps to reproduce the behavior:
A hunch that I thought I had, but still couldn't reproduce it in a stable way:
~/.ocis
WEB_ASSET_PATH
set to a locally build web):WEB_ASSET_PATH=/path/to/web/dist OCIS_INSECURE=true ./bin/ocis server
https://localhost:9200
(failing)2022/01/20 10:23:35 [ERR] mdns: Failed to bind to udp port: listen udp4 0.0.0.0:0: socket: too many open files listen udp6 [::]:0: socket: too many open files
Resource not found
page as described aboveAgain, I don't
Expected behavior
User home gets provisioned reliably
Actual behavior
User home sometimes doesn't get provisioned
Setup
oCIS single binary from current master at
fdb2f55b77532c1ea52452664d8f7577e2bf8805
Additional context
oCIS error log
OS
macOS 11.5.2
I only have 256 file descriptors configured, but then again, I'm not even sure that the
too many open files
mdns error is related in any way. Of course oCIS is not fully functioning when I have the error, but I'm not sure if this is the thing that leads to the error with the failing CreateHome.The text was updated successfully, but these errors were encountered: