How To Deploy Nextcloud AIO with Object Storage
I get excited when I hear or read the phrase, de-google-fi. Maybe even de-icloud-ify. Either way NextCloud is an open-source and often self-hosted Collaboration Platform. It’s got a wide range of features but the most noteable is the File Sync feature. You install an app on your Mobile Phone, tell it what Albums to back up, and tada! You can auto-upload all of your Images, Videos, and Contacts to a server of your choosing. For my friends and family, that is my storage server.
Data sovereignty and flexibility are my primary reasons for…
In October 2024 I setup Nextcloud to run in my home lab but…
Provision a VPS behind a Cloud Firewall. Only open ports 80, 443, 8080, and 8443. Ensure VPS has dedicated IPv4 and IPv6 addresses.
sudo apt update && sudo apt upgrade -y
sudo apt install s3fs -y
sudo mkdir /mnt/MyBucket
sudo timedatectl set-timezone America/Denver
sudo hostnamectl set-hostname YOUR_HOSTNAME
Create a Linode Object Storage Bucket then Create an Access Key & Secret Key with Read/Write permissions for that specific bucket.
Run the following to append the Access Key and Secret Key into /var/.passwd-s3fs
. This password file will be used by fstab to auto-magically mount the Object Storage on system startup.
echo "ACCESS_KEY:SECRET_KEY" | sudo tee /var/.passwd-s3fs > /dev/null
sudo chmod 600 /var/.passwd-s3fs
Append the following to /etc/fstab/
to allow the Object Storage to mount on system startup.
<bucket_name> /mnt/MyBucket fuse.s3fs _netdev,allow_other,use_path_request_style,url=https://your-region.linodeobjects.com,passwd_file=/var/.passwd-s3fs 0 0
Make a note of your deployment parameters. Here are mine, they work perfect for my setup.
sudo docker run --init --sig-proxy=false --name nextcloud-aio-mastercontainer --restart always --publish 80:80 --publish 8080:8080 --publish 8443:8443 --env SKIP_DOMAIN_VALIDATION=false --env NEXTCLOUD_MAX_TIME=3600 --env NEXTCLOUD_MEMORY_LIMIT=4096M --env NEXTCLOUD_UPLOAD_LIMIT=10G --env NEXTCLOUD_ADDITIONAL_APKS="imagemagick nano" --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config --volume /var/run/docker.sock:/var/run/docker.sock:ro nextcloud/all-in-one:latest
Reflecting on my open-source project GoobyDesk.
Screenshots from exploring Greece, In the southern Balkan Peninsula.
How-To Import a custom world into Singleplayer, then Realms using Minecraft Bedrock Edition.
Remebering Alex
Remebering Alondra and Aaliyah
Matt’s Guide to ADS-B and PiAware.
I had something to say, until I didn’t.
Matt’s Guide to FRS and GRMS Radio.
Matt’s Guide to CB Radio
Matt’s Guide to Securing a Linux Box for Production.
My Experience deploying the NextCloud AIO Docker Image at Home.
Quick overview of my websites architecture.
One Night in Glacier NP - 2024
Exploring and capturing the scenery in American Truck Simulator, Nebraska DLC
how-to be safe while downloading linux isos.
Exploring South Dakota with the Jacksons.
How I reduced my home page 610 percent.
how-to add oneko.js to the minimal-mistakes jekyll template.
My personal running notes for growing cannabis.
Dealing with CIFS errors between TrueNAS and Debian.
how-to bounce a Juniper JunOS switchport.
how-to fix ‘the list of sources could not be read.’ when using apt.
how-to troubleshoot a home network, by a Network Engineer.
Moving my webserver from OpenLiteSpeed to Caddy
how-to resolve, could not resolve packages.adoptium.net
how-to validate XZ-Utils impact.
How and Why I use Ninite
Manually renewing Certbot on OpenLiteSpeed
Yet Another Benchmark Results
Linux Basics and Core Concepts by Matt F.
how-to Buy and Manage a Web Domain
My Udemy Course Completion Certification.
Scion FRS Service Manual Download and Sources
My Discord Server Widget
How I moved from QUIC.Cloud to BunnyNet CDN.
My High Uptime Plan for 2024.
Personal notes for Magic the Gathering
HTML Hobbiest Webring Landing Page/Post
Method of Procedure for migrating from WordPress to plain HTML.
W900 Tuning Pack DLC Review.
Google Domains is Ending.
Deep dive into OpenLiteSpeed webserver.
how-to resolve my Jekyll/Cloudflare Pages deployment error.
In High School I had one dream that stands out. Own a Porsche by the time I was 26. Looking back, I have no idea where this dream came from; because I was ra...
Personal ramblings about my new town.
Knowledge Filled PDF Bundle
how-to Jellyfun.
ProtonMail Review - 1 Year
how-to manage Pi-Hole.
My new Gaming PC. Its boring but it’ll do.
how-to setup Pi-Hole and Wireguard on Linode.
how-to update the hostname of a Raspberry Pi.
Can a Raspberry Pi Zero host a family VPN Server? Yes.
Logitech G413 Keyboard review.
Razer Huntsman Mini review.
YouTube video cruising through Colorado!
Ramblings about PiAware after one month of operation.
Guide to setup a Raspberry Pi from start to finish!
Guide to configuring the Timezone on a Raspberry Pi.