[GeoNode-users] "layers_uploadsession" does not exist

Christian Willmes christian.willmes at googlemail.com
Tue Jul 7 05:48:16 PDT 2015


following up on this thread: https://github.com/GeoNode/geonode/issues/2046

I did the sugested steps, but the upload problem persits. No wonder, 
because in which step should the 'layers_uploadsession' session be created?

The erreor inthe apache log looks like:
[Tue Jul 07 07:39:11.377817 2015] [:error] [pid 22673:tid 
139958275774208] column "context" of relation "layers_uploadsession" 
does not exist
[Tue Jul 07 07:39:11.377877 2015] [:error] [pid 22673:tid 
139958275774208] LINE 1: ...e", "user_id", "processed", "error", 
"traceback", "context")...
[Tue Jul 07 07:39:11.377884 2015] [:error] [pid 22673:tid 139958275774208] ^
[Tue Jul 07 07:39:11.377898 2015] [:error] [pid 22673:tid 
139958275774208] Traceback (most recent call last):
[Tue Jul 07 07:39:11.377904 2015] [:error] [pid 22673:tid 
139958275774208]   File 

I did exactly the following (from 

sudo -u postgres -i pg_dump -c -Fc geonode > geonodedb.backup

sudo service apache2 stop
sudo /etc/init.d/tomcat7 stop

sudo service postgresql start
sudo -u postgres -i "psql -c 'drop database geonode;'"
sudo -u postgres -i "psql -c 'create database geonode;'"
sudo -u postgres -s "pg_restore -Fc -d geonode /path/to/geonodedb.backup"

sudo service apache2 start
sudo /etc/init.d/tomcat7 start


How can I solve this problem?

Best regards,

More information about the geonode-users mailing list