[GeoNode-users] unable to locate package geonode

Levi Westerveld levi.westerveld at gmail.com
Thu Mar 10 03:49:53 PST 2016


And this the error message I get when I try creating a new superuser

administrator at Opengeo:~$ geonode createsuperuser
Not enabling BingMaps base layer as a BING_API_KEY is not defined in
local_settings.py file.
Username: gridadmin3
Traceback (most recent call last):
  File "/usr/bin/django-admin.py", line 5, in <module>
    management.execute_from_command_line()
  File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
399, in execute_from_command_line
    utility.execute()
  File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py",
line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py",
line 285, in execute
    output = self.handle(*args, **options)
  File
"/usr/lib/python2.7/dist-packages/django/contrib/auth/management/commands/createsuperuser.py",
line 102, in handle

self.UserModel._default_manager.db_manager(database).get_by_natural_key(username)
  File "/usr/lib/python2.7/dist-packages/django/contrib/auth/models.py",
line 167, in get_by_natural_key
    return self.get(**{self.model.USERNAME_FIELD: username})
  File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line
151, in get
    return self.get_queryset().get(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line
304, in get
    num = len(clone)
  File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line
77, in __len__
    self._fetch_all()
  File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line
857, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line
220, in iterator
    for row in compiler.results_iter():
  File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py",
line 713, in results_iter
    for rows in self.execute_sql(MULTI):
  File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py",
line 785, in execute_sql
    cursor = self.connection.cursor()
  File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py",
line 162, in cursor
    cursor = util.CursorWrapper(self._cursor(), self)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py",
line 132, in _cursor
    self.ensure_connection()
  File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py",
line 127, in ensure_connection
    self.connect()
  File "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 99, in
__exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py",
line 127, in ensure_connection
    self.connect()
  File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py",
line 115, in connect
    self.connection = self.get_new_connection(conn_params)
  File
"/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py",
line 115, in get_new_connection
    return Database.connect(**conn_params)
  File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179,
in connect
    connection_factory=connection_factory, async=async)
django.db.utils.OperationalError: FATAL:  password authentication failed
for user "geonode"
FATAL:  password authentication failed for user "geonode"

administrator at Opengeo:~$


On Thu, Mar 10, 2016 at 12:44 PM, Levi Westerveld <levi.westerveld at gmail.com
> wrote:

> Hi Simone,
>
> I hadn't seen your message by the time I had already removed geonode. Now
> when trying to reinstall after updating I get this issue:
>
> administrator at Opengeo:~$ sudo apt-get install geonode
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> geonode is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 184 not upgraded.
> 1 not fully installed or removed.
> Need to get 0 B/4 172 kB of archives.
> After this operation, 0 B of additional disk space will be used.
> Do you want to continue? [Y/n] y
> dpkg: error processing package geonode (--configure):
>  package geonode is not ready for configuration
>  cannot configure (current status `half-installed')
> Errors were encountered while processing:
>  geonode
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> administrator at Opengeo:~$
>
> On Thu, Mar 10, 2016 at 12:25 PM, Simone Dalmasso <
> simone.dalmasso at gmail.com> wrote:
>
>> Hi,
>>
>> Do a tail -f /var/logs/apache2/error.log and take a look at what error
>> is. There shouldn't be the need of a reinstall
>>
>>
>> Il giovedì 10 marzo 2016, Levi Westerveld <levi.westerveld at gmail.com> ha
>> scritto:
>>
>>> Hi again,
>>>
>>> thank you for updating the documentation.
>>>
>>> after setting up a superuser, it didn't recognize the associated
>>> password when trying to login in the browser. i tried creating a new
>>> superuser with a different password but the problem was the same. now when
>>> i type my ip address in the browser i get: Internal Server Error.. The
>>> server encountered an internal error or misc...
>>>
>>> should i uninstall and try to reinstall geonode?
>>>
>>> thank you,
>>>
>>> levi
>>>
>>> On Thu, Mar 10, 2016 at 10:59 AM, Paolo Pasquali <
>>> paolo.pasquali at ithaca.polito.it> wrote:
>>>
>>>> Hi,
>>>> the documentation was not updated:
>>>>
>>>> http://docs.geonode.org/en/latest/tutorials/install_and_admin/quick_install.html#quick-installation
>>>>
>>>> There is still a reference to ppa:geonode/release
>>>>
>>>> Should be updated to ppa:geonode/stable
>>>>
>>>>
>>>>
>>>>
>>>> --------------------
>>>> Paolo Pasquali
>>>> ITHACA
>>>> Information Technology for Humanitarian Assistance, Cooperation and
>>>> Action
>>>> via Pier Carlo Boggio, 61 - 10138 Torino - Italy
>>>> Tel. +39 011 1975 1872
>>>> Fax +39 011 1975 1122
>>>> www.ithacaweb.org
>>>>
>>>> On Thu, Mar 10, 2016 at 10:16 AM, Simone Dalmasso <
>>>> simone.dalmasso at gmail.com> wrote:
>>>>
>>>>> Hi Levi,
>>>>>
>>>>> what ppa did you use?
>>>>>
>>>>> the correct one is ppa:geonode/stable
>>>>> then sudo apt-get update
>>>>>
>>>>> 2016-03-10 10:13 GMT+01:00 Levi Westerveld <levi.westerveld at gmail.com>
>>>>> :
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I have been trying to install geonode 2.4 on an Ubuntu 14.04 machine.
>>>>>> I first had an issue with KEYS but that was solved using the Y-PPA-manager.
>>>>>> I now get this error, I haven't been able to solve it, I wonder if there is
>>>>>> a problem elsewhere?..
>>>>>>
>>>>>> Reading package lists... Done
>>>>>> administrator at Opengeo:~$ sudo apt-get install geonode
>>>>>> Reading package lists... Done
>>>>>> Building dependency tree
>>>>>> Reading state information... Done
>>>>>> E: Unable to locate package geonode
>>>>>> administrator at Opengeo:~$
>>>>>>
>>>>>> thank you,
>>>>>>
>>>>>> Levi
>>>>>>
>>>>>> _______________________________________________
>>>>>> geonode-users mailing list
>>>>>> geonode-users at lists.osgeo.org
>>>>>> http://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Simone
>>>>>
>>>>> _______________________________________________
>>>>> geonode-users mailing list
>>>>> geonode-users at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Levi Westerveld
>>>
>>>
>>>
>>>
>>
>> --
>> Simone
>>
>
>
>
> --
> Levi Westerveld
>
>
>
>


-- 
Levi Westerveld
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160310/dd7af5e1/attachment-0001.html>


More information about the geonode-users mailing list