$BASH_VERSION is not set

Loading

Sometimes, in Ubuntu, user created will not get the correct shell, particularly will be /bin/sh shell. This /bin/sh shell is limited and will not be able to use the .bashrc configurations. In order to fix this, reset the user’s shell to /bin/bash by running the following command via root user. For future new user, you … Read more

WordPress: Missing temporary folder

Loading

When encountering this error “Missing temporary folder” in WordPress and if CageFS is enabled for user in cPanel WHM on CloudLinux, reset CageFS for the user. cagefsctl –disable $USERcagefsctl –enable $USER Where $USER is the username of the account Ref: https://support.cpanel.net/hc/en-us/articles/360052910573-WordPress-reports-Missing-a-temporary-folder-when-uploading-images Similar errors “Server Error 400 Bad Request”, “Elementor update error”

Cacti not showing graph images

Loading

I was configuring a new server to serve Cacti recently and found that the graphs were not showing. After much troubleshooting and configurations changes, I found out that it was due to disabled functions in the PHP. Solutions Check if popen is inside the PHP disabled_functions settings. Remove it if it is.   Extra Descriptions … Read more

CyberPanel SSL renewal failure – Workaround Solution

Loading

Recently upgraded my CyberPanel to version 2.3.2 and found that my accounts’ SSL renewal starts to fail. I checked the logs and found that there is a process that checks the acme-challenge folder for a static file before able to renew the SSL. Before this, it was randomly generated files for verification purpose. This is … Read more

HeidiSQL Default Query Tab Reset

Loading

HeidiSQL is a great tool to manage MySQL and other supported databases. One useful feature it has is to remember last commands used. I love this feature, however, each time I moved on to another project, the previous command will be there. It has never bothered me but somehow, I just have to know how … Read more

Convert SSL Cert – p7b to pfx

Loading

If you have your SSL certificate in p7b format and need to convert to pfx format, you’ll need 3 files. The private key you get when generating your CSR The p7b certificate file The rootca bundle file Use the following command to generate your pfx certificate. openssl pkcs12 -export -in p7bcert.crt -inkey private.key -out outfile.pfx … Read more

Unable to send scripted mails through Office 365 SMTP

Loading

Recently we received complaints from our programmers saying their codes to send emails via smtp.office365.com were failing due to login failure. We checked and found that the issue is due to the introduction of Security Defaults in Azure security to block legacy authentication methods. As a quick solution, we resorted to turning off the securiy … Read more