Hey👋 I’m Oscar

Welcome to my technical blog!
Here, you’ll find useful insights and knowledge to help you stay ahead in the industry.
Thanks for stopping by, and I hope you enjoy what you read.
Find about me more ⬇️

read user-uploaded CSV file in n8n

[n8n] Processing User-Uploaded CSV Files: The Code Node Solution

Introduction Working with user-uploaded files in automation tools like n8n can sometimes present challenges, particularly when dealing with binary files such as CSVs. In this blog post, we will walk through an approach to handle CSV file uploads using the latest version of n8n, version 1.113.3. We will explore how to use the Code node to transform these binary files into text, making it easier to process their contents within an n8n workflow. ...

[NextCloud] Don't Panic: Updating NextCloud with the Command-Line Updater

Understanding the Error and Why It Occurs The message Please use the command-line updater because updating via browser is disabled in your config.php means NextCloud’s configuration file (config.php) is set to restrict browser-based updates. This is a security measure designed to prevent unauthorized or potentially malicious updates. Docker setups often implement this for added security. Step-by-Step Instructions 1. Access Your Docker Container First, you need to access your NextCloud Docker container’s shell. Let’s assume your NextCloud container is named nextcloud. Replace nextcloud with the actual name of your container. ...

[n8n/MinIO] Troubleshooting the 'Cannot Read Properties of Undefined' Error

Integrating n8n with MinIO can streamline your data management processes by automating file uploads directly to your MinIO storage. However, sometimes this integration might run into a common error: Cannot read properties of undefined (reading '_') In this post, we’ll walk through how to troubleshoot and fix this issue effectively. Understanding n8n and MinIO n8n is an open-source workflow automation tool that connects with multiple services, while MinIO serves as a robust, high-performance object storage system compatible with the S3 API. When combined, they facilitate automated data workflows. ...

[DecapCMS/NetlifyCMS] Invalid String Length Error

The Problem While using DecapCMS in a local environment, you might encounter the following error: error: Error handling {"branch":"feat/add-new-post","action":"getMedia","params":{"branch":"feat/add-new-post","mediaFolder":"static/images"}}: Invalid string length Context: The repository is built with Hugo. It is approximately 600MB, with a static/images folder containing about 5000 images totaling more than 500MB. This error doesn’t appear when DecapCMS is run on a production environment like Netlify, but locally it occurs when attempting to view certain pages. Running DecapCMS Locally To run DecapCMS locally, you use: ...

Alternative IMAP Node for n8n

[n8n] A Reliable Alternative for the Broken IMAP Node in n8n

When the default IMAP node in n8n stopped working, I found a community-contributed solution that you can rely on. Whether you’re setting up workflows in n8n or managing existing ones, this guide will show you how to seamlessly integrate with IMAP despite the hiccups in recent n8n versions. Understanding the Problem The IMAP node in n8n has become troublesome in versions beyond 1.80.3. When a friend encountered this issue on version 1.104.2, we confirmed the problem persists even with the latest version, 1.112.6. ...

Docker Pull Flow Troubleshooting

[Docker/Compose] Troubleshooting Image Pull Failures in Self-Built Container Management Tool that Uses Docker Compose SDK

The Problem I’m building a container management tool using the Docker Compose SDK (link) and the Docker CLI library (link). One feature is the ability to deploy Docker Compose YAML files that reference images from private registries. To handle authentication, I added private registry credentials into my tool and injected them into the Docker client using the authConfig field during Compose service initialization. I expected Docker Compose to use these credentials when pulling images. ...

Creating a Bootable Linux USB Drive

Creating a Bootable Linux USB Drive on Windows with Rufus

Creating a bootable USB drive for Linux using a Windows computer can be straightforward with the right tools. Rufus is a popular, free utility that simplifies the process. Here’s how you can use Rufus to prepare your USB drive for a Linux installation. Step-by-Step Guide to Using Rufus 1. Download Rufus Start by downloading Rufus from its official website: Rufus download page. Make sure to grab the latest version to ensure compatibility with new Linux distributions. ...

Docker Compose Bind Mount Issue

[Docker] Mounted Folder Becomes Empty After Redeploy in Docker Compose

If you’ve ever worked with Docker Compose and encountered a situation where your container suddenly can’t see any files in a previously working mounted folder, you’re not alone. This issue can be especially frustrating when everything seems to work fine on the initial deployment, only to break inexplicably after redeploy. The Problem When a folder is bind-mounted into a Docker container using Docker Compose, it works correctly during the initial deployment. However, after a redeploy — particularly when triggered by automation tools like Portainer — the mounted folder inside the container becomes empty. ...

Traefik routing issue between frontend and backend containers

[Docker/Traefik] Resolving Intermittent Frontend Loading and 504 Errors Behind a Traefik Reverse Proxy

We encountered a frustrating issue in our Dockerized app environment where the frontend service was intermittently failing to load, and backend API calls were stuck or returning 504 Gateway Timeout errors. Our infrastructure consists of: Frontend container (React app) Backend API container (Go server, accessible at /api/...) Database container (PostgreSQL) Traefik reverse proxy managing HTTPS termination and routing Despite having valid TLS certs and seemingly working routes, users experienced broken pages, incomplete frontend rendering, and stuck fetch requests to /api endpoints. ...

[Golang/CVE] Why Your Playwright Tests Might Fail After Updating gorilla/csrf to Fix CVE-2024-24787

After updating the github.com/gorilla/csrf package in your Go backend from v1.7.2 to v1.7.3, you might suddenly notice that your Playwright tests start failing — specifically with 403 Forbidden responses. What Changed? This update addresses a security vulnerability: CVE-2024-24787. It’s a Golang backend issue, not related to WebSocket libraries like ws, despite what some GitHub advisory titles might misleadingly suggest. In v1.7.3, gorilla/csrf now strictly enforces same-site origin checks using the Origin and Referer headers. If these headers are missing or don’t match the expected host, CSRF validation fails, and the request is blocked with a 403. ...

DigitalOcean Referral Badge
Sign up to get $200, 60-day account credit !