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
c961ee5b
Commit
c961ee5b
authored
Aug 16, 2025
by
yiling.shen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add detailed diagnostics for clinic recognition issue in production environment
parent
f21f3873
Pipeline
#3192
passed with stages
in 1 minute 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
.gitlab-ci.yml
+4
-0
No files found.
.gitlab-ci.yml
View file @
c961ee5b
...
@@ -35,6 +35,10 @@ deploy_to_production:
...
@@ -35,6 +35,10 @@ deploy_to_production:
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "/tmp/deploy_with_backup.sh"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "/tmp/deploy_with_backup.sh"
-
echo "Checking deployment status"
-
echo "Checking deployment status"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose ps"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose ps"
-
echo "Checking database connection"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T db mysql -u callback_user -p'$DB_PASSWORD' -e 'SELECT COUNT(*) as clinic_count FROM clinics;' callback_system 2>/dev/null || echo 'Database connection failed'"
-
echo "Checking clinic data"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd customer-recall && docker compose exec -T app python -c \"import sys; sys.path.append('.'); from database_manager import DatabaseManager; db = DatabaseManager(); print('Clinics:', db.get_all_clinics())\" 2>/dev/null || echo 'Clinic data check failed'"
-
echo "Checking backup files"
-
echo "Checking backup files"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "ls -lh /backup/database/production_backup_*.sql 2>/dev/null || echo 'No backup files found'"
-
ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "ls -lh /backup/database/production_backup_*.sql 2>/dev/null || echo 'No backup files found'"
-
echo "Deployment completed successfully"
-
echo "Deployment completed successfully"
...
...
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