Categories
Uncategorized

HP Z420 Drive Caddies…

3D Printed Drive Caddies

This TrueNAS project has had some setbacks, including RAM, but I’ve made progress!

3D Printed Drive Caddies

Since I am loading up this machine with drives I need some way to hold the drives in place, so once again 3D printing is the solution. I didn’t want to design a drive caddy as I assumed there would be some out there already, and there are, so I started looking, My results are below.

3.5″ to 5.25″ Drive bay adapters – Universal
I like this one. It does require a few bolts, but those bolts do allow you to secure this into the case, which can be a nice advantage. It’s got a lot of hole pattern options as well. It definitely feels solid since it gets bolted onto the drive.

3.5″ Hard Drive to 5.25″ Drive Bay Adapter
This is an interesting design! It uses no hardware and (for my print) snaps into place using the screw holes in the hard drive. It you don’t have hardware or don’t want to use it, this is nice. IF the fit isn’t tight it should still stay together once inserted into the computer. (I did need to print with supports.)

3D Printed Drive Caddies

3D Printed Drive Caddies

HP Workstation Rack for 2.5 HDD-SDD
This one is pretty good for holding a 2.5″ drive with bolts through the bottom. The one issue I have is that it’s a bit too long, at least for my computer. I could probably do a quick tweak on it in OpenSCAD to work for my needs though. It does need bolts on the side to slide into place.

3D Printed Drive Caddies

3D Printed Drive Caddies

3D Printed Drive Caddies

2.5” to 5.25” adapter for HP workstation case
I like this one as it’s got space for two drives, though you certainly can put just one drive it in if you want. It’s got a nice little cutout handle to make it easy to slide in and out if needed. I’m pretty sure I had to print it with supports though because of the little rails on the side.

HP Z440 3.5 drive caddy for 2 ssd drives
This one is okay, though I think I prefer the one above over this one. The sides where the drives attach seem a little thin, and the drives could be spaced out a bit more, though this one does have a hole on the bottom for more airflow. This one does not have built-in rails (so not support needed) so you’d need to add some bolts.

I’m still not 100% sure which of these I will end up using as they all have pros and cons. Of course it’s nice to see some variety in design and how people approach the problem of holding a hard drive (or two) in place.

Categories
Uncategorized

USB Hand Warmers?

USB Hand Warmers

First of all, I know I should have posted this a few months ago before it was April and 60 degrees F outside, anyway…

Yes, USB Hand Warmers are a thing! I was joking that it’s just a USB power bank that shorts itself out and overheats, but hand warmers you can charge via USB are totally a thing… And I tried a pair out.

USB Hand Warmers

I actually ended up giving these to my daughter who was hoping for “electric gloves” (sorry!) and she said they’ll work just fine… but I did test them out a bit before she got them. These “OCOOPA Magnetic Hand Warmers Rechargeable” were just under $20 USD and they did work well. The magnetic part just means they stick together on the flat side. I’m not sure it’s an amazing feature unless you think magnets are magic. (Some people do!)

USB Hand Warmers

USB Hand Warmers

I think my only complaint is that the little LEDs to show if it’s charging or the battery is low are difficult to see. You need to get the angle just right to see them as there are tiny holes that lead to the LEDs mounted inside.

USB Hand Warmers

The warmers were small and slim enough to slide into my pockets for a winter bike ride and then put into my gloves (facing my palms) once I got off the bike. So yeah, just like magnets these totally work. USB Hand Wamers. Cool. (I mean, Warm!)


Note: This post may contain Affiliate Links. Read More.

Categories
Uncategorized

Nextcloud on TrueNAS

Since I started messing around with OpenMediaVault and TrueNAS Scale I have been experimenting with using containerized applications running on them. Some at easy to install and configure and some… are not. It’s also been really interesting to see the difference between how OpenMediaVault and TrueNAS handle them. OMV is more like “paste docker compose file here and edit it” and TrueNAS is more “here’s a long web page form, select things, fill things out and submit it” and both have pros and cons, but I’m here today to talk about Nextcloud on TrueNAS.

I should note my environment, even though it may not have a huge impact on things. Still, it’s worth a mention because every install is different. I use Nginx Proxy Manager to be able to use some of my hosted services on my home network outside of my own network. So while Nextcloud might be at 192.168.1.105 at my house, I might want to visit it at nextcloud.example.com from elsewhere in the world. (Assuming I have control over nextcloud.example.com, which I do not, because it’s just an example.)

Anyway, I used the TrueNAS “app store” to install Nextcloud. I had to fill out the form a few times to get things right. I made sure I noted any passwords I typed into the form. Eventually I got the form to submit and Nextcloud was deployed! I tried to visit 192.168.1.105:30085 in my browser (TrueNAS gives every containerized application a high port number, above 30000 so as not to conflict with anything else I guess) but it did not work. That’s okay…

One of the neat things about TrueNAS is that the web interface have a system shell built into a web page in the admin where you can type commands and do whatever shell stuff you need to.

Since I logged into the TrueNAS web admin as tnsadmin I was put into the shell as the user tnsadmin which can use the sudo command. So I had to edit the file Nextcloud config file found at /mnt/.ix-apps/app_mounts/nextcloud/html/config/config.php.

The config file has a line with 'overwriteprotocol' => 'https', which tries to force HTTPS. Since i was running on am IP address on my local network using 192.168.1.105 that caused issue because there is no cert for that. You can try to set it to use the TrueNAS certificate but that did not work and just kicked me from Nextcloud to TrueNAS in my browser… maybe because of the port number? I don’t know. I changed from HTTPS to HTTP with this 'overwriteprotocol' => 'http',

There is also this whole section on trusted_proxies I tried to mess with since I did plan on using a proxy. I ended up deleting everything I added there, and what you see below seems to be the default from the file before I made any edits. I don’t know if that is a default or was generated by my system. It didn’t seem to matter.

'trusted_proxies' =>
array (
0 => '127.0.0.1',
1 => '192.168.0.0/16',
2 => '172.16.0.0/12',
3 => '10.0.0.0/8',
),

Next up was trusted_domains which I did change.

'trusted_domains' =>
array (
0 => '127.0.0.1',
1 => '192.168.1.105',
2 => 'localhost',
3 => 'nextcloud.example.com',
4 => 'nextcloud',
),

The 192.168.1.105 is the IP address of the server, and nextcloud.example.com is the domain I’ll use with the Nginx Proxy Manager. After all this nonsense… it worked! (Again, replace nextcloud.example.com with whatever you might be using.)

Well, it worked as in I could get my web browser to the Nextcloud login page. I could not login though. I tried all sorts of usernames and passwords and searched for Nextcloud default passwords and that all failed.

I finally found this form thread Logging into Nextcloud App for the first time – Cannot log in as specified user with the solution. Back to the browser-based shell in TrueNAS to type this command:

sudo docker exec -it -u 33 ix-nextcloud-nextcloud-1 php -f /var/www/html/occ user:resetpassword ncadmin

I don’t know if it needs to be ncadmin but that was what I was trying to login with based on a different post I read. Luckily it asked me for a new password (twice) right on the command line, so I type a new password (twice) and after that I was able to log into Nextcloud.

That login became the admin user since it was the first to login so I made a user account for myself and was up and running with Nextcloud.

Oh, I should also note that while I changed the config from using HTTPS to HTTP, my proxy server has a certificate (from Let’s Encrypt) so when I visit outside my network using nextcloud.example.com https works as the reverse proxy handles the https part of things.

I should add one thing! It’s important! Everything above is about Nextcloud in the browser. It works for me in a desktop browser and in a mobile browser but not in the mobile application (yet!) I’ve got a list of posts and notes to follow up to get that part to work.

I have also not been able to get all of the Nextcloud “apps” (add-ons within Nextcloud) installed and configured yet. It’s… a journey I guess. Sigh…

Categories
Uncategorized

Diversity, Equity, and Inclusion at Gallery 69

A two color relief print with a blue and pink rainbow roll

I meant to post this back in February but things have been hectic. You may know I run a Free Little Art Gallery called Gallery 69 where we (surprise!) give away art for free. Well, it’s mostly been my art because I’ve made a lot and have it on hand. If you scroll through old posts though you will find other artists who have contributed.

But here’s the thing… now more than ever, we need more diversity.

I’d like to help curate a gallery that includes artists who may currently be underrepresented. Listen, I’m an old, white, straight man. I want to help share art from those who are not old, white, straight because face it, we’ve had it pretty good for nearly, well… forever.

It’s not much, but we’ve all gotta do whatever we can. I will write blog post about the art and artist, put the art in the gallery, and try to pay some cash to artists.

Thanks to a (small) budget from a few friends I have a little bit of money to do this, and I started talking to one artist but they never got around to sending me any art. I had offered money and even offered to make physical prints of their digital work, but hey, sometimes email go unanswered, people get busy… I get it.

So I’m about to email a friend, and I’ve written this post to help hold me accountable.

Finger crossed this works… I’d like to help where I can, and this seems like a simple thing, so let’s do it!

(And if you want to help support this effort, get in touch with me!)

Categories
Uncategorized

HP Z420 RAM…

When I got the HP Z420 Workstation it had 4 sticks of RAM for a total of 16GB, except it got an error booting up and removing one stick seemed to fix it, though being down to 12GB seemed a little low since I plan to run a number of applications via containers. I took a gamble and ordered more RAM. I got these A-Tech 8GB PC3-12800E ECC sticks from eBay for $20.

As I’ve previously mentioned I’ve never built a PC, and my experience working on computers is (mostly) in the Apple world. I learned about ECC (Error Correction Circuitry) RAM and I did some reading on A-Tech. Consensus seemed to be that A-Tech RAM is cheap because they are most likely rebranded sticks from well-known brand name RAM manufacturers that may have failed one of their quality control tests. Eh, I figured I’d give it a try.

I added the two 8GB sticks in, and actually put all the RAM in the slots in the order specified for the machine. Things ran okay for a day but when using the system through the web interface it locked up… I had to hard reboot it, something I haven’t had to do at all since I got it running. I figured maybe the new RAM was the issue but the RAM testing stuff I looked up was for Windows… I didn’t know how to do the test with TrueNAS, which isn’t very supportive of just installing random command line stuff.

Folks recommended MemTest86+ which boots right into the testing application. Nice!

The MemTest86+ ISO was tiny, under 7MB! It flashed to a thumb drive almost instantly and I booted up to the testing. I had pulled out all the ram except the two new 8GB sticks and tested for hours. It passed everything. I rebooted, ran everything again for a few hours and all tests seemed good. I then rebooted back into TrueNAS and it’s been running without issue for a day now… but I will keep doing some testing to be sure.

There is a chance that the difference between the 8GB and 4GB sticks is causing issues, so I am hesitant to add the smaller ones back in… I will probably just run with the new 16GB total for now and if needed I could always get two more and kick it up to 32GB total.

Oh! I learned one more thing about TrueNAS. I guess it will use most of the “free” RAM for the ZFS cache but that will drop down as applications need the RAM. This is much different from my OpenMediaVault NAS which has 16GB of RAM and shows 12.91GB of free RAM…