Cantaloupe Sync: fix auto-download from systemd + add manual upload #9

Closed
opened 2026-05-22 03:10:28 +00:00 by shawn · 0 comments
Owner

Fixes

  • Subprocess was using python which not in systemd PATH. Changed to sys.executable (same venv).
  • Frontend now has 📤 Upload Excel button alongside 🔄 Sync Now.
    Uses the same POST /api/admin/cantaloupe/sync endpoint which already supported file upload.

Now you can either:

  • Sync Now: auto-downloads from mycantaloupe.com (account needs unblocking)
  • Upload Excel: pick a downloaded .xlsx file manually
Fixes - Subprocess was using python which not in systemd PATH. Changed to sys.executable (same venv). - Frontend now has 📤 Upload Excel button alongside 🔄 Sync Now. Uses the same POST /api/admin/cantaloupe/sync endpoint which already supported file upload. Now you can either: - Sync Now: auto-downloads from mycantaloupe.com (account needs unblocking) - Upload Excel: pick a downloaded .xlsx file manually
shawn closed this issue 2026-05-22 03:10:31 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shawn/canteen-admin-server#9