Install-pngcrush issue: pngcrush-1.7.85 is 404

After an upgrade to 1.0.14 docker image (and Docker 1.5.0.beta5 at commit 85580cd243d41fb32adbc5901c7cc25b5de78c3f), I can’t acess /admin/upgrade anymore.

Logs contains:

 ActionView::Template::Error (No such file or directory - pngcrush)
 /usr/local/lib/ruby/2.0.0/open3.rb:211:in `spawn`

Stacktrace:

/var/www/discourse/plugins/docker_manager/app/helpers/application_helper.rb:6:in `has_latest_pngcrush'
/var/www/discourse/plugins/docker_manager/app/views/docker_manager/admin/index.html.erb:12:in `_plugins_docker_manager_app_views_docker_manager_admin_index_html_erb___3507757255380881356_70177756086420'
[...]

It seems install-pngcrush want to download http://iweb.dl.sourceforge.net/project/pmt/pngcrush/1.7.85/pngcrush-1.7.85.tar.gz which is 404. (last version is now 1.7.87).

1 Like

https://github.com/discourse/discourse_docker/pull/205

2 Likes

Merged it in… will do a new image

New image is in the oven… will be pushed soon… also added a set -e into a couple of scripts so this does not happen again.