关于 docker 中容器安装权限的问题
发表于 : 2024年 5月 27日 星期一 10:51 pm
管理员同学
劳烦解决一下问题
最近需要安装一个图片管理的 docker 容器 但是一直提示权限识别,别的都没问题
容器安装方法的地址:https://mtmt.tech/docs/start/install
一直提示错误。
能不能帮看下什么问题好吗? Tnas6.0 测试版
劳烦解决一下问题
最近需要安装一个图片管理的 docker 容器 但是一直提示权限识别,别的都没问题
容器安装方法的地址:https://mtmt.tech/docs/start/install
一直提示错误。
Event
"===== initDb =====
"
"execFile stderr: sh /usr/src/app/initDb.sh initdb: error: could not access directory ""/config/pgsql/data"": Permission denied
"
"
"
"catch error: [Error: ENOENT: no such file or directory, open '/config/pgsql/data/postgresql.auto.conf'] {
"
" errno: -2,
"
" code: 'ENOENT',
"
" syscall: 'open',
"
" path: '/config/pgsql/data/postgresql.auto.conf'
"
"}
"
"pg_ctl: could not access directory ""/config/pgsql/data"": Permission denied
"
"2024-05-27T22:43:18: PM2 log: Launching in no daemon mode
"
"2024-05-27T22:43:18: PM2 log: App [launcher:0] starting in -fork mode-
"
"2024-05-27T22:43:18: PM2 log: App [launcher:0] online
"
"Debug: id postgres uid=103(postgres) gid=105(postgres) groups=105(postgres),102(ssl-cert)
"
"Debug: stat /config/pgsql File: /config/pgsql
"
" Size: 0 Blocks: 0 IO Block: 4096 directory
"
"Device: cbh/203d Inode: 118663 Links: 1
"
"Access: (0700/drwx------) Uid: ( 103/postgres) Gid: ( 105/postgres)
"
"Access: 2024-05-27 22:43:18.117925016 +0800
"
"Modify: 2024-05-27 21:57:06.245835856 +0800
"
"Change: 2024-05-27 22:43:18.117925016 +0800
"
" Birth: -
"
" =========== 服务端启动异常 =============
"
"修复方法: https://mtmt.tech/docs/advanced/ifix
"
能不能帮看下什么问题好吗? Tnas6.0 测试版