Author Archives: lee

About lee

Greater Boston-based photographer with a passion for the outdoors.

Ender 3 Cura Profile For Perfect Prints

Drippy Bucket 3d print

Over the years, I was fortunate enough to achieve a good calibration on my Ender 3 and since my Cura profile appears to be working well print after print, I’ve decided to share it so others can enjoy the same.

Click below to download the profiles.

You will find both a support and no support version. Please be aware that both profiles also include rafts.

Stop “sda: failed to get udev uid: Invalid argument” messages on Ubuntu (vmware)

I recently ran into an issue after deploying a new Ubuntu VM where the following message would spam my syslog server every 5 seconds:

sda: failed to get udev uid: Invalid argument
sda: failed to get sgio uid: No such file or directory

Turns out these are multipathd messages that VMware began reporting in the operating system a while back and the following resolution can safely be applied:

  1. Login to ESXi and locate the VM
  2. Click edit
  3. Under “VM Options”, locate “Advanced”
  4. Under “Configuration Parameters” click on “Edit Configuration”
  5. Click on “Add parameter” and a new empty field will populate
  6. Click on the new “key” field and input disk.EnableUUID
  7. Finally, click on the “value” field and input TRUE

Click Ok and save. Now you must shutdown the VM and start it back up in order for changes to take effect.

The messages should now stop appearing in the logs.

Acadia National Park

While in Bar Harbor, Maine over the past weekend, I had a chance to make a stop at Acadia National Park and sneak in a few shots. Since I didn’t get to arrive early or stay late for the sunset, I had to make do with the light I had. Good thing I always pack my Lee Big Stopper 😉

How To Create And Secure An Ubuntu Server 20.04 VM On ESXi 7.0


In this guide I will show you how to create an Ubuntu Server 20.04 VM on ESXi 7.0 and setup basic security such as firewall and SSH key.

Download Ubuntu Server 20.04

Head over to the releases page and download the image. For this guide, we will be using the “64-bit PC (AMD64) server install image”.

Continue reading

How To Fix Memcache \OC\Memcache\APCu not available for local cache – Nextcloud

Today I updated my self install of Nextcloud from version 22.2.3 to 23.0.0 and after the update I visited the status (Settings->Overview) page in order to see if there are any pending issues and saw the following warning:

    The database is missing some indexes. Due to the fact that adding indexes on big tables could take some time they were not added automatically. By running "occ db:add-missing-indices" those missing indexes could be added manually while the instance keeps running. Once the indexes are added queries to those tables are usually much faster.
        Missing index "fs_id_storage_size" in table "oc_filecache".
        Missing index "fs_storage_path_prefix" in table "oc_filecache".

Please double check the installation guides, and check for any errors or warnings in the log.

Check the security of your Nextcloud over our security scan

The error indicates that I can simply run “occ db:add-missing-indices” at the command line and the error should be resolved so I navigated to the occ directory and issued the command “sudo -u www-data php occ db:add-missing-indices” but received another error instead:

An unhandled exception has been thrown:
OCP\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)

Some research led to this github issue which suggested adding apc.enable_cli = 1 to the file apcu.ini located in /etc/php/7.4/mods-available (please note that your version of php may be different) which turns out, it solved the issue allowing me to successfully run sudo -u www-data php occ db:add-missing-indices again.

I now have a clean status page!

Nextcloud status page