<div dir="ltr">Hi Federico,<div><br></div><div>there seems to be an issue in the commands, simplejson is not available anymore, json has to be used. we should fix it. </div><div>@afabiani, is that correct?</div><div><br></div><div><a href="https://github.com/GeoNode/geonode/blob/2.6.x/geonode/base/management/commands/restore.py#L28">https://github.com/GeoNode/geonode/blob/2.6.x/geonode/base/management/commands/restore.py#L28</a><br></div><div><a href="https://github.com/GeoNode/geonode/blob/2.6.x/geonode/base/management/commands/backup.py#L26">https://github.com/GeoNode/geonode/blob/2.6.x/geonode/base/management/commands/backup.py#L26</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-27 12:11 GMT+02:00 Federico Gianoli <span dir="ltr"><<a href="mailto:alpacagis@gmail.com" target="_blank">alpacagis@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear all,<div><br></div><div>I would like to create a backup of my geonode project and I am using this guide: <a href="http://docs.geonode.org/en/master/tutorials/admin/backup_restore/" target="_blank">http://docs.geonode.<wbr>org/en/master/tutorials/admin/<wbr>backup_restore/</a></div><div><br></div><div>From my django admin page (Base => backups) I tried to do a backup, but, when I run the backup, on a fully writable folder (777), there is this server error: </div><h1 style="color:rgb(0,0,0);font-family:"times new roman"">Internal Server Error</h1><p style="color:rgb(0,0,0);font-family:"times new roman";font-size:medium">The server encountered an internal error or misconfiguration and was unable to complete your request.</p><div>I have double checked the settings.ini file, and I have noted that the configuration file is not yet update for the 2.6 version, it has these lines:</div><div><br></div><div><div>#Migrate from GN 2.4 to GN 2.4</div><div>migrations = base.resourcebase,layers.<wbr>layer,layers.attribute,maps.<wbr>map,maps.maplayer</div><div>manglers   = gn24_to_24.<wbr>ResourceBaseMangler,gn24_to_<wbr>24.LayerMangler,gn24_to_24.<wbr>LayerAttributesMangler,gn24_<wbr>to_24.DefaultMangler,gn24_to_<wbr>24.MapLayersMangler</div></div><div><br></div><div>Is it correct? Have I to change these lines accordingly to the 2.6 version? (e.g. gn26_to_26.ResourceBaseMangler ...)?</div><div><br></div><div>When I try to run the backup from command line there is the following error about the file backup.py</div><div><br></div><div><div>import error: no moduled named simplejson</div><div><br></div><div>How can I solved this issue?</div><div><br></div><div>Tanks a lot</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Federico</div><div><br></div><div><div><br></div></div></font></span></div></div>
<br>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>