mhoofman/wordpress-heroku — Issue #7: Custom permalink formats don't persist after restarts
Author: febuiles
Created: 2012-01-04 01:00:29+00:00
State: open

When I change the default permalink format to something else the site seems to work OK. If I restart it (`heroku restart`) the previous working links now return a 404 and the only working page seems to be the index. The logs show the following:

2012-01-04T00:41:06+00:00 app[web.1]: [Wed Jan 04 00:41:05 2012] [error] server reached MaxClients setting, consider raising the MaxClients setting
2012-01-04T00:41:06+00:00 app[web.1]: 10.12.238.225 - - [04/Jan/2012:00:41:06 +0000] "HEAD /wp-content/uploads/2010/07/kezee.jpeg?w=300 HTTP/1.1" 200 -
2012-01-04T00:41:06+00:00 heroku[router]: GET rockgeni.us/wp-admin/options-writing.php dyno=web.1 queue=0 wait=0ms service=302ms status=200 bytes=27968
2012-01-04T00:41:07+00:00 heroku[router]: GET rockgeni.us/favicon.ico dyno=web.1 queue=0 wait=0ms service=331ms status=404 bytes=209
2012-01-04T00:41:07+00:00 app[web.1]: [Wed Jan 04 00:41:07 2012] [error] [client 10.104.51.212] File does not exist: /app/www/favicon.ico
2012-01-04T00:41:07+00:00 app[web.1]: 10.217.13.195 - - [04/Jan/2012:00:41:06 +0000] "GET /wp-admin/options-writing.php HTTP/1.1" 200 27932
2012-01-04T00:41:07+00:00 app[web.1]: 10.104.51.212 - - [04/Jan/2012:00:41:07 +0000] "GET /favicon.ico HTTP/1.1" 404 209
2012-01-04T00:41:07+00:00 app[web.1]: 10.66.162.4 - - [04/Jan/2012:00:41:06 +0000] "GET /wp-admin/options-general.php HTTP/1.1" 200 48957
2012-01-04T00:41:07+00:00 heroku[router]: POST rockgeni.us/wp-admin/admin-ajax.php dyno=web.1 queue=0 wait=0ms service=245ms status=200 bytes=1
2012-01-04T00:41:08+00:00 heroku[router]: GET rockgeni.us/favicon.ico dyno=web.1 queue=0 wait=0ms service=4ms status=404 bytes=209
2012-01-04T00:41:08+00:00 app[web.1]: [Wed Jan 04 00:41:08 2012] [error] [client 10.104.51.212] File does not exist: /app/www/favicon.ico
2012-01-04T00:41:08+00:00 app[web.1]: 10.104.51.212 - - [04/Jan/2012:00:41:07 +0000] "POST /wp-admin/admin-ajax.php HTTP/1.1" 200 1
2012-01-04T00:41:08+00:00 app[web.1]: 10.104.51.212 - - [04/Jan/2012:00:41:08 +0000] "GET /favicon.ico HTTP/1.1" 404 209
2012-01-04T00:41:15+00:00 heroku[router]: GET rockgeni.us/wp-admin/tools.php dyno=web.1 queue=0 wait=0ms service=252ms status=200 bytes=21394
2012-01-04T00:41:16+00:00 heroku[router]: GET rockgeni.us/wp-admin/images/press-this.png dyno=web.1 queue=0 wait=0ms service=4ms status=200 bytes=818
2012-01-04T00:41:16+00:00 app[web.1]: 10.104.51.212 - - [04/Jan/2012:00:41:15 +0000] "GET /wp-admin/tools.php HTTP/1.1" 200 21365
2012-01-04T00:41:16+00:00 app[web.1]: 10.5.21.190 - - [04/Jan/2012:00:41:16 +0000] "GET /wp-admin/images/press-this.png HTTP/1.1" 200 818
2012-01-04T00:41:16+00:00 heroku[router]: GET rockgeni.us/favicon.ico dyno=web.1 queue=0 wait=0ms service=4ms status=404 bytes=209
2012-01-04T00:41:17+00:00 app[web.1]: [Wed Jan 04 00:41:16 2012] [error] [client 10.104.51.212] File does not exist: /app/www/favicon.ico
2012-01-04T00:41:17+00:00 app[web.1]: 10.104.51.212 - - [04/Jan/2012:00:41:16 +0000] "GET /favicon.ico HTTP/1.1" 404 209

I think the first line about the MaxClients setting might be relevant but I'm not sure of how to tune this with Heroku.