npct / pct-shiny

The Shiny map for Local Authorites
GNU Affero General Public License v3.0
24 stars 14 forks source link

Test server not auto updating #888

Closed Robinlovelace closed 2 years ago

Robinlovelace commented 2 years ago

As described in #884. Heads-up @nikolai-b I think this is in your court, happy to look into it though. First priority: diagnose the underlying cause.

Robinlovelace commented 2 years ago

To verify this navigate to http://npct0.vs.mythic-beasts.com/m/?r=isle-of-wight and click on the IMD basemap which is now updated in the main website.

nikolai-b commented 2 years ago

After the new debain install the server was missing rsync as can be seen in the build log

remote: /home/git/bin/update-server: line 11: rsync: command not found

I've also added some more Bash script safety so scripts with errors will exit with an error instead of carrying on. It might cause a deploy to fail as something is missing but it will be much clearer that it is broken instead of being marked as a green build but actually having an error.