Repository navigation
Fix video clips not uploading to website - #11
Merged
Merged
Conversation
The clips rsync in sync_to_site.sh was missing -e "ssh ${SSH_OPTS}",
so it used default port 22 instead of REMOTE_PORT. On hosts with a
non-standard SSH port (e.g. SiteGround) the transfer failed silently
while the earlier site_data.json sync (which had the SSH options)
succeeded — explaining why captions appeared but no videos uploaded.
Also fix filter-rule ordering: move --exclude='_*' before
--include='*.mp4' so temp files (_video_*.mp4) are not uploaded,
and replace the ad-hoc per-extension excludes with a final --exclude='*'.
https://claude.ai/code/session_01NWxPr9yBj2Q585WSTqx3Fn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sync_to_site.shwas missing-e "ssh ${SSH_OPTS}", causing it to connect on default port 22 instead ofREMOTE_PORT. On hosts with a non-standard SSH port (e.g. SiteGround), the video transfer silently failed while the earliersite_data.jsonsync (which had the SSH options) succeeded — explaining why captions appeared on the site but no videos uploaded since May 5th.--exclude='_*'before--include='*.mp4'so temp files (_video_*.mp4) are properly blocked, and replaced the ad-hoc per-extension excludes with a single--exclude='*'at the end.Test plan
bash -n scripts/sync_to_site.shpasses (syntax check)${REMOTE_PATH}/clips/on the serverhttps://claude.ai/code/session_01NWxPr9yBj2Q585WSTqx3Fn
Generated by Claude Code