Heroku deployment fails every time


#1

Hello,

I have tried to install Piwik on Heroku and bumped into two problems:

Problem #1:

Push is going fine, until I get

emote:
remote: Compressing source files… done.
remote: Building source:
remote:
remote: Build stream timed out, reverting to polling…
remote:
remote: ! Timeout reached polling for results.
remote:
To https://git.heroku.com/*****piwik.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to ‘https://git.heroku.com/***piwik.git

Anyone solved this problem? Are there too many files or something?

Problem #2:

Even though push in problem #1 fails, Piwik seems to be in Heroku. When running the installation, it complains about:

The mbstring extension is required to handle multibyte characters in the User interface and API responses. Also please check that mbstring.func_overload is set to “0” in php.ini.
The mbstring extension is required to handle multibyte characters in the User interface and API responses. Also please check that mbstring.func_overload is set to “0” in php.ini.

AND

always_populate_raw_post_data=-1
To prevent some critical issue, you must set the following in your php.ini file: always_populate_raw_post_data=-1
After making this change, restart your web server.

**
Tried to correct these by setting those to config/global.ini.php and pushed, but then getting again the problem #1. And no change for problem #2.

Anyone helping me?


(Matthieu Napoli) #2

Be aware that Piwik doesn’t run well on Heroku because on each deployment all previous files are deleted.

There was a discussion about it a few months back, I would encourage you to use another host it would be easier.


#3

ok, thanks for the info. I will look for other alternatives.