[GeoNode-users] Installing GeoNode on RedHat OS 7.0
Rasika Chinchwade
rasikachinchwade31 at gmail.com
Wed May 24 05:51:17 PDT 2017
Thank you Simone.Now we solved the proxy issue but new problem arises with
migration command.
The django version for GeoNode 2.4.x is 1.6.11 which does not have
migration support.
So whenever I ran the coomand *pyrhon manage.py migrate *it is giving me
eeror like
Unknown command: 'migrate'
Type 'manage.py help' for usage.
Then we tried with python manage.py syndb
that also not satisfied the problem.
Then I tried with south app by seaching on net. but that was also giving me
same error
(*both syncdb and south app giving error as follows)*
Not enabling BingMaps base layer as a BING_API_KEY is not defined in
local_settings.py file.
Traceback (most recent call last):
File "manage.py", line 28, in <module>
execute_from_command_line(sys.argv)
File
"/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line
399, in execute_from_command_line
utility.execute()
File
"/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line
392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/base.py",
line 242, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/python2.7/site-packages/django/core/management/base.py",
line 284, in execute
self.validate()
File "/usr/lib/python2.7/site-packages/django/core/management/base.py",
line 310, in validate
num_errors = get_validation_errors(s, app)
File
"/usr/lib/python2.7/site-packages/django/core/management/validation.py",
line 34, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/usr/lib/python2.7/site-packages/django/db/models/loading.py", line
196, in get_app_errors
self._populate()
File "/usr/lib/python2.7/site-packages/django/db/models/loading.py", line
78, in _populate
self.load_app(app_name)
File "/usr/lib/python2.7/site-packages/django/db/models/loading.py", line
99, in load_app
models = import_module('%s.models' % app_name)
File "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line
40, in import_module
__import__(name)
File "/usr/lib/python2.7/site-packages/modeltranslation/models.py", line
84, in <module>
handle_translation_registrations()
File "/usr/lib/python2.7/site-packages/modeltranslation/models.py", line
80, in handle_translation_registrations
autodiscover()
File "/usr/lib/python2.7/site-packages/modeltranslation/models.py", line
31, in autodiscover
import_module(module)
File "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line
40, in import_module
__import__(name)
File "/data/cms/geonode/geonode/base/translation.py", line 2, in <module>
from geonode.base.models import (TopicCategory,
SpatialRepresentationType, Region,
File "/data/cms/geonode/geonode/base/models.py", line 28, in <module>
from geonode.utils import bbox_to_wkt
File "/data/cms/geonode/geonode/utils.py", line 28, in <module>
* from osgeo import ogr*
*ImportError: No module named osgeo*
We have installed pip install gdal
version of gdal=1.11.4
Still the same problem arises.
Please five any idea to solve this problem as soon as possible.
Thank you
On Wed, May 24, 2017 at 3:09 PM, Simone Dalmasso <simone.dalmasso at gmail.com>
wrote:
> Hi, seems that you have network issues. Not sure what can be, check that
> your server can correctly reach internet and if there are proxies, make
> sure your server is using them correctly.
>
> Best
>
> 2017-05-24 11:27 GMT+02:00 Rasika Chinchwade <rasikachinchwade31 at gmail.com
> >:
>
>> Thank you sir for your reply.
>> After running the command that you mentioned in reply I am getting the
>> following error:
>>
>> Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after
>> connection broken by 'NewConnectionError('<pip._ven
>> dor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object
>> at 0x2da6690>: Failed to establish a new connection: [Errno 101] Network is
>> unreachable',)': /simple/pip/
>> Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after
>> connection broken by 'NewConnectionError('<pip._ven
>> dor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object
>> at 0x2da6810>: Failed to establish a new connection: [Errno 101] Network is
>> unreachable',)': /simple/pip/
>> Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after
>> connection broken by 'NewConnectionError('<pip._ven
>> dor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object
>> at 0x2da6990>: Failed to establish a new connection: [Errno 101] Network is
>> unreachable',)': /simple/pip/
>> Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after
>> connection broken by 'NewConnectionError('<pip._ven
>> dor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object
>> at 0x2da6b10>: Failed to establish a new connection: [Errno 101] Network is
>> unreachable',)': /simple/pip/
>> Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after
>> connection broken by 'NewConnectionError('<pip._ven
>> dor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object
>> at 0x2da6c90>: Failed to establish a new connection: [Errno 101] Network is
>> unreachable',)': /simple/pip/
>> *Requirement already up-to-date: pip in /usr/lib/python2.7/site-packages*
>>
>> I kept proxy settings in the terminal also. Kindly suggest me the way for
>> installing it on my system.
>>
>> Thank you
>>
>>
>>
>> On Wed, May 24, 2017 at 12:34 PM, Simone Dalmasso <
>> simone.dalmasso at gmail.com> wrote:
>>
>>> Hi, installation with pip is different from the installation with yum,
>>> try to update pip first with "pip install --upgrade pip" this may help you
>>> to find the correct pil.
>>>
>>> 2017-05-24 5:35 GMT+02:00 Rasika Chinchwade <
>>> rasikachinchwade31 at gmail.com>:
>>>
>>>> Hi,
>>>>
>>>> I am following the instructions metioned from below link to deploy
>>>> Geonode 2.6.x in Rhel 7.2 64 bit machine.
>>>> http://docs.geonode.org/en/master/tutorials/install_and_admi
>>>> n/setup_on_centos/index.html
>>>>
>>>> when I am doing the step
>>>> cd /home/geonode/geonode
>>>> pip install -e .
>>>>
>>>> *that is giving me error like pilliow version>=3.1.1 not satisfied.Also
>>>> when I tried to update it with command*
>>>> *yum update python-imaging*
>>>> it is showing uptodate.Nothing to do.And the version of python-pillow
>>>> is 2.0.0-19 is already installed and latest one. And also serached on net
>>>> for downloading latest rpm of python-pillow for rhel 7.2 but unable to find.
>>>> Please suggest me to proceed further.
>>>> Thank you
>>>>
>>>>
>>>> On Mon, May 22, 2017 at 5:35 PM, Simone Dalmasso <
>>>> simone.dalmasso at gmail.com> wrote:
>>>>
>>>>> Hi, you can follow this one, although we released the 2.6 and we have
>>>>> to update the version number in the docs.
>>>>>
>>>>> http://docs.geonode.org/en/master/tutorials/install_and_admi
>>>>> n/setup_on_centos/index.html
>>>>>
>>>>>
>>>>> 2017-05-22 13:32 GMT+02:00 Rasika Chinchwade <
>>>>> rasikachinchwade31 at gmail.com>:
>>>>>
>>>>>> hello all,
>>>>>> I want to install geonode on RedHat 7.0 ,64 bit OS.
>>>>>>
>>>>>> I got the following link when I searched for it.
>>>>>>
>>>>>>
>>>>>> https://groups.google.com/forum/#!topic/geonode-users/jxgWTFQhrOA which
>>>>>> is from year 2014 for the rhel 6.6.
>>>>>>
>>>>>> Please suggest whether the steps mentioned in above link will
>>>>>> sufficient for deploying GeoNode latest version in Rhel 7.0.Please reply as
>>>>>> soon as possible.
>>>>>>
>>>>>>
>>>>>> Thank you
>>>>>>
>>>>>> _______________________________________________
>>>>>> geonode-users mailing list
>>>>>> geonode-users at lists.osgeo.org
>>>>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Simone
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Simone
>>>
>>
>>
>
>
> --
> Simone
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170524/1d510bb9/attachment-0001.html>
More information about the geonode-users
mailing list