[GeoNode-users] Error 500 when trying to create thumbnail
Melvin David Ramos Macías
melvin.ramos1991 at gmail.com
Sun Mar 5 15:33:01 PST 2017
Hello Jonathan,
Yes, I have. Tomcat doesn't show anything useful. Apache's log shows this:
[Sun Mar 05 14:19:01.587070 2017] [:error] [pid 11987] WARNING: @font-face
support needs Pango >= 1.38
[Sun Mar 05 14:20:50.193233 2017] [:error] [pid 11987] Internal Server
Error: /maps/6/thumbnail
[Sun Mar 05 14:20:50.193274 2017] [:error] [pid 11987] Traceback (most
recent call last):
[Sun Mar 05 14:20:50.193278 2017] [:error] [pid 11987] File
"/var/www/envs/gis/lib/python2.7/site-packages/django/core/handlers/base.py",
line 130, in get_response
[Sun Mar 05 14:20:50.193281 2017] [:error] [pid 11987] raise
ValueError("The view %s.%s didn't return an HttpResponse object." %
(callback.__module__, view_name))
[Sun Mar 05 14:20:50.193294 2017] [:error] [pid 11987] ValueError: The view
geonode.maps.views.map_thumbnail didn't return an HttpResponse object.
I have added what you suggested but no change. I already had the uploaded
folder and subdirectories with this in the apache conf:
<Directory <path to project>/geonode/uploaded>
Order deny,allow
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<https://mailtrack.io/> Enviado con Mailtrack
<https://mailtrack.io/install?source=signature&lang=es&referral=melvin.ramos1991@gmail.com&idSignature=23>
2017-03-05 18:45 GMT-04:00 Jonathan Doig <j.doig at unsw.edu.au>:
> HI Melvin
>
>
>
> Have you checked the tomcat and web server (apache, nginx) logs for clues?
>
>
>
> Possibly related to permissions on the uploaded/thumbs directory:
>
>
>
> sudo chmod *-*Rf 777 */*home*/*geonode*/*geonode*/*geonode*/*uploaded*/*thumbs
>
>
>
> Also you web server needs to be told to serve the thumbs directory. For
> Apache you need this block in the geonode.conf file:
>
>
>
> *<*Directory "/home/geonode/geonode/geonode/uploaded/thumbs/"*>*
>
> Order allow,deny
>
> Options Indexes FollowSymLinks
>
> Allow *from* all
>
> Require all granted
>
> IndexOptions FancyIndexing
>
> *</*Directory*>*
>
>
>
> See http://docs.geonode.org/en/master/tutorials/install_and_
> admin/geonode_install/setup_configure_httpd.html#apache-configuration
>
>
>
> Regards
>
> Jonathan Doig
>
>
>
> *From:* geonode-users [mailto:geonode-users-bounces at lists.osgeo.org] *On
> Behalf Of *Melvin David Ramos Macías
> *Sent:* Monday, 6 March 2017 8:10 AM
> *To:* geonode-users at lists.osgeo.org
> *Subject:* [GeoNode-users] Error 500 when trying to create thumbnail
>
>
>
> Hello GeoNode community,
>
>
>
> I have installed a GeoNode custom project in a production server and it
> works just fine. Now I'm trying to replicate the same project in another
> server and it works fine except for the thumbnail creation, which throws me
> an error 500 (INTERNAL SERVER ERROR).
>
>
>
> What could be the reason for this?
>
>
>
> I already checked the URLs in the settings.py and placed a base url in the
> web.xml file. There was no geonodeAuthProvider in the tomcat geoserver.
>
>
>
> Thanks in advance,
>
>
>
> MR
>
>
>
> --
>
>
>
>
>
> *Melvin David Ramos Macías*
>
> about.me/melvinramos
>
>
>
> <https://mailtrack.io/>Enviado con Mailtrack
> <https://mailtrack.io/install?source=signature&lang=es&referral=melvin.ramos1991@gmail.com&idSignature=23>
>
--
[image: --]
Melvin David Ramos Macías
[image: https://]about.me/melvinramos
<https://about.me/melvinramos?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170305/32a7b3a9/attachment-0001.html>
More information about the geonode-users
mailing list