Skip to content
Weik.ioUniversity
Try Weik.io

To production

MFT 5 · 4:27

The invoice transfer from the earlier MFT videos goes to production, where its remotes and secrets have values of their own. A run that fails after the supplier changes its password is found and fixed.

Download the mp4Recorded on 2026.2

What it covers

  • Remote values for production, with its own server and bucket
  • Production secrets entered at a hidden prompt with weikio secret set
  • Promoting the version into production with weikio promote, which pins it there
  • A production run with weikio invoke, and its Copied rows on the Transferred files page
  • A failed run after a password change, from Needs attention to the rclone error
  • Setting the new password and restarting the transfer with weikio restart

Commands in this video

Terminal
$ weikio secret set finance/supplier-ftp-password --env production
$ weikio secret set finance/invoice-archive-key --env production
$ weikio promote finance/supplier-invoices --from devtest --to production
$ weikio invoke finance/supplier-invoices --env production --endpoint direct:mft-run
$ weikio problems
$ weikio logs finance/supplier-invoices --env production --from 2026-10-23T13:04:27Z --to 2026-10-23T13:04:38Z --correlation-id 4cdc9acd-d45b-42bb-918d-421c50553b54
$ weikio restart finance/supplier-invoices --env production
Transcript
  1. 0:01Your file transfer runs in devtest. This video walks it into production.
  2. 0:11This drawing is your Weik.io installation, where the earlier videos left it.
  3. 0:17Production is next, with agent prod online.
  4. 0:21A remote's value belongs to one environment, so tags mark the production pair.
  5. 0:26Production works against its own supplier server and bucket.
  6. 0:34Secrets are stored per environment,
  7. 0:37so the supplier's password needs a value for production.
  8. 0:40The command prints where the value goes, then asks at a prompt that echoes nothing.
  9. 0:48weikio secret set finance/invoice-archive-key for production
  10. 0:53stores the bucket key the same way.
  11. 0:55Both secret chips take their production tag once Weik.io stores it.
  12. 1:02weikio promote finance/supplier-invoices from devtest to production carries the running version into production,
  13. 1:11where it stays pinned.
  14. 1:12A write into production waits for confirmation, so the question takes a yes.
  15. 1:17The promotion copies no values and no secrets,
  16. 1:21so production keeps its server, its bucket and both secrets.
  17. 1:30weikio invoke finance/supplier-invoices in production on its run-now entry asks for a run there,
  18. 1:38then answers at once about the queued run.
  19. 1:41The run copies both PDFs into the bucket,
  20. 1:44while the filter holds price-list.csv back.
  21. 1:51Every moved file leaves a record on the Transferred files page,
  22. 1:55here filtered to production.
  23. 1:57The two PDFs have a Copied row each, and the held-back CSV has none.
  24. 2:05Each run gets a row in the Runs section.
  25. 2:08The row counts two files and no errors, with copy as its operation.
  26. 2:17The supplier's production folder gained another invoice.
  27. 2:21The supplier changed its production password.
  28. 2:35The top row counts no files, and its first error names the refused login.
  29. 2:42Home counts the failure under Needs attention.
  30. 2:50A run with errors leaves a problem on the list, kind transfer failed.
  31. 2:55The figure counts one error, and the detail gives a logs command.
  32. 2:59The read covers only that run, down to rclone's 530 line.
  33. 3:12The same write stores the new password:
  34. 3:14weikio secret set finance/supplier-ftp-password for production.
  35. 3:23The prompt stays hidden.
  36. 3:25The transfer takes its password when it starts,
  37. 3:28so weikio restart finance/supplier-invoices stops it and starts it again.
  38. 3:39Ask for the run the same way, now with the new password.
  39. 3:43Invoice-1045.pdf lands in the production bucket.
  40. 3:50weikio problems comes back empty.
  41. 3:59Home cleared with no reload, still Live.
  42. 4:07Tags mark which environment a value or secret belongs to.
  43. 4:11Production runs the promoted version, pinned to 0.1.1.
  44. 4:16The bucket holds every file production moved.

Sign in to the live demo

Sign in with the shared viewer account, which can open every screen of the example projects and can't change anything.

E-mail
viewer@demo.weik.io
Password
try-weikio-live-demo
Open the live demo