Troubleshooting
Items don’t update in the background
Section titled “Items don’t update in the background”- This is usually iOS, not Rundown. Background wakes are at iOS’s discretion: at most every 15 minutes, often hours apart. Open Settings › Diagnostics and look at the wake log to see what iOS actually gave the app.
- Check that Background App Refresh is on for Rundown (Diagnostics warns when it isn’t), and that Low Power Mode is off.
- Don’t force-quit Rundown from the app switcher: iOS stops waking it until you open it again.
- In the Simulator, background tasks can’t be scheduled at all. Debug builds have Simulate a Background Wake in Diagnostics.
- For timing that matters, run the item on your server.
On the Mac, items stopped updating
Section titled “On the Mac, items stopped updating”The Mac runs items only while Rundown is open. Check it’s still running (look for the menu bar item), and turn on Settings › This Mac › Open at Login.
A card shows “Update failed”
Section titled “A card shows “Update failed””The card keeps its last good content, and the error below it is what the action reported — often a rejected key, a wrong input or an unreachable site. Open the item’s details: Last Error and Recent Runs show the full message and the run’s log. Fix the setting and tap Update Now.
If the error says the script took too long while executing (runaway), the action has an endless
loop. After four of those, the app stops running scripts until it’s restarted.
A card says “Needs setup”
Section titled “A card says “Needs setup””A required setting is missing: a key that was never entered, a new required setting an update added, or a key that didn’t come along through a restore or a move. Edit the item and fill it in.
No notifications arrive
Section titled “No notifications arrive”- Settings › Notifications shows whether Rundown may notify. If it’s off, Open Notification Settings.
- Check the type’s switch in the item’s settings, and that the item isn’t muted.
- Open Notification History: every request an item made is there, with the reason it was held back — turned off, muted, already sent, too many, notifications off, iOS refused.
- Remember that the first run only records a baseline, and that the same event notifies once per cooldown.
- For server items, the server needs APNs, and Settings › Server must show push as On.
A script won’t import or load
Section titled “A script won’t import or load”- The preview lists every problem, with the line for script errors.
- A link must return the raw
.jsfile, not a web page. On GitHub, use the Raw link. - Use CommonJS (
module.exports = class … extends Action).importandexportaren’t supported. - Unknown
metafields are errors, so a typo stops the import.rundown-cli validateshows the same messages in the terminal.
A change in the Actions folder didn’t apply
Section titled “A change in the Actions folder didn’t apply”- The app must be open (in the foreground on the iPhone).
- A change that asks for new network access or new required inputs waits in the import preview. Library › Actions Folder shows each script’s status.
- A script with an error keeps the installed version running; the Library shows the error.
The server can’t be reached
Section titled “The server can’t be reached”- The apps only talk to
https://servers (plainhttp://only tolocalhost, for the Simulator). Check the certificate and that the address is reachable from your phone’s network. curl https://your-server/healthshould answer without authentication.- A pairing code works once and only for 10 minutes; run
pairagain for a new one. - If the app asks you to pair again, the server revoked its token (or lost its database).
iCloud sync isn’t working
Section titled “iCloud sync isn’t working”Settings › iCloud shows the status, the last sync and the last error. Sync needs both devices signed in to the same iCloud account. A build signed without the iCloud container works on its own and says so there.
Widgets or the watch look out of date
Section titled “Widgets or the watch look out of date”They show the cards the iPhone last wrote; they never run scripts. Open the app, or pull to refresh, and they update within moments. On the watch, the feed arrives when the iPhone next updates its widgets.