1

I haven't got around to do much with Craft yet, but I think I've installed it correctly - everything seemed to be working fine, but when I clicked the "update" button today, it broke. I now just see an error page that complains about Json in a whole lot of documents.

I'm utterly out of my depth here and don't know what to do. I'm guessing I might need to reinstall Craft, but how do I do that without loosing any of the existing data? I didn't make a backup since I trusted the update would work just fine. And how do I figure out what went wrong in the first place, so that it doesn't happen again?

3
  • 1
    Hey Erica, sorry you experience these problems. In order to help you, I'd recommend that you add as much information as possible in your question. The error messages that are shown to you oftentimes contain important information on what is broken. You should consider to share the content of the errors you see. Sep 13, 2023 at 13:21
  • 1
    Hey Erica, can you please update your question with more details (perhaps a screenshot) of what you're seeing on the error page?
    – Jalen Davenport
    Sep 14, 2023 at 19:38
  • Just to update: I ended up giving up on Craft, at least for now. I think part of the problem might lie in me having installed it "manually" rather than using github and composer and what else was mentioned, but I have no idea how to use that (and it seems like overkill to invest time in setting all that up just for one simple site). Thanks for trying to help though.
    – Erica
    Dec 13, 2023 at 9:55

1 Answer 1

2

Did this issue occur on your local machine or in production? Here is a list of common issues and solutions: https://craftcms.com/knowledge-base/failed-updates

You can still make a backup from your database to save as much as possible. Your issue might not be fatal for the database.

I would suggest you to provide us with the relevant error message you are seeing. Without it we can only guess at what the issue might be.

It is also recommended to update via CLI instead of using the interface using composer update or php craft update: https://nystudio107.com/blog/updating-craft-cms-without-headaches#3-update-via-cli

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.