[GeoNode-users] Problem with Geonode
Ana Boljevic
ana.boljevic at cedis.me
Fri Aug 18 03:02:25 PDT 2017
Dears,
We have Geonode version 2.6.1 installed on Ubuntu 16.04. Instead of using command sudo python manage.py XXX we should use sudo geonode XXX (as written in GeoNode Documentation
Release 2.6)...
But when I try:
geonode at geonode:~$ sudo geonode backup --backup-dir=/tmp
Before proceeding with the Backup, please ensure that:
1. The backend (DB or whatever) is accessible and you have rights
2. The GeoServer is up and running and reachable from this machine
You want to proceed? [n]|y: y
Dumping 'GeoServer Catalog [http://10.0.0.111/geoserver/]' into '/tmp/2017-08-18_045110/geoserver_catalog.zip'.
Traceback (most recent call last):
File "/usr/bin/django-admin", line 21, in <module>
management.execute_from_command_line()
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 346, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python2.7/dist-packages/geonode/base/management/commands/backup.py", line 101, in handle
gs_backup = r.json()
File "/usr/lib/python2.7/dist-packages/requests/models.py", line 800, in json
self.content.decode(encoding), **kwargs
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
If you can give as any hint, idea or help, we would be thankful.
Regards,
Ana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170818/780dc4b3/attachment.html>
More information about the geonode-users
mailing list