Setting Up an Ipv6 Tunnel in Fedora

Creating an IPv6 tunnel in Fedora Recently I had to access a server that only had an IPv6 address. As I am one of the over 80% of the UK without IPv6 access I needed to set up a tunnel on my machine to do this. After looking through the different ways of doing this I concluded that the easiest way to do this was to use Tunnel Broker which offers a free tunneling service. Read On →

Introducing UI Components

Contents Introduction What is a UI Component Structure Important to Note Technologies You Need to Understand XML, XHTML and XSD KnockoutJS RequireJS Pestle Javascript, KnockoutJS + Magento and UI Components What is a Javascript (JS) Component? What is a KnockoutJS + Magento component? What’s the difference between the three? UI Component Process Flow The Players Process Flow Chart Video Magento Core UI Component Examples Form Listing Introduction Over the course of this article I will give you a whistle stop tour of UI Components. Read On →

Replacing Failed Drive in Zfs Zpool (on Proxmox)

Recently we had one of our Proxmox machines suffer a failed disk drive. Thankfully, replacing a failed disk in a ZFS zpool is remarkably simple if you know how. In this example, we are using the ZFS configuration as per the Proxmox installer which also creates a boot partition which is not part of the zpool. Seems like a pretty sensible idea to me. Here is how we can look at the status of our zpool and see that it has a failed disk: root@cluster1 zpool status -v pool: rpool state: DEGRADED status: One or more devices could not be used because the label is missing or invalid. Read On →

Magento 2 Vendor Module and App/code Issues

We recently came across a recurring (and annoying) problem with some of our Magento 2 modules. The issue was that when ever composer install/update was called the module would be copied to app/code and thus cause class name conflicts with the canonical module in vendor. The fix for this was hard to find and it turns out the Magento 2’s documentation needs updating. To fix the problem, look to your module’s composer.json and find the extra field. Read On →

Magento Admins Black Friday Survival Public Service Announcement

Magento Site Being Flooded with Buyers, Struggling with Server Load? If your Magento site is currently being flooded with orders and visitors and the server is struggling to cope then I have one simple and easy to action tip for you: Do as little as possible in the admin Did you know that every time you update product details and other wise change things in the admin then you are likely to cause one or both of the indexes and caches to require a flush? Read On →

Magento 2 - Error Running Setup:upgrade

When trying to update a Magento 2 database recently using: php bin/magento setup:upgrade I also tried: php bin/magento setup:upgrade --keep-generated I got the following error: [Exception] Warning: file_get_contents(.../var/di/setup.ser): failed to open stream: No such file or directory in .../vendor/magento/framework /App/ObjectManager/ConfigLoader/Compiled.php on line 28 It looks like a regression was introduced in 2.1.0 that stops you running setup:upgrade after running setup:di:compile. A temporary fix for this is to remove all contents from var/di and var/generation, run the update and then re-compile. Read On →