An integrated Nextcloud installer for FreeBSD.
NextcloudOnFreeBSD sets up Nextcloud 35 by default with ZFS storage, private networking, HTTPS, and optional office and Talk services. It is an independent project, not official Nextcloud AIO. It installs and integrates services; you remain in control of maintenance and backups.
This README describes v1.2.0. Latest stable release and verified download.
Repository · Website · Wiki
- Guided or recipe-based setup. Review the plan before installation. New deployments can opt out of project branding in the wizard or recipe.
- FreeBSD-native isolation. Nextcloud runs in a jail with its own ZFS datasets and private network. A prepared host can also run existing jails and independently managed VMs. The installer does not adopt existing Nextcloud deployments.
- Four office choices. Native ONLYOFFICE in a separate jail (default), Euro-Office or Collabora CODE in a dedicated Alpine VM, or Nextcloud only. An installed backend cannot be switched.
- Apps and storage. Client Push is included. Optional Talk adds a dedicated HPB/TURN jail. Choose other apps or connect existing SFTP or HTTP/HTTPS storage.
- Optional AppAPI. On a fresh install, AppAPI can use HaRP in a dedicated Alpine VM, independently of the office choice. It is off by default.
- Software and HTTPS. Choose Apache or Nginx independently of MariaDB or PostgreSQL when installing. These choices do not migrate an existing instance. Choose Nextcloud, PHP and database versions and use Let's Encrypt, a supplied certificate, or an external HTTPS proxy.
See the architecture guide and comparison with Nextcloud AIO.
- FreeBSD 15 or later on amd64, ZFS, and root access outside a jail. Use a maintained RELEASE for production.
- An assigned host IPv4 address (static or DHCP), a public hostname, and working DNS. Reserve the address if you use DHCP so forwarding stays stable.
- Prepared host networking and PF, console recovery access, and a second SSH connection.
- Enough memory and storage for the selected workload. Euro-Office, Collabora and HaRP also need working bhyve virtualization.
Defaults are Nextcloud 35, PHP 8.5, Apache and MariaDB 12.3. Untested version choices show a warning but are not blocked by policy; actual installation still depends on package availability and working integration.
Before choosing your stack, see the Nextcloud admin manual’s Nginx configuration guide and database-choice guidance.
The v1.1.0 runtime was qualified on FreeBSD 15.1-RELEASE. Earlier default-profile tests also covered 15.2-STABLE and 16-CURRENT.
From a reviewed checkout or verified unpacked installer, run one as root:
sh install.sh install # Guided terminal wizard
sh install.sh install --config settings.json # JSON recipeRead the installation guide
for host setup, forwarding and the APPLY and KEEP confirmations.
Use examples/ and the recipe guide
to start a settings file. Both paths require attendance, even with --yes.
Use --plain for text prompts.
Open the displayed HTTPS address. Generated credentials are stored in
/var/db/cloud-installer/instances/INSTANCE/secrets.json, readable only by root.
Keep the original installer for Resume and recovery.
sh install.sh status INSTANCE
sh install.sh verify INSTANCE
sh install.sh --helpThe dashboard shows recorded state without checking for updates. self-update
changes only the installer. Rollback requires a previous retained selection.
Eligible completed instances support attended FreeBSD jail ports or Alpine
office VM package updates. Restart affected services yourself and run Verify.
Compatible newer installers can Verify or uninstall eligible completed v1.1 deployments. Uninstall retains application data by default. Its optional database and configuration export is for manual recovery, excludes user files, and is not a full backup.
Manage Nextcloud core, the host OS and jail bases, and Docker images separately. Keep tested backups; fresh deployments do not include installer-managed backup or restore. See Software versions and maintenance.
BSD 3-Clause. Installed applications have their own licences.
