Nextcloud 12 Internal Server Error after Login


When I upgraded from owncloud 9 to Nextcloud 11, my web interface was broken and I could not login to Nextcloud with the web interface. I was able to sync files to the server.  I was recieving “Internal Server” errors and the web interface was broken and unusable. I documented the steps to fix the web interface over at my other blog https://blog.chadchenault.com/2017/12/30/nextcloud-12-internal-server-after-login/


Webmin Not Updating to Renewed SSL/TLS Let's Encrypt Certificate

I received an error message of expired SSL/TLS certificate when logging in to my Webmin server. I fixed the problem by restarting the Webmin service. The details are at my blog https://blog.chadchenault.com/?p=397&preview=true


How to Add a Custom Command to Webmin for your Server

I have complete instructions with pictures at https://blog.chadchenault.com/2015/07/09/how-to-add-a-custom-command-to-webmin-for-your-server/.

Short description.

Server is Mythubuntu 14.04 with Ampache, Apache, WordPress, Postfix and Dovecot email, mythtv, and Owncloud software. This is a post on how to run a script on your server using Webmin. When I first start up my server, I have a LUKS encrypted hard drive (backup) that has to be mounted. I written a script to automate this task. The private key to unlock this disk is stored in my encrypted home folder, so I must login first to open my encrypted home folder and then unlock the backup drive. The script to run is shown below and is called “mount backup disk on startup” and is run from the webmin server.


Brother HL-2270DW printer driver install: Ubuntu 13.04 64 bit versions

This post is to let people know that the Brother HL-2270DW printer can be installed and works under linux. I am currently using the printer in wifi mode printing to it from Ubuntu 13.04. I have posted installation instructions for Ubuntu 12.04 and these instructions also work for Ubuntu 13.04. Here is the link to the installation instructions http://chadchenault.blogspot.com/2012/05/brother-hl-2270dw-printer-driver.html.

I hope you enjoy this printer as much as I have.


Remove Directories Using BASH Find Command

This post is to help me remember how to use the BASH find command to search and remove directories on my linux server. I currently am running an rsync backup command and storing the backups on the server. Each backup is stored as a folder as a date and time. For example '2013-1016-1400' would be a backup that occurred on October 16, 2013 at 1400 hours (2 pm).

List of Commands with Explanation

list only directories
  ls -d */

Search examples

! = do not find
example: ! -name "2013*" # do not find file name beginning with "2013"

Find year 2013, months 5-8, day 31, but not time 22**
 find . -maxdepth 1 -name "2013-0[578][3][01]-*" ! -name "*-22??"

Find year 2013, months 5-8, day 31, but not time 22**, and then delete directory
find . -maxdepth 1 -name "2013-0[578][3]1-*" ! -name "*31-22*" -print0 | xargs -0 rm -vR

Find year 2013, month 6, all days, but not date and time 0628-2001
 find . -maxdepth 1 -name "2013-06*-*" ! -name "*0628-2001"

Find year 2013, month 6, all days, but not date and time 0628-2001, and then delete directory
 find . -maxdepth 1 -name "2013-06*-*" ! -name "*0628-2001" -print0 | xargs -0 rm -vR