Posts

Easy upgrade of Docker containers on Synology

Image
Overview It was not obvious how to easily upgrade Synology Docker containers.  The process I used to use involved manually copying settings into a new container.  However, there's a better way. The process outlined below is the easiest technique to upgrade using the GUI.  I've found it to be a reliable process, and I now use this for all upgrades. It should be possible to also perform this kind of upgrade using the command line and then execute manually as using the Task Scheduler.  I'll probably look into that down the track. Assumptions This process assumes that your configuration and data is stored outside of the docker container. Please ensure you have a backup process too. The process I'm documenting is for DSM 6.2, and I assume it is similar for later versions. This upgrade only works when the tag/version is unchanged - so would only work for a tag like latest or stable, but not a specific version like 1.2.3. Ideally confirm the version of the containerised sof...

Printer (Brother/Epson) support for IoT VLAN

Image
I have succeeded in getting a Brother HL-2135W laser printer working across VLANs.  I assume this solution will work for most if not all Brother network printers.  Subsequently, I've found that the same protocols are used by an Epson WF-3640 inkjet printer and the solution also works for that printer. I quickly worked around Windows printer discovery by entering the static IP address in to the printer Port configuration. But I had struggled to get the Brother Print Services (Android) plugin working.  The solution required some firewall rules and a utility to send broadcasts between VLANs.

Lossless conversion of MKV to MP4

Image
Easy MKV to MP4 Recently I discovered that Davinci Resolve  (NLE and Color Grading software) is incapable of reading MKV ("Matroska" multimedia container) files.  MKV files are my go-to container format simply because of the convenience, given that there are utilities provided for muxing/demuxing and it supports any video or audio formats you want to use within the container. Unfortunately the Davinci Resolve media pool just ignores files with that extension.  Shame on them, I would have expected them to adopt open standards like Matroska.  For what it's worth it looks like other NLE software like Adobe Premiere Pro does not support it either.  I guess their justification is that they only need to support the formats that cameras record in. Anyway, given I was working with H.264 video and AAC audio, I knew I should be able to put multiplex into a MP4 (or even MOV) container to make it compatible with Davinci Resolve. A quick Internet search found crazy posts an...

MyPlace/MyAir support for IoT VLAN

Image
I've upgraded my home network to use separate VLANs for security, specifically keeping IoT devices and guests off my main network. One device that did not "just work" is the air conditioning controller tablet from Advantage Air .  While the controller device was functional, I could not get the mobile app MyPlace to connect from the source (secure) VLAN to the IoT VLAN. To figure this out I had to do some Wireshark analysis.  Not only did I figure out how to get MyPlace to work across VLANs, but I also discovered how to improve the app connection reliability.

Activate SSL (HTTPS) for Blogger Custom Domains

Image
Blogger has enabled secure browsing of blogs which are hosted at a custom domain - i.e. not at blogspot.com. As Google themselves say here : It helps check that your visitors open the correct website and aren’t being redirected to a malicious site. It helps detect if an attacker tries to change any data sent from Blogger to the visitor. It adds security measures that make it harder for other people to listen to your visitors’ conversations, track their activities, or steal their information. Importantly, Google is taking steps to give priority to HTTPS websites in search results . Furthermore, by July 2018, the Chrome browser will highlight HTTP websites as "Not Secure" . The change is quick and easy, and will not result in any downtime for your blog.  Existing links will continue to work, and can be automatically redirected to the secure pages.

Synology GitLab Backup and Restore

Image
GitLab has built-in backup and restore capability, but it is not immediately apparent how to use backup and restore on the Synology NAS installation of GitLab.  The following instructions may also be applicable for other Docker based GitLab installations. This post will explain how to protect your data in the GitLab repository.  This is protecting against a catastrophic RAID failure, and also accidentally corrupting/destroying the repository.  Please ensure you have backups stored off-site, and ideally multiple versions of the backup data. With any backup/restore procedures it is important that you are able to test/validate the ability to recover your data before you need to do so. TIP: Check out my quick fix if you get the dreaded GitLab 502 error .

Fitbit / Google Fit sync on a Synology NAS

Image
Fitbit does not natively integrate with Google Fit on Android.  However Prevaeen Kumar Pendyala has developed an excellent open source Python based utility to perform the data synchronisation. You can read more about his utility here: https://pkp.io/blog/fitbit-to-googlefit-sync/ And download the code, and access his installation instructions here: https://github.com/praveendath92/fitbit-googlefit The code will work on any computer, and detailed instructions/video are provided for installing on Windows, MAC or Linux.  The purpose of these instructions is assist with deploying on a Synology NAS.  The benefit of using your NAS is you don't have to remember to turn on your computer.