Coder Social home page Coder Social logo

Site broken after upgrade about trellis HOT 10 CLOSED

roots avatar roots commented on May 19, 2024
Site broken after upgrade

from trellis.

Comments (10)

swalkinshaw avatar swalkinshaw commented on May 19, 2024

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.

from trellis.

mAAdhaTTah avatar mAAdhaTTah commented on May 19, 2024

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?

from trellis.

Foxaii avatar Foxaii commented on May 19, 2024

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

from trellis.

mAAdhaTTah avatar mAAdhaTTah commented on May 19, 2024

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

from trellis.

mAAdhaTTah avatar mAAdhaTTah commented on May 19, 2024

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!

from trellis.

mAAdhaTTah avatar mAAdhaTTah commented on May 19, 2024

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?

from trellis.

swalkinshaw avatar swalkinshaw commented on May 19, 2024

@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.

from trellis.

swalkinshaw avatar swalkinshaw commented on May 19, 2024

Fixed by 02879c2

from trellis.

swalkinshaw avatar swalkinshaw commented on May 19, 2024

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

from trellis.

mAAdhaTTah avatar mAAdhaTTah commented on May 19, 2024

Great! Thanks for your help.

from trellis.

Related Issues (20)

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.