Where is the custom theme details stored in Ghost Blog? Is it in MySQL (external database) or VM I install app?

Where is the custom theme details stored in Ghost Blog? Is it in MySQL (external database) or VM I install app?

Hey @kumarsparkz . Which theme details are you referring to exactly? Custom themes are stored in the filesystem along with Ghost application, can find it under /content/themes - https://github.com/TryGhost/Ghost/tree/master/content/themes

I am talking about the custom themes. I have a custom theme in Ghost in use. Now, I am trying to upgrade Ghost, so I deleted previous deployment completely and deploying a new one. It still says the previous custom theme which was active is not available. How can I get rid of this error or make Casper default active with new release?

I should probably state my question this way? Where is the info stored that says particular theme is active? Is it in MySQL or Maria DB or filesystem?

@kumarsparkz the record of the active theme is stored in the db MySQL (or SQLite) in the settings table. You can check it which one is active running:

SELECT * FROM `settings` WHERE `key` = 'active_theme' \G
1 Like

That helped a lot. Thank you very much.