Hi, everyone, can help me in this issue? ```level...
# help
j
Hi, everyone, can help me in this issue?
Copy code
level=fatal msg="Migration version mismatch, for more information see <https://docs.lakefs.io/deploying-aws/upgrade.html>" func=cmd/lakefs/cmd.glob..func8 file="cmd/run.go:112" error="db schema version not compatible with latest version: db version=35, available=36"
I try this and doesnt work https://docs.lakefs.io/reference/upgrade.html
a
Hi, Sorry you're problems. This error usually indicates that you need to run
lakefs migrate up
, when you're actually running
lakefs run
. Just to make sure: does this come from the migration command? Perhaps a "run" is also running and writing logs to the same sink?
j
yes, we try
---
apiVersion: apps/v1 kind: Deployment metadata: name: web spec: template: spec: containers: - name: web args: - migrate - db - "&&" - lakefs - run livenessProbe: failureThreshold: 4 httpGet: path: /healthcheck port: 8000 readinessProbe: httpGet: path: /healthcheck port: 8000 startupProbe: initialDelaySeconds: 60 periodSeconds: 60 httpGet: path: /healthcheck port: 8000
dockerfile
FROM treeverse/lakefs:0.62.0
kubernetes application
a
The log line you sent appears (by the filename and line) to come from a "run" command. Could you please send the earlier log lines from that attempt, from the migrate command?
Also not sure you should run "migrate db", that's only for moving off of a very old version (pre-0.30 per the migration page). Can you instead try "migrate up"?
1
j
I change the version of aws rds and works
but know
Copy code
level=fatal msg="failed to create catalog" func=cmd/lakefs/cmd.glob..func8 file="cmd/run.go:131" error="create tiered FS for committed metaranges: creating base dir: /home/lakefs/data/lakefs/cache/meta-range - mkdir /home/lakefs/data: read-only file system"
a
1. The error message states the local homedir is on a readonly filesystem. Can you correct that?
So /home/lakefs must be writable by the user running lakefs. In k8s you'll probably want to mount a writable volume there.
j
tks arielv😀
@Ingrid Rosselis Sant Ana Da Cunha
👀 1