<div dir="ltr"><div>I managed to solve the problem, just copying the folder workspaces old geoserver for native folder of a geoserver 2.5.1 (built into GeoNode 2:14). After that I could upload normally.</div><div>Unfortunately I could not figure out what was really causing the problem.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 19, 2015 at 3:02 PM, Davi Custodio <span dir="ltr"><<a href="mailto:davicustodio@gmail.com" target="_blank">davicustodio@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Complementing information about the problem:</div><div><br></div><div>I'm trying to migrate Geoserver 2.4 (used by GeoNode 2.0) for GeoServer 2.5.1 (used by GeoNode 2.4).</div><div><br></div><div>I copied the folder "data" complete GeoServer 2.4, and assured that the store "datastore" was pointing to the bank "geonode_data" and all layers work properly within the GeoServer, including "Layer Preview".</div><div><br></div><div>The problem is happening when I try to upload any shapefile, where I get the error message (see previous message) and the log of Tomcat.</div><div><br></div><div>I take to supplement, also putting the log generated by GeoNode 2.4 (below).</div><div><br></div><div>Can anyone help?</div><div><br></div><div>Thanks.</div><div><br></div><div>[Wed Aug 19 12: 58: 06.246992 2015] [: error] [pid 22552: tid 140,053,275,363,072] An exception occurred loading data to PostGIS- Error while storing uploaded file :: Input objects can not be null</div><div>[Wed Aug 19 12: 58: 06.247093 2015] [: error] [pid 22552: tid 140,053,275,363,072] Traceback (most recent call last):</div><div>[Wed Aug 19 12: 58: 06.247107 2015] [: error] [pid 22552: tid 140,053,275,363,072] File "/usr/local/lib/python2.7/dist-packages/geonode/layers/views.py", line 163 , in layer_upload</div><div>[Wed Aug 19 12: 58: 06.247116 2015] [: error] [pid 22552: tid 140,053,275,363,072] title = form.cleaned_data ["layer_title"]</div><div>[Wed Aug 19 12: 58: 06.247123 2015] [: error] [pid 22552: tid 140,053,275,363,072] File "/usr/local/lib/python2.7/dist-packages/geonode/layers/utils.py", line 398 , in file_upload</div><div>[Wed Aug 19 12: 58: 06.247130 2015] [: error] [pid 22552: 140,053,275,363,072 tid] = defaults defaults</div><div>[Wed Aug 19 12: 58: 06.247137 2015] [: error] [pid 22552: tid 140,053,275,363,072] File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 154 , in get_or_create</div><div>[Wed Aug 19 12: 58: 06.247144 2015] [: error] [pid 22552: tid 140,053,275,363,072] return self.get_queryset () get_or_create (** kwargs).</div><div>[Wed Aug 19 12: 58: 06.247151 2015] [: error] [pid 22552: tid 140,053,275,363,072] File "/usr/lib/python2.7/dist-packages/modeltranslation/manager.py", line 341, in get_or_create</div><div>[Wed Aug 19 12: 58: 06.247158 2015] [: error] [pid 22552: tid 140,053,275,363,072] super return (MultilingualQuerySet, self) .get_or_create (** kwargs)</div><div>[Wed Aug 19 12: 58: 06.247165 2015] [: error] [pid 22552: tid 140,053,275,363,072] File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 380 , in get_or_create</div><div>[Wed Aug 19 12: 58: 06.247172 2015] [: error] [pid 22552: tid 140,053,275,363,072] obj.save (force_insert = True, using = self.db)</div><div>[Wed Aug 19 12: 58: 06.247179 2015] [: error] [pid 22552: tid 140,053,275,363,072] File "/usr/lib/python2.7/dist-packages/polymorphic/polymorphic_model.py", line 90, in save</div><div>[Wed Aug 19 12: 58: 06.247186 2015] [: error] [pid 22552: tid 140,053,275,363,072] super return (PolymorphicModel, self) .save (* args, ** kwargs)</div><div>[Wed Aug 19 12: 58: 06.247193 2015] [: error] [pid 22552: tid 140,053,275,363,072] File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 545 , save in</div><div>[Wed Aug 19 12: 58: 06.247200 2015] [: error] [pid 22552: 140,053,275,363,072 tid] = force_update force_update, update_fields = update_fields)</div><div>[Wed Aug 19 12: 58: 06.247207 2015] [: error] [pid 22552: tid 140,053,275,363,072] File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 569 , in save_base</div><div>[Wed Aug 19 12: 58: 06.247214 2015] [: error] [pid 22552: 140,053,275,363,072 tid] = update_fields update_fields)</div><div>[Wed Aug 19 12: 58: 06.247220 2015] [: error] [pid 22552: tid 140,053,275,363,072] File "/usr/lib/python2.7/dist-packages/django/dispatch/dispatcher.py", line 185, in send</div><div>[Wed Aug 19 12: 58: 06.247227 2015] [: error] [pid 22552: tid 140,053,275,363,072] response = receiver (signal = self, sender = sender, named **)</div><div>[Wed Aug 19 12: 58: 06.247234 2015] [: error] [pid 22552: tid 140,053,275,363,072] File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/signals.py", line 71 , in geoserver_pre_save</div><div>[Wed Aug 19 12: 58: 06.247241 2015] [: error] [pid 22552: tid 140,053,275,363,072] charset = instance.charset)</div><div>[Wed Aug 19 12: 58: 06.247248 2015] [: error] [pid 22552: tid 140,053,275,363,072] File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line 1041 , in geoserver_upload</div><div>[Wed Aug 19 12: 58: 06.247254 2015] [: error] [pid 22552: 140,053,275,363,072 tid] = overwrite overwrite)</div><div>[Wed Aug 19 12: 58: 06.247261 2015] [: error] [pid 22552: tid 140,053,275,363,072] File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line 951 , in _create_db_featurestore</div><div>[Wed Aug 19 12: 58: 06.247268 2015] [: error] [pid 22552: tid 140,053,275,363,072] raise GeoNodeException (msg)</div><div>[Wed Aug 19 12: 58: 06.247275 2015] [: error] [pid 22552: tid 140,053,275,363,072] GeoNodeException: An exception occurred loading data to PostGIS- Error while storing uploaded file :: Input objects can not be null</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 13, 2015 at 9:59 AM, Davi Custodio <span dir="ltr"><<a href="mailto:davicustodio@gmail.com" target="_blank">davicustodio@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello. I'm having problems with the migration of the 2.0 version of GeoNode Geoserver for Geoserver the GeoNode 2.4.</div><div><br></div><div>I copied the date and configured folder all that was needed for the operation.</div><div><br></div><div>Only testing the Geoserver, I can access all of the layers normally and including Layer Preview of each. Everything seems to work perfectly in Geoserver.</div><div><br></div><div>But when I try to upload a shapefile by GeoNode 2.4, I get the following message:</div><div><br></div><div>"An exception occurred loading data to PostGIS- Error while storing uploaded file :: Input objects can not be null"</div><div><br></div><div>And in the log of Tomcat, attached</div><div><br></div><div><br></div><div>Does GeoNode 2.4 is not able to communicate with the Geoserver? When I run a 'updatelayers GeoNode "everything works well.</div><div><br></div><div>Does anyone have any idea what might be causing the problem in the upload of layers?</div><div><br></div><div>Thank you.</div><span><font color="#888888"><div><br></div>-- <br><div>Davi de O. Custódio</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Davi de O. Custódio</div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Davi de O. Custódio</div>
</div>