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

回贴
回帖数 2
阅读数 939
发表时间 2023-05-12 11:00:02
🏀
吴国灏 楼主

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


2个回复
🍟
张彩玲 沙发
您好,参考这个链接中的文档安装下试试呢:

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-12 11:16:16 张彩玲 回帖
📖
郑院生 板凳

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

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


2023-05-15 15:25:35 郑院生 回帖
联系人
杨苗/高级客户经理
电话(微信)
13165050229
QQ号码
2692096539
联系邮箱
yangmiao@chandao.com
返回顶部
杨苗
高级客户经理
13165050229
2692096539
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。