helm部署zentao,在部署mysql数据库出现权限问题

2023-05-12 11:00:02
吴国灏
  • 访问次数: 2
  • 注册日期: 2023-05-12
  • 最后登录: 2023-05-12
  • 我的积分: 59
  • 门派等级: 无门派

https://hub.docker.com/r/easysoft/quickon-zentao

helm repo add zentao https://hub.qucheng.com/chartrepo/stable
helm repo update
helm search repo zentao/zentao
helm upgrade -i zentao-open zentao/zentao --set ingress.enabled=true --set ingress.host=zentao.example.local
环境:

K8S 1.25.9-REK2

rancher-longhorn分布式存储


通过helm部署禅道开源版和商业版时,启动mysql时提示以下错误:


mysql 02:58:03.72 2023-05-12T10:58:03.729979068+08:00 mysql 02:58:03.72 Welcome to the Bitnami mysql container 2023-05-12T10:58:03.731207593+08:00 mysql 02:58:03.73 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-mysql 2023-05-12T10:58:03.732378860+08:00 mysql 02:58:03.73 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-mysql/issues 2023-05-12T10:58:03.733581953+08:00 mysql 02:58:03.73 2023-05-12T10:58:03.735035075+08:00 mysql 02:58:03.73 INFO ==> ** Starting MySQL setup ** 2023-05-12T10:58:03.753816688+08:00 mysql 02:58:03.75 INFO ==> Validating settings in MYSQL_*/MARIADB_* env vars 2023-05-12T10:58:03.757247766+08:00 mysql 02:58:03.75 INFO ==> Initializing mysql database 2023-05-12T10:58:03.766490775+08:00 mysql 02:58:03.76 INFO ==> Updating 'my.cnf' with custom configuration 2023-05-12T10:58:03.770075773+08:00 mysql 02:58:03.76 INFO ==> Setting user option 2023-05-12T10:58:03.776487727+08:00 mysql 02:58:03.77 INFO ==> Setting slow_query_log option 2023-05-12T10:58:03.780573316+08:00 mysql 02:58:03.78 INFO ==> Setting long_query_time option 2023-05-12T10:58:03.784217165+08:00 rm: cannot remove '/bitnami/mysql/data/lost+found': Permission denied


沙发
2023-05-12 11:16:16
张彩玲
  • 访问次数: 567
  • 注册日期: 2021-12-02
  • 最后登录: 2024-05-20
  • 我的积分: 1564
  • 门派等级: 无门派
您好,参考这个链接中的文档安装下试试呢:

https://github.com/quicklyon/zentao-docker#72-kubernetes%E9%80%9A%E8%BF%87helm%E5%91%BD%E4%BB%A4%E5%AE%89%E8%A3%85%E5%BC%80%E6%BA%90%E7%89%88%E7%A4%BA%E4%BE%8B

板凳
2023-05-15 15:25:35
ysicing
  • 访问次数: 45
  • 注册日期: 2022-10-15
  • 最后登录: 2024-05-11
  • 我的积分: 183
  • 门派等级: 无门派

正常情况下,请问使用charts单独安装是否有问题?

helm install my-release oci://registry-1.docker.io/bitnamicharts/mysql


1/1 1