[GeoNode-users] failed migration from 2.0 to 2.4
Levi Westerveld
levi.westerveld at gmail.com
Thu Apr 14 13:36:39 PDT 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160414/b8de7ee6/attachment.html>
More information about the geonode-users
mailing list