[GeoNode-users] failed migration from 2.0 to 2.4

Levi Westerveld levi.westerveld at gmail.com
Tue Apr 19 03:48:59 PDT 2016


​Dear Simone and Paolo,

​We have reinstalled ubuntu and ran the migration files successfully again
from our geonode 2.0 server to our geonode 2.4 instance.

We have two issues

1. we are able to access the geonode 2.4 if we are signed in as a user at
http://opengeo.grida.no/ but if not signed in then an internal server
issues shows up
2. when we are in the layers section and click on a layer it seems that the
link is broken, and we are not redirected to that layer, but stay on the
same page

I attached the two log files for the migration.

Thank you!

Levi

On Fri, Apr 15, 2016 at 9:14 AM, Simone Dalmasso <simone.dalmasso at gmail.com>
wrote:

> Levi,
>
> that is definitely not a good error but can be solved. Linux puts the file
> system in read only mode when there are inconsistencies on the disk.I
> suggest you to google for that error, you will find tons of suggestions on
> how to check and fix the disk errors.
>
> 2016-04-14 22:36 GMT+02:00 Levi Westerveld <levi.westerveld at gmail.com>:
>
>> Hello Paolo and Simone,
>>
>> 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!
>>
>> Levi
>>
>> Traceback (most recent call last):
>>   File
>> "/home/administrator/geonode-migration_from20_to_24/migrate_contactroles.py",
>> line 4, in <module>
>>     src = utils.get_src()
>>   File "/home/administrator/geonode-migration_from20_to_24/utils.py",
>> line 21, in get_src
>>     "dbname='%s' user='%s' port='5432' host='%s' password='%s'" %
>> (gn20_dbname, gn20_user, gn20_host, gn20_password)
>>   File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179,
>> in connect
>>     connection_factory=connection_factory, async=async)
>> psycopg2.OperationalError: FATAL:  could not open file
>> "base/16384/11757": Read-only file system
>>
>> On Mon, Apr 11, 2016 at 4:52 PM, Paolo Corti <pcorti at gmail.com> wrote:
>>
>>> Looks like the migrations scripts didn't run successfully.
>>> Levi, could you re-run the process and provide the full log of the
>>> migration scripts?
>>> Also, make sure to read comments here:
>>> https://github.com/GeoNode/geonode/issues/2067
>>> thanks
>>> p
>>>
>>> On Mon, Apr 11, 2016 at 8:03 AM, Simone Dalmasso
>>> <simone.dalmasso at gmail.com> wrote:
>>> > The issue seems to be originating here
>>> >
>>> https://github.com/GeoNode/geonode/blob/master/geonode/base/templatetags/base_tags.py#L54
>>> .
>>> > And the final error is: ValueError: invalid literal for int() with
>>> base 10:
>>> > 'None'
>>> >  @capooti any hints?
>>> >
>>> > 2016-04-11 13:59 GMT+02:00 Levi Westerveld <levi.westerveld at gmail.com
>>> >:
>>> >>
>>> >> Hello,
>>> >>
>>> >> We recently moved our data from a 2.0 geonode server
>>> >> (http://geonode.grida.no/) to a new server with geonode 2.4
>>> >> (http://opengeo.grida.no/). geonode 2.4 was successfully installed
>>> before we
>>> >> ran the migration using the scripts provided here:
>>> >>
>>> https://github.com/capooti/geonode/tree/migration_from20_to_24/scripts/migrations/migrate20to24
>>> .
>>> >>
>>> >> After running the two migration scripts, users, layers, and maps data
>>> were
>>> >> transferred successfully, but each time I clicked on a layer nothing
>>> would
>>> >> happen. When we tried to access the geoserver after logging in we also
>>> >> received an error message.
>>> >>
>>> >> Now we have an Internal Server Error after we tried to open up to the
>>> >> client side so that the server could be accessed externally from a
>>> browser.
>>> >>
>>> >> The error log file from /var/logs/apache2/error.log is attached to
>>> this
>>> >> email.
>>> >>
>>> >> perhaps someone here has an idea on what is the best way forward?
>>> >>
>>> >> Many thanks for the help,
>>> >>
>>> >> Levi
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> geonode-users mailing list
>>> >> geonode-users at lists.osgeo.org
>>> >> http://lists.osgeo.org/mailman/listinfo/geonode-users
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Simone
>>> >
>>> > _______________________________________________
>>> > geonode-users mailing list
>>> > geonode-users at lists.osgeo.org
>>> > http://lists.osgeo.org/mailman/listinfo/geonode-users
>>> >
>>>
>>>
>>>
>>> --
>>> Paolo Corti
>>> Geospatial software developer
>>> web: http://www.paolocorti.net
>>> twitter: @capooti
>>> skype: capooti
>>>
>>
>>
>>
>> --
>> Levi Westerveld
>>
>>
>>
>>
>
>
> --
> Simone
>



-- 
Levi Westerveld
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160419/d830a8bd/attachment-0002.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160419/d830a8bd/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: migrate.sh (1).log
Type: application/octet-stream
Size: 70894 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160419/d830a8bd/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: migrate2.sh.log
Type: application/octet-stream
Size: 110341 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160419/d830a8bd/attachment-0003.obj>


More information about the geonode-users mailing list