62 Commits

Author SHA1 Message Date
happybell80
cb2de53935 Fix Docker permissions check: replace 'groups' with 'id' command
- Synology NAS doesn't have 'groups' command
- Use 'id' command instead which is available on all Unix systems
- This fixes the deployment pipeline error

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 23:42:48 +09:00
happybell80
0de5312b6d Remove sudo dependency from deployment
- Replace sudo rsync with cp command
- Add error suppression for permission denied files
- Continue deployment even if some files can't be overwritten
- Avoid password prompt issues with sudo

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 23:39:47 +09:00
happybell80
9b0c1ee117 Use temporary directory for safe deployment
- Extract files to /tmp first to avoid permission issues
- Use sudo rsync --delete for clean deployment
- Remove temporary files after deployment
- Handles root-owned files in target directory

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 23:31:04 +09:00
happybell80
ac006e88b3 Fix file overwrite permission issues in deployment
- Exclude .git directory from tar archive
- Clean target directory before extraction
- Prevent file exists and permission denied errors
- Ensure clean deployment without conflicts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 23:23:59 +09:00
happybell80
7413e9d6d2 Fix Docker permission issues for admin user
- Add Docker socket permission check
- Implement fallback to sudo for docker commands
- Handle admin user Docker access limitations
- Add conditional logic for docker vs sudo docker-compose

Resolves: Docker socket permission denied errors

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 23:20:03 +09:00
happybell80
1c2cc6e956 Replace rsync with tar+SSH due to server permission issues
- Test rsync availability on remote host
- Use tar + SSH pipe as alternative deployment method
- Avoids rsync server permission denied errors
- More reliable for Synology NAS deployment

Resolves: Permission denied on rsync server command execution

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 23:17:31 +09:00
happybell80
8efdd2a590 Add detailed debugging steps for rsync permission issue
- Test directory access and permissions
- Check user identity and current directory
- Create target directory if not exists
- Add verbose SSH logging (-vvv) to rsync
- Troubleshoot permission denied error step by step

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 23:14:44 +09:00
happybell80
343300cbdc Trigger workflow with latest rsync configuration
- Force re-run with updated rsync command including admin@host:path
- Ensure GitHub Actions uses latest workflow file version

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 23:11:33 +09:00
happybell80
f90cbe3e86 Fix rsync permission denied by specifying admin user
- Explicitly specify admin@HOST in rsync command
- Ensure proper user authentication for file transfer
- Fixes Permission denied error during rsync step

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 23:08:23 +09:00
happybell80
f553408cc4 Fix SSH authentication issues in GitHub Actions
- Add SSH key verification step with ssh-add -l
- Properly configure known_hosts with ssh-keyscan
- Add SSH connection test before rsync
- Remove StrictHostKeyChecking=no from rsync and remote commands
- Follow webfactory/ssh-agent best practices

Resolves SSH key authentication failures during deployment

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 22:51:18 +09:00
happybell80
7d4d77ce1b Update deployment to rsync-based NAS deployment
- Replace Docker Hub CI/CD with direct NAS deployment
- Use rsync for reliable file synchronization
- Add SSH-based remote docker-compose execution
- Configure for Synology NAS volume path structure

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 22:34:25 +09:00
happybell80
56eaf8c9b5 Initial nginx-infra setup with GitOps deployment
- Add GitHub Actions CI/CD pipeline
- Configure Nginx reverse proxy for robeing services
- Setup docker-compose for full stack deployment
- Include health checks for all services
- Support for PostgreSQL and Redis data persistence

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 21:52:52 +09:00