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

Nick Langridge nickl at ebi.ac.uk
Thu May 22 09:38:25 BST 2014


Hi Jan,

We haven't encountered this issue before.

Ensembl stores the minified filenames in it's packed config file, you 
can check these with:
   $ perl ensembl-webcode/conf/dump-packed.pl 
ensembl-webcode/conf/config.packed ENSEMBL_JS_NAME
   $ perl ensembl-webcode/conf/dump-packed.pl 
ensembl-webcode/conf/config.packed ENSEMBL_CSS_NAME

What do you see?

Have you tried manually clearing the minified files and restarting?
To do this:
   $ rm ensembl-webcode/htdocs/minified/*
   $ eg-restart

Could you also check that your VM isn't low on disk space:
   $ df -h

Thanks,
Nick


On 21/05/2014 08:40, Jan.Taubert at kws.com wrote:
>
> Hi,
>
> I am trying to setup a local EnsemblGenomes mirror using the virtual 
> machine image from 16.05.2014. However, I am now experiencing a 
> problem with loading the minified CSS and JS files for the webpage 
> after rebuilding the config. The CSS and JS is generated correctly:
>
> [eguser at ensembl minified]$ pwd
>
> /ensembl/ensembl-genomes/release-22/ensembl-webcode/htdocs/minified
>
> [eguser at ensembl minified]$ ll
>
> total 1504
>
> -rw-rw-r--. 1 eguser eguser 135881 May 21 08:02 
> 5ec515962656e919612ba04fbe109094.css
>
> -rw-rw-r--. 1 eguser eguser 110959 May 21 07:57 
> 8fd260b6d3e136f0c37660917d81358f.js
>
> -rw-rw-r--. 1 eguser eguser 563323 May 21 07:57 
> ad77343cf5657d5f0c9fa74094e26105.js
>
> -rw-rw-r--. 1 eguser eguser 561602 May 21 08:02 
> d215318d4d1cebdf474400add5b8d9d9.js
>
> -rw-rw-r--. 1 eguser eguser 151772 May 21 07:57 
> da7ddbd7793fce75243b054500b1d054.css
>
> It can also be accessed via the webpage when entering the URL directly:
>
> [eguser at ensembl minified]$ curl 
> "http://10.10.70.129:8080/minified/5ec515962656e919612ba04fbe109094.css"
>
> body{font-family:Luxi 
> Sans,Helvetica,Arial,Geneva,sans-serif;font-size:80%;color:#555;background-color:#fff;padding:0;margin:0;border:0}body.ie6{font-size:85%}pre,code,kbd{font-family:Courier 
> New,Courier,monospace}div,span,p,li,dd,dt,th,td,pre,code,kbd{font-size:1em}body.ie6 
> th,body.ie6 td{font-size:13px}img{border:0}form{border:0;margin:0 0 
> 1em 0}p{margin:0 0 1em;line-height:1.25em;padding:0}ul,ol{margin:0 0 
> 1.25em;line-height:1.25em;padding-left:2em}pre{margin:0 0 
> 1em}#min_width_container{position:relative;width:100%;min-width:775px}#min_width_holder{display:block}body.ie6 
> #min_width_container{border-right:775px solid #fff}body.ie6 
> #min_width_holder{display:inline-block;position:relative;margin-right:-775px}.hidden{display:none}.hide{display:none}.page{text-align:center;padding:.25em}.spinner{height:100px;display:block;border:16px 
> solid transparent;margin:0 0 
> 16px;text-align:center;background:url(/i/e-loader.gif) no-repeat 
> bottom center}.pointer{cursor:pointer}body.ie6 
> .spinner{background-color:#fff;border-color:#fff;height:132px}.top-margin{margin-top:1em!important}.bottom-margin{margin-bottom:1em!important}.left-margin{margin-left:1em!important}.right-margin{margin-right:1em!important}...
>
> However the CSS and JS links are not set correctly in the HTML page:
>
> <title>Ensembl Plants</title>
>
> <link rel="stylesheet" type="text/css" media="all" 
> href="/minified/.css" />
>
> <link rel="icon" href="/i/ensembl-favicon.png" type="image/png" />
>
> ...
>
> <scripttype="text/javascript" src="/minified/.js"></script>
>
> </body>
>
> I ran the following configuration:
>
> ==============================================================================
>
> Server information:
>
> ==============================================================================
>
> Ensembl version: 75
>
> Database Host: 10.10.70.119
>
> ORM Databases: user: ensembl_accounts on 10.10.70.119
>
> External address: http://ensembl.kws.de:8080/
>
> Real address: http://ensembl.kws.de:8080
>
> Search Server:
>
> Cache namespace: http://ensembl.kws.de:8080
>
> Server root: /ensembl/ensembl-genomes/release-22
>
> PID file: 
> /ensembl/ensembl-genomes/release-22/logs/ensembl.kws.de.httpd.pid
>
> Access logs: 
> /ensembl/ensembl-genomes/release-22/logs/ensembl.kws.de.access_log 
> ensembl_extended
>
> Error logs: 
> /ensembl/ensembl-genomes/release-22/logs/ensembl.kws.de.error_log
>
> CSS file: 
> http://ensembl.kws.de:8080/minified/5ec515962656e919612ba04fbe109094.css
>
> JavaScript file: 
> http://ensembl.kws.de:8080/minified/d215318d4d1cebdf474400add5b8d9d9.js
>
> Plugins installed: EnsEMBL::Genoverse
>
> EG::Plants
>
> EG::Common
>
>                      EnsEMBL::Users
>
> ==============================================================================
>
> Any advice?
>
> Thank you,
>
> 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/20140522/742cf647/attachment.html>


More information about the Dev mailing list