no such volume Planka_db-data #160

Closed
opened 2026-02-04 17:35:16 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @fyrak1s on GitHub (Feb 15, 2022).

Hi,
I am trying to run planka but getting the following error:

podman-compose up -d
podman pod create --name=Planka --share net -p 3000:1337
d1397b309caed88f6a727eb15e345c0a81e3b559a12a0dfd088bb2cbad06ce3c
0
podman volume inspect Planka_db-data || podman volume create Planka_db-data
Error: error inspecting object: no such volume Planka_db-data
Traceback (most recent call last):
  File "/usr/local/bin/podman-compose", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 1093, in main
    podman_compose.run()
  File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 625, in run
    cmd(self, args)
  File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 782, in wrapped
    return func(*args, **kw)
  File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 898, in compose_up
    detached=args.detach, podman_command=podman_command)
  File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 457, in container_to_args
    mount_args = mount_desc_to_args(compose, volume, cnt['_service'], cnt['name'])
  File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 386, in mount_desc_to_args
    mount_desc = mount_dict_vol_to_bind(compose, fix_mount_dict(mount_desc, proj_name, srv_name))
  File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 366, in mount_dict_vol_to_bind
    src = json.loads(out)[0]["mountPoint"]
KeyError: 'mountPoint'

My server is running centos 8 for that reason I am forced to use podman and podman-compose sadly. This might have something to do with the issue but I am not sure.

Originally created by @fyrak1s on GitHub (Feb 15, 2022). Hi, I am trying to run planka but getting the following error: ``` podman-compose up -d podman pod create --name=Planka --share net -p 3000:1337 d1397b309caed88f6a727eb15e345c0a81e3b559a12a0dfd088bb2cbad06ce3c 0 podman volume inspect Planka_db-data || podman volume create Planka_db-data Error: error inspecting object: no such volume Planka_db-data Traceback (most recent call last): File "/usr/local/bin/podman-compose", line 11, in <module> sys.exit(main()) File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 1093, in main podman_compose.run() File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 625, in run cmd(self, args) File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 782, in wrapped return func(*args, **kw) File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 898, in compose_up detached=args.detach, podman_command=podman_command) File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 457, in container_to_args mount_args = mount_desc_to_args(compose, volume, cnt['_service'], cnt['name']) File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 386, in mount_desc_to_args mount_desc = mount_dict_vol_to_bind(compose, fix_mount_dict(mount_desc, proj_name, srv_name)) File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 366, in mount_dict_vol_to_bind src = json.loads(out)[0]["mountPoint"] KeyError: 'mountPoint' ``` My server is running centos 8 for that reason I am forced to use podman and [podman-compose](https://github.com/containers/podman-compose) sadly. This might have something to do with the issue but I am not sure.
Author
Owner

@fyrak1s commented on GitHub (Feb 22, 2022):

It was due to an old podman-compose installation, sorry about that.

If anybody else has this issue update podman-compose to latest.

@fyrak1s commented on GitHub (Feb 22, 2022): It was due to an old `podman-compose` installation, sorry about that. If anybody else has this issue update `podman-compose` to latest.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#160