Sanity-check database before running upgrades (#6982)
Some of the database deltas rely on `config.server_name` being set correctly, so we should check that it is before running the deltas. Fixes #6870.pull/6414/head
							parent
							
								
									e66f099ca9
								
							
						
					
					
						commit
						c1156d3e2b