-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve error message for graph driver mismatch #7396
Comments
The error message is even worse when runroot is changed. It doesn't even tell you what's wrong, just that it failed to chown |
@mheon PTAL If either of you are interested in opening a PR to fix this, it would be appreciated. I would not recommend removing the boltdb, but doing a |
|
@mheon If we delete the database, will the database be regenerated, or will we have potentially lost data? |
Podman system reset should work in this situation. I believe. Could you open a separate issue on this? |
We will not re-generate the DB, so you will lose any currently-created containers. There is no safe way to migrate a container to a new storage path at present. |
while making the other issue, I also noticed that |
opened #7446 for the "unable to reset" issue 👍 |
also #7447 for the "reset deletes storage.conf" |
Ok so we need to blow away all storage in this case. |
A friendly reminder that this issue had no activity for 30 days. |
This issue is still not solved. The error message does still not give any information on how to actually solve the problem. See also #8705 |
What would you like to see the error message say? |
As an ordinary user I do not know at all what this is and what it means. So as the OP has suggested, tell me how to do that and where that file is. |
The issue was a leftover storage.conf that was created in a previously (In my opinion broken version of Podman) This storage.conf file is no longer created and you are the first person who has reported an issue, that I know of, so this is not exactly a huge problem, and I don't see it as easy to fix. |
But should not error messages anyway still always be as useful as possible? As it seems, I was not the first one to wonder about this message, the OP probably was. |
I ran into this issue with v2.2.1, although I'm not sure why, since I didn't modify the default config. The |
I also started receiving the error message I'm not sure how to proceed here as I'd prefer not to lose my containers and data. |
That error message indicates that you most likely have not been using overlay, even if you thought you were - the Podman DB indicates your existing containers were created with |
Also if you installed fuse-overlayfs, it would shift from a default of vfs to overlay. |
Yes, I guess that's what happened. I thought I had |
I confirm that setting |
PRs welcomed. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
little itty-bitty feature -- a hint as to what command to run would be helpful in this error output:
Steps to reproduce the issue:
podman run --rm -ti ubuntu:focal echo hi
podman run --rm -ti ubuntu:focal echo hi
)Describe the results you received:
Describe the results you expected:
A friendlier suggestion with the actions needed to solve the problem, for example:
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
on both virtualbox and aws
The text was updated successfully, but these errors were encountered: