<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 18 November 2014 21:05, Petter Reinholdtsen <span dir="ltr">&lt;<a href="mailto:pere@hungry.com" target="_blank">pere@hungry.com</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I ran &#39;su -c pg_dumpall postgres&#39; on <a href="http://www.fiksgatami.no" target="_blank">www.fiksgatami.no</a> and created<br>
fiksgatami2-dev.nuug.no:/srv/dbdump-fixmystret-2014-11-18.sql.gz.  Is<br>
it what you need?</blockquote><div><br></div><div>Great. I imported the FMS database and the schema update ran on it smoothly (apart from noticing I hadn&#39;t updated MAPIT_URL!) :-)</div><div><br></div><div>Here&#39;s what I&#39;ve done on the new server so far:</div><div><div>1. Ran the install script for fixmystreet</div><div>2. Ran the install script for mapit</div><div>3. Added dev host names to nginx config (and increased server name bucket size to allow that)</div><div>4. Updated the site configs - e.g. COUNTRY on mapit, ALLOWED_COBRANDS, MAPIT_URL, etc. on FixMyStreet. This will need checking against your current configuration, and may not be correct in all areas.</div><div>5. Disabled the crontab for FixMyStreet! :)<br></div><div>6. Imported the database dumps for FixMyStreet and MapIt.</div><div>7. Ran update-schema on FixMyStreet.</div><div>8. Your old installation of MapIt predates any use of Django migrations, so I had to manually tweak the database to the start of its migrations (renaming some tables and adding the country/type tables), at which point the migrations then ran okay (with the loading of the fixture too).</div><div><div><br></div></div><div>I&#39;ve noticed one issue to do with date locale strings, which I&#39;ve put in a fix for. Other things all seem to be operating okay from a first glance. You can access the new instances at <a href="http://fiksgatami.158.36.191.157.xip.io/">http://fiksgatami.158.36.191.157.xip.io/</a> and <a href="http://mapit.158.36.191.157.xip.io/">http://mapit.158.36.191.157.xip.io/</a> </div><div><br></div><div>One question - the FMS database dump had some contacts with the area_id 2111, but there is no such area in your MapIt. Do you know what that&#39;s about?</div><div><br></div></div><div>ATB,</div><div>Matthew</div><div> </div></div></div></div>