<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Thanks a lot Alessio!</p>
<p>I have taken my time to try your suggestions, but I still don't
get geoserver_catalog.zip copied into backup zip file.</p>
<p>However, the log of backup.py seems to work correctly. Please pay
attention to the last line. Backup.py seems to get the data from
"geoserver_data/data/data". "data" folder is repeated in the path,
and that only happens when I set "/geoserver_data/data" in
geoserver data dir in settings.ini. </p>
<p>Dumping 'GeoServer Catalog [<a class="moz-txt-link-freetext" href="http://">http://</a>-----]' into
'/var/opt/geonode/backups/2017-05-25_043616/geoserver_catalog.zip'.<br>
STARTED - 1/9<br>
COMPLETED - 9/9<br>
Dumped GeoServer Uploaded Data from
'/geoserver_data/data/data/geonode'.</p>
<p>Anyway, I still can't get copied "geoserver_catalog.zip".</p>
<p>Best regards,</p>
<p>Enrique<br>
</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">El 24-05-2017 a las 11:52, Alessio
Fabiani escribió:<br>
</div>
<blockquote type="cite"
cite="mid:CAM7ZvLK+Gnp0L6LAZO1fpdOep8Z_sKf_ZmMBoJoDwZj8vCC4xA@mail.gmail.com">
<div dir="ltr">Hmm,
<div>yes, it is clear that there's something corrupted on your
GeoServer configuration.</div>
<div>Of course it is not easy to understand what's going on from
those screenshots.</div>
<div><br>
</div>
<div>From that interface try to enter Settings > Global</div>
<div><br>
</div>
<div><img src="cid:part1.B8B46B33.CEFC908D@uevora.pt"
alt="Inline image 1" class="" width="214" height="562"><br>
</div>
<div><br>
</div>
<div>edit and save. Also try to reload the catalog from</div>
<div><br>
</div>
<div><img src="cid:part2.CF109247.D78617A9@uevora.pt"
alt="Inline image 2" class="" width="562" height="292"><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>finally if backup still does not work, try to restart
Tomcat (be carefull, your GeoServer may not restart correctly
given that error above).</div>
<div><br>
</div>
<div>In any case your GeoServer Data Dis <b>must</b> be set to
-> /geoserver_data/data</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_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" moz-do-not-send="true">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"
moz-do-not-send="true">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: +39 0584 962313</div>
<div>fax: +39 0584 1660272</div>
<div>mob: +39 <span style="font-size:12.8px">331
6233686</span></div>
<div><br>
</div>
<div><a href="http://www.geo-solutions.it/"
target="_blank" moz-do-not-send="true">http://www.geo-solutions.it</a></div>
<div><a href="http://twitter.com/geosolutions_it"
target="_blank" moz-do-not-send="true">http://twitter.com/geosolutions_it</a></div>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">-------------------------------------------------------</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">---------------------------------------------------------------------</font></p>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Wed, May 24, 2017 at 12:42 PM,
Enrique Cerrillo Cuenca <span dir="ltr"><<a
href="mailto:cerrillo@uevora.pt" target="_blank"
moz-do-not-send="true">cerrillo@uevora.pt</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 again, Alessio. There is not such a
zip file inside the zipped backup file.
<div><br>
</div>
<div>Here is a screenshot from the Geoserver status:</div>
<div><br>
</div>
<div><img src="cid:part8.7AF5F1C3.0CAAC7E4@uevora.pt"
alt="Imágenes integradas 1" class="" width="472"
height="122"><br>
</div>
<div><br>
</div>
<div>If I try to perform a backup I get the following
java-related error:</div>
<div><br>
</div>
<div><img src="cid:part9.2F05F17C.C1745BF9@uevora.pt"
alt="Imágenes integradas 2" class="" width="472"
height="157"><br>
</div>
<div><br>
</div>
<div>Thanks</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-05-24 11:30 GMT+01:00
Alessio Fabiani <span dir="ltr"><<a
href="mailto:alessio.fabiani@geo-solutions.it"
target="_blank" moz-do-not-send="true">alessio.fabiani@geo-<wbr>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">Enrique,
<div>can you please unzip this
file /var/opt/geonode/backups/<wbr>2017-05-24_<a
href="tel:041%20950" value="+39041950"
target="_blank" moz-do-not-send="true">041950</a>.zip
and see if there is a geoserver_catalog.zip
inside?</div>
<div><br>
</div>
<div>Can you also unzip that one too?</div>
<div><br>
</div>
<div>Also, to be fully sure you are setting the
correct GeoServer Data Dir into settings.ini, go
to the GeoServer Admin GUI and check this option</div>
<div><br>
</div>
<div><br>
</div>
<div><img
src="cid:part12.FA37D2FD.F718280B@uevora.pt"
alt="Inline image 1" class="" width="562"
height="147"><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>From here you can also test your GeoServer
backup and restore functionality through this
interface</div>
<div><br>
</div>
<div><img
src="cid:part13.32A0EDAA.9BD066BC@uevora.pt"
alt="Inline image 2" class="" width="562"
height="557"><br>
</div>
<div><br>
</div>
<div>You can test the "geoserver_catalog.zip" file
throught a DRY-RUN restore here also.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div
class="m_-7542896145235297617m_2156345572518535929gmail_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" moz-do-not-send="true">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"
moz-do-not-send="true">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"
moz-do-not-send="true">+39 0584 962313</a></div>
<div>fax: <a
href="tel:+39%200584%20166%200272"
value="+3905841660272" target="_blank"
moz-do-not-send="true">+39 0584 1660272</a></div>
<div>mob: +39 <span
style="font-size:12.8px"><a
href="tel:%28331%29%20623-3686"
value="+13316233686" target="_blank"
moz-do-not-send="true">331 6233686</a></span></div>
<div><br>
</div>
<div><a href="http://www.geo-solutions.it/"
target="_blank" moz-do-not-send="true">http://www.geo-solutions.it</a></div>
<div><a
href="http://twitter.com/geosolutions_it"
target="_blank" moz-do-not-send="true">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>
<div class="gmail_quote">On Wed, May 24, 2017 at
11:41 AM, Enrique Cerrillo Cuenca <span dir="ltr"><<a
href="mailto:cerrillo@uevora.pt"
target="_blank" moz-do-not-send="true">cerrillo@uevora.pt</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">I forgot to mention that the
settings.ini file is as follows:
<div><br>
</div>
<div>
<p
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612gmail-p1"><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612gmail-s1">[geoserver]</span></p>
<p
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612gmail-p1"><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612gmail-s1">datadir
= /geoserver_data/</span></p>
<p
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612gmail-p1"><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612gmail-s1">dumpvectordata
= yes</span></p>
<p
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612gmail-p1"><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612gmail-s1">dumprasterdata
= yes</span></p>
<p
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612gmail-p1"><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612gmail-s1"><br>
</span></p>
<p
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612gmail-p1"><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612gmail-s1">If
I set "datadir" to /geoserver_data/data/
I got errors.</span></p>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-05-24 10:29
GMT+01:00 Enrique Cerrillo Cuenca <span
dir="ltr"><<a
href="mailto:cerrillo@uevora.pt"
target="_blank" moz-do-not-send="true">cerrillo@uevora.pt</a>></span>:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div dir="ltr">
<div dir="auto"
style="word-wrap:break-word">Thanks
Alessio for all your help. I expect to
help you finding the bugs. Things are
not working here. I do get the
"COMPLETE[9/9]” message, but I get an
error when trying to restore the
backup file.
<div><br>
</div>
<div>Best regards,</div>
<div><br>
</div>
<div>Enrique<br>
<div><br>
</div>
<div><br>
</div>
<div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">
<div
style="margin:0px;line-height:normal"><span
style="font-variant-ligatures:no-common-ligatures">manage.py backup
--backup-dir=/var/opt/geonode/<wbr>backups</span></div>
</div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">System check
identified some issues:</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255);min-height:13px"><span
style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">WARNINGS:</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(175,173,36);background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"><b>base.ResourceBase.tkeywords:
(fields.W340) null has no
effect on ManyToManyField.</b></span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Before proceeding
with the Backup, please ensure
that:</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> 1. The backend (DB
or whatever) is accessible and
you have rights</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> 2. The GeoServer is
up and running and reachable
from this machine</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping 'GeoServer
Catalog [http:----]' into
'//var/opt/geonode/backups/201<wbr>7-05-24_<a
href="tel:041%20950"
value="+39041950"
target="_blank"
moz-do-not-send="true">041950</a>/geoserver_catal<wbr>og.zip'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">STARTED - 1/9</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">COMPLETED - 9/9</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumped GeoServer
Uploaded Data from
'/geoserver_data/data/geonode'<wbr>.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Deactivating GeoNode
Signals...</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">...done!</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping 'people' into
'people.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping 'account'
into 'accounts.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'avatar.avatar' into
'avatars.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping 'base.backup'
into 'backups.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'base.license' into
'licenses.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'base.topiccategory' into
'topiccategories.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping 'base.region'
into 'regions.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'base.resourcebase' into
'resourcebases.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'base.contactrole' into
'contactroles.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping 'base.link'
into 'links.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'base.restrictioncodetype'
into
'restrictioncodetypes.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'base.spatialrepresentationtyp<wbr>e'
into
'spatialrepresentationtypes.js<wbr>on'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'guardian.userobjectpermission<wbr>'
into 'useropermissions.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'guardian.groupobjectpermissio<wbr>n'
into 'groupopermissions.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'layers.uploadsession' into
'uploadsessions.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'layers.style' into
'styles.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'layers.layer' into
'layers.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'layers.attribute' into
'attributes.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'layers.layerfile' into
'layerfiles.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping 'maps.map'
into 'maps.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'maps.maplayer' into
'maplayers.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'maps.mapsnapshot' into
'mapsnapshots.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping
'documents.document' into
'documents.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Dumping 'taggit' into
'tags.json'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Saved Media Files
from
'/var/opt/geonode/backups/geon<wbr>ode/uploaded'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Saved Static Root
from
'/var/opt/geonode/backups/stat<wbr>ic_root'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Saved Static Files
from
'/var/opt/geonode/backups/geon<wbr>ode/static'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Saved Locale Files
from
'/var/opt/geonode/backups/geon<wbr>ode/locale'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Backup Finished.
Archive generated.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Reactivating GeoNode
Signals...</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">...done!</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">/var/opt/geonode/backups/2017-<wbr>05-24_<a
href="tel:041%20950"
value="+39041950"
target="_blank"
moz-do-not-send="true">041950</a>.zip</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><br>
</div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"> </div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">manage.py restore
--backup-file=/var/opt/geonode<wbr>/backups/2017-05-24_<a
href="tel:041%20950"
value="+39041950"
target="_blank"
moz-do-not-send="true">041950</a>.zip<wbr> </span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">System check
identified some issues:</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255);min-height:13px"><span
style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">WARNINGS:</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(175,173,36);background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"><b>base.ResourceBase.tkeywords:
(fields.W340) null has no
effect on ManyToManyField.</b></span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Before proceeding
with the Restore, please
ensure that:</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> 1. The backend (DB
or whatever) is accessible and
you have rights</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> 2. The GeoServer is
up and running and reachable
from this machine</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">WARNING: The restore
will overwrite ALL GeoNode
data. You want to proceed?
[n]|y: y</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Restoring 'GeoServer
Catalog [<a class="moz-txt-link-freetext" href="http://">http://</a>------]' into
'/tmp/restore/2017-05-24_04195<wbr>0/geoserver_catalog.zip'.</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Traceback (most
recent call last):</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> File "manage.py",
line 29, in <module></span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">
execute_from_command_line(sys.<wbr>argv)</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> File
"/usr/local/lib/python2.7/site<wbr>-packages/django/core/manageme<wbr>nt/__init__.py",
line 354, in
execute_from_command_line</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> utility.execute()</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> File
"/usr/local/lib/python2.7/site<wbr>-packages/django/core/manageme<wbr>nt/__init__.py",
line 346, in execute</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">
self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> File
"/usr/local/lib/python2.7/site<wbr>-packages/django/core/manageme<wbr>nt/base.py",
line 394, in run_from_argv</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">
self.execute(*args,
**cmd_options)</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> File
"/usr/local/lib/python2.7/site<wbr>-packages/django/core/manageme<wbr>nt/base.py",
line 445, in execute</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> output =
self.handle(*args, **options)</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> File
"/usr/src/app/geonode/base/man<wbr>agement/commands/restore.py",
line 97, in handle</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> raise
ValueError('Could not find
GeoServer Backup file [' +
geoserver_bk_file + ']')</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">ValueError: Could not
find GeoServer Backup file
[/tmp/restore/2017-05-24_04195<wbr>0/geoserver_catalog.zip]</span></div>
</div>
<div><br>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788AppleOriginalContents"
style="direction:ltr">
<blockquote type="cite">
<div>El 24 may 2017, a las
8:43, Alessio Fabiani <<a
href="mailto:alessio.fabiani@geo-solutions.it" target="_blank"
moz-do-not-send="true">alessio.fabiani@geo-solutions<wbr>.it</a>>
escribió:</div>
<br
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788Apple-interchange-newline">
<div>
<div dir="ltr">Those error
are due to settings issues
I guess.
<div>There are open issues
to let backup/restore
command more resilient
and more stable. We need
to find some time to
improve it soon.</div>
<div><br>
</div>
<div>@Enrique, your error
is caused by GeoServer
backup. Basically for
some reason it is not
able to complete the
backup of the catalog.
Until you see a message
"COMPLETE[9/9]" the
backup of GeoServer is
not fully done. You
should take a look at
the GeoServer logs in
order to see why it is
failing. Usually this
depends on some wrong
configuration of
datastores.</div>
</div>
<div class="gmail_extra"><br
clear="all">
<div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788gmail_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" moz-do-not-send="true">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"
moz-do-not-send="true">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" moz-do-not-send="true">+39 0584
962313</a></div>
<div>fax: <a
href="tel:+39%200584%20166%200272" value="+3905841660272"
target="_blank"
moz-do-not-send="true">+39 0584 1660272</a></div>
<div>mob: +39 <span
style="font-size:12.8px"><a href="tel:%28331%29%20623-3686"
value="+13316233686"
target="_blank" moz-do-not-send="true">331 6233686</a></span></div>
<div><br>
</div>
<div><a
href="http://www.geo-solutions.it/"
target="_blank" moz-do-not-send="true">http://www.geo-solutions.it</a></div>
<div><a
href="http://twitter.com/geosolutions_it"
target="_blank" moz-do-not-send="true">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>
<div><span
lang="IT"><font
size="1"> </font></span><br
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788webkit-block-placeholder">
</div>
<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>
<div class="gmail_quote">On
Tue, May 23, 2017 at
10:32 PM, Federico
Gianoli <span dir="ltr"><<a
href="mailto:alpacagis@gmail.com" target="_blank" moz-do-not-send="true">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">Finally
it works!
<div><br>
<div>Thanks
Alessio for your
help. Tomorrow
morning I'll try
to migrate data.</div>
<div><br>
</div>
<div>Creating
manually the
folder<span
style="font-size:12.8px"> </span><i
style="font-size:12.8px">/home/federico/gn_fede/<wbr>gn_fede/locale</i><span
style="font-size:12.8px"> it works.</span><br>
</div>
<div><span
style="font-size:12.8px"><br>
</span></div>
<div>
<div>
<div
style="font-size:12.8px">
<div>but using
restore
command
without Sudo I
have this
error</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div><i>$
python
manage.py
restore
--backup-file=/tmp/backup/2017<wbr>-05-23_132655.zip</i></div>
<span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092gmail-im">
<div><i>Before
proceeding
with the
Restore,
please ensure
that:</i></div>
<div><i> 1.
The backend
(DB or
whatever) is
accessible and
you have
rights</i></div>
<div><i> 2.
The GeoServer
is up and
running and
reachable from
this machine</i></div>
<div><i>WARNING:
The restore
will overwrite
ALL GeoNode
data. You want
to proceed?
[n]|y: y</i></div>
<div><i>Traceback
(most recent
call last):</i></div>
<div><i> File
"manage.py",
line 11, in
<module></i></div>
<div><i>
execute_from_command_line(sys.<wbr>argv)</i></div>
<div><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><i>
utility.execute()</i></div>
<div><i> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py",
line 346, in
execute</i></div>
<div><i>
self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)</i></div>
<div><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><i>
self.execute(*args,
**cmd_options)</i></div>
<div><i> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py",
line 445, in
execute</i></div>
<div><i>
output =
self.handle(*args,
**options)</i></div>
<div><i> File
"/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/restore.py",
line 87, in
handle</i></div>
<div><i>
target_folder
=
helpers.unzip_file(backup_file<wbr>,
restore_folder)</i></div>
</span>
<div><i> File
"/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/helpers.py",
line 224, in
unzip_file</i></div>
<div><i>
os.makedirs(target_folder)</i></div>
<div><i> File
"/usr/lib/python2.7/os.py", line 157, in makedirs</i></div>
<div><i>
mkdir(name,
mode)</i></div>
<div><i>OSError:
[Errno 13]
Permission
denied:
'/tmp/restore/2017-05-23_13265<wbr>5'</i></div>
</div>
</div>
<div
style="font-size:12.8px"><br>
</div>
<div
style="font-size:12.8px"><b>with
sudo command I
have the error
later:</b></div>
<div
style="font-size:12.8px"><br>
</div>
<div
style="font-size:12.8px">
<div><i>$ sudo
python
manage.py
restore
--backup-file=/tmp/backup/2017<wbr>-05-23_132655.zip</i></div>
<div><i>[sudo]
password for
federico:</i></div>
<span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092gmail-im">
<div><i>Before
proceeding
with the
Restore,
please ensure
that:</i></div>
<div><i> 1.
The backend
(DB or
whatever) is
accessible and
you have
rights</i></div>
<div><i> 2.
The GeoServer
is up and
running and
reachable from
this machine</i></div>
<div><i>WARNING:
The restore
will overwrite
ALL GeoNode
data. You want
to proceed?
[n]|y: y</i></div>
</span>
<div><i>Restoring
'GeoServer
Catalog [<a
href="http://212.237.232.12/geoserver/"
target="_blank" moz-do-not-send="true">http://212.237.232.12/geoserv<wbr>er/</a>]'
into
'/tmp/restore/2017-05-23_13265<wbr>5/geoserver_catalog.zip'.</i></div>
<div><i>STARTED
- 3/9</i></div>
<div><i>FAILED
- 8/9</i></div>
<div><i>Cleaned
out old
GeoServer Data
Dir:
/usr/share/geoserver/data/data<wbr>/geonode</i></div>
<div><i>GeoServer
Uploaded Data
Restored to
'/usr/share/geoserver/data/dat<wbr>a/geonode'.</i></div>
<div><i>Cleaned
out old
GeoServer GWC
Layers Config:
/usr/share/geoserver/data/gwc-<wbr>layers</i></div>
<div><i>Restoring
GeoServer
Vectorial Data
:
popolazione_veneto</i></div>
<div><i>Restoring
GeoServer
Vectorial Data
:
gcgw_wells_tayarat</i></div>
<div><i>Restoring
GeoServer
Vectorial Data
:
main_groundwater_flow</i></div>
<div><i>Restoring
GeoServer
Vectorial Data
: swl_asl</i></div>
<div><i>Restoring
GeoServer
Vectorial Data
:
contour_lines</i></div>
<div><i>Restoring
GeoServer
Vectorial Data
:
swl_asl_map_area</i></div>
<div><i>Restoring
GeoServer
Vectorial Data
:
springs_perennial_no_data</i></div>
<div><i>Restoring
GeoServer
Vectorial Data
:
c0506121_ccs2012s</i></div>
<div><i>Restoring
GeoServer
Vectorial Data
:
tectonic_structures</i></div>
<div><i>Restoring
GeoServer
Vectorial Data
:
springs_perennial</i></div>
<div><i>Restoring
GeoServer
Vectorial Data
:
springs_temporary</i></div>
<div><i>Operations
to perform:</i></div>
<div><i>
Synchronize
unmigrated
apps: tasks,
modeltranslation,
django_extensions, polymorphic, treebeard, gis,
pinax_theme_bootstrap_account,
django_forms_bootstrap, catalogue, humanize, geoserver, storages, mptt,
friendlytagloader, staticfiles, geoexplorer, gn_fede, sitemaps, proxy,
pinax_theme_bootstrap,
pagination,
autocomplete_light,
messages,
leaflet, api,
avatar,
social,
security</i></div>
<div><i>
Apply all
migrations:
dialogos,
people,
tastypie,
agon_ratings,
documents,
actstream,
sites, maps,
contenttypes,
announcements,
user_messages,
layers,
sessions,
guardian,
auth, base,
groups,
services,
oauth2_provider,
account,
admin,
djcelery,
upload, taggit</i></div>
<div><i>Synchronizing
apps without
migrations:</i></div>
<div><i>
Creating
tables...</i></div>
<div><i>
Running
deferred
SQL...</i></div>
<div><i>
Installing
custom SQL...</i></div>
<div><i>Running
migrations:</i></div>
<div><i> No
migrations to
apply.</i></div>
<div><i> Your
models have
changes that
are not yet
reflected in a
migration, and
so won't be
applied.</i></div>
<div><i> Run
'manage.py
makemigrations'
to make new
migrations,
and then
re-run
'manage.py
migrate' to
apply them.</i></div>
<div><i>Deactivating
GeoNode
Signals...</i></div>
<div><i>...done!</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/people.json</i></div>
<div><i>Installed
2 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/accounts.json</i></div>
<div><i>Installed
3 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/avatars.json</i></div>
<div><i>Installed
0 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/backups.json</i></div>
<div><i>Installed
2 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/licenses.json</i></div>
<div><i>Installed
7 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/topiccategories.json</i></div>
<div><i>Installed
20 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/regions.json</i></div>
<div><i>Installed
259 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/resourcebases.json</i></div>
<div><i>Installed
13 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/contactroles.json</i></div>
<div><i>Installed
26 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/links.json</i></div>
<div><i>Installed
296 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/restrictioncodetypes.json</i></div>
<div><i>Installed
8 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/spatialrepresentationtypes.js<wbr>on</i></div>
<div><i>Installed
6 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/useropermissions.json</i></div>
<div><i>Installed
141 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/groupopermissions.json</i></div>
<div><i>Installed
26 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/uploadsessions.json</i></div>
<div><i>Installed
18 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/styles.json</i></div>
<div><i>Installed
12 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/layers.json</i></div>
<div><i>Installed
12 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/attributes.json</i></div>
<div><i>Installed
122 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/layerfiles.json</i></div>
<div><i>Installed
104 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/maps.json</i></div>
<div><i>Installed
0 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/maplayers.json</i></div>
<div><i>Installed
0 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/mapsnapshots.json</i></div>
<div><i>Installed
0 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/documents.json</i></div>
<div><i>Installed
1 object(s)
from 1
fixture(s)</i></div>
<div><i>Deserializing
/tmp/restore/2017-05-23_132655<wbr>/tags.json</i></div>
<div><i>Installed
0 object(s)
from 1
fixture(s)</i></div>
<div><i>Media
Files Restored
into
'/var/www/geonode/uploaded'.</i></div>
<div><i>Static
Root Restored
into
'/var/www/geonode/static/'.</i></div>
<div><i>Static
Root Restored
into
'/var/www/geonode/static/'.</i></div>
<span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092gmail-im">
<div><i>Reactivating
GeoNode
Signals...</i></div>
<div><i>...done!</i></div>
<div><i>Traceback
(most recent
call last):</i></div>
<div><i> File
"manage.py",
line 11, in
<module></i></div>
<div><i>
execute_from_command_line(sys.<wbr>argv)</i></div>
<div><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><i>
utility.execute()</i></div>
<div><i> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py",
line 346, in
execute</i></div>
<div><i>
self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)</i></div>
<div><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><i>
self.execute(*args,
**cmd_options)</i></div>
<div><i> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py",
line 445, in
execute</i></div>
<div><i>
output =
self.handle(*args,
**options)</i></div>
</span>
<div><i> File
"/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/restore.py",
line 290, in
handle</i></div>
<div><i>
static_files_folder)</i></div>
<span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092gmail-im">
<div><i> File
"/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/helpers.py",
line 203, in
copy_tree</i></div>
<div><i>
for item in
os.listdir(src):</i></div>
</span>
<div><i>OSError:
[Errno 2] No
such file or
directory:
'/tmp/restore/2017-05-23_13265<wbr>5/static_dirs/media'</i></div>
</div>
<div
style="font-size:12.8px"><i><br>
</i></div>
<div
style="font-size:12.8px"><b>Creating
manually the
folder:
/tmp/restore/2017-05-23_13265<wbr>5/static_dirs/media
everythings
works
correctly.</b></div>
</div>
</div>
<div
style="font-size:12.8px"><b>Tomorrow
morning I'll
try again, but
I hope to have
solved the
issue, thanks
again Alessio
for your help.</b></div>
<div
style="font-size:12.8px"><b><br>
</b></div>
<div
style="font-size:12.8px"><b>Good
night</b></div>
<div
style="font-size:12.8px"><b><br>
</b></div>
<div
style="font-size:12.8px"><b>Federico</b></div>
</div>
</div>
<div
class="gmail_extra"><br>
<div
class="gmail_quote">2017-05-23
21:04 GMT+02:00
Enrique Cerrillo
Cuenca <span
dir="ltr"><<a
href="mailto:cerrillo@uevora.pt" target="_blank" moz-do-not-send="true">cerrillo@uevora.pt</a>></span>:<br>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div dir="ltr">
<div
dir="auto"
style="word-wrap:break-word">I
tried to do
that
yesterday. The
file do exist
in the path
and it was
allegedly
created with
no errors.
However I’m
getting this
error:
<div><br>
</div>
<div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">python manage.py
restore
--backup-file=backup/2017-05-1<wbr>7_<a
href="tel:045%20850" value="+39045850" target="_blank"
moz-do-not-send="true">045850</a>.zip </span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">System check
identified
some issues:</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255);min-height:13px"><span
style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">WARNINGS:</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(175,173,36);background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"><b>base.ResourceBase.tkeywords:
(fields.W340)
null has no
effect on
ManyToManyField.</b></span></div>
<span>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Before proceeding
with the
Restore,
please ensure
that:</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> 1. The backend (DB
or whatever)
is accessible
and you have
rights</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> 2. The GeoServer is
up and running
and reachable
from this
machine</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">WARNING: The restore
will overwrite
ALL GeoNode
data. You want
to proceed?
[n]|y: y</span></div>
</span>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Restoring 'GeoServer
Catalog [<a
href="http://atlas.cidehusdigital.uevora.pt/geoserver/"
target="_blank" moz-do-not-send="true">http://atlas.cidehusdigital.u<wbr>evora.pt/geoserver/</a>]'
into
'/tmp/restore/2017-05-17_04585<wbr>0/geoserver_catalog.zip'.</span></div>
<span>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">Traceback (most
recent call
last):</span></div>
</span>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> File "manage.py",
line 29, in
<module></span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">
execute_from_command_line(sys.<wbr>argv)</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> File
"/usr/local/lib/python2.7/site<wbr>-packages/django/core/manageme<wbr>nt/__init__.py",
line 354, in
execute_from_command_line</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> utility.execute()</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> File
"/usr/local/lib/python2.7/site<wbr>-packages/django/core/manageme<wbr>nt/__init__.py",
line 346, in
execute</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">
self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> File
"/usr/local/lib/python2.7/site<wbr>-packages/django/core/manageme<wbr>nt/base.py",
line 394, in
run_from_argv</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">
self.execute(*args,
**cmd_options)</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> File
"/usr/local/lib/python2.7/site<wbr>-packages/django/core/manageme<wbr>nt/base.py",
line 445, in
execute</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> output =
self.handle(*args,
**options)</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> File
"/usr/src/app/geonode/base/man<wbr>agement/commands/restore.py",
line 97, in
handle</span></div>
<span>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures"> raise
ValueError('Could
not find
GeoServer
Backup file ['
+
geoserver_bk_file
+ ']')</span></div>
</span>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span
style="font-variant-ligatures:no-common-ligatures">ValueError: Could not
find GeoServer
Backup file
[/tmp/restore/2017-05-17_04585<wbr>0/geoserver_catalog.zip]</span></div>
<div
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><br>
</div>
<div>Best
regards,</div>
<div><br>
</div>
<div>Enrique
<div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092h5"><br>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414AppleOriginalContents"
style="direction:ltr">
<blockquote
type="cite">
<div>El 23 may
2017, a las
19:12, Alessio
Fabiani <<a
href="mailto:alessio.fabiani@geo-solutions.it" target="_blank"
moz-do-not-send="true">alessio.fabiani@geo-solutions<wbr>.it</a>>
escribió:</div>
<br
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414Apple-interchange-newline">
<div>
<div dir="ltr">Except
for the latest
issue, which
should be a
warning (I
will need to
double check
this), you
should not
restore the
geoserver_catalog.zip
but the
geonode backup
file which
should be
something like
<div><br>
</div>
<div><i
style="font-size:12.8px">$
python
manage.py
restore
--backup-file=/tmp/backup/2017<wbr>-05-23_120201.zip</i></div>
<div><i
style="font-size:12.8px"><br>
</i></div>
<div><span
style="font-size:12.8px">If
it does not
exists that
means that the
latest warning
prevents you
to finalize
the backup.</span></div>
<div><span
style="font-size:12.8px"><br>
</span></div>
<div><span
style="font-size:12.8px">A
quick and
dirty
workaround is
to create the
folder </span><i
style="font-size:12.8px">/home/federico/gn_fede/<wbr>gn_fede/locale'</i></div>
<div><span
style="font-size:12.8px"><br>
</span></div>
</div>
<div
class="gmail_extra"><br
clear="all">
<div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414gmail_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" moz-do-not-send="true">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" moz-do-not-send="true">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"
moz-do-not-send="true">+39
0584 962313</a></div>
<div>fax:
<a
href="tel:+39%200584%20166%200272"
value="+3905841660272" target="_blank" moz-do-not-send="true">+39 0584
1660272</a></div>
<div>mob:
+39 <span
style="font-size:12.8px"><a
href="tel:%28331%29%20623-3686" value="+13316233686" target="_blank"
moz-do-not-send="true">331
6233686</a></span></div>
<div><br>
</div>
<div><a
href="http://www.geo-solutions.it/"
target="_blank" moz-do-not-send="true">http://www.geo-solutions.it</a></div>
<div><a
href="http://twitter.com/geosolutions_it"
target="_blank" moz-do-not-send="true">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>
<div><span
lang="IT"><font
size="1"> </font></span><br
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414webkit-block-placeholder">
</div>
<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>
<div
class="gmail_quote">On
Tue, May 23,
2017 at 7:39
PM, Federico
Gianoli <span
dir="ltr"><<a
href="mailto:alpacagis@gmail.com" target="_blank" moz-do-not-send="true">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
and Enrique,
<div><br>
<div>I think
we are on the
right way to
solve the
issue... but I
still have
some errors.</div>
<div>I really
thank you for
your precious
help.</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div
style="font-size:12.8px"><br>
</div>
<div
style="font-size:12.8px"><span><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592gmail-im">
<div><i>$
python
manage.py
backup
--backup-dir=/tmp/backup/</i></div>
<div><i><br>
</i></div>
<div><i>Before
proceeding
with the
Backup, please
ensure that:</i></div>
<div><i> 1.
The backend
(DB or
whatever) is
accessible and
you have
rights</i></div>
<div><i> 2.
The GeoServer
is up and
running and
reachable from
this machine</i></div>
<div><i>You
want to
proceed?
[n]|y: y</i></div>
</span></span>
<div><i>Dumping
'GeoServer
Catalog [<a
href="http://212.237.232.12/geoserver/"
target="_blank" moz-do-not-send="true">http://212.237.232.12/geoserv<wbr>er/</a>]'
into
'/tmp/backup/2017-05-23_120201<wbr>/geoserver_catalog.zip'.</i></div>
<span><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592gmail-im">
<div><i>STARTED
- 1/9</i></div>
<div><i>COMPLETED
- 9/9</i></div>
</span></span>
<div><i>Dumped
GeoServer
Uploaded Data
from
'/usr/share/geoserver/data/dat<wbr>a/geonode'.</i></div>
<div><i>Dumping
GeoServer
Vectorial Data
: swl_asl</i></div>
<div><i>Dumping
GeoServer
Vectorial Data
:
c0506121_ccs2012s</i></div>
<div><i>Dumping
GeoServer
Vectorial Data
:
popolazione_veneto</i></div>
<div><i>Dumping
GeoServer
Vectorial Data
:
swl_asl_map_area</i></div>
<div><i>Dumping
GeoServer
Vectorial Data
:
contour_lines</i></div>
<div><i>Dumping
GeoServer
Vectorial Data
:
tectonic_structures</i></div>
<div><i>Dumping
GeoServer
Vectorial Data
:
gcgw_wells_tayarat</i></div>
<div><i>Dumping
GeoServer
Vectorial Data
:
main_groundwater_flow</i></div>
<div><i>Dumping
GeoServer
Vectorial Data
:
springs_perennial</i></div>
<div><i>Dumping
GeoServer
Vectorial Data
:
springs_perennial_no_data</i></div>
<div><i>Dumping
GeoServer
Vectorial Data
:
springs_temporary</i></div>
<div><i>Deactivating
GeoNode
Signals...</i></div>
<div><i>...done!</i></div>
<div><i>Dumping
'people' into
'people.json'.</i></div>
<div><i>Dumping
'account' into
'accounts.json'.</i></div>
<div><i>Dumping
'avatar.avatar' into 'avatars.json'.</i></div>
<div><i>Dumping
'base.backup'
into
'backups.json'.</i></div>
<div><i>Dumping
'base.license'
into
'licenses.json'.</i></div>
<div><i>Dumping
'base.topiccategory' into 'topiccategories.json'.</i></div>
<div><i>Dumping
'base.region'
into
'regions.json'.</i></div>
<div><i>Dumping
'base.resourcebase' into 'resourcebases.json'.</i></div>
<div><i>Dumping
'base.contactrole' into 'contactroles.json'.</i></div>
<div><i>Dumping
'base.link'
into
'links.json'.</i></div>
<div><i>Dumping
'base.restrictioncodetype' into 'restrictioncodetypes.json'.</i></div>
<div><i>Dumping
'base.spatialrepresentationtyp<wbr>e' into
'spatialrepresentationtypes.js<wbr>on'.</i></div>
<div><i>Dumping
'guardian.userobjectpermission<wbr>' into 'useropermissions.json'.</i></div>
<div><i>Dumping
'guardian.groupobjectpermissio<wbr>n' into 'groupopermissions.json'.</i></div>
<div><i>Dumping
'layers.uploadsession' into 'uploadsessions.json'.</i></div>
<div><i>Dumping
'layers.style'
into
'styles.json'.</i></div>
<div><i>Dumping
'layers.layer'
into
'layers.json'.</i></div>
<div><i>Dumping
'layers.attribute' into 'attributes.json'.</i></div>
<div><i>Dumping
'layers.layerfile' into 'layerfiles.json'.</i></div>
<div><i>Dumping
'maps.map'
into
'maps.json'.</i></div>
<div><i>Dumping
'maps.maplayer' into 'maplayers.json'.</i></div>
<div><i>Dumping
'maps.mapsnapshot' into 'mapsnapshots.json'.</i></div>
<div><i>Dumping
'documents.document' into 'documents.json'.</i></div>
<div><i>Dumping
'taggit' into
'tags.json'.</i></div>
<div><i>Saved
Media Files
from
'/var/www/geonode/uploaded'.</i></div>
<div><i>Saved
Static Root
from
'/var/www/geonode/static/'.</i></div>
<div><i>Saved
Static Files
from
'/etc/geonode/media'.</i></div>
<div><i>Saved
Static Files
from
'/usr/local/lib/python2.7/dist<wbr>-packages/geonode/static'.</i></div>
<div><i>Saved
Static Files
from
'/home/federico/gn_fede/gn_fed<wbr>e/static'.</i></div>
<div><i>Saved
Template Files
from
'/etc/geonode/templates'.</i></div>
<div><i>Saved
Template Files
from
'/usr/local/lib/python2.7/dist<wbr>-packages/geonode/templates'.</i></div>
<div><i>Reactivating
GeoNode
Signals...</i></div>
<div><i>...done!</i></div>
<span><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592gmail-im">
<div><i>Traceback
(most recent
call last):</i></div>
<div><i> File
"manage.py",
line 11, in
<module></i></div>
<div><i>
execute_from_command_line(sys.<wbr>argv)</i></div>
<div><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><i>
utility.execute()</i></div>
<div><i> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py",
line 346, in
execute</i></div>
<div><i>
self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)</i></div>
<div><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><i>
self.execute(*args,
**cmd_options)</i></div>
<div><i> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py",
line 445, in
execute</i></div>
<div><i>
output =
self.handle(*args,
**options)</i></div>
</span></span>
<div><i> File
"/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/backup.py",
line 243, in
handle</i></div>
<div><i>
helpers.copy_tree(locale_files<wbr>_folder,
locale_folder)</i></div>
<span><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592gmail-im">
<div><i> File
"/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/helpers.py",
line 203, in
copy_tree</i></div>
<div><i>
for item in
os.listdir(src):</i></div>
</span></span>
<div><i>OSError:
[Errno 2] No
such file or
directory:
'/home/federico/gn_fede/gn_fed<wbr>e/locale'</i></div>
</div>
<br
style="font-size:12.8px">
<br
style="font-size:12.8px">
<b
style="font-size:12.8px">The
restore issue:</b>
<div
style="font-size:12.8px"><i><br>
</i></div>
<div
style="font-size:12.8px"><i>
<div>$ python
manage.py
restore
--backup-file=/tmp/backup/2017<wbr>-05-23_120201/geoserver_catalo<wbr>g.zip</div>
<div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414h5">
<div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592gmail-im">
<div>Before
proceeding
with the
Restore,
please ensure
that:</div>
<div> 1. The
backend (DB or
whatever) is
accessible and
you have
rights</div>
<div> 2. The
GeoServer is
up and running
and reachable
from this
machine</div>
<div>WARNING:
The restore
will overwrite
ALL GeoNode
data. You want
to proceed?
[n]|y: y</div>
<div>Traceback
(most recent
call last):</div>
<div> File
"manage.py",
line 11, in
<module></div>
<div>
execute_from_command_line(sys.<wbr>argv)</div>
<div> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py",
line 354, in
execute_from_command_line</div>
<div>
utility.execute()</div>
<div> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py",
line 346, in
execute</div>
<div>
self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)</div>
<div> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py",
line 394, in
run_from_argv</div>
<div>
self.execute(*args,
**cmd_options)</div>
<div> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py",
line 445, in
execute</div>
<div>
output =
self.handle(*args,
**options)</div>
<div> File
"/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/restore.py",
line 87, in
handle</div>
<div>
target_folder
=
helpers.unzip_file(backup_file<wbr>,
restore_folder)</div>
<div> File
"/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/helpers.py",
line 227, in
unzip_file</div>
<div>
z.extractall(target_folder)</div>
<div> File
"/usr/lib/python2.7/zipfile.py<wbr>",
line 1040, in
extractall</div>
<div>
self.extract(zipinfo,
path, pwd)</div>
<div> File
"/usr/lib/python2.7/zipfile.py<wbr>",
line 1028, in
extract</div>
<div>
return
self._extract_member(member,
path, pwd)</div>
<div> File
"/usr/lib/python2.7/zipfile.py<wbr>",
line 1083, in
_extract_member</div>
<div>
file(targetpath,
"wb") as
target:</div>
<div>IOError:
[Errno 13]
Permission
denied:
u'/tmp/restore/geoserver_catal<wbr>og/store.dat.1'</div>
</div>
</div>
</div>
</div>
</i></div>
<b
style="font-size:12.8px"><br>
Usuìing SUDO
command, the
error is
different:</b>
<div
style="font-size:12.8px"><i><br>
</i></div>
<div
style="font-size:12.8px">
<div
style="font-style:italic">$
sudo python
manage.py
restore
--backup-file=/tmp/backup/2017<wbr>-05-23_120201/geoserver_catalo<wbr>g.zip</div>
<span><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592gmail-im">
<div
style="font-style:italic">Before
proceeding
with the
Restore,
please ensure
that:</div>
<div
style="font-style:italic"> 1.
The backend
(DB or
whatever) is
accessible and
you have
rights</div>
<div
style="font-style:italic"> 2.
The GeoServer
is up and
running and
reachable from
this machine</div>
<div
style="font-style:italic">WARNING:
The restore
will overwrite
ALL GeoNode
data. You want
to proceed?
[n]|y: y</div>
</span></span>
<div
style="font-style:italic">Restoring
'GeoServer
Catalog [<a
href="http://212.237.232.12/geoserver/"
target="_blank" moz-do-not-send="true">http://212.237.232.12/geoserv<wbr>er/</a>]'
into
'/tmp/restore/geoserver_catalo<wbr>g/geoserver_catalog.zip'.</div>
<span><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592gmail-im">
<div
style="font-style:italic">Traceback
(most recent
call last):</div>
<div
style="font-style:italic">
File
"manage.py",
line 11, in
<module></div>
<div
style="font-style:italic">
execute_from_command_line(sys.<wbr>argv)</div>
<div
style="font-style:italic">
File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py",
line 354, in
execute_from_command_line</div>
<div
style="font-style:italic">
utility.execute()</div>
<div
style="font-style:italic">
File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py",
line 346, in
execute</div>
<div
style="font-style:italic">
self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)</div>
<div
style="font-style:italic">
File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py",
line 394, in
run_from_argv</div>
<div
style="font-style:italic">
self.execute(*args,
**cmd_options)</div>
<div
style="font-style:italic">
File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py",
line 445, in
execute</div>
<div
style="font-style:italic">
output =
self.handle(*args,
**options)</div>
</span></span>
<div
style="font-style:italic">
File
"/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/restore.py",
line 97, in
handle</div>
<div
style="font-style:italic">
raise
ValueError('Could
not find
GeoServer
Backup file ['
+
geoserver_bk_file
+ ']')</div>
<div
style="font-style:italic">ValueError:
Could not find
GeoServer
Backup file
[/tmp/restore/geoserver_catalo<wbr>g/geoserver_catalog.zip]</div>
<div
style="font-style:italic"><br>
</div>
<div><b>Anyway,
using Enrique
suggestion,
the system
doesn't work
and I have
this error:</b></div>
<div><b><br>
</b></div>
<div
style="font-style:italic"><span><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592gmail-im">
<div>$ python
manage.py
backup
--backup-dir=/tmp/backup/</div>
<div>Before
proceeding
with the
Backup, please
ensure that:</div>
<div> 1. The
backend (DB or
whatever) is
accessible and
you have
rights</div>
<div> 2. The
GeoServer is
up and running
and reachable
from this
machine</div>
<div>You want
to proceed?
[n]|y: y</div>
</span></span>
<div>Dumping
'GeoServer
Catalog [<a
href="http://212.237.232.12/geoserver/"
target="_blank" moz-do-not-send="true">http://212.237.232.12/geoserv<wbr>er/</a>]'
into
'/tmp/backup/2017-05-23_122247<wbr>/geoserver_catalog.zip'.</div>
<span><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592gmail-im">
<div>STARTED -
1/9</div>
<div>COMPLETED
- 9/9</div>
<div>Traceback
(most recent
call last):</div>
<div> File
"manage.py",
line 11, in
<module></div>
<div>
execute_from_command_line(sys.<wbr>argv)</div>
<div> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py",
line 354, in
execute_from_command_line</div>
<div>
utility.execute()</div>
<div> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py",
line 346, in
execute</div>
<div>
self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)</div>
<div> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py",
line 394, in
run_from_argv</div>
<div>
self.execute(*args,
**cmd_options)</div>
<div> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py",
line 445, in
execute</div>
<div>
output =
self.handle(*args,
**options)</div>
<div> File
"/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/backup.py",
line 150, in
handle</div>
<div>
helpers.copy_tree(gs_data_root<wbr>,
gs_data_folder)</div>
<div> File
"/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/helpers.py",
line 203, in
copy_tree</div>
<div> for
item in
os.listdir(src):</div>
</span></span>
<div>OSError:
[Errno 2] No
such file or
directory:
'/usr/local/lib/python2.7/dist<wbr>-packages/geonode/../geoserver<wbr>/data/geonode'</div>
</div>
</div>
</div>
</div>
</div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414HOEnZb">
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414h5">
<div
class="gmail_extra"><br>
<div
class="gmail_quote">2017-05-23
18:16
GMT+02:00
Enrique
Cerrillo
Cuenca <span
dir="ltr"><<a
href="mailto:cerrillo@uevora.pt" target="_blank" moz-do-not-send="true">cerrillo@uevora.pt</a>></span>:<br>
<blockquote
class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div
dir="auto"
style="word-wrap:break-word">Hi,
<div><br>
</div>
<div>I have
the same
problem that
Federico. A
few days ago,
I made that
change,
“datadir =
geoserver/data”,
and the backup
also failed.
However, when
i set
“datadir” to
“geoserver/“
it works,
although
“geoserver_catalog”
is not
included in
the backup zip
file.</div>
<div><br>
</div>
<div>Best
regards,</div>
<div><br>
</div>
<div>Enrique</div>
<div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592h5">
<div><br>
</div>
<div><br>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868AppleOriginalContents"
style="direction:ltr">
<blockquote
type="cite">
<div>El 23 may
2017, a las
16:52, Alessio
Fabiani <<a
href="mailto:alessio.fabiani@geo-solutions.it" target="_blank"
moz-do-not-send="true">alessio.fabiani@geo-solutions<wbr>.it</a>>
escribió:</div>
<br
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868Apple-interchange-newline">
<div>
<div dir="ltr">Ok,
so, the
GeoServer
backup has
been done
"COMPLETED -
9/9" but
there's an
error on the
backup
settings.
<div><br>
</div>
<div>It looks
like it cannot
find the
GeoServer Data
Dir path on
the local
server.</div>
<div><br>
</div>
<div>Edit this
file</div>
<div><br>
</div>
<div>geonode/base/management/comman<wbr>ds/settings.ini<br>
</div>
<div><br>
</div>
<div>and be
sure to change
this "datadir
= <b>geoserver/data</b>"
with the
absolute path
to the
GEOSERVER_DATA_DIR</div>
<div><br>
</div>
</div>
<div
class="gmail_extra"><br
clear="all">
<div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868gmail_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" moz-do-not-send="true">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" moz-do-not-send="true">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"
moz-do-not-send="true">+39
0584 962313</a></div>
<div>fax:
<a
href="tel:+39%200584%20166%200272"
value="+3905841660272" target="_blank" moz-do-not-send="true">+39 0584
1660272</a></div>
<div>mob:
+39 <span
style="font-size:12.8px"><a
href="tel:%28331%29%20623-3686" value="+13316233686" target="_blank"
moz-do-not-send="true">331
6233686</a></span></div>
<div><br>
</div>
<div><a
href="http://www.geo-solutions.it/"
target="_blank" moz-do-not-send="true">http://www.geo-solutions.it</a></div>
<div><a
href="http://twitter.com/geosolutions_it"
target="_blank" moz-do-not-send="true">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>
<div><span
lang="IT"><font
size="1"> </font></span><br
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868webkit-block-placeholder">
</div>
<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>
<div
class="gmail_quote">On
Tue, May 23,
2017 at 5:45
PM, Federico
Gianoli <span
dir="ltr"><<a
href="mailto:alpacagis@gmail.com" target="_blank" moz-do-not-send="true">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">Hi
Alessio,
<div><br>
</div>
<div>This is
the result of
these
commands:</div>
<div><br>
</div>
<div>
<div><i><font
size="1">$
python
manage.py
backup
--backup-dir=/tmp/backup/</font></i></div>
<span><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-im"><i><font
size="1">
<div>Before
proceeding
with the
Backup, please
ensure that:</div>
<div> 1. The
backend (DB or
whatever) is
accessible and
you have
rights</div>
<div> 2. The
GeoServer is
up and running
and reachable
from this
machine</div>
</font></i></span>
<div><i><font
size="1">You
want to
proceed?
[n]|y: y</font></i></div>
</span>
<div><i><font
size="1">Dumping
'GeoServer
Catalog [<a
href="http://212.237.232.12/geoserver/"
target="_blank" moz-do-not-send="true">http://212.237.232.12/geoserv<wbr>er/</a>]'
into
'/tmp/backup/2017-05-23_103754<wbr>/geoserver_catalog.zip'.</font></i></div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-ajU
m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-yj6qo">
<div
id="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-:gw"
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-ajR"><i><font
size="1"><img
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-ajT"
src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"
style="opacity:0.3"
moz-do-not-send="true"></font></i></div>
</div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-adL"><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-im"><i><font
size="1">
<div>STARTED -
1/9</div>
<div>COMPLETED
- 9/9</div>
<span>
<div>Traceback
(most recent
call last):</div>
<div> File
"manage.py",
line 11, in
<module></div>
<div>
execute_from_command_line(sys.<wbr>argv)</div>
<div> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py",
line 354, in
execute_from_command_line</div>
<div>
utility.execute()</div>
<div> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py",
line 346, in
execute</div>
<div>
self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)</div>
<div> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py",
line 394, in
run_from_argv</div>
<div>
self.execute(*args,
**cmd_options)</div>
<div> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py",
line 445, in
execute</div>
<div>
output =
self.handle(*args,
**options)</div>
</span>
<div> File
"/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/backup.py",
line 150, in
handle</div>
<div>
helpers.copy_tree(gs_data_root<wbr>,
gs_data_folder)</div>
<div> File
"/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/helpers.py",
line 203, in
copy_tree</div>
<div> for
item in
os.listdir(src):</div>
<div>OSError:
[Errno 2] No
such file or
directory:
'/usr/local/lib/python2.7/dist<wbr>-packages/geonode/../geoserver<wbr>/data/data/geonode'</div>
</font></i></span></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>The
backup is
created but
with the error
(<i><font
size="1">OSError:
[Errno 2] No
such file or
directory:
'/usr/local/lib/python2.7/dist<wbr>-packages/geonode/../geoserver<wbr>/data/data/geonode'</font></i></div>
<div>), and
the restore
command
doesn't work</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div dir="ltr">
<div><i><font
size="1">$
python
manage.py
restore
--backup-file=/tmp/backup/2017<wbr>-05-23_103754/geoserver_catalo<wbr>g.zip</font></i></div>
<div><i><font
size="1">Before
proceeding
with the
Restore,
please ensure
that:</font></i></div>
<span><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-im"><font
size="1">
<div><i> 1.
The backend
(DB or
whatever) is
accessible and
you have
rights</i></div>
<div><i> 2.
The GeoServer
is up and
running and
reachable from
this machine</i></div>
</font></span></span>
<div><i><font
size="1">WARNING:
The restore
will overwrite
ALL GeoNode
data. You want
to proceed?
[n]|y: y</font></i></div>
<span><span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-im"><font
size="1">
<div><i>Traceback
(most recent
call last):</i></div>
<div><i> File
"manage.py",
line 11, in
<module></i></div>
<div><i>
execute_from_command_line(sys.<wbr>argv)</i></div>
<div><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><i>
utility.execute()</i></div>
<div><i> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py",
line 346, in
execute</i></div>
<div><i>
self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)</i></div>
<div><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><i>
self.execute(*args,
**cmd_options)</i></div>
<div><i> File
"/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py",
line 445, in
execute</i></div>
<div><i>
output =
self.handle(*args,
**options)</i></div>
</font></span></span>
<div><i><font
size="1">
File
"/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/restore.py",
line 87, in
handle</font></i></div>
<div><i><font
size="1">
target_folder
=
helpers.unzip_file(backup_file<wbr>,
restore_folder)</font></i></div>
<div><i><font
size="1">
File
"/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/helpers.py",
line 227, in
unzip_file</font></i></div>
<div><i><font
size="1">
z.extractall(target_folder)</font></i></div>
<div><i><font
size="1">
File
"/usr/lib/python2.7/zipfile.py<wbr>",
line 1040, in
extractall</font></i></div>
<div><i><font
size="1">
self.extract(zipinfo,
path, pwd)</font></i></div>
<div><i><font
size="1">
File
"/usr/lib/python2.7/zipfile.py<wbr>",
line 1028, in
extract</font></i></div>
<div><i><font
size="1">
return
self._extract_member(member,
path, pwd)</font></i></div>
<div><i><font
size="1">
File
"/usr/lib/python2.7/zipfile.py<wbr>",
line 1083, in
_extract_member</font></i></div>
<div><i><font
size="1">
file(targetpath,
"wb") as
target:</font></i></div>
<div><i><font
size="1">IOError:
[Errno 13]
Permission
denied:
u'/tmp/restore/geoserver_catal<wbr>og/store.dat.1'</font></i></div>
</div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-ajU
m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-yj6qo"
style="font-size:12.8px">
<div
id="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-:io"
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-ajR"><br>
</div>
<div
id="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-:io"
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-ajR"><br>
</div>
<div
id="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-:io"
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-ajR">Thanks
for your help</div>
<div
id="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-:io"
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-ajR"><br>
</div>
<div
id="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-:io"
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-ajR">Federico<img
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431gmail-ajT"
src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"
style="opacity:0.3"
moz-do-not-send="true"></div>
</div>
</div>
</div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868HOEnZb">
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868h5">
<div
class="gmail_extra"><br>
<div
class="gmail_quote">2017-05-23
17:33
GMT+02:00
Alessio
Fabiani <span
dir="ltr"><<a
href="mailto:alessio.fabiani@geo-solutions.it" target="_blank"
moz-do-not-send="true">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">Federico,
before doing
anything, can
you try to do
this test?
<div><br>
</div>
<div><font
face="monospace,
monospace">sudo
mkdir
/tmp/backup</font></div>
<div><font
face="monospace,
monospace">sudo
chmod -Rf 777
/tmp/backup</font></div>
<div><font
face="monospace,
monospace">python
manage.py
backup --backup-dir=/tmp/backu<wbr>p</font></div>
<div><br>
</div>
<div><br>
</div>
</div>
<div
class="gmail_extra"><span><br
clear="all">
<div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660gmail_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" moz-do-not-send="true">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" moz-do-not-send="true">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"
moz-do-not-send="true">+39
0584 962313</a></div>
<div>fax:
<a
href="tel:+39%200584%20166%200272"
value="+3905841660272" target="_blank" moz-do-not-send="true">+39 0584
1660272</a></div>
<div>mob:
+39 <span
style="font-size:12.8px"><a
href="tel:%28331%29%20623-3686" value="+13316233686" target="_blank"
moz-do-not-send="true">331
6233686</a></span></div>
<div><br>
</div>
<div><a
href="http://www.geo-solutions.it/"
target="_blank" moz-do-not-send="true">http://www.geo-solutions.it</a></div>
<div><a
href="http://twitter.com/geosolutions_it"
target="_blank" moz-do-not-send="true">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>
<div><span
lang="IT"><font
size="1"> </font></span><br
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868webkit-block-placeholder">
</div>
<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_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431h5">
<div
class="gmail_quote">On
Tue, May 23,
2017 at 5:24
PM, Federico
Gianoli <span
dir="ltr"><<a
href="mailto:alpacagis@gmail.com" target="_blank" moz-do-not-send="true">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">Hi
Alessio,
<div><br>
</div>
<div>thanks
for your quick
answer,</div>
<div><br>
</div>
<div>I have
checked, but I
have not the
files 2 and 3
on my geonode
instance. How
is it
possible? I
have installed
geonode via
ppa.</div>
<div>I have
overwritten
all "commands"
folder, in
order to be
sure to have
the latest
files, bu it
is still not
working.</div>
<div><br>
</div>
<div>There is
another way to
do the backup?</div>
<div><br>
</div>
<div>In your
opinion, if I
upgrade my
version of
geonode
(2.6rc) to the
last stable
(sudo apt-get
upgrade
right?), this
issue will be
solved? </div>
<div>How
dangerous
could be for
my data?</div>
<div><br>
</div>
<div>Thanks a
lot</div>
<div><br>
</div>
<div>Fede</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660HOEnZb">
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660h5">
<div
class="gmail_extra"><br>
<div
class="gmail_quote">2017-05-23
12:38
GMT+02:00
Alessio
Fabiani <span
dir="ltr"><<a
href="mailto:alessio.fabiani@geo-solutions.it" target="_blank"
moz-do-not-send="true">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">Digging
to the source
code of both
GeoNode
management
command [1]
and GeoServer
Backup Plugin
[2] and [3],
seems like
that GeoServer
can't access
the
"${target_folder}/geoserver_ca<wbr>talog.zip"
<div>
<div>
<div><br>
</div>
<div>The
${target_folder}
should be
composed by
the join of ${<span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre-wrap">backup_dir} and ${dir_time_suffix}, something like </span>${<span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre-wrap">backup_dir}/<time_stamp> where </span>${<span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre-wrap">backup_dir} is the parameter provided when running the backup command from GeoNode.</span></div>
<div><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre-wrap">
</span></div>
<div><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre-wrap">Now, the latest GeoNode code [4] tries to set chmod(777) to this temporary folder, which will be deleted at the end, in order to allow to GeoServer to write the file.</span></div>
<div><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre-wrap">That means that most probably the user running GeoNode must have full rights on the </span>${<span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre-wrap">backup_dir} </span><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre-wrap">folder.</span></div>
<div><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre-wrap">
</span></div>
<div><span style="color:rgb(36,41,46);font-family:sfmono-regular,consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre-wrap">Can you maybe try to double check this?</span></div>
<div><br>
</div>
<div><br>
</div>
<div>[1] <a
href="https://github.com/GeoNode/geonode/blob/master/geonode/base/management/commands/backup.py#L92"
target="_blank" moz-do-not-send="true">https://github.com/GeoNode<wbr>/geonode/blob/master/geonode/b<wbr>ase/management/commands/backup<wbr>.py#L92</a></div>
<div><br>
</div>
<div>[2] <a
href="https://github.com/geoserver/geoserver/blob/2.9.x/src/community/backup-restore/rest/src/main/java/org/geoserver/backuprestore/rest/BackupResource.java#L155"
target="_blank" moz-do-not-send="true">https://github.com/geoserv<wbr>er/geoserver/blob/2.9.x/src/co<wbr>mmunity/backup-restore/rest/sr<wbr>c/main/java/org/geoserver/back<wbr>uprestore/rest/BackupResource.<wbr>java#L155</a></div>
<div><br>
</div>
<div>[3] <a
href="https://github.com/geoserver/geoserver/blob/2.9.x/src/community/backup-restore/core/src/main/java/org/geoserver/backuprestore/Backup.java#L328"
target="_blank" moz-do-not-send="true">https://github.com/geoserv<wbr>er/geoserver/blob/2.9.x/src/co<wbr>mmunity/backup-restore/core/sr<wbr>c/main/java/org/geoserver/back<wbr>uprestore/Backup.java#L328</a></div>
</div>
</div>
<div><br>
</div>
<div>[4] <a
href="https://github.com/GeoNode/geonode/blob/master/geonode/base/management/commands/backup.py#L86"
target="_blank" moz-do-not-send="true">https://github.com/GeoNode<wbr>/geonode/blob/master/geonode/b<wbr>ase/management/commands/backup<wbr>.py#L86</a></div>
<div><br>
</div>
</div>
<div
class="gmail_extra"><span><br
clear="all">
<div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757gmail_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" moz-do-not-send="true">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" moz-do-not-send="true">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"
moz-do-not-send="true">+39
0584 962313</a></div>
<div>fax:
<a
href="tel:+39%200584%20166%200272"
value="+3905841660272" target="_blank" moz-do-not-send="true">+39 0584
1660272</a></div>
<div>mob:
+39 <span
style="font-size:12.8px"><a
href="tel:%28331%29%20623-3686" value="+13316233686" target="_blank"
moz-do-not-send="true">331
6233686</a></span></div>
<div><br>
</div>
<div><a
href="http://www.geo-solutions.it/"
target="_blank" moz-do-not-send="true">http://www.geo-solutions.it</a></div>
<div><a
href="http://twitter.com/geosolutions_it"
target="_blank" moz-do-not-send="true">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>
<div><span
lang="IT"><font
size="1"> </font></span><br
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868webkit-block-placeholder">
</div>
<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_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362h5">
<div
class="gmail_quote">On
Tue, May 23,
2017 at 12:23
PM, Federico
Gianoli <span
dir="ltr"><<a
href="mailto:alpacagis@gmail.com" target="_blank" moz-do-not-send="true">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">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"
style="font-size:12.8px" target="_blank" moz-do-not-send="true">https://pastebin.com/c9Je<wbr>R1NU</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.RestletExce<wbr>ption:
java.lang.IllegalStateExceptio<wbr>n: Could not create file.</i></div>
<div><i><span class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716gmail-m_414396140729488870gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at
<a
href="http://org.geoserver.backuprestore.re/"
target="_blank" moz-do-not-send="true">org.geoserver.backuprestore.re</a><wbr>st.BackupResource.runBackup(Ba<wbr>ckupResource.java:172)</i></div>
<div><i><span class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716gmail-m_414396140729488870gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>at
<a
href="http://org.geoserver.backuprestore.re/"
target="_blank" moz-do-not-send="true">org.geoserver.backuprestore.re</a><wbr>st.BackupResource.handlePost(B<wbr>ackupResource.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="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716gmail-yj6qo
m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716gmail-ajU">
<div
id="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716gmail-:fj"
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716gmail-ajR"><img
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716gmail-ajT"
src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"
style="opacity:0.3"
moz-do-not-send="true"></div>
</div>
</div>
</div>
</div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757HOEnZb">
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757h5">
<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"
moz-do-not-send="true">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">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><br
clear="all">
<div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_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" moz-do-not-send="true">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" moz-do-not-send="true">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"
moz-do-not-send="true">+39
0584 962313</a></div>
<div>fax:
<a
href="tel:+39%200584%20166%200272"
value="+3905841660272" target="_blank" moz-do-not-send="true">+39 0584
1660272</a></div>
<div>mob:
+39 <span
style="font-size:12.8px"><a
href="tel:%28331%29%20623-3686" value="+13316233686" target="_blank"
moz-do-not-send="true">331
6233686</a></span></div>
<div><br>
</div>
<div><a
href="http://www.geo-solutions.it/"
target="_blank" moz-do-not-send="true">http://www.geo-solutions.it</a></div>
<div><a
href="http://twitter.com/geosolutions_it"
target="_blank" moz-do-not-send="true">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>
<div><span
lang="IT"><font
size="1"> </font></span><br
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868webkit-block-placeholder">
</div>
<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_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716h5">
<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"
moz-do-not-send="true">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">Hi,
<div>which
version of
GeoServer are
you using?</div>
</div>
<div
class="gmail_extra"><span><br
clear="all">
<div>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_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" moz-do-not-send="true">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" moz-do-not-send="true">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"
moz-do-not-send="true">+39
0584 962313</a></div>
<div>fax:
<a
href="tel:0584%20166%200272"
value="+3905841660272" target="_blank" moz-do-not-send="true">+39 0584
1660272</a></div>
<div>mob:
+39 <span
style="font-size:12.8px"><a
href="tel:331%20623%203686" value="+393316233686" target="_blank"
moz-do-not-send="true">331
6233686</a></span></div>
<div><br>
</div>
<div><a
href="http://www.geo-solutions.it/"
target="_blank" moz-do-not-send="true">http://www.geo-solutions.it</a></div>
<div><a
href="http://twitter.com/geosolutions_it"
target="_blank" moz-do-not-send="true">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>
<div><span
lang="IT"><font
size="1"> </font></span><br
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868webkit-block-placeholder">
</div>
<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_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_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" moz-do-not-send="true">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" moz-do-not-send="true">http://212.237.232.12/geoserv<wbr>er/</a>]'
into
'backup/2017-05-19_<a
href="tel:050%20730" value="+39050730" target="_blank"
moz-do-not-send="true">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"
moz-do-not-send="true">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" moz-do-not-send="true">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_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_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" moz-do-not-send="true">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" moz-do-not-send="true">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"
moz-do-not-send="true">+39
0584 962313</a></div>
<div>fax:
<a
href="tel:+39%200584%20166%200272"
value="+3905841660272" target="_blank" moz-do-not-send="true">+39 0584
1660272</a></div>
<div>mob:
+39 <span
style="font-size:12.8px"><a
href="tel:%28331%29%20623-3686" value="+13316233686" target="_blank"
moz-do-not-send="true">331
6233686</a></span></div>
<div><br>
</div>
<div><a
href="http://www.geo-solutions.it/"
target="_blank" moz-do-not-send="true">http://www.geo-solutions.it</a></div>
<div><a
href="http://twitter.com/geosolutions_it"
target="_blank" moz-do-not-send="true">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>
<div><span
lang="IT"><font
size="1"> </font></span><br
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868webkit-block-placeholder">
</div>
<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_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_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"
moz-do-not-send="true">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_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_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" moz-do-not-send="true">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" moz-do-not-send="true">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"
moz-do-not-send="true">+39
0584 962313</a></div>
<div>fax:
<a
href="tel:0584%20166%200272"
value="+3905841660272" target="_blank" moz-do-not-send="true">+39 0584
1660272</a></div>
<div>mob:
+39 <span
style="font-size:12.8px"><a
href="tel:331%20623%203686" value="+393316233686" target="_blank"
moz-do-not-send="true">331
6233686</a></span></div>
<div><br>
</div>
<div><a
href="http://www.geo-solutions.it/"
target="_blank" moz-do-not-send="true">http://www.geo-solutions.it</a></div>
<div><a
href="http://twitter.com/geosolutions_it"
target="_blank" moz-do-not-send="true">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>
<div><span
lang="IT"><font
size="1"> </font></span><br
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868webkit-block-placeholder">
</div>
<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_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_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"
moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_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" moz-do-not-send="true">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_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_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" moz-do-not-send="true">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="font-family:'times
new roman'">Internal
Server Error</h1>
<p
style="font-family:'times
new
roman';font-size:inherit">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_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_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" moz-do-not-send="true">geonode-users@lists.osgeo.org</a><br>
<a
href="https://lists.osgeo.org/mailman/listinfo/geonode-users"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_6367180820834377487m_-6103818955852368758m_-7229885535473742710m_-7238395815087518986m_-6920004167683768722HOEnZb"><font
color="#888888"><br>
<br
clear="all">
<span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_6367180820834377487m_-6103818955852368758HOEnZb"><font
color="#888888">
<div><br>
</div>
-- <br>
<div
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_6367180820834377487m_-6103818955852368758m_-7229885535473742710m_-7238395815087518986m_-6920004167683768722m_5442763569186197841gmail_signature"
data-smartmail="gmail_signature">Simone </div>
</font></span></font></span></div>
<span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_6367180820834377487m_-6103818955852368758HOEnZb"><font
color="#888888">
<br>
______________________________<wbr>_________________<br>
geonode-users
mailing list<br>
<a
href="mailto:geonode-users@lists.osgeo.org"
target="_blank" moz-do-not-send="true">geonode-users@lists.osgeo.org</a><br>
<a
href="https://lists.osgeo.org/mailman/listinfo/geonode-users"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br>
</font></span></blockquote>
</div>
<span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_6367180820834377487m_-6103818955852368758HOEnZb"><font
color="#888888"><br>
</font></span></div>
</div>
</div>
<span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_6367180820834377487m_-6103818955852368758HOEnZb"><font
color="#888888">
</font></span></blockquote>
</div>
<span
class="m_-7542896145235297617m_2156345572518535929m_-1830781476901819612m_-5694129932232197015m_-8824446190582110788m_-6286580514733773092m_9156935688629894985m_-3004791915146133414m_-5768645166572418592m_-6283209201459962201m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_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>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
geonode-users
mailing list<br>
<a
href="mailto:geonode-users@lists.osgeo.org"
target="_blank" moz-do-not-send="true">geonode-users@lists.osgeo.org</a><br>
<a
href="https://lists.osgeo.org/mailman/listinfo/geonode-users"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
______________________________<wbr>_________________<br>
geonode-users
mailing list<br>
<a
href="mailto:geonode-users@lists.osgeo.org"
target="_blank" moz-do-not-send="true">geonode-users@lists.osgeo.org</a><br>
<a
href="https://lists.osgeo.org/mailman/listinfo/geonode-users"
target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org"
target="_blank" moz-do-not-send="true">geonode-users@lists.osgeo.org</a><br>
<a
href="https://lists.osgeo.org/mailman/listinfo/geonode-users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org"
moz-do-not-send="true">geonode-users@lists.osgeo.org</a><br>
<a
href="https://lists.osgeo.org/mailman/listinfo/geonode-users"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>