WIP Staticfiles
-
Let nginx handle the static files -
had to redefine variable galaxy_server_dir in galaxy-nginx variables, so will create a file "all" instead -
Getting error No route for /static/welcome.html in dev: copied welcome.sample.html to welcome.html -
erreur sur le serveur galaxy-nginx-dev.
May 22 13:18:59 galaxy-nginx-dev mfsmount[571]: can't resolve master hostname and/or portname (mfsmaster:9421)
May 22 13:18:59 galaxy-nginx-dev mfsmount[571]: can't stat my mountpoint (/shared/mfs): EIO (Input/output error)
May 22 13:19:00 galaxy-nginx-dev mfsmount[571]: can't stat my mountpoint (/shared/mfs): EIO (Input/output error)
resolved by David with
[root@galaxy-nginx-dev ~]# umount /shared/mfs
[root@galaxy-nginx-dev ~]# mount /shared/mfs
-
Erreur sur nginx dev et preprod pour acceder au stockage partagé des fichiers static: le user nginx n' a pas acces (owner root:root)
5 open() "/shared/mfs/data/dev/galaxy/server/static/scripts//bundled/base.chunk.js" failed (13: Permission denied),
By default /shared/mfs/data/dev/galaxy/server/static is owned
In dev drwxr-xr-x 10 root root 2002460 29 mai 13:35 static
In preprod drwxr-xr-x 11 cvmfs cgred 2002461 29 mai 12:58 static
If I move the dir galaxy_static_dir to /shared/mfs/data/dev/galaxy/static and add it to the list of galaxy_privsep_dirs then
drwxr-x--- 2 root galaxy 1100 29 mai 12:49 static
but the playbook_galaxy.yml fails with
TASK [galaxyproject.galaxy : debug] ******************************************************************************************************************************************
ok: [192.168.105.118] => {
"__galaxy_client_build_version": "new-unbuilt"
}
TASK [galaxyproject.galaxy : debug] ******************************************************************************************************************************************
ok: [192.168.105.118] => {
"__galaxy_current_commit_id": "9ed4ffd06903a8d067e000f957708e209b8c171c"
}
TASK [galaxyproject.galaxy : Ensure that client update succeeded] ************************************************************************************************************
fatal: [192.168.105.118]: FAILED! => {
"assertion": "__galaxy_client_build_version == __galaxy_current_commit_id",
"changed": false,
"evaluated_to": false,
"msg": "Client build version does not match repo version after building: new-unbuilt != 9ed4ffd06903a8d067e000f957708e209b8c171c"
}
Edited by Julien Seiler