How to use a private Maven repository in Artifactory with GitHub Actions

There are situations in which you want to use your own Artifactory server for resolving Maven dependencies. Maybe you have private artifacts or are not yet in the process of migrating from Artifactory to GitHub Packages. What is the goal of this blog post? This blog shows you how you can grant your GitHub Actions CI/CD pipeline access to your private Maven repository hosted with Artifactory. My requirements have been the following: In our GitHub Read more…

Task Scheduler overview

How to add a cron job or scheduled task on Windows

On Microsoft Windows’, cron jobs are known as Scheduled Tasks. They can be added through the Windows Task Scheduler user interface, by using PowerShell or with help of schtasks.exe. Running a task at specific time or at recurring dates is one of the common administrative tasks on all operating systems. On Linux, the tool cron is used for this purpose. Microsoft Windows’ counterpart for cron is the Scheduled Task. Each Scheduled Task is planned by Read more…

sophos-ap15

Sophos UTM and AP15: fixing “ll_read: dead socket: Resource temporarily unavailable”

Sophos’ access points are very sensitive with PoE enabled cable connections. If your access point gets disconnected, disable PoE for the given Ethernet port. As a long time reader of my blog, you might know that I am struggling a lot with curious issues like broken L2TP/IPSec VPN connections. This time we had some other sort of issue. But first a little bit of background: With beginning of the year 2020 we moved out from Read more…

WordPress installation screen

How to fix WordPress showing the install screen after installation

When WordPress keeps showing the installation screen after having installed WordPress, you have to check if the database tables of your WordPress installation do exist and are accessible. if you are missing permissions for your database tables. if your database tables are corrupted. Do you have every been presented with the WordPress installation screen after you have installed WordPress? In almost all cases a configuration problem inside your wp-config.php file exists. Nonetheless there might be Read more…

How to fix slow opening Microsoft Word documents because of invalid network paths

Opening a Microsoft Word documents can be extremly slow if the document uses a template (.dotx) which is no longer available. A tool like Word Template Corrector can automatically fix the template location of one or multiple Word (.docx) files. The reason why the opening of Word documents is slow When Microsoft Word opens one of your documents, it tries to load the referenced Word template which has been previously used. In most cases, the Read more…

Security policy settings

“The user has not been granted the requested logon type at this computer.” when accessing Windows 10 network resources

A few years ago, I stumbled upon the same issue with Windows 7 and already blogged about it. But the error “The user has not been granted the requested logon type at this computer.” can still occur in Windows 10 when accessing network resources like shared folders. The reason for the error is one of the following: The computer is inside a Windows 10 HomeGroup for easier network access. Some of the security policy settings Read more…

wsl-automount

Fixing “UNPROTECTED KEY FILE” when using SSH or Ansible inside WSL

Inside a native Linux environment the error UNPROTECTED KEY FILE always means that the permissions of private key file are way too open. The error usually occurs if you are trying to connect with SSH and a private key to a remote host. As Ansible does also use SSH, you may also receive the error: As you can see, the permissions 0777 (read, write and execute permissions for owner, group membership and others) are not Read more…

vpn

Windows 10 LT2P/IPSec VPN connection fails silently

A few months ago I had a strange behaviour: Sometimes the L2TP/IPSec connection between my workstation at home and our company VPN silently failed. After clicking on the VPN connection icon in the tasktray it only showed Connecting to… and stopped working after 60 seconds. The VPN connection status did dot get updated and showed just the connection name as nothing has ever happened. Strangely enough, this only happened if the following conditions were true: Read more…

Conditional redirect inside your .htaccess filea

Conditional redirect from HTTP to HTTPS within Apache .htaccess files

Most of the time you are doing local web development without HTTPS and self-signed certificates but good-ol’ plain HTTP. For security and SEO reasons, HTTPS should be enabled in your production environment all the time. One important requirement for production environments is, that every incoming plain HTTP request has to be redirected to HTTPS. If you are using a frontend proxy for HTTPS/TLS termination and your web application is agnostic to the protocol in use, Read more…

appleboy/ssh-actions

Deploying with SSH using GitHub Actions

Shortly after I had started the work on nerdhood.de I built a deployment pipeline. The bash-based build script for my Laravel application was easy but triggering the deployment itself turned out to be more difficult than expected. In the end I built something with two AWS Lambda function, SNS, an S3 bucket for a private key and using the serverless framework. But this is another story. Before I built the – totally over-engineered – AWS Read more…