Featured
About the Taylors

About the Taylors

Help! I’m being crushed!!


Hi!  I am Russel Taylor.  I am married to Donna and we have four growing boys: Preston, Russell, Todd, and Elliott.  We live in Holliday, Texas and are Christians who worship our Lord at the Saint Benedict Orthodox Church in Wichita Falls, Texas.

The Taylors – 2016

I am the GIS Specialist for Gunn Oil Company. Donna is a substitute teacher.

DirectAdmin + Seafile Configuration

DirectAdmin + Seafile Configuration

After a lot of trial and error, I have finally managed to get Seafile working with my DirectAdmin panel. I am posting my configuration here so that it will be much easier to do the next time!

First, here is my docker-compose.yml file:

version: '2.0'
services:
  db:
    image: mariadb:10.5
    container_name: seafile-mysql
    environment:
      - MYSQL_ROOT_PASSWORD=PASSWORD  # Requested, set the root's password of MySQL service.
      - MYSQL_LOG_CONSOLE=true
    volumes:
      - /app/seafile/seafile-mysql/db:/var/lib/mysql  # Requested, specifies the path to MySQL data persistent store.
    networks:
      - seafile-net

  memcached:
    image: memcached:1.5.6
    container_name: seafile-memcached
    entrypoint: memcached -m 256
    networks:
      - seafile-net

  elasticsearch:
    image: seafileltd/elasticsearch-with-ik:5.6.16
    container_name: seafile-elasticsearch
    environment:
      - discovery.type=single-node
      - bootstrap.memory_lock=true
      - "ES_JAVA_OPTS=-Xms1g -Xmx1g"
    ulimits:
      memlock:
        soft: -1
        hard: -1
    mem_limit: 2g
    volumes:
      - /app/seafile/seafile-elasticsearch/data:/usr/share/elasticsearch/data  # Requested, specifies the path to Elasticsearch data persistent store.
    networks:
      - seafile-net

  seafile:
    image: docker.seadrive.org/seafileltd/seafile-pro-mc:latest
    container_name: seafile
    ports:
      - "8082:80"
      - "8443:443"  # If https is enabled, cancel the comment.
    volumes:
      - /app/seafile/seafile-data:/shared   # Requested, specifies the path to Seafile data persistent store.
    environment:
      - DB_HOST=db
      - DB_ROOT_PASSWD=PASSWORD  # Requested, the value should be root's password of MySQL service.
      - TIME_ZONE=America/Chicago # Optional, default is UTC. Should be uncomment and set to your local time zone.
      - SEAFILE_ADMIN_EMAIL=EMAIL # Specifies Seafile admin user, default is 'me@example.com'
      - SEAFILE_ADMIN_PASSWORD=PASSWORD     # Specifies Seafile admin password, default is 'asecret'
      - SEAFILE_SERVER_LETSENCRYPT=false   # Whether to use https or not
      - SEAFILE_SERVER_HOSTNAME=HOSTNAME # Specifies your host name if https is enabled
    depends_on:
      - db
      - memcached
      - elasticsearch
    networks:
      - seafile-net

networks:
  seafile-net:

And now, here is the DirectAdmin Reverse Proxy code that should be pasted in to the Custom HTTPD section:

|*if SUB="seafile"|
SSLProxyEngine On
ProxyPreserveHost On

ProxyPass / https://seafile.EXAMPLE.COM:8443/
ProxyPassReverse / https://seafile.EXAMPLE.COM:8443/

|*endif|
Onlyoffice and Portainer Docker Install

Onlyoffice and Portainer Docker Install

It’s all fun and games, until someone gets hurt… here is how I setup OnlyOffice and Portainer using Docker. I am using a vps running Debian 10.

OnlyOffice

sudo docker run -i -t -d -p 32769:443 --restart=always \
-v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \
-v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \
-v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice \
-v /app/onlyoffice/DocumentServer/db:/var/lib/postgresql onlyoffice/documentserver

Once the container is up and running, copy your ssl security information. I copy my user ssl.crt and ssl.ca into a single file: onlyoffice.crt, which should be installed at /app/onlyoffice/DocumentServer/data/certs/.

Next, copy the ssl.key to /app/onlyoffice/DocumentServer/data/certs/onlyoffice.key. Make it read-only by doing chmod 400 onlyoffice.key.

Copy your license file to /app/onlyoffice/DocumentServer/data/license.lic.

Restart the docker container, and you’re good to go. You can access the status page at https://yourwebsite:32769.

Portainer

First, I create the directory: /app/portainer/local-certs.

Next, I copy the ssl certificates to the directory I just created. They are are same as the onlyoffice ones, except I rename them portainer.crt and portainer.key.

docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /app/portainer/local-certs:/certs -v /app/portainer:/data portainer/portainer-ce --ssl --sslcert /certs/portainer.crt --sslkey /certs/portainer.key

Portainer can be accessed at https://yourwebsite:9000.

2020 – The Year of the Plague

2020 – The Year of the Plague

The trainwreck of a year

Hey, it’s July! That means we’re more than halfway through the year…thank God! 2020 has been a challenge for most people, I think. We’ve had the Coronavirus/Covid-19 that has been crippling our economy and killing people right and left. We’ve had the Black Lives Matter protests which have turned into riots (they do matter). And through it all, President Trump has been our fearless leader… or not. He seems to think that if he ignores everything it will all work out. I hope he’s right; I really do.

Looking on the bright side, though, we get to go see my mom in Michigan in a couple of days! To be honest, I think I’ve already checked out in my mind… I do dread the drive, though. Two long days… We’re splitting it up so that it is one super-long day, followed by one medium-long day. Hopefully that will make it work.

Fedora Boot Hang/Timeout

Fedora Boot Hang/Timeout

When I boot Fedora 31 on my Alienware Laptop, it hangs for about three minutes with the message “A start job is running for udev Wait for Complete Device Initialization”

Here’s one way to fix it:
sudo systemctl mask systemd-udev-settle

Solus Linux Installation Issue

Solus Linux Installation Issue

Whenever I first install Solus Linux, the installer never adds Solus to the UEFI Boot Menu. Here are the steps to fix that issue:

Boot from your live CD/USB. Connect to the internet, and do the following:

Install efibootmgr: sudo eopkg it efibootmgr

(This paragraph probably isn’t necessary, but I am including it to remember how to clean up the UEFI Boot Menu 🙂 )
Run efibootmgr with no arguments. You should see an entry for Linux Boot Manager, which for some reason doesn’t show up in your actual boot menu but does here. There’s a number listed for that entry. Delete it with sudo efibootmgr -b [num] -B

Now you can recreate it. If your EFI partition is /dev/sda1 then do this: sudo efibootmgr -c -d /dev/sda -p 1 -l "\EFI\systemd\systemd-bootx64.efi" -L "Linux Boot Manager"

Fix KDE on NVIDIA Driver

Fix KDE on NVIDIA Driver

For KDE font/gui size issues after switching to NVIDIA driver, I found the following post:

It’s a nvidia thing lol I had the same issue and never even noticed it until one day I gave the free noveau drivers a try and everything looked way better and smaller. For some reason nvidia sets/forces my DPI to I believe 120, anyways it’s really easy to solve.

Open the nvidia.conf file in your text editor

sudoedit /etc/X11/mhwd.d/nvidia.conf

Then edit or add the option DPI under the screen display sub section and disable UseEdidDpi.

To make things easier here is what I have under my “Screen” section which now forces the use of 96 for dpi scaling.

Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
        Option "UseEdidDpi" "False"
        Option "DPI" "96x96"
    EndSubSection
EndSection

I hope this helps you as it did for me.

No Kernel Panic on Shutdown

No Kernel Panic on Shutdown

Okay, so my new computer likes to fail to shutdown in Linux with a kernel panic. Here’s the solution to fix it.

If using Grub:
Add initcall_blacklist=dw_i2c_init_driver to the kernel command line.

Run in the terminal: sudo nano -w /etc/default/grub
Append blacklist string to the GRUB_CMDLINE_LINUX_DEFAULT="… initcall_blacklist=dw_i2c_init_driver"
Save the file.
For Debian:  sudo update-grub
For Fedora:  grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
For Arch: grub-mkconfig -o /boot/grub/grub.cfg
Reboot and test!

If using goofiboot (Solus):
sudo nano -w /etc/kernel/cmdline
Insert the following line: initcall_blacklist=dw_i2c_init_driver
Save the file.
sudo clr-boot-manager update
Reboot and test!

If using systemd-boot (Pop_OS):
sudo nano -w /etc/kernelstub/configuration
Insert the following line: "initcall_blacklist=dw_i2c_init_driver", Unless it is the final item in the list, do not miss the trailing comma!
Save the file.
sudo kernelstub
Reboot and test!

The Holidays Are Over!

The Holidays Are Over!

All I can say about that is, Thank you, God! The Holidays are so stressful. We started out with Elliott’s birth, then Todd’s birthday. We followed that up with Christmas, which we were planning on having at Donna’s parents, but since her dad had the flu we ended up staying home. We got to see my brothers, his wife and son, and my other brother on Christmas Eve. We actually got to go to our own Church’s Christmas Eve mass, which was kind of awesome.

Between Christmas and New Year’s Eve, we had Donna’s dad’s Christmas Party. Her dad was better by then, and so we all went and had a good time. It turns out that Todd had the flu all that time, and so we ended up making my brother and his family, and then my family in Michigan sick with flu…. Ugh. Then I ended up getting the flu, and so we ended up staying home for New Year’s and Preston’s birthday… Then we had Christmas with Donna’s parents the following weekend. I had a sore throat the entire time…turned out to be strep. We finally all got better.

Then we had Elliott’s baptism, which was nice, but Russell was a toot for family pictures earlier in the day. Turns out he was getting sick. He had strep the next day. Followed by flu later in the week. And then Preston got the flu and strep at the same time that weekend… Let me just say, this is getting old!  Oh, I forgot to say.. Elliott had the flu at around the same time that I did.  He actually didn’t do too bad with it.