<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><br></div><div><br><div class="m_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">alessio.fabiani@geo-<wbr>solutions.it</a>> escribió:</div><br class="m_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/<wbr>commands/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_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">http://goo.gl/it488V</a> for more information.</div><div>==</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ing. Alessio Fabiani</div><div style="font-size:12.8px">@alfa7691</div><div style="font-size:12.8px"><a href="https://github.com/afabiani?tab=overview" style="font-size:12.8px" target="_blank">github</a><br></div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div>Via di Montramito 3/A</div><div>55054 Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:+39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax: <a href="tel:+39%200584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob: +39 <span style="font-size:12.8px"><a href="tel:(331)%20623-3686" value="+13316233686" target="_blank">331 6233686</a></span></div><div><br></div><div><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/<wbr>geosolutions_it</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">------------------------------<wbr>-------------------------</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><div><span lang="IT"><font size="1"> </font></span><br class="m_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">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_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">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_281821288771742868m_-287507287469150431gmail-yj6qo m_281821288771742868m_-287507287469150431gmail-ajU"><div id="m_281821288771742868m_-287507287469150431gmail-:gw" class="m_281821288771742868m_-287507287469150431gmail-ajR"><i><font size="1"><img class="m_281821288771742868m_-287507287469150431gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif" style="opacity:0.3"></font></i></div></div><div class="m_281821288771742868m_-287507287469150431gmail-adL"><span class="m_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_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_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_281821288771742868m_-287507287469150431gmail-yj6qo m_281821288771742868m_-287507287469150431gmail-ajU" style="font-size:12.8px"><div id="m_281821288771742868m_-287507287469150431gmail-:io" class="m_281821288771742868m_-287507287469150431gmail-ajR"><br></div><div id="m_281821288771742868m_-287507287469150431gmail-:io" class="m_281821288771742868m_-287507287469150431gmail-ajR"><br></div><div id="m_281821288771742868m_-287507287469150431gmail-:io" class="m_281821288771742868m_-287507287469150431gmail-ajR">Thanks for your help</div><div id="m_281821288771742868m_-287507287469150431gmail-:io" class="m_281821288771742868m_-287507287469150431gmail-ajR"><br></div><div id="m_281821288771742868m_-287507287469150431gmail-:io" class="m_281821288771742868m_-287507287469150431gmail-ajR">Federico<img class="m_281821288771742868m_-287507287469150431gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif" style="opacity:0.3"></div></div></div></div><div class="m_281821288771742868HOEnZb"><div class="m_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">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_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">http://goo.gl/it488V</a> for more information.</div><div>==</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ing. Alessio Fabiani</div><div style="font-size:12.8px">@alfa7691</div><div style="font-size:12.8px"><a href="https://github.com/afabiani?tab=overview" style="font-size:12.8px" target="_blank">github</a><br></div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div>Via di Montramito 3/A</div><div>55054 Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:+39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax: <a href="tel:+39%200584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob: +39 <span style="font-size:12.8px"><a href="tel:(331)%20623-3686" value="+13316233686" target="_blank">331 6233686</a></span></div><div><br></div><div><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolution<wbr>s_it</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">------------------------------<wbr>-------------------------</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><div><span lang="IT"><font size="1"> </font></span><br class="m_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_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">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_281821288771742868m_-287507287469150431m_1153185787516190660HOEnZb"><div class="m_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">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"><br></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"><br></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">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">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">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">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_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">http://goo.gl/it488V</a> for more information.</div><div>==</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ing. Alessio Fabiani</div><div style="font-size:12.8px">@alfa7691</div><div style="font-size:12.8px"><a href="https://github.com/afabiani?tab=overview" style="font-size:12.8px" target="_blank">github</a><br></div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div>Via di Montramito 3/A</div><div>55054 Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:+39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax: <a href="tel:+39%200584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob: +39 <span style="font-size:12.8px"><a href="tel:(331)%20623-3686" value="+13316233686" target="_blank">331 6233686</a></span></div><div><br></div><div><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolution<wbr>s_it</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">------------------------------<wbr>-------------------------</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><div><span lang="IT"><font size="1"> </font></span><br class="m_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_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">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">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_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">org.geoserver.backuprestore.re</a><wbr>st.BackupResource.runBackup(Ba<wbr>ckupResource.java:172)</i></div><div><i><span class="m_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">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_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716gmail-yj6qo m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716gmail-ajU"><div id="m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716gmail-:fj" class="m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716gmail-ajR"><img class="m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif" style="opacity:0.3"></div></div></div></div></div><div class="m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757HOEnZb"><div class="m_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">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_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">http://goo.gl/it488V</a> for more information.</div><div>==</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ing. Alessio Fabiani</div><div style="font-size:12.8px">@alfa7691</div><div style="font-size:12.8px"><a href="https://github.com/afabiani?tab=overview" style="font-size:12.8px" target="_blank">github</a><br></div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div>Via di Montramito 3/A</div><div>55054 Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:+39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax: <a href="tel:+39%200584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob: +39 <span style="font-size:12.8px"><a href="tel:(331)%20623-3686" value="+13316233686" target="_blank">331 6233686</a></span></div><div><br></div><div><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolution<wbr>s_it</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">------------------------------<wbr>-------------------------</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><div><span lang="IT"><font size="1"> </font></span><br class="m_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_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">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_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">http://goo.gl/it488V</a> for more information.</div><div>==</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ing. Alessio Fabiani</div><div style="font-size:12.8px">@alfa7691</div><div style="font-size:12.8px"><a href="https://github.com/afabiani?tab=overview" style="font-size:12.8px" target="_blank">github</a><br></div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div>Via di Montramito 3/A</div><div>55054 Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:0584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax: <a href="tel:0584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob: +39 <span style="font-size:12.8px"><a href="tel:331%20623%203686" value="+393316233686" target="_blank">331 6233686</a></span></div><div><br></div><div><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolution<wbr>s_it</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">------------------------------<wbr>-------------------------</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><div><span lang="IT"><font size="1"> </font></span><br class="m_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_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">alpacagis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks a lot Alessio,<div><br></div><div>I have changed the files according to your suggestions,</div><div>but now I have this error:</div><div><br></div><div><br></div><div><div style="font-size:12.8px"><i>$ sudo python manage.py backup --backup-dir=backup/</i></div><div style="font-size:12.8px"><i><br></i></div><div style="font-size:12.8px"><i>Before proceeding with the Backup, please ensure that:</i></div><div style="font-size:12.8px"><i> 1. The backend (DB or whatever) is accessible and you have rights</i></div><div style="font-size:12.8px"><i> 2. The GeoServer is up and running and reachable from this machine</i></div><div style="font-size:12.8px"><i>You want to proceed? [n]|y: y</i></div><div style="font-size:12.8px"><i>Dumping 'GeoServer Catalog [<a href="http://212.237.232.12/geoserver/" target="_blank">http://212.237.232.12/geoserv<wbr>er/</a>]' into 'backup/2017-05-19_<a href="tel:050%20730" value="+39050730" target="_blank">050730</a>/geos<wbr>erver_catalog.zip'.</i></div><div style="font-size:12.8px"><i>Traceback (most recent call last):</i></div><div style="font-size:12.8px"><i> File "manage.py", line 11, in <module></i></div><div style="font-size:12.8px"><i> execute_from_command_line(sys.<wbr>argv)</i></div><div style="font-size:12.8px"><i> File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py", line 354, in execute_from_command_line</i></div><div style="font-size:12.8px"><i> utility.execute()</i></div><div style="font-size:12.8px"><i> File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/__i<wbr>nit__.py", line 346, in execute</i></div><div style="font-size:12.8px"><i> self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)</i></div><div style="font-size:12.8px"><i> File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py", line 394, in run_from_argv</i></div><div style="font-size:12.8px"><i> self.execute(*args, **cmd_options)</i></div><div style="font-size:12.8px"><i> File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/management/bas<wbr>e.py", line 445, in execute</i></div><div style="font-size:12.8px"><i> output = self.handle(*args, **options)</i></div><div style="font-size:12.8px"><i> File "/usr/local/lib/python2.7/dist<wbr>-packages/geonode/base/managem<wbr>ent/commands/backup.py", line 101, in handle</i></div><div style="font-size:12.8px"><i> gs_backup = r.json()</i></div><div style="font-size:12.8px"><i> File "/usr/lib/python2.7/dist-packa<wbr>ges/requests/models.py", line 808, in json</i></div><div style="font-size:12.8px"><i> return complexjson.loads(self.text, **kwargs)</i></div><div style="font-size:12.8px"><i> File "/usr/lib/python2.7/json/__ini<wbr>t__.py", line 339, in loads</i></div><div style="font-size:12.8px"><i> return _default_decoder.decode(s)</i></div><div style="font-size:12.8px"><i> File "/usr/lib/python2.7/json/decod<wbr>er.py", line 364, in decode</i></div><div style="font-size:12.8px"><i> obj, end = self.raw_decode(s, idx=_w(s, 0).end())</i></div><div style="font-size:12.8px"><i> File "/usr/lib/python2.7/json/decod<wbr>er.py", line 382, in raw_decode</i></div><div style="font-size:12.8px"><i> raise ValueError("No JSON object could be decoded")</i></div><div style="font-size:12.8px"><i>ValueError: No JSON object could be decoded</i></div></div><div style="font-size:12.8px"><i><br></i></div><div style="font-size:12.8px"><i><br></i></div><div style="font-size:12.8px"><i>Thanks a lot for your help</i></div><div style="font-size:12.8px"><i><br></i></div><div style="font-size:12.8px"><i>Fede</i></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-05 16:41 GMT+02:00 Alessio Fabiani <span dir="ltr"><<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions<wbr>.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">PR here<div><br></div><div><a href="https://github.com/GeoNode/geonode/pull/3031" target="_blank">https://github.com/GeoNode/geo<wbr>node/pull/3031</a><br></div><div><br></div></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_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">http://goo.gl/it488V</a> for more information.</div><div>==</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ing. Alessio Fabiani</div><div style="font-size:12.8px">@alfa7691</div><div style="font-size:12.8px"><a href="https://github.com/afabiani?tab=overview" style="font-size:12.8px" target="_blank">github</a><br></div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div>Via di Montramito 3/A</div><div>55054 Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:+39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax: <a href="tel:+39%200584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob: +39 <span style="font-size:12.8px"><a href="tel:(331)%20623-3686" value="+13316233686" target="_blank">331 6233686</a></span></div><div><br></div><div><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolution<wbr>s_it</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">------------------------------<wbr>-------------------------</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><div><span lang="IT"><font size="1"> </font></span><br class="m_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_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">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_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">http://goo.gl/it488V</a> for more information.</div><div>==</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ing. Alessio Fabiani</div><div style="font-size:12.8px">@alfa7691</div><div style="font-size:12.8px"><a href="https://github.com/afabiani?tab=overview" style="font-size:12.8px" target="_blank">github</a><br></div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div>Via di Montramito 3/A</div><div>55054 Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:0584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax: <a href="tel:0584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob: +39 <span style="font-size:12.8px"><a href="tel:331%20623%203686" value="+393316233686" target="_blank">331 6233686</a></span></div><div><br></div><div><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolution<wbr>s_it</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">------------------------------<wbr>-------------------------</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><div><span lang="IT"><font size="1"> </font></span><br class="m_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_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">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Federico,<div><br></div><div>there seems to be an issue in the commands, simplejson is not available anymore, json has to be used. we should fix it. </div><div>@afabiani, is that correct?</div><div><br></div><div><a href="https://github.com/GeoNode/geonode/blob/2.6.x/geonode/base/management/commands/restore.py#L28" target="_blank">https://github.com/GeoNode/geo<wbr>node/blob/2.6.x/geonode/base/m<wbr>anagement/commands/restore.py#<wbr>L28</a><br></div><div><a href="https://github.com/GeoNode/geonode/blob/2.6.x/geonode/base/management/commands/backup.py#L26" target="_blank">https://github.com/GeoNode/geo<wbr>node/blob/2.6.x/geonode/base/m<wbr>anagement/commands/backup.py#L<wbr>26</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_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">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_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">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_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">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></blockquote></div><span class="m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_6367180820834377487m_-6103818955852368758m_-7229885535473742710m_-7238395815087518986m_-6920004167683768722HOEnZb"><font color="#888888"><br><br clear="all"><span class="m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_6367180820834377487m_-6103818955852368758HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_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_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">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></font></span></blockquote></div><span class="m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_6367180820834377487m_-6103818955852368758HOEnZb"><font color="#888888"><br></font></span></div></div></div><span class="m_281821288771742868m_-287507287469150431m_1153185787516190660m_-1135280097346207362m_1510573423103840757m_3343071789423766716m_6367180820834377487m_-6103818955852368758HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="m_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">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></blockquote></div><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">geonode-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><br></div></blockquote></div><br></div></div></div>