Skip to content

Conversation

@zechtz
Copy link
Owner

@zechtz zechtz commented Aug 20, 2025

  • Enhanced path detection for Apple Silicon vs Intel homebrew installations
  • Added comprehensive log file permission handling with proper ownership
  • Implemented PID file cleanup to prevent root-owned file conflicts
  • Added pre-start PID file validation and removal in service startup
  • Improved nginx service start verification with status checking
  • Fixed cross-platform directory and file permission management

Resolves issue where nginx installation would fail on first run due to permission conflicts with log files and PID files created by previous root processes. Installation now succeeds reliably on first attempt.

zechtz added 2 commits August 20, 2025 19:56
- Enhanced path detection for Apple Silicon vs Intel homebrew installations
- Added comprehensive log file permission handling with proper ownership
- Implemented PID file cleanup to prevent root-owned file conflicts
- Added pre-start PID file validation and removal in service startup
- Improved nginx service start verification with status checking
- Fixed cross-platform directory and file permission management

Resolves issue where nginx installation would fail on first run due to
permission conflicts with log files and PID files created by previous
root processes. Installation now succeeds reliably on first attempt.
- Remove platform-specific syscall import that fails on Linux CI/CD
- Replace syscall.Stat_t usage with portable 'ls -la' command parsing
- Maintain same functionality for detecting root-owned PID files
- Ensures compatibility across macOS, Linux, and CI/CD environments

Resolves build failures in CI/CD pipelines while preserving the nginx
permission fix functionality for first-run installations.
@zechtz zechtz closed this Aug 20, 2025
@zechtz zechtz deleted the feat/onboarding branch August 20, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants