galaxyproject / planemo-machine

A packer.io configuration for building out Galaxy (http://galaxyproject.org/) tool development environments.
10 stars 16 forks source link

upload_store version update #93

Closed Eduardo-Alves closed 7 years ago

Eduardo-Alves commented 7 years ago

I downloaded the planemo/interave docker image yesterday and nginx was crashing with "unknown directive upload_store". somehow it upgraded to 16.04.4 from archive.ubuntu.com

apt-cache policy nginx-common nginx-common: Installed: 1.10.0-0ubuntu0.16.04.4 Candidate: 1.10.0-0ubuntu0.16.04.4

Downgrading to 1.10.0-0ubuntu0.16.04.2ppa1 (m-vandenbeek/nginx-upload-store) fixed the problem

apt-get remove nginx-common nginx-extras apt-get install nginx-common=1.10.0-0ubuntu0.16.04.2ppa1 apt-get install nginx-extras=1.10.0-0ubuntu0.16.04.2ppa1

i had to manually restart nginx, restart_galaxy didnt manage to start it

jmchilton commented 7 years ago

Thanks for the bug report and I'm sorry about the issue. I'll have a new Planemo machine release in the next couple months for the GCC that will hopefully address this problem.

jmchilton commented 7 years ago

Just encountered this myself. Ping @mvdbeek - you don't happen to have a quick fix for this do you?

mvdbeek commented 7 years ago

I'll have to rebuild nginx. I should really automate this.

mvdbeek commented 7 years ago

this is based on trusty, right?

jmchilton commented 7 years ago

Thanks a ton! Umm.. the Docker variant is based on Trusty - I think the VM stuff is built on 16.04 though.

jmchilton commented 7 years ago

There is a pin in here

$ /etc/apt/preferences.d/m-vandenbeek-nginx-upload-store-pin-600
Package:  *
Pin: release o=LP-PPA-m-vandenbeek-nginx-upload-store

Is that supposed to prevent an upgrade - it would be nice to force a particular version for the development stuff at least.

mvdbeek commented 7 years ago

Just a heads-up, I'm putting the finishing touches on a travis build-script that will automatically build and upload new versions of nginx using the new cron type travis builds.

mvdbeek commented 7 years ago

xref https://github.com/galaxyproject/starforge/pull/125, I think the package has been uploaded successfully and is building now on launchpad. Should be available later today.

jmchilton commented 7 years ago

Thanks a ton @mvdbeek - I really appreciate this!

jmchilton commented 7 years ago

I just rebuilt a container and the nginx process boots properly now. Thanks for the fix @mvdbeek and thanks for the report @Eduardo-Alves.