webdev https://www.hazlewood.co.uk/blog-categories/webdev en Drupal 8 + Lando + Github + BLT + Pipelines + Acquia Cloud + Cloudflare - ohmy! https://www.hazlewood.co.uk/blog/george/20200313/drupal-8-lando-github-blt-pipelines-acquia-cloud-cloudflare-ohmy <article data-history-node-id="201" role="article" about="/blog/george/20200313/drupal-8-lando-github-blt-pipelines-acquia-cloud-cloudflare-ohmy" class="post-preview"> <h2 class="post-title"> <a href="/blog/george/20200313/drupal-8-lando-github-blt-pipelines-acquia-cloud-cloudflare-ohmy" rel="bookmark"><span>Drupal 8 + Lando + Github + BLT + Pipelines + Acquia Cloud + Cloudflare - ohmy!</span> </a> </h2> <div class="post-meta submitted"> <div> Posted by <span><span lang="" about="/user/george" typeof="schema:Person" property="schema:name" datatype="">george</span></span> on <span>13 March, 2020 - 16:15</span> </div> </div> <div class="post-subtitle"> <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>As part of my role at work I am lucky to have access to some fantastic tools (and a few brains!) which have meant I have been able to setup my personal site with a few good tools from work.</p></div> <ul class="links inline list-inline"><li class="node-readmore"><a href="/blog/george/20200313/drupal-8-lando-github-blt-pipelines-acquia-cloud-cloudflare-ohmy" rel="tag" title="Drupal 8 + Lando + Github + BLT + Pipelines + Acquia Cloud + Cloudflare - ohmy!" hreflang="en">Read more<span class="visually-hidden"> about Drupal 8 + Lando + Github + BLT + Pipelines + Acquia Cloud + Cloudflare - ohmy!</span></a></li></ul> </div> </article> Fri, 13 Mar 2020 16:15:30 +0000 george 201 at https://www.hazlewood.co.uk Drupal 8: Mystery of missing Body field post migration https://www.hazlewood.co.uk/blog/george/2016/03/03/drupal-8-mystery-of-missing-body-field-post-migration <article data-history-node-id="200" role="article" about="/blog/george/2016/03/03/drupal-8-mystery-of-missing-body-field-post-migration" class="post-preview"> <h2 class="post-title"> <a href="/blog/george/2016/03/03/drupal-8-mystery-of-missing-body-field-post-migration" rel="bookmark"><span>Drupal 8: Mystery of missing Body field post migration</span> </a> </h2> <div class="post-meta submitted"> <div> Posted by <span><span lang="" about="/user/george" typeof="schema:Person" property="schema:name" datatype="">george</span></span> on <span>3 March, 2016 - 17:58</span> </div> </div> <div class="post-subtitle"> <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>Post migration of content from Drupal 6 (using 8.0.4) an odd thing happened!  All the blog body field entries were empty, nothing, nada, zip, zero. After fiddling and faffing with things for a little longer than I am comfortable admitting I went to create a new blog post as a test and then noticed that of course the input formats (aka Text formats) had also been migrated.</p> <p>Editing the "Filtered HTML" format that was imported threw up this:</p></div> <ul class="links inline list-inline"><li class="node-readmore"><a href="/blog/george/2016/03/03/drupal-8-mystery-of-missing-body-field-post-migration" rel="tag" title="Drupal 8: Mystery of missing Body field post migration" hreflang="en">Read more<span class="visually-hidden"> about Drupal 8: Mystery of missing Body field post migration</span></a></li></ul> </div> </article> Thu, 03 Mar 2016 17:58:34 +0000 george 200 at https://www.hazlewood.co.uk Drupal 8: State of migrate https://www.hazlewood.co.uk/blog/george/2015/06/26/drupal-8-state-migrate <article data-history-node-id="197" role="article" about="/blog/george/2015/06/26/drupal-8-state-migrate" class="post-preview"> <h2 class="post-title"> <a href="/blog/george/2015/06/26/drupal-8-state-migrate" rel="bookmark"><span>Drupal 8: State of migrate</span> </a> </h2> <div class="post-meta submitted"> <div> Posted by <span><span lang="" about="/user/george" typeof="schema:Person" property="schema:name" datatype="">george</span></span> on <span>26 June, 2015 - 18:48</span> </div> </div> <div class="post-subtitle"> <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>So it seems that there's a few issues which hold up a d6-d8 migration, some are essentially core features (<a href="https://www.drupal.org/node/2506001">Taxonomy term values referenced on nodes do not migrate (D6)</a>), and some which obviously have weight but have failed to garner any attention to date (<a href="https://www.drupal.org/node/2510160">d6 Imagecache -&gt; d8 Image module migration should be included in core</a>).</p> <p>More for another day now...</p> </div> <ul class="links inline list-inline"><li class="node-readmore"><a href="/blog/george/2015/06/26/drupal-8-state-migrate" rel="tag" title="Drupal 8: State of migrate" hreflang="und">Read more<span class="visually-hidden"> about Drupal 8: State of migrate</span></a></li></ul> </div> </article> Fri, 26 Jun 2015 17:48:57 +0000 george 197 at https://www.hazlewood.co.uk Drupal 8: Success! (mostly) https://www.hazlewood.co.uk/blog/george/2015/06/26/drupal-8-success-mostly <article data-history-node-id="196" role="article" about="/blog/george/2015/06/26/drupal-8-success-mostly" class="post-preview"> <h2 class="post-title"> <a href="/blog/george/2015/06/26/drupal-8-success-mostly" rel="bookmark"><span>Drupal 8: Success! (mostly)</span> </a> </h2> <div class="post-meta submitted"> <div> Posted by <span><span lang="" about="/user/george" typeof="schema:Person" property="schema:name" datatype="">george</span></span> on <span>26 June, 2015 - 14:46</span> </div> </div> <div class="post-subtitle"> <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>So having fiddled with the migration via drush a little, and having restored the database a few times along the way (thanks drush ard/arr) I now have all my content in D8. Seems like taxonomy terms didn't make it (but vocabularies did).</p> <p>To get the migration to complete without skipping all the nodes completely I had to apply a patch from <a href="https://www.drupal.org/node/2361401">Skip the row when we don't recognize the the field type</a> to get nodes working.</p> <p>Seems like Taxonony terms also need work.</p></div> <ul class="links inline list-inline"><li class="node-readmore"><a href="/blog/george/2015/06/26/drupal-8-success-mostly" rel="tag" title="Drupal 8: Success! (mostly)" hreflang="und">Read more<span class="visually-hidden"> about Drupal 8: Success! (mostly)</span></a></li></ul> </div> </article> Fri, 26 Jun 2015 13:46:23 +0000 george 196 at https://www.hazlewood.co.uk Drupal 8: D6 to D8 Running the initial migration https://www.hazlewood.co.uk/blog/george/2015/06/26/drupal-8-d6-d8-running-initial-migration <article data-history-node-id="195" role="article" about="/blog/george/2015/06/26/drupal-8-d6-d8-running-initial-migration" class="post-preview"> <h2 class="post-title"> <a href="/blog/george/2015/06/26/drupal-8-d6-d8-running-initial-migration" rel="bookmark"><span>Drupal 8: D6 to D8 Running the initial migration</span> </a> </h2> <div class="post-meta submitted"> <div> Posted by <span><span lang="" about="/user/george" typeof="schema:Person" property="schema:name" datatype="">george</span></span> on <span>26 June, 2015 - 11:34</span> </div> </div> <div class="post-subtitle"> <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>So with the default manifest.yml from d.o, and running the migrate-manifest command:</p></div> <ul class="links inline list-inline"><li class="node-readmore"><a href="/blog/george/2015/06/26/drupal-8-d6-d8-running-initial-migration" rel="tag" title="Drupal 8: D6 to D8 Running the initial migration" hreflang="und">Read more<span class="visually-hidden"> about Drupal 8: D6 to D8 Running the initial migration</span></a></li></ul> </div> </article> Fri, 26 Jun 2015 10:34:24 +0000 george 195 at https://www.hazlewood.co.uk Drupal 8: Getting ready to migrate https://www.hazlewood.co.uk/blog/george/2015-06-26/drupal-8-getting-ready-to-migrate <article data-history-node-id="194" role="article" about="/blog/george/2015-06-26/drupal-8-getting-ready-to-migrate" class="post-preview"> <h2 class="post-title"> <a href="/blog/george/2015-06-26/drupal-8-getting-ready-to-migrate" rel="bookmark"><span>Drupal 8: Getting ready to migrate</span> </a> </h2> <div class="post-meta submitted"> <div> Posted by <span><span lang="" about="/user/george" typeof="schema:Person" property="schema:name" datatype="">george</span></span> on <span>26 June, 2015 - 10:07</span> </div> </div> <div class="post-subtitle"> <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>So first logical steps besides fiddling with all the features in D8 is to get the migration from this old D6 site setup. So let's begin by enabling the migrate and migrate UI modules.</p> <p><img src="/sites/hazlewoodcouk/files/images/blog/migrate-modules.png" alt="migrate modules" /></p> <p>Next step according to the instructions at <a>Executing a Drupal 8 migration</a> seems to be to ignore the UI entirely and head back to drush again.</p></div> <ul class="links inline list-inline"><li class="node-readmore"><a href="/blog/george/2015-06-26/drupal-8-getting-ready-to-migrate" rel="tag" title="Drupal 8: Getting ready to migrate" hreflang="und">Read more<span class="visually-hidden"> about Drupal 8: Getting ready to migrate</span></a></li><li class="comment-forbidden"><a href="/user/login?destination=/comment/reply/node/194/comment%23comment-form">Log in</a> to post comments</li></ul> </div> </article> Fri, 26 Jun 2015 09:07:26 +0000 george 194 at https://www.hazlewood.co.uk Drupal 8: Starting a fresh https://www.hazlewood.co.uk/blog/george/2015/06/25/drupal-8-starting-fresh <article data-history-node-id="193" role="article" about="/blog/george/2015/06/25/drupal-8-starting-fresh" class="post-preview"> <h2 class="post-title"> <a href="/blog/george/2015/06/25/drupal-8-starting-fresh" rel="bookmark"><span>Drupal 8: Starting a fresh</span> </a> </h2> <div class="post-meta submitted"> <div> Posted by <span><span lang="" about="/user/george" typeof="schema:Person" property="schema:name" datatype="">george</span></span> on <span>25 June, 2015 - 16:41</span> </div> </div> <div class="post-subtitle"> <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>So looking with fresh eyes at my semi working version of D8, which was installed via the web based installer it was clear that something was just fundamentally wrong. So as with so many Drupal based activities it seems logical to turn to drush (you'll need the version that works with drush 8 of course) to save the day! </p></div> <ul class="links inline list-inline"><li class="node-readmore"><a href="/blog/george/2015/06/25/drupal-8-starting-fresh" rel="tag" title="Drupal 8: Starting a fresh" hreflang="und">Read more<span class="visually-hidden"> about Drupal 8: Starting a fresh</span></a></li></ul> </div> </article> Thu, 25 Jun 2015 15:41:53 +0000 george 193 at https://www.hazlewood.co.uk Drupal 8: Installation, fixing permissions https://www.hazlewood.co.uk/blog/george/2015/06/17/drupal-8-installation-fixing-permissions <article data-history-node-id="192" role="article" about="/blog/george/2015/06/17/drupal-8-installation-fixing-permissions" class="post-preview"> <h2 class="post-title"> <a href="/blog/george/2015/06/17/drupal-8-installation-fixing-permissions" rel="bookmark"><span>Drupal 8: Installation, fixing permissions</span> </a> </h2> <div class="post-meta submitted"> <div> Posted by <span><span lang="" about="/user/george" typeof="schema:Person" property="schema:name" datatype="">george</span></span> on <span>17 June, 2015 - 22:34</span> </div> </div> <div class="post-subtitle"> <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>So it turns out that my own stupidity (or smart arse idea!) caught me out. I install drupal core in a separate directory out of the web root (docroot!) directory and symlink back to it. My web root looks a little like this:</p></div> <ul class="links inline list-inline"><li class="node-readmore"><a href="/blog/george/2015/06/17/drupal-8-installation-fixing-permissions" rel="tag" title="Drupal 8: Installation, fixing permissions" hreflang="und">Read more<span class="visually-hidden"> about Drupal 8: Installation, fixing permissions</span></a></li></ul> </div> </article> Wed, 17 Jun 2015 21:34:03 +0000 george 192 at https://www.hazlewood.co.uk Drupal 8: First stumbling block https://www.hazlewood.co.uk/blog/george/2015/06/17/drupal-8-first-stumbling-block <article data-history-node-id="191" role="article" about="/blog/george/2015/06/17/drupal-8-first-stumbling-block" class="post-preview"> <h2 class="post-title"> <a href="/blog/george/2015/06/17/drupal-8-first-stumbling-block" rel="bookmark"><span>Drupal 8: First stumbling block</span> </a> </h2> <div class="post-meta submitted"> <div> Posted by <span><span lang="" about="/user/george" typeof="schema:Person" property="schema:name" datatype="">george</span></span> on <span>17 June, 2015 - 16:36</span> </div> </div> <div class="post-subtitle"> <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>So the first challenge has been to get the install working. I seem to be stuck on the Requirements install screen! No combination of file or directory permissions, or manually creating the files and settings.php/services.yml files seems to work.</p> <p><img src="/sites/hazlewoodcouk/files/images/blog/skitch-2.png" alt="installer requirements" /></p> <p>Fun times!</p> </div> <ul class="links inline list-inline"><li class="node-readmore"><a href="/blog/george/2015/06/17/drupal-8-first-stumbling-block" rel="tag" title="Drupal 8: First stumbling block" hreflang="und">Read more<span class="visually-hidden"> about Drupal 8: First stumbling block</span></a></li></ul> </div> </article> Wed, 17 Jun 2015 15:36:26 +0000 george 191 at https://www.hazlewood.co.uk Moving to Drupal 8 https://www.hazlewood.co.uk/blog/george/2015/06/17/moving-drupal-8 <article data-history-node-id="190" role="article" about="/blog/george/2015/06/17/moving-drupal-8" class="post-preview"> <h2 class="post-title"> <a href="/blog/george/2015/06/17/moving-drupal-8" rel="bookmark"><span>Moving to Drupal 8</span> </a> </h2> <div class="post-meta submitted"> <div> Posted by <span><span lang="" about="/user/george" typeof="schema:Person" property="schema:name" datatype="">george</span></span> on <span>17 June, 2015 - 11:35</span> </div> </div> <div class="post-subtitle"> <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>As this blog is pretty much redundant as anything useful in my personal life, and I tend to put updates and interesting things into Facebook (stupid walled gardens!), I am going to use this blog as a means to document some learnings around Drupal 8 and specifically a move from this install of Drupal 6 directly up to Drupal 8. </p></div> <ul class="links inline list-inline"><li class="node-readmore"><a href="/blog/george/2015/06/17/moving-drupal-8" rel="tag" title="Moving to Drupal 8" hreflang="und">Read more<span class="visually-hidden"> about Moving to Drupal 8</span></a></li></ul> </div> </article> Wed, 17 Jun 2015 10:35:58 +0000 george 190 at https://www.hazlewood.co.uk