- Add 'npx prisma migrate deploy' to the update command in manage.sh
- Ensures database schema is updated when running update command
- Fixes issue where new features (like version checking) wouldn't work
after updating without running migrations
The update_instance function already had migrations, but the
manage.sh update command was missing this crucial step.
- Fix sed command escaping in git ls-remote command
- Add explicit SSH key path and GIT_SSH_COMMAND environment
- Add debug logging for troubleshooting SSH issues
- Ensure proper SSH authentication for private repositories
This resolves the 'Failed to fetch repository information' error
when checking for updates from private GitHub repositories.
- Replace HTTPS GitHub API calls with SSH git commands
- Use existing deploy key for private repository access
- Add proper error handling for SSH authentication issues
- Support fetching latest tags via git ls-remote
- Maintain compatibility with private repositories using deploy keys
This allows the version checking system to work with private repositories
that have SSH deploy keys configured, using the same authentication
as the local git operations.
- Remove manage-patchmon.sh from Git tracking
- Add manage-patchmon.sh to .gitignore to prevent future commits
- File was accidentally committed in previous version management update
- Add Server Version tab in settings
- Add githubRepoUrl field to Settings model
- Add database migration for github_repo_url
- Update settings API to handle GitHub repo URL
- Add version checking UI with current/latest version display
- Default GitHub repo: git@github.com:9technologygroup/patchmon.net.git