Posts

Showing posts from August, 2025

EA PHP vs. Alt PHP in cPanel: What's the Difference? 🤔

Image
In the realm of cPanel hosting, you might encounter two distinct PHP handlers: EA PHP and Alt PHP . Understanding their differences is crucial for optimizing your website's performance and compatibility. Let's delve into the specifics using the 5W1H method (and a bit more!). What are they? EA PHP (EasyApache PHP): This is the default PHP handler provided by cPanel. It's tightly integrated with the EasyApache tool, which allows server administrators to easily compile and manage Apache web server modules, including PHP. Think of it as the standard, official PHP offering within your cPanel environment. Alt PHP (Alternative PHP): This is a system provided by CloudLinux (often the underlying OS for many cPanel hosting environments). It offers multiple, independent PHP versions that users can select and use on a per-account or even per-directory basis. It's like having a PHP version control system for your website. Why do they exist? ...

How to Safely Upgrade Nextcloud in Docker

Image
Recently, I upgraded my Nextcloud Hub 10 (31.0.7) running in Docker to 31.0.8 . The process was smooth once I followed the right steps. Here’s a summary of the procedure, including backups, upgrade commands, and fixing common warnings. 1. Backup Everything Before upgrading, always back up your database, config, and data: # Backup the MariaDB database docker exec -t nextcloud-stack-db-1 mysqldump -u nextcloud -p'YOURPASSWORD' nextcloud > nextcloud_backup.sql # Backup Nextcloud config (requires sudo because of file ownership) sudo tar -czvf nextcloud_config_backup.tar.gz ./nextcloud_config # Backup Nextcloud data sudo rsync -av /mnt/nextcloud_data/ /mnt/nextcloud_data_backup/ 2. Update Nextcloud Container # Stop containers docker-compose down # Pull the latest Nextcloud image docker-compose pull nextcloud # Start containers again docker-compose up -d 3. Run the Upgrade Run the database migrations and app upda...

Fixing Nextcloud Redis Errors and NAS Mount Issues in Docker

Image
Running Nextcloud in Docker is convenient, but sometimes you’ll hit errors with Redis caching or NAS mounts. In this post, I’ll walk through how I fixed two common problems: Redis crashing with append-only file corruption NAS mount not showing inside the Nextcloud container 1. Redis Error: php_network_getaddresses / Connection Refused My Nextcloud logs were full of errors like: php_network_getaddresses: getaddrinfo for redis failed: Name or service not known RedisException: Connection refused Checking containers: docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Status}}" revealed that nextcloud-stack-redis-1 kept restarting. Logs showed: Bad file format reading the append only file appendonly.aof.3.incr.aof make a backup of your AOF file, then use ./redis-check-aof --fix Solution Stop Redis: docker stop nextcloud-stack-redis-1 Delete corrupted AOF/RDB files: sudo rm -rf ~/nex...

Self-Hosted Personal Cloud: From Old Laptop to Fully Private Cloud

Image
Assalamualaikum and greetings from Semenyih ! This is your complete A-to-Z guide for turning an old laptop and a WD My Cloud NAS into a secure, self-hosted cloud server — fully under your control and accessible from anywhere in the world. This journey combines the best of both worlds: the raw technical depth from my original build notes and a beginner-friendly, step-by-step flow. Whether you're here to learn the basics or to dive straight into Docker configs, you'll find what you need. Why I Built This Western Digital discontinued remote access support for older WD My Cloud devices, essentially turning them into local-only storage. Rather than letting mine gather dust, I built a replacement cloud service using Debian Linux, Docker, Nextcloud , and Nginx Proxy Manager — bringing back remote access and adding more privacy, flexibility, a...

How to Download AnyFlip Books as PDFs with Anyflip Downloader

Image
Have you ever needed an offline copy of a digital flipbook from AnyFlip for research, archiving, or easy reading on any device? While the platform is great for online viewing, saving content locally can be a challenge. Introducing anyflip-downloader , a powerful and efficient open-source command-line tool from developer Lofter1 , available on GitHub . It's designed to download any AnyFlip book and convert it into a single, high-quality PDF file. This guide will walk you through everything you need to know, from installation to advanced usage, to get the most out of this handy utility. Important Disclaimer This tool is provided for educational and personal use only. You should only use it to download books that you have the right to, or where the publisher officially allows PDF downloads. Please respect copyright laws and the terms of service of AnyFlip. Key Features Simple to Use: Works with a single command. ...