<div dir="ltr">Hi Alessio,<div><br></div><div>I have checked the Geoserver Log, and here you can find the complete geoserver log:<span style="font-size:12.8px"> </span><a href="https://pastebin.com/c9JeR1NU" target="_blank" style="font-size:12.8px">https://pastebin.com/<wbr>c9JeR1NU</a></div><div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The error that I have noted on the log is this one:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div><i>2017-05-23 04:49:10,598 ERROR [geoserver.rest] - Unable to perform backup: :Could not create file.</i></div><div><i>2017-05-23 04:49:10,598 DEBUG [geoserver.filters] - Compressing output for mimetype: text/plain</i></div><div><i>2017-05-23 04:49:10,598 ERROR [geoserver.rest] - </i></div><div><i>org.geoserver.rest.<wbr>RestletException: java.lang.<wbr>IllegalStateException: Could not create file.</i></div><div><i><span class="gmail-m_414396140729488870gmail-Apple-tab-span" style="white-space:pre-wrap">   </span>at org.geoserver.backuprestore.<wbr>rest.BackupResource.runBackup(<wbr>BackupResource.java:172)</i></div><div><i><span class="gmail-m_414396140729488870gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>at org.geoserver.backuprestore.<wbr>rest.BackupResource.<wbr>handlePost(BackupResource.<wbr>java:108)</i></div><div><i>        ....</i></div><div><br></div><div>The rights of  /usr/share/geoserver/data are these:</div><div>drwxr-xr-x  21 tomcat7 tomcat7      4096 May 23 04:49 data<br></div><div><br></div><div><br></div><div>I have also changed the folder rights adding user: tomcat7 and user:user, but without any result.</div><div><br></div><div>Thanks a lot for your help and your patience</div><div><br></div><div>Federico</div><div><br></div><div><br></div><div class="gmail-yj6qo gmail-ajU"><div id="gmail-:fj" class="gmail-ajR" tabindex="0"><img class="gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif" style="opacity: 0.3;"></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-22 16:49 GMT+02:00 Alessio Fabiani <span dir="ltr"><<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It is possible that GeoServer cannot write to the target folder. Take a look at the GeoServer logs. Also try to rise up the log level if you don't find anything useful.<div>This can be done from the GeoServer admin gui.</div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_6367180820834377487gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:12.8px">Best Regards,</div><div style="font-size:12.8px">Alessio Fabiani.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>==</div><div>GeoServer Professional Services from the experts!</div><div>Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</div><div>==</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ing. Alessio Fabiani</div><div style="font-size:12.8px">@alfa7691</div><div style="font-size:12.8px"><a href="https://github.com/afabiani?tab=overview" style="font-size:12.8px" target="_blank">github</a><br></div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div>Via di Montramito 3/A</div><div>55054  Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:+39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax:     <a href="tel:+39%200584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob:   +39 <span style="font-size:12.8px"><a href="tel:(331)%20623-3686" value="+13316233686" target="_blank">331 6233686</a></span></div><div><br></div><div><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/<wbr>geosolutions_it</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">------------------------------<wbr>-------------------------</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><p><span lang="IT"><font size="1"> </font></span></p><p><font size="1">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</font></p><p><font size="1">------------------------------<wbr>------------------------------<wbr>---------</font></p></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Mon, May 22, 2017 at 4:47 PM, Alessio Fabiani <span dir="ltr"><<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-<wbr>solutions.it</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">Hi,<div>which version of GeoServer are you using?</div></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_6367180820834377487m_-6103818955852368758gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:12.8px">Best Regards,</div><div style="font-size:12.8px">Alessio Fabiani.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>==</div><div>GeoServer Professional Services from the experts!</div><div>Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</div><div>==</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ing. Alessio Fabiani</div><div style="font-size:12.8px">@alfa7691</div><div style="font-size:12.8px"><a href="https://github.com/afabiani?tab=overview" style="font-size:12.8px" target="_blank">github</a><br></div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div>Via di Montramito 3/A</div><div>55054  Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:0584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax:     <a href="tel:0584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob:   +39 <span style="font-size:12.8px"><a href="tel:331%20623%203686" value="+393316233686" target="_blank">331 6233686</a></span></div><div><br></div><div><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolution<wbr>s_it</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">------------------------------<wbr>-------------------------</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><p><span lang="IT"><font size="1"> </font></span></p><p><font size="1">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</font></p><p><font size="1">------------------------------<wbr>------------------------------<wbr>---------</font></p></div></div></div></div>
<br></span><div><div class="m_6367180820834377487h5"><div class="gmail_quote">On Fri, May 19, 2017 at 1:08 PM, Federico Gianoli <span dir="ltr"><<a href="mailto:alpacagis@gmail.com" target="_blank">alpacagis@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">Thanks a lot Alessio,<div><br></div><div>I have changed the files according to your suggestions,</div><div>but now I have this error:</div><div><br></div><div><br></div><div><div style="font-size:12.8px"><i>$ sudo python manage.py backup --backup-dir=backup/</i></div><div style="font-size:12.8px"><i><br></i></div><div style="font-size:12.8px"><i>Before proceeding with the Backup, please ensure that:</i></div><div style="font-size:12.8px"><i> 1. The backend (DB or whatever) is accessible and you have rights</i></div><div style="font-size:12.8px"><i> 2. The GeoServer is up and running and reachable from this machine</i></div><div style="font-size:12.8px"><i>You want to proceed? [n]|y: y</i></div><div style="font-size:12.8px"><i>Dumping 'GeoServer Catalog [<a href="http://212.237.232.12/geoserver/" target="_blank">http://212.237.232.12/geoserv<wbr>er/</a>]' into 'backup/2017-05-19_<a href="tel:050%20730" value="+39050730" target="_blank">050730</a>/geos<wbr>erver_catalog.zip'.</i></div><div style="font-size:12.8px"><i>Traceback (most recent call last):</i></div><div style="font-size:12.8px"><i>  File "manage.py", line 11, in <module></i></div><div style="font-size:12.8px"><i>    execute_from_command_line(sys.<wbr>argv)</i></div><div style="font-size:12.8px"><i>  File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py", line 354, in execute_from_command_line</i></div><div style="font-size:12.8px"><i>    utility.execute()</i></div><div style="font-size:12.8px"><i>  File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py", line 346, in execute</i></div><div style="font-size:12.8px"><i>    self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)</i></div><div style="font-size:12.8px"><i>  File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py", line 394, in run_from_argv</i></div><div style="font-size:12.8px"><i>    self.execute(*args, **cmd_options)</i></div><div style="font-size:12.8px"><i>  File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py", line 445, in execute</i></div><div style="font-size:12.8px"><i>    output = self.handle(*args, **options)</i></div><div style="font-size:12.8px"><i>  File "/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/backup.py", line 101, in handle</i></div><div style="font-size:12.8px"><i>    gs_backup = r.json()</i></div><div style="font-size:12.8px"><i>  File "/usr/lib/python2.7/dist-packa<wbr>ges/requests/models.py", line 808, in json</i></div><div style="font-size:12.8px"><i>    return complexjson.loads(self.text, **kwargs)</i></div><div style="font-size:12.8px"><i>  File "/usr/lib/python2.7/json/__ini<wbr>t__.py", line 339, in loads</i></div><div style="font-size:12.8px"><i>    return _default_decoder.decode(s)</i></div><div style="font-size:12.8px"><i>  File "/usr/lib/python2.7/json/decod<wbr>er.py", line 364, in decode</i></div><div style="font-size:12.8px"><i>    obj, end = self.raw_decode(s, idx=_w(s, 0).end())</i></div><div style="font-size:12.8px"><i>  File "/usr/lib/python2.7/json/decod<wbr>er.py", line 382, in raw_decode</i></div><div style="font-size:12.8px"><i>    raise ValueError("No JSON object could be decoded")</i></div><div style="font-size:12.8px"><i>ValueError: No JSON object could be decoded</i></div></div><div style="font-size:12.8px"><i><br></i></div><div style="font-size:12.8px"><i><br></i></div><div style="font-size:12.8px"><i>Thanks a lot for your help</i></div><div style="font-size:12.8px"><i><br></i></div><div style="font-size:12.8px"><i>Fede</i></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-05 16:41 GMT+02:00 Alessio Fabiani <span dir="ltr"><<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions<wbr>.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">PR here<div><br></div><div><a href="https://github.com/GeoNode/geonode/pull/3031" target="_blank">https://github.com/GeoNode/geo<wbr>node/pull/3031</a><br></div><div><br></div></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_6367180820834377487m_-6103818955852368758m_-7229885535473742710m_-7238395815087518986gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:12.8px">Best Regards,</div><div style="font-size:12.8px">Alessio Fabiani.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>==</div><div>GeoServer Professional Services from the experts!</div><div>Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</div><div>==</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ing. Alessio Fabiani</div><div style="font-size:12.8px">@alfa7691</div><div style="font-size:12.8px"><a href="https://github.com/afabiani?tab=overview" style="font-size:12.8px" target="_blank">github</a><br></div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div>Via di Montramito 3/A</div><div>55054  Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:+39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax:     <a href="tel:+39%200584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob:   +39 <span style="font-size:12.8px"><a href="tel:(331)%20623-3686" value="+13316233686" target="_blank">331 6233686</a></span></div><div><br></div><div><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolution<wbr>s_it</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">------------------------------<wbr>-------------------------</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><p><span lang="IT"><font size="1"> </font></span></p><p><font size="1">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</font></p><p><font size="1">------------------------------<wbr>------------------------------<wbr>---------</font></p></div></div></div></div>
<br></span><div><div class="m_6367180820834377487m_-6103818955852368758m_-7229885535473742710h5"><div class="gmail_quote">On Thu, Apr 27, 2017 at 2:09 PM, Alessio Fabiani <span dir="ltr"><<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions<wbr>.it</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">Dear all,<div>currently the backup and restore utility should be aligned with latest updates I guess. There are also several issues / improvements we are working on to improve this tool.</div><div><br></div><div>We will find some spare time soon to devote to those tasks. We will send updates as soon as possible.</div></div><div class="gmail_extra"><br clear="all"><div><div class="m_6367180820834377487m_-6103818955852368758m_-7229885535473742710m_-7238395815087518986m_-6920004167683768722gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:12.8px">Best Regards,</div><div style="font-size:12.8px">Alessio Fabiani.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>==</div><div>GeoServer Professional Services from the experts!</div><div>Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</div><div>==</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ing. Alessio Fabiani</div><div style="font-size:12.8px">@alfa7691</div><div style="font-size:12.8px"><a href="https://github.com/afabiani?tab=overview" style="font-size:12.8px" target="_blank">github</a><br></div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div>Via di Montramito 3/A</div><div>55054  Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:0584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax:     <a href="tel:0584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob:   +39 <span style="font-size:12.8px"><a href="tel:331%20623%203686" value="+393316233686" target="_blank">331 6233686</a></span></div><div><br></div><div><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolution<wbr>s_it</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">------------------------------<wbr>-------------------------</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><p><span lang="IT"><font size="1"> </font></span></p><p><font size="1">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</font></p><p><font size="1">------------------------------<wbr>------------------------------<wbr>---------</font></p></div></div></div></div><div><div class="m_6367180820834377487m_-6103818955852368758m_-7229885535473742710m_-7238395815087518986h5">
<br><div class="gmail_quote">On Thu, Apr 27, 2017 at 1:50 PM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@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">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" target="_blank">https://github.com/GeoNode/geo<wbr>node/blob/2.6.x/geonode/base/m<wbr>anagement/commands/restore.py#<wbr>L28</a><br></div><div><a href="https://github.com/GeoNode/geonode/blob/2.6.x/geonode/base/management/commands/backup.py#L26" target="_blank">https://github.com/GeoNode/geo<wbr>node/blob/2.6.x/geonode/base/m<wbr>anagement/commands/backup.py#L<wbr>26</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_6367180820834377487m_-6103818955852368758m_-7229885535473742710m_-7238395815087518986m_-6920004167683768722h5">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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_6367180820834377487m_-6103818955852368758m_-7229885535473742710m_-7238395815087518986m_-6920004167683768722h5"><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.org<wbr>/en/master/tutorials/admin/bac<wbr>kup_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.layer<wbr>,layers.attribute,maps.map,map<wbr>s.maplayer</div><div>manglers   = gn24_to_24.ResourceBaseMangler<wbr>,gn24_to_24.LayerMangler,gn24_<wbr>to_24.LayerAttributesMangler,g<wbr>n24_to_24.DefaultMangler,gn24_<wbr>to_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="m_6367180820834377487m_-6103818955852368758m_-7229885535473742710m_-7238395815087518986m_-6920004167683768722m_5442763569186197841HOEnZb"><font color="#888888"><div><br></div><div>Federico</div><div><br></div><div><div><br></div></div></font></span></div></div>
<br></div></div>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">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/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></blockquote></div><span class="m_6367180820834377487m_-6103818955852368758m_-7229885535473742710m_-7238395815087518986m_-6920004167683768722HOEnZb"><font color="#888888"><br><br clear="all"><span class="m_6367180820834377487m_-6103818955852368758HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_6367180820834377487m_-6103818955852368758m_-7229885535473742710m_-7238395815087518986m_-6920004167683768722m_5442763569186197841gmail_signature" data-smartmail="gmail_signature">Simone </div>
</font></span></font></span></div><span class="m_6367180820834377487m_-6103818955852368758HOEnZb"><font color="#888888">
<br>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">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/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></font></span></blockquote></div><span class="m_6367180820834377487m_-6103818955852368758HOEnZb"><font color="#888888"><br></font></span></div></div></div><span class="m_6367180820834377487m_-6103818955852368758HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="m_6367180820834377487m_-6103818955852368758HOEnZb"><font color="#888888"><br></font></span></div></div></div>
</blockquote></div><br></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>