Hi Jude, Hi all, Thanks for your reply.. it’s really chicken and egg :) Yes, I used the Ariel's ppa, and now I used the proposed command (sudo add-apt-repository ppa:geonode/release).. After that I have to install the package using these two commands, in order to complete the update.
sudo apt-get update sudo apt-get install geonode It's great to know that there is a script which allowed to buck up data..I think that I have to copy the script to a text and run it form an Ubuntu terminal like python code? Please could you confirm? Concerning the error, I was agreeably surprised, this morning when I restarted the server and all was ok.... will try to explore what happened with postgresql. Many thanks Hicham, RCDRR, Egypt 2012/3/14 jude mwenda <[email protected]> > Hi Hicham, > > Great questions, > I think you have a chicken and egg situation here. > I presume you used the ariel's ppa to install? If this is the case then > you will need to edit the ppa sources to the latest source which is > > sudo add-apt-repository ppa:geonode/release > > then perform the update > > In the event you are using Ariel's version which is ancient, it may be > wise to do a back up before doing the update. The following is a bash > script i use for doing backups. What it does is it back up the geoserver > dir, and the database. Could highlight for you some of the important > commands. > > https://github.com/jmwenda/geonode-backup/blob/master/geonode-backup > > So during the upgrade process there are some table attributes that need to > be altered. This is because doing this during the upgrade proved > troublesome. The maps_mapslayer table holds information on layers that make > up a map. The two columns in the old version were of a different data type > hence the need for the change with the upgrade. > > On the error, I presume this is to deal with the Postgres configuration. > Is the Postgresql accepting connections? > > Great on the translations!. Not sure anyone is doing anything here but > perhaps we need to confirm that sphinx/readthedocs does not provide some > language support. On reading the readthedocs manual, it seems not to have > language support. Though I have seen implementations where the different > languages are supported. > > > Regards > > On 14 March 2012 15:28, Hicham Ezzine <[email protected]> wrote: > >> Hi all. >> I have a couple of questions concerning GeoNode, >> First, I checked the last version that I have on my Ubuntu 10.4 and it >> seems 1.1+RC1-ariel6 (geonode), so what is the best way to upgrade to the >> last version, (I have already updated Ubuntu, but not change was happened >> on GeoNode). Please could you confirm the use of the following commands: >> ALTER TABLE maps_maplayer >> ALTER COLUMN layer_params TYPE text, >> ALTER COLUMN source_params TYPE text; >> >> My second question is about backup, is there any command which allowed to >> make safe copy of the data, layers and/or maps ? Please, can you explain if >> any? >> >> Another question about an error that I got this morning (please see >> below), knowing I didn't change the port permissions. Do you have any >> clarification in this sense? >> Last point, I’m working on the translation of GeoNode tutorials to French >> and I would like to know if someone is working on that, in order to >> coordinate... >> Many thanks in advance. >> >> Hicham >> RCDRR, Cairo >> Egypt >> >> could not connect to server: Connection refused >> Is the server running on host "localhost" and accepting >> TCP/IP connections on port 5432? >> >> Request Method: GET Request URL: http://localhost/ Django Version: 1.2 >> Exception >> Type: OperationalError Exception Value: >> >> could not connect to server: Connection refused >> Is the server running on host "localhost" and accepting >> TCP/IP connections on port 5432? >> >> Exception Location: >> /var/lib/geonode/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py >> in _cursor, line 136 Python Executable: /usr/bin/python Python Version: >> 2.7.1 Python Path: >> ['/var/lib/geonode/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg', >> '/var/lib/geonode/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg', >> '/var/lib/geonode/src/GeoNodePy', '/var/lib/geonode/src/nosexcover', >> '/var/lib/geonode/src/gsconfig.py/src', '/var/lib/geonode/src/avatar', >> '/var/lib/geonode/src/owslib', >> '/var/lib/geonode/lib/python2.7/site-packages', >> '/usr/local/lib/python2.7/dist-packages/virtualenv-1.6.4-py2.7.egg', >> '/usr/local/lib/python2.7/dist-packages/pip-1.0.2-py2.7.egg', >> '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', >> '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', >> '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', >> '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', >> '/usr/lib/pymodules/python2.7/gtk-2.0', >> '/usr/lib/python2.7/dist-packages/gst-0.10', >> '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', >> '/usr/lib/pymodules/python2.7/ubuntuone-client', >> '/usr/lib/pymodules/python2.7/ubuntuone-storage-protocol', >> '/usr/lib/pymodules/python2.7/ubuntuone-control-panel'] Server time: Wed, >> 14 Mar 2012 09:25:42 -0500 >> > > > > -- > Regards, > > Jude Mwenda > Skype id: jmwenda > Twitter: www.twitter.com/judemwenda > Web: www.africangeogeek.com > > "Was ist mein Leben, wenn ich nicht mehr nützlich für andere." > Johann Wolfgang von Goethe >
