[GeoNode-users] Error in udatelayers
Alessio Fabiani
alessio.fabiani at geosolutionsgroup.com
Wed Jan 25 03:44:16 PST 2023
Dear Richard,
the error you get is because you must run the management command by using
the same environment variable set for GeoNode.
Currently the exception you are getting is a side effect of the fact the
the updatelayers command is trying to access a wrong database, the sqlite
default one actually.
On Wed, Jan 25, 2023 at 12:38 PM Richard Camejo <rcamejo at rocha.uy> wrote:
> Good day,
> I have installed Geonode 4.0.2 on Debian 11.
> Everything works perfectly.
> I have a problem when I want to import layers from Geoserver by executing
> the following command:
>
> *geonode at geonodeidr:/opt/geonode$ python3 manage.py updatelayers -w
> geonode -u admin*
>
> Returns the following error:
> *Traceback (most recent call last):*
> * File
> "/home/geonode/.local/lib/python3.9/site-packages/django/db/backends/utils.py",
> line 84, in _execute return self.cursor.execute(sql, params)*
> * File
> "/home/geonode/.local/lib/python3.9/site-packages/django/db/backends/sqlite3/base.py",
> line 423, in execute return Database.Cursor.execute(self, query, params)*
> *sqlite3.OperationalError: no such column: people_profile.language*
>
> I have searched on Google but I can't find information on how to solve it,
> I appreciate if someone can give some help.
> Thanks greetings
>
> Richard.
>
> --
> *Richard Camejo*
> Intendencia de Rocha
> <https://sig.rocha.gub.uy>
> Tel 1955 Int. 9123
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
--
Regards,
Alessio Fabiani
==
GeoServer Professional Services from the experts!
Visit http://bit.ly/gs-services-us for more information.
==
Ing. Alessio Fabiani
@alfa7691
Founder/Technical Lead
GeoSolutions Group
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 331 6233686
https://www.geosolutionsgroup.com/
http://twitter.com/geosolutions_it
-------------------------------------------------------
Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20230125/3b1e7ce2/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cabezal_sistemas_SIG_azul.png
Type: image/png
Size: 69707 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20230125/3b1e7ce2/attachment-0001.png>
More information about the geonode-users
mailing list