RedpointArchive / phabricator

A Docker image that runs Phabricator, an open source software engineering tool
https://hub.docker.com/r/redpointgames/phabricator/
307 stars 98 forks source link

"gzinflate() is not available; unable to read deflated data!" #4

Closed franc0is closed 9 years ago

franc0is commented 9 years ago

It looks like some dependency is missing, I'm trying to wrangle which. I installed this container today and ported my data over from an old phabricator install, but every differential diff flashes the same error: Screenshot: https://www.dropbox.com/s/vf86m8wq284f5q1/Screenshot%202014-12-08%2021.19.19.png?dl=0

I wrote a quick test to check whether or not gzdecode worked properly:

<?php

echo phpversion().", ";

if (function_exists("gzdecode")) {
  echo "gzdecode OK, ";
} else {
  echo "gzdecode no OK, ";
}

if (extension_loaded('zlib')) {
  echo "zlib extension loaded\n";
} else {
  echo "zlib extension not loaded\n";
}

?>

on my host machine I get: 5.4.33, gzdecode OK, zlib extension loaded inside the docker image: 5.4.20, gzdecode no OK, zlib extension not loaded

franc0is commented 9 years ago

Looks like installing php5-zlib gets us to the point where the script works -- but not yet phabricator (may need to restart something).

Edit: adding zypper --non-interactive install php5-zlib to my script.pre and re-installing the container did the trick.

hach-que commented 9 years ago

This should be fixed with 045985b75e61e7f548bd73a92b452cc19bf5e30e, although I never experienced this issue myself.