Nextcloud: "Cannot sync due to invalid modification time"

I’m not so sure about that:

But based on a later post in that topic, I was able to put together runagent -m nextcloud1 podman exec -ti nextcloud-app sh to get me into a shell in the container. wget the script, chmod +x it, and I’m set, right?

Nope, because the script depends on /bin/bash, which doesn’t exist inside the container. And the script depends on bash-specific syntax, so I can’t just edit the #! line to #!/bin/sh.