Git Product home page Git Product logo

heroku-wp's People

Contributors

air-craft avatar algodave avatar brad avatar chrisbutler avatar dmtintner avatar dzuelke avatar fagiani avatar kenips avatar pjbeyer avatar ryanburnette avatar tailzip avatar valentinvieriu avatar xyu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

heroku-wp's Issues

Redirect to admin page not working

On login with the actual credentials WordPress not redirect to admin page and not show any errors. Could you please to help me to fix it?

Url:

http://example.herokuapp.com/wp-login.php?redirect_to=http%3A%2F%2Fexample.herokuapp.com%2Fwp-admin%2Fprofile.php&reauth=1

Themes are not showing up in WP Admin?

I've included a theme folder inside public/wp-content/themes and pushed to heroku. I've confirmed that the theme folder has been include (via heroku run bash && cd ...), but the theme is not visible in my dashboard? Any thoughts?

CORS issue

"Font from origin 'http://example.herokuapp.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://blog.example.com' is therefore not allowed access."

I have been receiving this error which has made some of my fonts inactive on my blog's domain.

I understand that NGINX does not allow access to the .htaccess file, is there a similar fix that can be done in the app_nginx.conf file or is there something else I can do to fix this issue.

Plugin incompatibility

Hello

I've noticed the following behavior :

I have installed wordpress on heroku with mhoofman repository and uploaded a the Visual Composer plugin and it works fine but i have found that BBPress plugin is not working

I have installed wordpress on heroku with your repository and uploaded just the same, the Visual Composer and BBPress plugin, but i have a completely different behavior : bbpress is working and visual composer is not working, do you have an idea on the reason why ?

How can we upgrade to Wordpress 4.2?

Hello,

I'm using heroku-wp to deploy a wordpress with Heroku. A new version of Wordpress (4.2.1) was released a week ago.
How can we upgrade Wordpress version ?

Thank you,
Jordane

Can't get mails when register

Thanks for the nice project!
I can't get mail when register, I have searched the issues list, but no luck.
How can I get rid of it?

Virtual Box 5.0 not compatible with repo's version of Vagrant

When I ran vagrant up --provider=virtualbox on my MacBook (running Mavericks) I got the following error message:

The provider 'virtualbox' that was requested to back the machine
'herokuwp' is reporting that it isn't usable on this system. The
reason is shown below:

Vagrant has detected that you have a version of VirtualBox installed
that is not supported. Please install one of the supported versions
listed below to use Vagrant:

4.0, 4.1, 4.2, 4.3

Explanation: How to run this in a local server?

How would you run this in your local development environment? atm, I'm littering commits and pushes to Heroku so I'm probably just missing a n00by move. Cheers and thanks for creating this flow.

cedar-14 Issue

I tried to push my app to the new cedar-14 public beta stack and got this error:

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Exiting with failure status due to previous errors

! Push rejected, failed to compile PHP app

It works normal with the actual cedar stack.

Request Dockerfile

This project is awesome!!! Would you translate to dockerfile format? Thank you!!!

Not able to update composer.lock file

I keep getting this error when trying to update via composer.

Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- The requested package hhvm could not be found in any version, there may be a typo in the package name.

Potential causes:

Read http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

optional HHVM?

wanted to request/ask for optional HHVM. only reasoning is my inability to get it to compile properly on OS X for a lack of better reason... unless someone has insight on how to fix this as I can provide some logs on whats erroring.

thanks!

Vagrant returns Nginx configuration page

Having some issue running this locally after following the read-me's instructions for getting it up and moving with Vagrant. After running 'vagrant up', heroku.local/ fails to resolve.

The Vagrant box is running, and hitting the IP specified on line 4 of the Vagrantfile (192.168.50.100) returns a page saying that nginx is running and needs further configuration.

All that said, this is my first real foray into Vagrant, so it's entirely possible I'm missing something.

WPRO configuration

Have you tested it with file uploads? I configured the WPRO settings correctly but file uploads fail... I can see the operation happening but when I open the media the URL is empty and the S3 bucked misses the file. Permissions should be set correctly

Why can't language be changed?

I deployed Wordpress to Heroku really straightforward thanks to this cool project!
However, I need to create a blog in Italian and I was expecting to be able to change the site language in the admin panel (as I've done on a previous 4.1 install of mine), but only English was selectable:

screen shot 2015-03-09 at 16 50 10

I also tried to comment wp-config.php#L134 but no luck.

Is that because Wordpress is installed as a composer package? I have another WP Heroku deploy which is using the 4.1 branch on github, and I was able to select among all languages there.

Thank you!

Custom Domains only work on frontpage only

Hi,

First of all, thanks for the great tutorial, it works!

However, when I follow the instruction to set a custom domain, e.g.

heroku domains:add www.example.com

It only work on the front page only, for the link that referenced in the front page, it still use the *.herokuapp.com domain.

Any idea to solve?

Vagrant: HHVM errors during provisioning

Getting the following errors during VM provisioning. I'm also unable to reach the VM at heroku.local on my local machine, even after making the suggested host entry.

==> herokuwp: Unpacking hhvm (3.5.1~trusty) ...
==> herokuwp: dpkg: dependency problems prevent configuration of hhvm:
==> herokuwp:  hhvm depends on libboost-filesystem1.54.0; however:
==> herokuwp:   Package libboost-filesystem1.54.0 is not installed.
==> herokuwp:  hhvm depends on libboost-program-options1.54.0; however:
==> herokuwp:   Package libboost-program-options1.54.0 is not installed.
==> herokuwp:  hhvm depends on libboost-system1.54.0; however:
==> herokuwp:   Package libboost-system1.54.0 is not installed.
==> herokuwp:  hhvm depends on libboost-system1.54.0; however:
==> herokuwp:   Package libboost-system1.54.0 is not installed.
==> herokuwp:  hhvm depends on libboost-regex1.54.0; however:
==> herokuwp:   Package libboost-regex1.54.0 is not installed.
==> herokuwp:  hhvm depends on libc-client2007e; however:
==> herokuwp:   Package libc-client2007e is not installed.
==> herokuwp:  hhvm depends on libmcrypt4; however:
==> herokuwp:   Package libmcrypt4 is not installed.
==> herokuwp:  hhvm depends on libmemcached10; however:
==> herokuwp:   Package libmemcached10 is not installed.
==> herokuwp:  hhvm depends on libonig2; however:
==> herokuwp:   Package libonig2 is not installed.
==> herokuwp:  hhvm depends on libtbb2; however:
==> herokuwp:   Package libtbb2 is not installed.
==> herokuwp:  hhvm depends on libjemalloc1 (>= 3.0.0); however:
==> herokuwp:   Packa
==> herokuwp: dpkg: error processing package hhvm (--install):
==> herokuwp:  dependency problems - leaving unconfigured
==> herokuwp: Processing triggers for ureadahead (0.100.0-16) ...
==> herokuwp: Errors were encountered while processing:
==> herokuwp:  hhvm

Then...

==> herokuwp: Cannot create cache directory /root/.composer/cache/repo/https---wpackagist.org/, or directory is not writable. Proceeding without cache
==> herokuwp: Cannot create cache directory /root/.composer/cache/repo/https---wp-cli.org-package-index/, or directory is not writable. Proceeding without cache
==> herokuwp: Cannot create cache directory /root/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
==> herokuwp: Cannot create cache directory /root/.composer/cache/files/, or directory is not writable. Proceeding without cache
==> herokuwp: Loading composer repositories with package information
==> herokuwp: Installing dependencies (including require-dev) from lock file
==> herokuwp: Your requirements could not be resolved to an installable set of packages.
==> herokuwp:
==> herokuwp:   Problem 1
==> herokuwp:     - This package requires php ~7.0 but your HHVM version does not satisfy that requirement.

Poorly formatted HTTP response

Seem to be getting this response:

2014-07-25T10:28:33.034777+00:00 heroku[router]: http_error="Invalid HTTP status line" at=error code=H17 desc="Poorly formatted HTTP response" method=GET path="/" host=infinite-anchorage-1040.herokuapp.com request_id=082ba25e-bd2d-4b5a-9dc0-6dab09589cd1 fwd="90.216.246.68" dyno=web.1 connect=1 service=290 status=503 bytes=551
2014-07-25T10:28:33.873973+00:00 app[web.1]: 10.87.81.28 - - [25/Jul/2014:10:28:33 +0000] "GET / HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:19.0) Gecko/20100101 Firefox/19.0"

https://devcenter.heroku.com/articles/error-codes#h17-poorly-formatted-http-response

Nginx config?

file not found public.built/wp-includes

Hi,

I am getting the following error when trying to access my site:

\nFatal error: File not found: /app/public.built/wp-includes/random_compat/random.php in /app/public.built/wp-includes/compat.php on line 338

THanks,

Gzip compression not actually turned on

I noticed that gzip compression was not turned on for ngnix. There is a missing statement, in particular:

gzip_proxied any;

This is because any Heroku instance is proxied, so ngnix will ignore gzip compression directives unless this statement is present.

Thanks,
Ava

Mounting NFS shared folders fails on MacOSX on vagrant 1.7.4

After going through the setup steps in the README for running locally, my vagrant instance fails to mount the NFS shared folders:

$ vagrant up
Bringing machine 'herokuwp' up with 'virtualbox' provider...
==> herokuwp: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
    herokuwp: Box Provider: virtualbox
    herokuwp: Box Version: >= 0
==> herokuwp: Loading metadata for box 'ubuntu/trusty64'
    herokuwp: URL: https://atlas.hashicorp.com/ubuntu/trusty64
==> herokuwp: Adding box 'ubuntu/trusty64' (v20150609.0.10) for provider: virtualbox
    herokuwp: Downloading: https://atlas.hashicorp.com/ubuntu/boxes/trusty64/versions/20150609.0.10/providers/virtualbox.box
==> herokuwp: Successfully added box 'ubuntu/trusty64' (v20150609.0.10) for 'virtualbox'!
'...
==> herokuwp: Configuring and enabling network interfaces...
==> herokuwp: Exporting NFS shared folders...
==> herokuwp: Preparing to edit /etc/exports. Administrator privileges will be required...
Password:
The nfsd service does not appear to be running.
Starting the nfsd service
==> herokuwp: Mounting NFS shared folders...

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mount -o 'vers=3,udp' 192.168.50.1:'/Users/alexortiz/Development/heroku-wp' /app

Stdout from the command:



Stderr from the command:

stdin: is not a tty
mount.nfs: Connection timed out

I found this stackoverflow answer that seems to suggest the config format for setting up NFS mounts in version 1.6+ is different:

http://stackoverflow.com/questions/26700249/cannot-mount-vagrant-synced-folder-with-nfs

Found the solution for the problem here hashicorp/vagrant#2546

The correct syntax for vagrant version 1.3 to 1.6 is:

config.vm.synced_folder ".", "/vagrant", :nfs => { :mount_options => ["dmode=777","fmode=777"] }

I'm using a brand-new install of vagrant:

$ vagrant --version
Vagrant 1.7.4

I'm on MacOSX 10.10.3

Waiting for Heroku Redis to provision [ ]./init.sh: line 52

Getting this error during setup:

Waiting for Heroku Redis to provision [ ]./init.sh: line 52: local: can only be used in a function
./init.sh: line 55: ((: ? != 0: syntax error: operand expected (error token is "? != 0")
./init.sh: line 62: print: command not found
 ▸    local database is not available, try again in a few minutes
 ▸    local database is not available, try again in a few minutes

I then get "Error establishing connection to database" when I visit the site.

Is this a bug? Or am I doing something wrong?

Permalink issues

I'm migrating an existing site from LAMP hosting provider to Heroku and got almost everything working. The main issue is that permalinks don't work. In fact, changing the setting in Settings -> Permalinks says that it updated the setting it always gets set to the default option (ugly links with page ID). I tried adding a .htaccess to /public but it didn't help.

The second issue I'm running into is most probably theme specific. The theme has a style.css with default values and a style.php the pulls values from the DB using get_option(). On restart, the static CSS file is served. If I go to the theme's settings page and hit save without changing anything then the generated CSS file kicks in.

Best Practice w/ Custom Theme + Plugins

I'm a little confused on how we should go about using this with a private repo containing wp-content that houses our custom plugins and theme. Normally I can either deploy entire WP site Github repo to server or add the wp-content folder as a repo on the server and pull whenever I make plugin/theme/wp changes.

"Because a file cannot be written to Heroku's file system, updating and installing plugins or themes should be done locally and then pushed to Heroku."

What does that mean? SCP files to the heroku instance? Sorry I'm just new to Heroku/Composer for Wordpress.

Cannot find theme editor

Hello

Thanks for your great work

I need to find the theme editor but it seems it is not available ? how can i have access to it ?

Thanks for your help

S3 & Cloudfront

Apologies in advance because this may not be a real issue.

Using S3 for uploads is great, but serving assets from S3 is not recommend and it's more expensive than using Cloudfront.

What would be your recommended approach for solving this problem?

I've looked into using a plugin like W3 Total Cache, but I believe this conflicts with using Batcache.

BTW, great repos. Found this via HN. 👍

cp: cannot stat ‘public/*’: No such file or directory

Generating optimized autoload files
remote: cp: cannot stat ‘public/’: No such file or directory
remote: Script cp -R public/
tmp/public.building handling the post-install-cmd event returned with an error

[RuntimeException]
remote: Error Output: cp: cannot stat ‘public/*’: No such file or directory

Admin Login fails with paid Memcachier plans

I noticed a problem with the memcachier addon.
After I changes my MemCachier to any paid plan, I can't login into wp-admin (It redirects me back to the login panel without an error message).

After changing the plan to the free dev-version, it works again.

Extraneous error message on installation

Hi,

I got this error at the installation:

➜  heroku-wp git:(mdacne-wp) heroku run wp core install \   
    --url=xxxx.herokuapp.com \
    --title="blog" \
    --admin_user="admin" \
    --admin_password="xxxxxxx" \
    --admin_email="[email protected]"
Running wp core install --url=mdacne-wp.herokuapp.com "--title=MDacne blog" --admin_user=admin --admin_password=mdacne-is-the-best [email protected] on ⬢ mdacne-wp... up, run.2703 (Free)
WordPress database error Table 'jdkxdktie8zjglxg.wp_options' doesn't exist for query INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES ('uninstall_plugins', 'a:2:{i:0;b:0;s:45:\"secure-db-connection/secure-db-connection.php\";s:32:\"WP_SecureDBConnection::uninstall\";}', 'yes') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`) made by include('/app/vendor/wp-cli/wp-cli/php/wp-cli.php'), WP_CLI\Runner->start, WP_CLI\Runner->load_wordpress, require('wp-settings.php'), include_once('/mu-plugins/secure-db-connection/secure-db-connection.php'), register_uninstall_hook, update_option, add_option
sh: 1: -t: not found
Success: WordPress installed successfully.

I wonder what this error means?
The blog seems to work, but I'm new to WP so maybe this could lead to a problem in the future.

Better defaults for MySQL

We how have some docs on how to connect to the MySQL instance in the VM (#30) however we should make the defaults better so that we don't have to SSH tunnel to do this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.