Skip to content

Fix video clips not uploading to website - #11

Merged
LeeOtts merged 1 commit into
mainfrom
claude/fix-video-upload-NYcMT
May 13, 2026
Merged

LeeOtts merged 1 commit into
mainfrom
claude/fix-video-upload-NYcMT

Conversation

@LeeOtts

@LeeOtts LeeOtts commented May 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • The clips rsync in sync_to_site.sh was missing -e "ssh ${SSH_OPTS}", causing it to connect on default port 22 instead of REMOTE_PORT. On hosts with a non-standard SSH port (e.g. SiteGround), the video transfer silently failed while the earlier site_data.json sync (which had the SSH options) succeeded — explaining why captions appeared on the site but no videos uploaded since May 5th.
  • Fixed rsync filter-rule ordering: moved --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

  • Verify bash -n scripts/sync_to_site.sh passes (syntax check)
  • Run sync manually and confirm clips appear under ${REMOTE_PATH}/clips/ on the server
  • Confirm both video files and captions show up correctly on the live site

https://claude.ai/code/session_01NWxPr9yBj2Q585WSTqx3Fn


Generated by Claude Code

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
@LeeOtts
LeeOtts merged commit 09cc1cc into main May 13, 2026
6 checks passed
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