[ensembl-dev] Minified CSS and JS links missing in EnsemblGenomes mirror

Nick Langridge nickl at ebi.ac.uk
Tue May 27 10:39:39 BST 2014


Hi,

To update on this issue, Jan tracked the missing JS/CSS settings issue 
down to use of ENSEMBL_CONFIG_BUILD:

> I identified the issue to be with this entry in 
> /ensembl/ensembl-genomes/release-22/ensembl-webcode/conf:
>
> [eguser at ensembl conf]$ diff SiteDefs.pm SiteDefs.custom
>
> 211c211
>
> < our $ENSEMBL_CONFIG_BUILD        = 0; # Build config on server 
> startup? Setting to 0 will try to recover from 
> $ENSEMBL_CONFIG_FILENAME on startup
>
> ---
>
> > our $ENSEMBL_CONFIG_BUILD        = 1; # Build config on server startup? Setting to 0 will try to recover from 
> $ENSEMBL_CONFIG_FILENAME on startup
>
> While testing, I wanted to make sure to always have all changes in the 
> configuration. Leaving it set to 0 makes the CSS and JS work again. 
> Mystery solved.

So Jan can solve the issue by avoiding $ENSEMBL_CONFIG_BUILD, but it 
looks like the behaviour of  $ENSEMBL_CONFIG_BUILD is buggy?

Cheers,
Nick


On 23/05/2014 14:04, Jan.Taubert at kws.com wrote:
>
> Hi Nick,
>
> Thank you for getting back to me. Here is the output from the Ensembl 
> packed config file:
>
> [eguser at ensembl release-22]$ perl ensembl-webcode/conf/dump-packed.pl 
> ensembl-webcode/conf/config.packed ENSEMBL_JS_NAME
>
> Key ENSEMBL_JS_NAME doesn't exist
>
> [eguser at ensembl release-22]$ perl ensembl-webcode/conf/dump-packed.pl 
> ensembl-we   bcode/conf/config.packed ENSEMBL_CSS_NAME
>
> Key ENSEMBL_CSS_NAME doesn't exist
>
> I have removed all minified documents and restarted the server as 
> described, but without success. The packed config still does not 
> contain the minified URLs. I do have enough disk space.
>
> [eguser at ensembl release-22]$ df -h
>
> Filesystem            Size  Used Avail Use% Mounted on
>
> /dev/mapper/VolGroup-lv_root
>
>                        62G  5.7G   53G  10% /
>
> Please could you advise me what the problem with the minified CSS and 
> JS could be.
>
> Thanks.
>
> Jan
>
>
>
> _______________________________________________
> Dev mailing list    Dev at ensembl.org
> Posting guidelines and subscribe/unsubscribe info: http://lists.ensembl.org/mailman/listinfo/dev
> Ensembl Blog: http://www.ensembl.info/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20140527/9fb97877/attachment.html>


More information about the Dev mailing list