November 29, 2018

Setting up a wireguard server running on an OpenWRT router

The blog post from casept was almost working for me, except for one little thing to mention in section You’ll also need to set the client up on your server uci add_list network.@wireguard_wg0[-1].allowed_ips="0.0.0.0/0" (obviously) is replacing the existing default route, which renders internet unusable ;) As we’re routing the clients traffic anyway, we can just allow the single host address like uci add_list network.@wireguard_wg0[-1].allowed_ips="192.168.199.2/32" (192.168.199.0/24 as WireGuards subnet in this example). Read more

November 25, 2018

Debian repository hosting using Gitlab Pages

If you’re eagerly building your own software and packages (or like me, do some packaging for others), you’ll need somw sort of webspace to make them available to the public. And if you’re using Gitlab CI (and you should) to build you packages, you can easily add some steps to let Gitlab Pages take care of the repo hosting. Here’s an example project which just downloads some random packages and then create the repo. Read more

July 27, 2018

Setup cron or systemd timers for Nextcloud preview generator app

If you’re using the fantastic Nextcloud and like to feel comfortable browsing all your auto-uploaded photos like once upon a time you did in some proprietary Picasa or so, you can benefit from Preview Generator, which will take care of pre-rendering the thumbnails. As it states you must add some cron magic to get it working and the Nextcloud folks asked for a tutorial, here’s how to do it with cron or (my preference) with systemd timers. Read more

May 31, 2018

Performing planned Proxmox Sheepdog cluster maintenance

Let’s assume you might not following the Ceph hype for whatever reasons or experiences. And also you might have found a working solution with Sheepdog for clustered block storage. And you’re probably using Proxmox, where Sheepdog is very well integrated (uses existing Corosync cluster). Well done ;) Proxmox sometimes ships Corosync updates, which means the Corosync cluster service will be restarted. As Sheepdog relies on it, it might get confused and dazed. Read more

February 9, 2018

Running Collabora Online Development Edition without Docker

Besides my usual intention to run everything with Docker, this time i wanted to run Collabora Online Development Edition (CODE) without Docker (on a VPS which is unable to run Docker). The link above provides instructions on how to setup repositories and packages for your distribution. To be able to start the service, you’ll just need to create some self-signed certificates (and run the setup behind nginx or Apache reverse proxy). Read more