Midclt k8s_to_docker fails because of relative path

Hi All,

When upgrading from 24.04 to 24.10 a k8s container failed to migrate. I attempted to re-migrate using
midclt call -job k8s_to_docker.migrate [poolname]
but got an error stating that a path [~/.memos] must start with / (see below)

File "/mnt/.ix-apps/app_configs/clipboard/versions/1.1.9/templates/library/base_v2_1_14/validations.py", line 224, in _valid_path_or_raise\n raise RenderError(f"Path [{path}] must start with /")\nbase_v2_1_14.error.RenderError: Path [~/.memos] must start with /\n

Does anyone have an idea of how to work around the relative path error?

Thanks in advance.

I had a similar issue with Jellyfin migration after upgrading from 24.04 to 24.10. Although this didn’t work in my case it may be worth a try. First, I booted back to 24.04 and fixed the path in the jellyfin configuration. I then rebooted to 24.10 and opened up a shell.

Next, run the following command to re-run the migration documented in the 24.10 releae notes

You can re-initiate a failed migration of any previously-installed Kubernetes apps to Docker at any time after upgrading to Electric Eel. From a shell session enter midclt call -job k8s_to_docker.migrate poolname , where poolname is the name of the applications pool, for example tank.

Unfortunately, in my case the migration ran with the old config and failed. If anyone knows how to re-run the migration with the new configuration, please let me know.