I finally got a calibre ebook server running on my first Raspberry Pi. It took several hours of facepalming frustration, but I finally succeeded. Turns out, calibredb (the CLI tool) is nowhere near as user friendly as the GUI. Documentation isn't the best, either.
Here's my write-up on getting this done.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!