[GeoNode-users] Errors uploading shapefiles and creating empty layers

Alessio Fabiani alessio.fabiani at geosolutionsgroup.com
Tue Jul 26 06:29:09 PDT 2022


It depends on how you invoke the commands, if you are using paver directly
you must be sure the environment variables have been correctly set too.
Eventually you will need to "source .override_dev_env" first. You might
want to create a .sh file doing this for you instead of invoking "paver" or
"manage" directly.
Also, about the DB, you can eventually create the users by yourself and set
correctly the connection parameters on the env.

Still not sure about the second issue, it looks to me like a general
configuration problem.

The general rule is that you must always triple-check which environment
variables you are going to use before running any django/geonode app.


On Tue, Jul 26, 2022 at 3:20 PM Rafael Sá <rafael.sa at ua.pt> wrote:

> I am not using Docker, I am running with paver. I installed according to
> this link:
> https://docs.geonode.org/en/3.3.x/devel/installation/index.html#install-geonode-project-directly-from-scratch
>
> Regarding the second problem, I am changing the user in the
> ".override_dev_env" file, but the error remains with the failure to
> authenticate the user "geonode_odyssey_data". Should I change to another
> file?
>
> ------------------------------
> *De:* Alessio Fabiani <alessio.fabiani at geosolutionsgroup.com>
> *Enviado:* 26 de julho de 2022 13:56:37
> *Para:* Rafael Sá
> *Cc:* geonode-users at lists.osgeo.org
> *Assunto:* Re: [GeoNode-users] Errors uploading shapefiles and creating
> empty layers
>
> Hello Rafael,
> are you running it by using docker?
>
> The first one could be related to the fact that the django container and
> the celery one are not sharing the same "tmp" and "uploaded" folders.
>
> The second one looks like a connection issue, try to change the connection
> string into your ".env" file by using the same username and password you
> have been using for the geonode_odyssey one.
>
> On Tue, Jul 26, 2022 at 2:48 PM Rafael Sá <rafael.sa at ua.pt> wrote:
>
>> Hello everyone,
>>
>> I have a GeoNode installation through GeoNode-project (version 3.3.x),
>> and I'm having a problem uploading shapefiles. When I start the upload, I
>> get an error message "The upload process cannot be completed because the
>> original file is no longer available".
>> When I upload GeoTIFFs there is no problem.
>>
>> In addition to this problem, when I try to create empty layers, I get
>> this error: "org.postgresql.util.PSQLException: FATAL: password
>> authentication failed for user "geonode_odyssey_data"
>> ". I created the database according to the documentation, and had no
>> problems with anything else,
>>
>> How can I fix these problems?
>>
>> _______________________________________________
>> 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.
>


-- 

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/20220726/78d5c01d/attachment.htm>


More information about the geonode-users mailing list