Gzdecode error data after setting base-uri

Reproduction Instructions
Complete steps which allow someone else who does not have access to your environment to reproduce the bug.

On fresh install (We have created a new phabricator instance so has to test developpement and configuration before aplied on production)
We installed all the same package as production server except the database that installed on the phabricator server instead of separate server.

We followed the setup issues pages and fix all except the base-uri issue. When we run the line give by issue page

phabricator/ $ ./bin/config set phabricator.base-uri https://it-rec-eu-phabricator.intramatch.eu/

Setup Issues menu cannot be displayed and the page show us an error :

gzdecode error data.

Phabricator/Arcanist Version
Output from Config > Version Information or arc version.
phabricator version 62f5bdbbd2c5
image
arcanist 65cda1596f25

image

I can’t reproduce this by following the instructions provided.

All the config command played:

(environment.append-paths and phabricator.application-settings played with --stdin and json file)

./bin/config set security.alternate-file-domain https://it-rec-eu-phabricator-cdn.intramatch.eu
./bin/config set repository.default-local-path /datas/repos/git
./bin/config set environment.append-paths [ “/bin”, “/usr/bin”, “/usr/local/bin”, “/opt/rh/rh-python36/root/bin”, “/opt/rh/rh-git218/root/usr/libexec/git-core” ]
./bin/auth lock
./bin/config set phabricator.base-uri https://it-rec-eu-phabricator.intramatch.eu/
./bin/config set log.access.path /logs/phabricator/access/access.log
./bin/config set log.ssh.path /logs/phabricator/access/ssh.log
./bin/config set phd.log-directory /logs/phabricator/daemon
./bin/config set diffusion.allow-git-lfs true
./bin/config set phd.user phd-user
./bin/config set diffusion.ssh-host git
./bin/config set diffusion.ssh-port 22
./bin/config set security.require-https true
./bin/config set security.strict-transport-security true
./bin/config set phabricator.application-settings { “PHID-APPS-PhabricatorManiphestApplication”: { “policy”: { “maniphest.edit.bulk”: “admin”, “maniphest.default.edit”: “admin”, “maniphest.default.view”: “admin”, “view”: “admin” } }, “PHID-APPS-PhabricatorPhameApplication”: { “policy”: { “phame.blog.default.create”: “admin”, “view”: “admin” } }, “PHID-APPS-PhabricatorPholioApplication”: { “policy”: { “pholio.default.edit”: “admin”, “pholio.default.view”: “admin”, “view”: “admin” } }, “PHID-APPS-PhabricatorPhrictionApplication”: { “policy”: { “view”: “admin” } }, “PHID-APPS-PhabricatorProjectApplication”: { “policy”: { “project.default.join”: “admin”, “project.default.edit”: “admin”, “project.default.view”: “admin”, “project.create”: “admin”, “view”: “admin” } }, “PHID-APPS-PhabricatorAlmanacApplication”: { “policy”: { “view”: “admin” } }, “PHID-APPS-PhabricatorBadgesApplication”: { “policy”: { “view”: “admin” } }, “PHID-APPS-PhabricatorCountdownApplication”: { “policy”: { “countdown.default.edit”: “admin”, “countdown.default.view”: “admin”, “view”: “admin” } }, “PHID-APPS-PhabricatorDivinerApplication”: { “policy”: { “diviner.default.view”: “admin”, “view”: “admin” } }, “PHID-APPS-PhabricatorDrydockApplication”: { “policy”: { “drydock.default.view”: “admin”, “view”: “admin” } }, “PHID-APPS-PhabricatorFactApplication”: { “policy”: { “view”: “admin” } }, “PHID-APPS-PhabricatorFilesApplication”: { “policy”: { “files.default.view”: “users” } }, “PHID-APPS-PhabricatorFlagsApplication”: { “policy”: { “view”: “admin” } }, “PHID-APPS-PhabricatorGuideApplication”: { “policy”: { “view”: “admin” } }, “PHID-APPS-PhabricatorHarbormasterApplication”: { “policy”: { “harbomaster.plan.default.view”: “admin”, “view”: “admin” } }, “PHID-APPS-PhabricatorHeraldApplication”: { “policy”: { “view”: “admin” } }, “PHID-APPS-PhabricatorLegalpadApplication”: { “policy”: { “legalpad.default.view”: “users”, “view”: “users”, “legalpad.default.edit”: “admin”, “legalpad.create”: “admin” } }, “PHID-APPS-PhabricatorMacroApplication”: { “policy”: { “view”: “users”, “macro.manage”: “admin” } }, “PHID-APPS-PhabricatorOwnersApplication”: { “policy”: { “owners.default.edit”: “admin”, “owners.default.view”: “admin”, “view”: “admin” } }, “PHID-APPS-PhabricatorPasteApplication”: { “policy”: { “paste.default.edit”: “admin”, “paste.default.view”: “admin”, “view”: “admin” } }, “PHID-APPS-PhabricatorPonderApplication”: { “policy”: { “ponder.default.view”: “admin”, “view”: “admin” } }, “PHID-APPS-PhabricatorSlowvoteApplication”: { “policy”: { “slowvote.default.view”: “admin”, “view”: “admin” } }, “PHID-APPS-PhabricatorSpacesApplication”: { “policy”: { “spaces.default.view”: “users” } }, “PHID-APPS-PhabricatorTokensApplication”: { “policy”: { “view”: “admin” } }, “PHID-APPS-PhabricatorDifferentialApplication”: { “policy”: { “differential.default.view”: “admin”, “view”: “admin” } }, “PHID-APPS-PhabricatorPHPASTApplication”: { “policy”: { “view”: “admin” } }, “PHID-APPS-PhabricatorXHProfApplication”: { “policy”: { “view”: “admin” } } }

The complete stack trace in debug mode

Upgrade Phabricator. See https://secure.phabricator.com/D21122.

Perfect, i’m upgrading phabricator :slight_smile:

Fixed by update

Great! In the future, please update Phabricator before reporting bugs: many bugs that users report against old versions have already been fixed.