Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
customer-recall
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tools
customer-recall
Commits
17c7a469
Commit
17c7a469
authored
Aug 16, 2025
by
yiling.shen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix yaml syntax by removing chinese characters
parent
8d5a4b21
Pipeline
#3201
failed in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
.gitlab-ci.yml
+15
-15
No files found.
.gitlab-ci.yml
View file @
17c7a469
...
...
@@ -35,24 +35,24 @@ deploy_to_production:
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "/tmp/deploy_with_backup.sh"
-
echo "Checking deployment status"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose ps"
-
echo "===
详细数据库诊断开始
==="
-
echo "1.
检查MySQL容器状态
"
-
echo "===
Database Diagnostics Start
==="
-
echo "1.
Check MySQL container status
"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose ps mysql"
-
echo "2.
检查MySQL容器日志
"
-
echo "2.
Check MySQL container logs
"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose logs --tail=10 mysql"
-
echo "3.
检查MySQL容器环境变量
"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T mysql env | grep -i mysql || echo '
无法获取MySQL环境变量
'"
-
echo "4.
尝试连接数据库(详细错误信息)
"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T mysql mysql -u root -pcallback_system_2024 -e 'SHOW DATABASES;' 2>&1 || echo '
数据库连接失败,错误代码
:
$?'"
-
echo "5.
检查网络连接
"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T mysql ping -c 1 localhost || echo '
容器内网络连接失败
'"
-
echo "6.
检查MySQL进程
"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T mysql ps aux | grep mysql || echo 'MySQL
进程检查失败
'"
-
echo "7.
检查数据库文件
"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T mysql ls -la /var/lib/mysql/ || echo '
数据库文件检查失败
'"
-
echo "===
详细数据库诊断结束
==="
-
echo "3.
Check MySQL container environment
"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T mysql env | grep -i mysql || echo '
Cannot get MySQL environment variables
'"
-
echo "4.
Try database connection with detailed error info
"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T mysql mysql -u root -pcallback_system_2024 -e 'SHOW DATABASES;' 2>&1 || echo '
Database connection failed, error code
:
$?'"
-
echo "5.
Check network connection
"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T mysql ping -c 1 localhost || echo '
Container network connection failed
'"
-
echo "6.
Check MySQL process
"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T mysql ps aux | grep mysql || echo 'MySQL
process check failed
'"
-
echo "7.
Check database files
"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T mysql ls -la /var/lib/mysql/ || echo '
Database files check failed
'"
-
echo "===
Database Diagnostics End
==="
-
echo "Checking clinic JSON files directly"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && ls -la 诊所患者json/ 2>/dev/null || echo '
诊所患者
json directory not found'"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && ls -la 诊所患者json/ 2>/dev/null || echo '
Clinic patient
json directory not found'"
-
echo "Checking specific clinic files"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && for file in 东亭门诊.json 大丰门诊.json 惠山门诊.json 新吴门诊.json 河埒门诊.json 红豆门诊.json 通善口腔医院.json 马山门诊.json 学前街门诊.json; do if [ -f \"诊所患者json/\$file\" ]; then echo \"✓ \$file exists\"; else echo \"✗ \$file missing\"; fi; done"
-
echo "Checking backup files"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment