Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Last Theme Update (using gpm) Broke Site!

Started by Muut Archive 11 years ago · 4 replies · 319 views
11 years ago

Hi,
last update of agency theme did a complete override of my files/folders and my site broke!?
So using gpm for theme updates means a complete theme reinstall?
Using gpm for grav update means only relevant files are updated.
Theme updates with gpm are diffrent???

11 years ago

If you make modifications to the theme, then update that theme, then yes anything that makes up that theme will get updated. Just like any CMS, theme updates should be done with caution.

We strongly advise you to inherit a base theme rather than modifying the theme directly. This will let you make updates to the base/parent theme without it overwriting your modifications.

NOTE, that you should be able to use a custom.css file in a theme without worrying about that file getting overridden because it is not by default part of the base theme. However, there is currently a bug in GPM that is causing this file to get lost on updates. I will endeavor to find out what is causing this and fix it for the next Grav release.

11 years ago

Thanks.
And yes even my custom.css disappeared

11 years ago

Just lost all my custom templates and css file due to this. Oh well wasn't that much work I guess.

Good way to encourage people to use inheritance though!

11 years ago

And backup :( Sorry about this, I do have it on my list to look at next week.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1338 9 years ago
Archive · by Muut Archive, 9 years ago
2 927 9 years ago
Archive · by Muut Archive, 9 years ago
2 4056 9 years ago
Archive · by Muut Archive, 9 years ago
1 2941 9 years ago
Archive · by Muut Archive, 9 years ago
3 1112 9 years ago