That makes sense, because originally the error message said it couldn’t find needle/update.php, and there was no needle folder on my new server, but there was on my old server. When I installed WP in a folder and named it “needle,” that part of the error message went away.
Thanks for the links. I’ll post again if this gets it working.