What’s the URL of the page that is 404ing?
If you want to upgrade, go to your.discourse/admin/upgrade