[GeoNode-users] Running Geonode development build on another ip (!= localhost)

Daniel Victoria daniel.victoria at gmail.com
Thu Jan 12 04:59:15 PST 2017


Well, sort off. Spoke too soon.

I can load geonode. I can get from geonode to geoserver and it recognizes
my user. I can upload data to GeoServer using the geoserver Data importer.
I can upload documents to Geonode. But, when I try to load a shapefile
using geonode I get a 403-forbiden

attached is the output from the command:
`python manage.py imporlayers -v 3 some_shape_file`

Cheers
Daniel


On Thu, Jan 12, 2017 at 10:14 AM, Daniel Victoria <daniel.victoria at gmail.com
> wrote:

> Thanks all for the help. I believe I've got it working now!
>
> Cheers
> Daniel
>
> On Wed, Jan 11, 2017 at 12:03 PM, Simone Dalmasso <
> simone.dalmasso at gmail.com> wrote:
>
>> Ah yes, don't use paver otherwise will be only in localhost. And yes,
>> adapt the geoserver PUBLIC_LOCATION to your needs in settings and will be
>> fine.
>>
>> 2017-01-11 14:03 GMT+01:00 Daniel Victoria <daniel.victoria at gmail.com>:
>>
>>> I get an error that it's not possible to connect to the address
>>> http://192.168.67.103/ or http://192.168.67.103:8000/
>>>
>>> But if I go to geoserver page on http://192.168.67.103:8080/geoserver
>>> and click on the geonode Icon, I get redirected to localhost:8000 (which
>>> does not work).
>>> I tryed both `paver start` and `paver start -b 192.168.67.103:8000`
>>>
>>> What did work was to issue `python manage.py runserver
>>> 192.168.67.103:8000`. With that I can get to GeoNode at the address but
>>> the link to Geoserver does not work because it looks for geoserver under
>>> localhost:8080
>>>
>>> Will changing the geoserver address in settings.py fix this?
>>>
>>> My setup is a bit strange because my virtualbox connects to the internet
>>> via a NAT interface and connetcs to my host computer using a host-only net
>>> interface
>>>
>>> Thanks
>>>
>>> On Wed, Jan 11, 2017 at 10:29 AM, Simone Dalmasso <
>>> simone.dalmasso at gmail.com> wrote:
>>>
>>>> Sure you can, what error do you get, 404 or something else? You may
>>>> need to add the forward rule in virtualbox to port 8000.
>>>>
>>>> 2017-01-11 12:45 GMT+01:00 Daniel Victoria <daniel.victoria at gmail.com>:
>>>>
>>>>> I'm trying to setup the GeoNode development build following the
>>>>> instructions in https://github.com/GeoNode/geonode (using the ubuntu
>>>>> instructions - virtualevn; pip; paver). The catch is that I have a windows
>>>>> machine so I installed a Ubuntu server on a Virtualbox (just the server, no
>>>>> GUI).
>>>>>
>>>>> I can access the server running on the virtualbox through the IP
>>>>> 192.168.67.103
>>>>>
>>>>> After doing paver stat, I can get to geoserver through the IP
>>>>> 192.168.67.103:8080/geoserver
>>>>> However, I cannot get to geonode through the IP 192.168.67.103:8000
>>>>>
>>>>> Is it possible to run the GeoNode development build this way? With
>>>>> just a Ubuntu server install and access through an IP other than localhost?
>>>>>
>>>>> Cheers
>>>>> Daniel
>>>>>
>>>>> _______________________________________________
>>>>> geonode-users mailing list
>>>>> geonode-users at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Simone
>>>>
>>>
>>>
>>
>>
>> --
>> Simone
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170112/9c66751e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_shp_import.log
Type: application/octet-stream
Size: 4015 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170112/9c66751e/attachment.obj>


More information about the geonode-users mailing list