<div dir="ltr"><div class="gmail_default" style="color:rgb(0,0,0)">Hello Paolo and Simone,</div><div class="gmail_default" style="color:rgb(0,0,0)"><br></div><div class="gmail_default" style="color:rgb(0,0,0)">We just ran the script again and we got a new error message in the terminal. Have you seen this before? Is it maybe because we had already ran the scripts at an earlier stage? Thank you for your help!</div><div class="gmail_default" style="color:rgb(0,0,0)"><br></div><div class="gmail_default" style="color:rgb(0,0,0)">Levi </div><div class="gmail_default" style="color:rgb(0,0,0)"><br></div><div class="gmail_default" style="color:rgb(0,0,0)"><div style="font-family:Calibri,sans-serif;font-size:14px;margin:14pt 0px;background-color:rgb(120,127,255)"><font face="Hack" color="#FFFB00">Traceback (most recent call last):</font></div><div style="font-family:Calibri,sans-serif;font-size:14px;margin:14pt 0px;background-color:rgb(120,127,255)"><font face="Hack" color="#FFFB00"> File "/home/administrator/geonode-migration_from20_to_24/migrate_contactroles.py", line 4, in <module></font></div><div style="font-family:Calibri,sans-serif;font-size:14px;margin:14pt 0px;background-color:rgb(120,127,255)"><font face="Hack" color="#FFFB00"> src = utils.get_src()</font></div><div style="font-family:Calibri,sans-serif;font-size:14px;margin:14pt 0px;background-color:rgb(120,127,255)"><font face="Hack" color="#FFFB00"> File "/home/administrator/geonode-migration_from20_to_24/utils.py", line 21, in get_src</font></div><div style="font-family:Calibri,sans-serif;font-size:14px;margin:14pt 0px;background-color:rgb(120,127,255)"><font face="Hack" color="#FFFB00"> "dbname='%s' user='%s' port='5432' host='%s' password='%s'" % (gn20_dbname, gn20_user, gn20_host, gn20_password)</font></div><div style="font-family:Calibri,sans-serif;font-size:14px;margin:14pt 0px;background-color:rgb(120,127,255)"><font face="Hack" color="#FFFB00"> File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect</font></div><div style="font-family:Calibri,sans-serif;font-size:14px;margin:14pt 0px;background-color:rgb(120,127,255)"><font face="Hack" color="#FFFB00"> connection_factory=connection_factory, async=async)</font></div><div style="font-family:Calibri,sans-serif;font-size:14px;margin:14pt 0px;background-color:rgb(120,127,255)"><font face="Hack" color="#FFFB00">psycopg2.OperationalError: FATAL: could not open file "base/16384/11757": Read-only file system</font></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 11, 2016 at 4:52 PM, Paolo Corti <span dir="ltr"><<a href="mailto:pcorti@gmail.com" target="_blank">pcorti@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Looks like the migrations scripts didn't run successfully.<br>
Levi, could you re-run the process and provide the full log of the<br>
migration scripts?<br>
Also, make sure to read comments here:<br>
<a href="https://github.com/GeoNode/geonode/issues/2067" rel="noreferrer" target="_blank">https://github.com/GeoNode/geonode/issues/2067</a><br>
thanks<br>
p<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Apr 11, 2016 at 8:03 AM, Simone Dalmasso<br>
<<a href="mailto:simone.dalmasso@gmail.com">simone.dalmasso@gmail.com</a>> wrote:<br>
> The issue seems to be originating here<br>
> <a href="https://github.com/GeoNode/geonode/blob/master/geonode/base/templatetags/base_tags.py#L54" rel="noreferrer" target="_blank">https://github.com/GeoNode/geonode/blob/master/geonode/base/templatetags/base_tags.py#L54</a>.<br>
> And the final error is: ValueError: invalid literal for int() with base 10:<br>
> 'None'<br>
> @capooti any hints?<br>
><br>
> 2016-04-11 13:59 GMT+02:00 Levi Westerveld <<a href="mailto:levi.westerveld@gmail.com">levi.westerveld@gmail.com</a>>:<br>
>><br>
>> Hello,<br>
>><br>
>> We recently moved our data from a 2.0 geonode server<br>
>> (<a href="http://geonode.grida.no/" rel="noreferrer" target="_blank">http://geonode.grida.no/</a>) to a new server with geonode 2.4<br>
>> (<a href="http://opengeo.grida.no/" rel="noreferrer" target="_blank">http://opengeo.grida.no/</a>). geonode 2.4 was successfully installed before we<br>
>> ran the migration using the scripts provided here:<br>
>> <a href="https://github.com/capooti/geonode/tree/migration_from20_to_24/scripts/migrations/migrate20to24" rel="noreferrer" target="_blank">https://github.com/capooti/geonode/tree/migration_from20_to_24/scripts/migrations/migrate20to24</a>.<br>
>><br>
>> After running the two migration scripts, users, layers, and maps data were<br>
>> transferred successfully, but each time I clicked on a layer nothing would<br>
>> happen. When we tried to access the geoserver after logging in we also<br>
>> received an error message.<br>
>><br>
>> Now we have an Internal Server Error after we tried to open up to the<br>
>> client side so that the server could be accessed externally from a browser.<br>
>><br>
>> The error log file from /var/logs/apache2/error.log is attached to this<br>
>> email.<br>
>><br>
>> perhaps someone here has an idea on what is the best way forward?<br>
>><br>
>> Many thanks for the help,<br>
>><br>
>> Levi<br>
>><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> geonode-users mailing list<br>
>> <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Simone<br>
><br>
> _______________________________________________<br>
> geonode-users mailing list<br>
> <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
><br>
<br>
<br>
<br>
--<br>
</div></div><span class="HOEnZb"><font color="#888888">Paolo Corti<br>
Geospatial software developer<br>
web: <a href="http://www.paolocorti.net" rel="noreferrer" target="_blank">http://www.paolocorti.net</a><br>
twitter: @capooti<br>
skype: capooti<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Levi Westerveld</div><div><br></div><div dir="ltr"><div><br></div><div><br></div></div></div></div></div></div></div></div></div></div></div>
</div>