[ckan-dev] Configuration doesn't update

Timothy Giles timothy.giles at slu.se
Thu Nov 10 21:59:27 UTC 2016


Hi Lucia,

I set this via the Site Tag Logo option on the Admin Config page. I believe the settings you are altering are being over written by the values in Admin – Config.

Regards Tim



From: ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] On Behalf Of lucia.espona at wsl.ch
Sent: den 10 november 2016 22:56
To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
Subject: [ckan-dev] Configuration doesn't update

Dear all

I wanted to change the logo of my ckan instance, the image is available and the ckan.site_logo property in the ini file is properly set.
Still, even if I restart CKAN, the image name is not being updated.  It also happens with other properties, for example site_desc.
Yesterday the virtual machine were migrated to a new environment, not sure if that can be an issue but this wasn't an issue before.

At the end I modified the database because it was urgent to get it done, but I would like to know what can be the issue so I can next time change it in a proper way.

Here is what I wrote in the config ini file:
## Front-End Settings
ckan.site_title = CKAN
ckan.site_logo = envidat-logo-banner.png
ckan.site_description = EnviDat
ckan.favicon = envidat-logo-icon.ico
And this is what i see when I start CKAN (I put some printouts to app_globals):
Starting server in PID 5841.
serving on 0.0.0.0:5000 view at http://127.0.0.1:5000
-------------------- Restarting --------------------
2016-11-10 22:49:28,238 DEBUG [ckan.logic] check access OK - get_site_user user=None
2016-11-10 22:49:28,262 DEBUG [ckan.plugins.core] Loading the synchronous search plugin
2016-11-10 22:49:29,033 DEBUG [ckanext.spatial.plugin] Setting up the spatial model
2016-11-10 22:49:29,063 DEBUG [ckanext.spatial.model.package_extent] Spatial tables defined in memory
2016-11-10 22:49:29,077 DEBUG [ckanext.spatial.model.package_extent] Spatial tables already exist
2016-11-10 22:49:29,079 DEBUG [ckan.logic] check access OK - get_site_user user=None
key=ckan.site_description
config_value=EnviDat
value=
2016-11-10 22:49:29,089 DEBUG [ckan.lib.app_globals] config `ckan.site_description` set to `` from db
[...]
key=ckan.site_logo
config_value=envidat-logo-banner.png
value=envidat-logo-banner-beta.png
2016-11-10 22:49:29,126 DEBUG [ckan.lib.app_globals] config `ckan.site_logo` set to `envidat-logo-banner-beta.png` from db

Many thanks in advance for your help.

Best,
Lucia
_________________________________________________________
Dr. Lucia Espona Pernas

Swiss Federal Institute for Forest, Snow and Landscape Research WSL
Hauptgebäaude Labortrakt (HL C21)
Zürcherstrasse 111
8903 Birmensdorf
Switzerland

+41 44 739 28 71 phone direct
+41 44 739 21 11 reception

www.wsl.ch<http://www.wsl.ch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20161110/5a6df9fa/attachment-0003.html>


More information about the ckan-dev mailing list