[GeoNode-users] Issue when performing a backup

Enrique Cerrillo Cuenca cerrillo at uevora.pt
Tue May 16 04:27:38 PDT 2017


Hi everyone,

I’m trying to perform of backup of my geonode data following the procedure here described: http://docs.geonode.org/en/latest/tutorials/admin/backup_restore/index.html <http://docs.geonode.org/en/latest/tutorials/admin/backup_restore/index.html>

Everything seems to work perfectly. However, I’m getting this error when I run backup.py:

Reactivating GeoNode Signals...
...done!
Traceback (most recent call last):
  File "manage.py", line 29, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 346, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 394, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute
    output = self.handle(*args, **options)
  File "/usr/src/app/geonode/base/management/commands/backup.py", line 196, in handle
    helpers.copy_tree(static_root, static_folder)
  File "/usr/src/app/geonode/base/management/commands/helpers.py", line 203, in copy_tree
    for item in os.listdir(src):
OSError: [Errno 2] No such file or directory: '/usr/src/app/geonode/static_root’

Indeed the static_root directory is missing in geonode, although “static” directory do exist. In which file should I change the link?

Thanks in advance,

Enrique



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170516/a9df9a60/attachment.html>


More information about the geonode-users mailing list