owncloud / ocis

:atom_symbol: ownCloud Infinite Scale Stack
https://doc.owncloud.com/ocis/next/
Apache License 2.0
1.42k stars 183 forks source link

unable to load snapshot #9974

Open 9dc opened 2 months ago

9dc commented 2 months ago

i always get this error and have no idea what todo..

2024/09/03 12:28:27 unable to load snapshot, unable to load correct segment wrapper: unsupported version 16 for segment type: zap, supported: [13 12 11 15 14], continuing {"level":"error","service":"search","error":"error parsing mapping JSON: unexpected end of JSON input\nmapping contents:\n","time":"2024-09-03T12:28:27Z","message":"Error initializing search service"}

image

running in docker, latest ocis

BigPebble123 commented 2 months ago

I have the same problem

BigPebble123 commented 2 months ago

Idk what was the cause but you can "solve" it by stopping the service and then deleting/renaming search directory inside owncloud's data directory.

user@homelab:/ocis/data$ ls
idm  idp  nats  proxy  search  storage  store  thumbnails  web

user@homelab:/ocis/data$ mv search/ search_backup/

user@homelab:/ocis/data$ ls
idm  idp  nats  proxy  search_backup  storage  store  thumbnails  web

then start the ocis service.

Edit: I guess the search data was just corrupted and ocis couldn't parse it correctly.

9dc commented 2 months ago

thanks, that solved the first problem. now im still running into

fetch failed to get user from userID | service=idp error=ldap identifier backend get user connect error: LDAP Result Code 49 "Invalid Credentials": ...