-
Notifications
You must be signed in to change notification settings - Fork 57
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
Gitea PostgreSQL fails to create /bitnami/postgresql directory - permission denied #641
Comments
Attempting to reproduce failed for me.
Differences left to the original report: OS, Docker version, maybe Epinio version. What version of Epinio did you use ? |
This is an issue with HostPath and NFS volumes. I just opened #684 |
I see this now in Windows with Rancher Desktop (RD) v0.4.0. It didn't happen with RD v0.3.0 |
Not sure about this. A local build with this patch
does not fix this problem. |
@kkaempf Since you are deploying postgresql as a subchart, you have to prefix any value changes with the subchart name:
|
FWIW, postgresql deployed fine for me with Rancher Desktop 0.4.0 on macOS even without the permissions change, but it should be safer to always include that setting. |
Fixes epinio#641 Signed-off-by: Klaus Kämpf <[email protected]>
FYI, I tried on a k3s cluster installed on a Leap15.3 and I had the same error. Here the logs:
|
I also tested with k3d installed on Leap15.3 and I have the exact same issue/error message. |
Now that is interesting. I am on Leap 15.3 as well, with k3d and do not have the issue. Below what I know about my system so that you can compare to your config and actions. My configuration:
Commands to stand up the k3d/k3s cluster
Then installed epinio using
Note that the above commands are all done on my Leap host. This host is not a VM, and I am not using a VM to segregate docker and k3d either. with everythng up (cluster and epinio) docker reports:
Hope that helps |
@andreas-kupries I'm on a VM, but with all installed on the VM, so should be the same as on bare metal. |
I am not as sure that being in a VM is the same a bare metal in this. When I was working on enhancing the Windows portability of Epinio @kkaempf was able to run RD (pre 0.4) on Windows 10 baremetal. Me trying to use the same RD on a Windows 10 VM hosted on a Leap 15.3 Linux box (or Ubuntu 20.04) RD was unable to start kube, errorring out with an WSL error (i.e. the Windows Subsystem for Linux). |
@andreas-kupries So I retry ion my VM with your commands but I have an issue, maybe because of the options on the I also installed a fresh Leap15.3 in Server mode (like in the VM) on an old laptop that I have and I followed the installation steps from the k3d quickstart and I have the same issue on it. So it seems not related to a VM. Next step is to find the differences :) EDIT: the output of
But the detail is the same:
|
Confirmed fixed, postgresql runs nicely now. But lead to #732 😠 🤦🏻♂️ |
See epinio#641 for details. Signed-off-by: Klaus Kämpf <[email protected]>
Fixes epinio#732. See epinio#641 for details. Signed-off-by: Klaus Kämpf <[email protected]>
Fixes #641 Signed-off-by: Klaus Kämpf <[email protected]> Co-authored-by: Venkata Krishna Rohit Sakala <[email protected]>
Fixes #732. See #641 for details. Signed-off-by: Klaus Kämpf <[email protected]> Co-authored-by: Venkata Krishna Rohit Sakala <[email protected]>
Following the k3d quickstart
MacOS
Docker CE 20.10.7
k3d v4.4.7
Single node using rancher.io/local-path storage driver (default)
Gitea fails to deploy. Specifically, the gitea postgres container fails to deploy with the following in the logs:
Not sure if this relates to #615, but as different platform logging here.
The text was updated successfully, but these errors were encountered: