{"id":217,"date":"2015-08-30T13:41:10","date_gmt":"2015-08-30T11:41:10","guid":{"rendered":"https:\/\/grupp-web.de\/cms\/?p=217"},"modified":"2015-08-30T13:53:31","modified_gmt":"2015-08-30T11:53:31","slug":"alte-moodle-themes-entfernen","status":"publish","type":"post","link":"https:\/\/grupp-web.de\/cms\/2015\/08\/30\/alte-moodle-themes-entfernen\/","title":{"rendered":"Alte Moodle-Themes entfernen"},"content":{"rendered":"<p>Moodle hatte urspr\u00fcnglich etliche Themes in der Standardinstallation. Mit den neueren Versionen, nach Umstellung auf Bootstrap-Themes, sind die alten Themes nicht mehr dabei und wurden gel\u00f6scht. Keine Ahnung ob das nur mich betrifft, aber seit einiger Zeit st\u00f6rt mich bei den Moodle-Updates, dass Moodle immer noch davon ausgeht die alten Themes w\u00e4ren noch da und die im Zuge des Updates zu l\u00f6schen verspricht. Beim n\u00e4chsten Update ist das dann aber erneut so :-(.<\/p>\n<p><!--more-->Bei aktuellen Update auf die neueste Version 2.9.1+ habe ich mich dann mal auf die Suche gemacht woran das liegt. Die Themes im Dateisystem waren offensichtlich weg. In der Datenbank wurde ich dann aber in den Tabellen <code><strong>mdl_config_plugins<\/strong><\/code> und <code><strong>mdl_config_log<\/strong><\/code> f\u00fcndig. Keine Ahnung ob das irgendwann ein Updatefehler von mir war oder ob schlicht und ergreifend in einer offiziellen Moodle-Update-Routine ein Fehler war und diese DB-Eintr\u00e4ge vergessen wurden. Wie auch immer, \u00fcber ein paar passende DELETE-SQL-Befehle war das Problem damit dann endg\u00fcltig Geschichte!<\/p>\n<p>Nachfolgend der von mir verwendete SQL-Code &#8211; evtl. bin ich ja doch noch nicht allein mit dem Problem und jemand kann es brauchen. Ggf. um eigene Themes die erweitern &#8230;<\/p>\n<pre class=\"lang:pgsql decode:true\">DELETE FROM mdl_config_plugins WHERE plugin='theme_afterburner';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_afterburner';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_anomaly';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_anomaly';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_arialist';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_arialist';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_binarius';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_binarius';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_boxxie';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_boxxie';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_brick';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_brick';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_formal_white';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_formal_white';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_formfactor';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_formfactor';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_fusion';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_fusion';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_leatherbound';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_leatherbound';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_magazine';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_magazine';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_nimble';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_nimble';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_nonzero';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_nonzero';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_overlay';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_overlay';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_serenity';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_serenity';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_sky_high';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_sky_high';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_splash';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_splash';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_standard';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_standard';\r\nDELETE FROM mdl_config_plugins WHERE plugin='theme_standardold';\r\nDELETE FROM mdl_config_log WHERE plugin='theme_standardold';<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Moodle hatte urspr\u00fcnglich etliche Themes in der Standardinstallation. Mit den neueren Versionen, nach Umstellung auf Bootstrap-Themes, sind die alten Themes nicht mehr dabei und wurden gel\u00f6scht. Keine Ahnung ob das nur mich betrifft, aber seit einiger Zeit st\u00f6rt mich bei den Moodle-Updates, dass Moodle immer noch davon ausgeht die alten Themes w\u00e4ren noch da und &#8230; <a title=\"Alte Moodle-Themes entfernen\" class=\"read-more\" href=\"https:\/\/grupp-web.de\/cms\/2015\/08\/30\/alte-moodle-themes-entfernen\/\" aria-label=\"Mehr Informationen \u00fcber Alte Moodle-Themes entfernen\">Weiterlesen<\/a><\/p>\n","protected":false},"author":1,"featured_media":16,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-217","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-moodle"],"_links":{"self":[{"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/posts\/217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/comments?post=217"}],"version-history":[{"count":6,"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/posts\/217\/revisions"}],"predecessor-version":[{"id":223,"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/posts\/217\/revisions\/223"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/media\/16"}],"wp:attachment":[{"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/media?parent=217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/categories?post=217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/grupp-web.de\/cms\/wp-json\/wp\/v2\/tags?post=217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}