Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Site broken after upgrade #49

Closed
mAAdhaTTah opened this issue Sep 9, 2014 · 10 comments
Closed

Site broken after upgrade #49

mAAdhaTTah opened this issue Sep 9, 2014 · 10 comments

Comments

@mAAdhaTTah
Copy link
Contributor

I used bedrock-ansible to provision by server on DigitalOcean, and the other day I upgraded the software on it (via the standard apt-get) and now I just get a white screen when I visit the site. I was able to reproduce this with my vagrant box, but I'm having trouble narrowing down the issue, although I'm thinking the problem is with nginx (there are some new default config files moved into place on upgrade). Has anyone else had this problem and how did they resolve?

@swalkinshaw
Copy link
Member

Did you re-provision the box after the upgrade? If files have changed, the playbook would need to be re-run.

And if there's a white screen, there's an error somewhere that can be found in a log file.

@mAAdhaTTah
Copy link
Contributor Author

Re-provisioned and no change. Nothing in the nginx error logs stored in /srv/www/sitename.tld/logs that seem to point to anything. There also doesn't appear to be any errors with WordPress itself - when I enable logging, nothing show. I've also redeployed it vis capistrano, so it has the latest working code. Where are the error logs for MariaDB saved?

@Foxaii
Copy link

Foxaii commented Sep 9, 2014

See if you can log into the dashboard. If you can, deselect and reselect your theme.

@mAAdhaTTah
Copy link
Contributor Author

I can't access that either (same white screen). I'm pretty sure the issue is in the server software, not WordPress.

@mAAdhaTTah
Copy link
Contributor Author

If no one else has experienced this, I'm going to just destroy and re-provision the droplet. I have everything backed up, I was just hoping to avoid re-uploading all those pictures. Thanks for your help guys!

@mAAdhaTTah
Copy link
Contributor Author

Errr, so that didn't work. Still getting a white screen.

FWIW, if I load up the Vagrant box and update all the software via apt-get, I get the same issue. Is this reproducible on your end?

@mAAdhaTTah mAAdhaTTah reopened this Sep 9, 2014
@swalkinshaw
Copy link
Member

@mAAdhaTTah figured out what happened.

Previously Nginx included fastcgi_param SCRIPT_FILENAME $request_filename; in fastcgi_params which we include in wordpress.conf.

Upgrade Nginx removes that lines and also adds a new fastcgi.conf file. So the solution is either to re-add that line to fastcgi_params or include fastcgi.conf instead.

I'm going to choose one of these and fix this and bump the version/update base Vagrant box.

@swalkinshaw
Copy link
Member

Fixed by 02879c2

@swalkinshaw
Copy link
Member

Box has been upgraded as well: https://vagrantcloud.com/roots/boxes/bedrock/versions/3

@mAAdhaTTah
Copy link
Contributor Author

Great! Thanks for your help.

oliward added a commit to lunar-build/trellis that referenced this issue May 3, 2024
Remove tracked versions of social feed plugins and replace with lunar hosted mirrors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants