Migrating Snipe-IT from Docker to K8s #13205
noor-muradi
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello folks,
I have been running Snipe-it app on my Docker environment since a year ago, now I want to migrate it to K8s with its existing data, to move the data of the DB and Snipe app, I have created two persistent volumes in the K8s cluster which is backed by NFS share. I have copied the data from "/var/lib/docker/volumes/snipe-vol/_data" and "/var/lib/docker/volumes/db-vol/_data" to nfs-server:/nfs-share/persistent-volumes/snipe-vol/ and nfs-server:/nfs-share/persistent-volumes/db-vol/, the DB is running smoothly but the when I run the Snipe app deployment, the pod crashes with below errors:
I had previously faced same issue with my Wordpress migration to K8s , I was getting same permission error with DB data, and I resolved it by changing ownership of the migrated data to NFS server to UID 999, so I have tried to change the permission of the Snipe app data on NFS server share recursively to www-data, docker, UID 1000, and root but none worked.
below is the logs of the Snipe pod on K8s.
Beta Was this translation helpful? Give feedback.
All reactions