[GeoNode-users] Geonode Installation migrate and collectstatic
Paolo Corti
pcorti at gmail.com
Fri May 4 09:05:22 PDT 2018
Hi Julierme
It looks like you are using the (recommended approach) of using a geonode
project.
This is caused by this line in geonode-project:
https://github.com/GeoNode/geonode-project/blob/2.8.0/project_name/settings.py#L348
we will need to fix this, meanwhile you can remove that line in your
instance
best
Paolo
On Fri, May 4, 2018 at 4:52 AM Simone Dalmasso <simone.dalmasso at gmail.com>
wrote:
> Hi, check if in your settings.INSTALLED_APPS you have the
'geonode.contrib.ows_api' declared just once.
> Hope this helps
> 2018-05-03 22:20 GMT+02:00 Julierme Pinheiro <
juliermeopensourcedeveloper at gmail.com>:
>> Hi all,
>> I am installing geonode 2.8.0 in an Ubuntu 16.04 machine following the
installation guide in here. And I wonder if anybody has faced any issue
with $ python manage.py migrate and $ python manage.py collectstatic as I
have in:
>> $ python manage.py migrate
>> Traceback (most recent call last):
>> File "manage.py", line 31, in <module>
>> execute_from_command_line(sys.argv)
>> File
"/root/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 354, in execute_from_command_line
>> utility.execute()
>> File
"/root/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 328, in execute
>> django.setup()
>> File
"/root/Envs/geonode/local/lib/python2.7/site-packages/django/__init__.py",
line 18, in setup
>> apps.populate(settings.INSTALLED_APPS)
>> File
"/root/Envs/geonode/local/lib/python2.7/site-packages/django/apps/registry.py",
line 89, in populate
>> "duplicates: %s" % app_config.label)
>> django.core.exceptions.ImproperlyConfigured: Application labels aren't
unique, duplicates: ows_api
>> $ python manage.py collectstatic
>> Traceback (most recent call last):
>> File "manage.py", line 31, in <module>
>> execute_from_command_line(sys.argv)
>> File
"/root/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 354, in execute_from_command_line
>> utility.execute()
>> File
"/root/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 328, in execute
>> django.setup()
>> File
"/root/Envs/geonode/local/lib/python2.7/site-packages/django/__init__.py",
line 18, in setup
>> apps.populate(settings.INSTALLED_APPS)
>> File
"/root/Envs/geonode/local/lib/python2.7/site-packages/django/apps/registry.py",
line 89, in populate
>> "duplicates: %s" % app_config.label)
>> django.core.exceptions.ImproperlyConfigured: Application labels aren't
unique, duplicates: ows_api
>> Thank you very much for your time and help in advance.
>> Kind regards
>> Julierme
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
> --
> Simone
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
--
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti
More information about the geonode-users
mailing list