落絮飞雁

顺流而下,把梦做完

Optimizing Python Script Deployment on lolipop.jp

I recently needed to write a Python script that fetches data periodically from an external API and maintains it in a local txt file. I plan to host this script on my virtual hosting at lolipop.jp and run it every ten minutes through cron. However, after deploying it, the script has not been producing any output. Below is the method for deploying a Python script on the virtual hosting at lolipop.jp without using SSH.

READ MORE →

Docker Container Restarting after SSH Login – Solution

As mentioned in a previous blog post, my current project is deployed using Docker. However, during a recent login to the server, a strange phenomenon occurred: all the containers in Docker would restart from time to time. Also, every time I logged in to check the Docker status, it would show that the containers had just started (Up 15 seconds). After several investigations, I finally identified that the restart issue was related to SSH login. Every time I logged in via SSH, the containers would restart.

READ MORE →

Fix Web Connection Reset Issue After Update Qnap NAS To 5.0.X

Recently, after upgrading the Qnap NAS to QTS 5.0.X , there was a problem of not being able to access to the web page from internet. However, accessing from LAN still works. So at the beginning, I thought it might be a firewall or port forwarding issue.

READ MORE →

Using Docker Compose to Self-host Project Deploy

After three months of hard work, the SSL certificate of my RSS aggregator finally expired. The auto-renew script failed to renew it — this happened a couple of times, I need to login into the web panel and renew it manually every three months. Unfortunately, the web panel malfunctioned this time either. After an epic battle with cert-bot, Nginx, and even the web panel I used, I finally gave up and decided to switch to another self-hosting solution.  

READ MORE →

Use Roundcube on Lolipop.jp

Lolipop by GMO cloud is the hosting service I’m using. The hosting plan includes email hosting services, but the webmail interface is in Japanese with limited functions provided, so I installed my own Roundcube instance instead. Not like VPS, Installing a custom Webmail service needs to skim through the service provider’s documentation, undoubtedly it is all in Japanese. This takes me some time to search and validate all these endpoints. Anyway, the tutorial is as follows.

READ MORE →

Migrate Knowledge to MkDocs Generator

The knowledge base project has been migrated to the MkDocs project, and it works like a charm so far.

READ MORE →

Migrate to Google Password Manager

As LastPass will change their product plan this month, free users will no longer be available to synchronize their password across the PC and mobile. That is to say; Users have to choose mobile or desktop as their primary device to store their password.

READ MORE →

解决Excel中无法运行Solver宏的问题

最近在用Excel中的Solver插件时遇到了不能运行的问题,尝试过用微软社区给出的方法修复无效,最终通过重装Office解决问题,记录一下解决方法,方便后来人。

READ MORE →

Automatically Backup Dokuwiki Data Using Shell Script

Dokuwiki is an elegant and concise wiki-site. Since it uses plain text files instead of a database to store pages, one offline copy could be useful for some situations, like read it on your Kindle when you go offline or publish your ebook. Thus, we want to back up our pages and media file daily and create a symbolic link to the latest copy for downloads.

READ MORE →

Fix Charge HR Shows Battery Symbol with Exclamation Mark Problem

I went back home last month and put my Charge HR in a corner since then. But when I prepare to wear it these days, I found my Charge HR shows a battery symbol with an exclamation mark on the screen. It cannot display dashboard as usual, neither can I connect that device from my smartphone. My smart band was fully charged, so this issue was not caused by lack of power.

READ MORE →