mchung / heroku-buildpack-wordpress

Heroku buildpack: Wordpress on Heroku
mchung.github.com/heroku-buildpack-wordpress/
388 stars 333 forks source link

Fresh install doesn't work out of the box #91

Open sylver opened 9 years ago

sylver commented 9 years ago

It's complaining about missing libraries :

nginx: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory php-fpm: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

peterhartree commented 9 years ago

A quick fix for this is to use Heroku's (deprecated) cedar-10 stack instead of cedar-14 (the latter has been the default stack for new apps since late 2014).

To do this, run:

heroku stack:set cedar-10

Then, to trigger a rebuild:

git commit --allow-empty -m "Switch to cedar-10 stack"
git push heroku master

Using cedar-10 isn't ideal. I'll post back when I figure out how to get things running properly on cedar-14.

okko commented 9 years ago

@mchung would probably need to recompile for cedar-14 for this buildpack to work with cedar-14. Alternatively you can run WP on the standard Heroku stack now (and their php buildpack), see https://github.com/mchung/heroku-buildpack-wordpress for a "See also" list that I just added.

niklasp commented 9 years ago

can we get information on this, or will cedar-14 not be supported in the near future?

Genkilabs commented 9 years ago

Bump. Any word on how to migrate to cedar-14?

okko commented 9 years ago

To keep using this buildpack on cedar-14 @mchung needs to recompile on cedar-14 and put the files into his s3 bucket that the buildpack uses. Or someone else needs to recompile, scripts are available at https://github.com/mchung/heroku-buildpack-wordpress/tree/master/support - vulcan is deprecated now too (https://github.com/heroku/vulcan), so they need to be migrated first, probably. Once you have those compiled, you can set your own S3 bucket with the S3_BUCKET variable.

Instead, I recommend using the standard PHP buildpack now provided by Heroku. An example is at https://github.com/xyu/heroku-wp

Genkilabs commented 9 years ago

@okko thank you. I set it up with the heroku-wp by @xyu. It worked great and upgraded to latest wordpress and package versions super easy with composer. I recommend this as the solution to others who arrive here.

sagivf commented 8 years ago

@mchung and others. Thanks for the open source work. The site looks great and it it's a job well done!

But it doesn't really work any more... So it would be great to add a big red message in the Readme or something so people don't waist there time. It's ok to stop maintaining a repo but a clearer message is important. At least that's what I think.