ReCasaOS
Not affiliated with IceWhale. This is an independent, community-maintained distribution of CasaOS. It is not produced, endorsed, sponsored, certified or supported by Shanghai IceWhale Technology Limited or by any of the upstream CasaOS maintainers.
CASAOS is a trademark of Shanghai IceWhale Technology Limited. The name is used here only to identify the upstream project that this software is a distribution of, as permitted for referential use; no rights in the CasaOS name or logo are claimed, and no affiliation is implied.
The original project is IceWhaleTech/CasaOS. Please do not report problems with this distribution to IceWhale — open them at ReCasaOS/CasaOS/issues.
A personal cloud for the home, on your own hardware: a dashboard, an app store, Docker apps, files and shares, backups, alerts, accounts, virtual machines, and a way to reach the box or share an app from anywhere. ReCasaOS is a maintained release of CasaOS after upstream stopped shipping in 2025. It builds on alvins82's fork, which kept CasaOS installable on Docker 29 and Ubuntu 26, and goes on from there. This repository is the core service; the installer, the release pipeline and every change release by release live in CasaOS-Install.
The dashboard, rendered with sample data.
Install
curl -fsSL https://github.com/ReCasaOS/CasaOS-Install/releases/latest/download/install.sh | sudo bashOne command for every supported system and architecture; the installer detects both at run time. Run it again to upgrade, or use the update button in the dashboard, which follows this distribution's releases (Settings > Updates can also offer the pre-releases).
Migrating from IceWhale's or alvins82's installer works the same way, in place, without uninstalling first. The installer stops and restarts the CasaOS services while upgrading, so back up what matters. Afterwards, cat /var/lib/casaos/fork-release prints the distribution release installed. Do not use get.casaos.io/update after migrating: it installs IceWhale's frozen component bundle over this one.
Everything the installer downloads is verified against a SHA-256 digest before extraction. A box sends anonymous statistics (which release it runs, how fast it updated, what kind of hardware), on by default; --no-telemetry on the install line turns them off, and what is sent is listed property by property. If the dashboard says you are on the latest version and never offers an update, run the install command once by hand: hosts installed before CasaOS-Install v0.4.42 polled a feed older than what they ran, and re-running the installer corrects it.
Compatibility
Architectures: amd64, arm64, armv7.
| Tested at every release | Not tested yet | Not supported |
|---|---|---|
Debian 11, 12, 13; Ubuntu 22.04 (amd64, arm64), 24.04, 26.04; Armbian x86 (Trixie); DietPi x86 (Trixie); Linux Mint 22.3 (its os-release on Ubuntu 24.04) | Raspberry Pi OS 64-bit; Raspberry Pi OS 32-bit (Docker 28 at most); LMDE, Pop!_OS, Zorin, elementary | Alpine, OpenWrt, Devuan (no systemd), TrueNAS SCALE, Proxmox VE host, Proxmox Backup Server, Proxmox Mail Gateway |
Every release is installed from scratch by CI right after it is published, in twelve configurations (the systems above, and Docker either current or already installed), and exercised end to end (apps, backup and restore, storage, alerts, logs). A release is offered to boxes only once that check has passed. On a derivative of Ubuntu or Debian the installer adds Docker's own repository for the base release. On a Proxmox VE host Docker cuts the network of the guests: install ReCasaOS in a Debian or Ubuntu VM on it, or pass --allow-proxmox-host. Debian 11 is out of support and its security repository still lists packages it no longer serves: the installer says so and offers to take that repository from archive.debian.org (--use-debian-archive answers yes in advance). The installer's README has the details.
Docker 28 and 29 are tested on every release, and the installer accepts Docker 20 or later. The Docker 29 incompatibility that broke the upstream release is fixed here, without the DOCKER_MIN_API_VERSION workaround. ReCasaOS never updates Docker behind your back: see Updating Docker.
Uninstall
sudo casaos-uninstallWhat ReCasaOS adds to CasaOS
- Apps. A Compose editor and a
.envfor every app, and your own stacks listed as apps. Deploy an app from a git repository, following a branch or its release tags, with a webhook to redeploy on a push and a rollback when a version does not start. Each card says the version the app runs, links its release notes, and reads Unhealthy when a container fails its health check. Updates say what they will do; apps can update by themselves at night, app by app, never during a backup, and a newer version of an image pinned to one is shown. An install says what it is doing, step by step. The files inside a container open in a Files tab, beside Terminal and Logs. An app can be hidden from the dashboard while it keeps running. - Logs and cleanup. A Logs page keeps every app's lines and Docker events in one timeline, live and searchable, across a fleet too. Docker cleanup lists what apps left behind (old versions, build cache, unused images and volumes, the folders of apps that are gone) and frees it, by hand or every week. Docker's data can be moved to another disk, and back.
- Backups. Apps and the box itself, to S3, SFTP, FTP, WebDAV, OneDrive, Google Drive, Dropbox or anything else rclone speaks, optionally encrypted, on a schedule with a retention, a history and a restore. Google Drive, Dropbox and OneDrive sign in from the dashboard. One schedule covers several apps and the box; a running backup shows what it copies and can be stopped; folders can be left out of every backup. A destination can be switched to a restic repository: each backup then costs only what changed, and files keep their owners and permissions. Folder sync keeps a folder of the box in step with a folder of a cloud account, one way or both.
- Alerts. A notification on your phone or an e-mail (ntfy, Telegram, e-mail, Discord, Gotify, Matrix and more) when a backup fails, a disk fails or fills up, a RAID array loses a disk, an app crashes, a container, a virtual machine or the machine stays above a threshold, an update pauses, the night's updates did something, or the weekly cleanup ran. Nothing is sent until you add a channel.
- Storage and files. Software RAID from the Storage manager: its state, an alert when it loses a disk, repair, creation (RAID 0, 1, 5, 6, 10) and RAID 1 to RAID 5. ZFS pools, datasets and snapshots shown where the box has them. A mount that can no longer be read is named instead of breaking the page. In Files: a search by name, starred files and folders, a path you can type or copy, the room left on the drive, a trash that keeps what you delete for thirty days, subtitles in the video player. Shared folders that ask who can open them, with several share accounts per folder and Time Machine shares. Merged storage restored across reboots, and SMB discovery over mDNS and Windows Web Service Discovery.
- Accounts. The owner creates accounts that start with no right. Each can be given a read-only right per area (storage, virtual machines, backups, fleet, system), folders in Files to read or to write, and a network share of its own; an app can be hidden from chosen accounts.
- Remote access and sharing. Remote access puts the box on a private network at the ReCasaOS relay, and a short code adds a phone or a PC to it: the box is reached from anywhere, with no port opened. An app can be shared on the Internet from its card, at an address of its own with its own certificate, behind a CGNAT too. Shared apps can be protected: access codes per person, filtering rules, address and country lists, request limits, automatic bans and a journal, at the box and at the relay.
- Fleet. One box can be the master of your other boxes, wherever they are: each joins with a code and keeps an outbound connection to it, so no port opens on any box. From the master's Fleet page you see every box, its OS, its load, its containers and its virtual machines, start, stop or update them, update ReCasaOS and the system packages on several boxes at once, and follow, start and verify the backups of all of them. Whoever signs in to the master can act on every box: turn on two-factor authentication there.
- Virtual machines and statistics. The optional
virtmodule creates and runs virtual machines from the dashboard, with the console in the browser, snapshots of a machine that is on, and machines that start with the box. A Statistics app shows processor, memory, network, disk and health of every container, every virtual machine and the machine itself, live and over the last 7 days, with resource alerts. - Optional modules. Installed, updated and removed from the Modules page or with
casaos module; a box that does not ask for one downloads none of it. Three are offered:virt(virtual machines),vuln-scan(a nightly scan of the apps' images for known vulnerabilities, with a badge only where an update of the app fixes a critical one, from ReCasaOS-VulnScan) andmcp(an AI assistant you choose reads and manages the box with a token you create, from ReCasaOS-MCP). - System. The update button and the System packages update follow this distribution, and Docker is left out of the latter until you confirm. The dashboard says until when your Debian or Ubuntu release is supported, and a guided upgrade moves Debian 11 to 12, Debian 12 to 13, Ubuntu 22.04 to 24.04 and Ubuntu 24.04 to 26.04 (some of these still in beta). The HTTPS port can be changed or turned off without a restart, and every service also answers to its
recasaos…name. - Security. Passwords stored with argon2id and two-factor authentication. Nothing on the message bus without signing in, a refresh token that opens no route, and no trust in the loopback address as an identity. HTTPS on 443 out of the box. Moving files can no longer delete them, and a leaked download link no longer gives write access. The dashboard no longer sends a machine fingerprint to a third party, and the installer no longer asks one where you are.
- The dashboard. Vue 3, a dark theme, complete French and Brazilian Portuguese translations, and a grouped settings panel. A new dashboard, opt-in, with what needs attention at the top, apps that can be sorted and filtered, and its own navigation on a phone. Files, Terminal, Virtual Machines, Statistics, Logs, Fleet and the App Store open on a tab of their own when asked, and the footer can show the headlines of your own RSS feeds.
The long form is in the installer's README, and every change, release by release, in its changelog.
Opt-in settings in this repository
- A host that owns
/etc/samba/smb.confitself (configuration management, image-built systems) sets[server] SambaMainConfig = externaland putsinclude = /etc/samba/smb.casa.confin its[global]section: CasaOS then writes only that file, and refuses a share change while the line is missing. [file] ManagementRootsconfines the file manager to the directories it names: every path, upload, copy and move is checked, and links that lead out are refused.
Community and contributing
Bug reports and requests go to issues on this repository, whichever component is involved. A vulnerability is reported privately, as SECURITY.md says. Pull requests are welcome on any of the component repositories under ReCasaOS; each has its own release workflow, and the installer pins them.
If ReCasaOS is useful to you, a star on GitHub helps other people find it.
The upstream Discord, wiki and website belong to IceWhale and are not run by this distribution.
Repositories
| Repository | Role |
|---|---|
| CasaOS | this one: system API, files, shares, fleet, updater |
| CasaOS-UI | the dashboard (a submodule here) |
| CasaOS-AppManagement | apps, Compose, git deployments, backups, logs, statistics, the app store client |
| CasaOS-Gateway | reverse proxy in front of every service, HTTPS, who may call what, shared apps |
| CasaOS-UserService | accounts, login, two-factor, rights |
| CasaOS-MessageBus | events between services |
| CasaOS-LocalStorage | disks, volumes, merged storage, RAID, ZFS |
| CasaOS-Common | code the services share |
| CasaOS-VirtManagement | virtual machines, the optional virt module |
| ReCasaOS-VulnScan | vulnerability scan of the apps' images, the optional vuln-scan module |
| ReCasaOS-MCP | an endpoint for AI assistants, the optional mcp module |
| ReCasaOS-Relay | the relay behind remote access, fleets and shared apps, which you can host yourself |
| _appstore | the app catalogue, rebuilt every night |
| CasaOS-Install | the installer and the release bundle |
Development
This repository builds casaos, the core service. Behind the gateway it serves the /v1 API — system information and power actions, listening ports, the file manager (/v1/file, /v1/folder, /v1/batch, /v1/image), Samba shares and accounts (/v1/samba), cloud drivers, and status notifications from the other services (/v1/notify) — together with a /v2 API generated from api/casaos/openapi.yaml. It also polls this distribution's release feed and runs the installer when the dashboard asks for an update.
Its configuration is /etc/casaos/casaos.conf, created on first run from the sample embedded in the binary. Its database and user data live under /var/lib/casaos, its logs under /var/log/casaos, and the shell helpers it shells out to under /usr/share/casaos/shell. The dashboard is the UI submodule and is built separately.
The only requirement is the Go version in go.mod; the Go build does not need the submodule. DEVELOPING.md describes a development environment.
CGO_ENABLED=0 GOOS=linux go build .
go test ./...TestPorts reads the host's own listening sockets, so it fails in a container that has none.
On Linux, with the other component repositories cloned as siblings of this one (../CasaOS-Gateway, ../CasaOS-MessageBus, ../CasaOS-UserService, and optionally LocalStorage, AppManagement and UI), a user-writable process stack binds the Gateway at 127.0.0.1:8081 without root and without writing /etc/casaos. Compose talks to a record-keeping Engine under .dev-runtime/, not to /var/run/docker.sock. Storage lists fixture disks. The file API is confined to .dev-runtime/data. This is not install.sh. Commands, layout, environment variables and limits are in dev/README.md.
./dev/stack.sh
curl -sS http://127.0.0.1:8081/pingBefore the first run, if a sibling repo has no codegen/ directory, run go generate ./... once in CasaOS, CasaOS-UserService, CasaOS-LocalStorage, and CasaOS-AppManagement (that output is gitignored; stack.sh does not generate it).
From CasaOS-UI beside this repo, pnpm dev:stack starts that script and the Vue dev server. rclone is optional; without it, Locations has no cloud drives.
Release packages for amd64, arm64 and armv7 are built on a tag by .github/workflows/release.yml, not on a workstation.
History
CasaOS was created by IceWhale as the pre-installed system of the ZimaBoard. Upstream development moved to their proprietary ZimaOS and the open-source project stopped receiving releases in 2025. alvins82 kept it installable — Docker 29, Ubuntu 26, merged storage fixes, SMB discovery — and this distribution started from his v0.4.39 in September 2026, adding the changes above and a release process that no longer depends on a workstation.
alvins82's fork changelog (August 2026)
- 2026-08-15 — CasaOS Install v0.4.35: Superseded v0.4.34 with exact 64-character SHA-256 values for every architecture, correcting the amd64 and arm/v7 AppManagement package checksums.
- 2026-08-15 — CasaOS Install v0.4.34: Corrected the installer SHA-256 values for the fork packages after v0.4.33 upgrades stopped during checksum verification, and republished the compatibility overlay with the matching release marker.
- 2026-08-15 — CasaOS Install v0.4.33: Published the full fork bundle with CasaOS v0.4.28 and CasaOS-UI v0.4.30, including the systemd power-action and shutdown UI fixes. PRs: CasaOS #26 and CasaOS-UI #15.
- 2026-08-15 — CasaOS v0.4.28: Fixed Dashboard shutdown and restart actions on systemd-based hosts by using explicit systemd power targets, propagating command failures, and advancing the bundled UI to CasaOS-UI v0.4.30. PRs: CasaOS #26 and CasaOS-UI #15.
- 2026-08-15 — CasaOS-UI v0.4.30: Kept restart polling while stopping shutdown reloads and surfacing power API failures. PR: CasaOS-UI #15.
- 2026-08-14 — CasaOS Install v0.4.32: Published the full fork bundle with CasaOS-LocalStorage v0.4.25, which restores persisted merged-storage mounts before creating default
/DATAdirectories. PR: CasaOS-LocalStorage #9. - 2026-08-14 — CasaOS Install v0.4.31: Published the full fork bundle with CasaOS v0.4.27, CasaOS-UI v0.4.29, and CasaOS-LocalStorage v0.4.24. The bundle adds host-level SMB zeroconf discovery through mDNS/DNS-SD and Windows Web Service Discovery without re-enabling SMB1, with optional discovery packages handled gracefully.
- 2026-08-14 — CasaOS v0.4.27: Added host-level SMB zeroconf discovery through Samba mDNS registration and an unprivileged
wsddservice, with LAN-interface selection, administrator-config preservation, and lifecycle integration (CasaOS #23). - 2026-08-13 — CasaOS Install v0.4.30: Published the full fork bundle with CasaOS v0.4.26, CasaOS-UI v0.4.29, and CasaOS-LocalStorage v0.4.24. It creates missing
Documents,Downloads,Gallery, andMediadirectories in external merged storage while preserving systemAppDatabehavior. The only merged PR since v0.4.29 is CasaOS-LocalStorage #7. - 2026-08-13 — CasaOS Install v0.4.29: Published the full fork bundle with CasaOS v0.4.26, CasaOS-UI v0.4.29, and CasaOS-LocalStorage v0.4.23. The bundle includes the Files dialog, single-surface dashboard scrolling, corrected hidden-files icons, storage-volume rename controls, and the matching LocalStorage rename API. PRs: CasaOS #21, CasaOS-UI #11, CasaOS-UI #12, CasaOS-UI #13, CasaOS-UI #14, and CasaOS-LocalStorage #6.
- 2026-08-13 — CasaOS v0.4.26: Advanced the UI submodule to the v0.4.29 component release so Files opens in an App Store-style dialog and the latest dashboard, hidden-files, and storage rename changes ship in the core bundle. PR: CasaOS #21.
- 2026-08-13 — CasaOS-UI v0.4.29: Opened Files in an App Store-style dialog, made the dashboard use one scroll surface, corrected the hidden-files eye glyphs, and added storage-volume rename controls. PRs: CasaOS-UI #11, CasaOS-UI #12, CasaOS-UI #13, and CasaOS-UI #14.
- 2026-08-13 — CasaOS-LocalStorage v0.4.23: Added protected storage-volume renaming and immediate filesystem-label refresh after a successful rename. PR: CasaOS-LocalStorage #6.
- 2026-08-13 — CasaOS Install v0.4.26: Published the full fork bundle with CasaOS v0.4.25, CasaOS-UI v0.4.28, and CasaOS-LocalStorage v0.4.22. The installer verifies the bundled components, compatibility overlay, manifest, and component lock with SHA-256 checksums.
- 2026-08-13 — CasaOS v0.4.25: Added authenticated Debian-family system package updates with live progress and completion reconciliation, kept system storage out of merged
/DATAbranches while preserving/DATA/AppData, advanced fork update discovery, and documented the fork component releases. PRs: CasaOS #16, CasaOS #17, CasaOS #18, CasaOS #19, CasaOS #20, CasaOS-UI #7, and CasaOS-LocalStorage #4. - 2026-08-13 — CasaOS-UI v0.4.28: Added the persistent Show Search Bar setting, removed sidebar clipping, showed physical disk ownership and accurate filesystem usage, and added the in-dashboard system package update flow with completion reconciliation. PRs: CasaOS-UI #8, CasaOS-UI #9, CasaOS-UI #10.
- 2026-08-13 — CasaOS-LocalStorage v0.4.22: Reported nested filesystem usage accurately and retained physical disk ownership in storage entries. PR: CasaOS-LocalStorage #5.
- 2026-08-12 — v0.4.25: Kept system storage out of merged
/DATAstorage while preserving system AppData at/DATA/AppData, so installations on flash drives can use external disks for media storage. - 2026-08-12 — v0.4.21: Fixed fresh one-line installs and CasaOS Storage Manager merges on mergerfs 2.40, including persistent multi-disk pools on Ubuntu 26. PRs: LocalStorage #2, LocalStorage #3, installer #11.
- 2026-08-12 — CasaOS-UI v0.4.25: Added the dedicated merged-storage tab, framed in-page app dialogs like App Store modals, applied the existing CasaOS zoom transition, and retained the close button with responsive full-screen behavior on mobile. PRs: CasaOS-UI #1, CasaOS-UI #3.
- 2026-08-12 — v0.4.21: Added the CasaOS-UI v0.4.21 in-page app launcher so installed apps open inside the dashboard with a close button. Also fixed fresh one-line installs and CasaOS Storage Manager merges on mergerfs 2.40, including persistent multi-disk pools on Ubuntu 26. PRs: CasaOS-UI #2, CasaOS #14, CasaOS-Install #12, LocalStorage #2, LocalStorage #3, installer #11.
- 2026-08-12 — v0.4.20: Fixed OneDrive identity resolution by falling back to
createdBy.user.displayNamewhen Microsoft Graph omitscreatedBy.user.email, and returning a clear error when neither field is available. PR: CasaOS #2530. - 2026-08-11 — v0.4.19: Fixed in-app updates by running the installer outside the CasaOS service process group and preserving upgrade logs. PRs: CasaOS #9, installer #10.
- 2026-08-11 — v0.4.18: Made release naming platform-neutral while retaining automatic distro detection and amd64, arm64, and armv7 packages in one installer. PRs: CasaOS #8, installer #9.
- 2026-08-11 — v0.4.17-ubuntu26.3: Routed dashboard update discovery and installation through CasaOS-Install releases so upstream updates cannot replace fork patches. PRs: CasaOS #7, installer #8.
- 2026-08-11 — v0.4.17-ubuntu26.2: Added Ubuntu 26.04 and Docker 24–29 compatibility, multi-architecture patched components, clean-install and reboot validation, and a single-command installer. PRs: CasaOS #1, AppManagement #1, installer #2.
Upstream credits
CasaOS is the work of IceWhale and its contributors. Their copyright notices are kept throughout the source, as the licence requires.
The file-root confinement (pkg/fileroots) is derived from EdmundFu-233/ReCasaOS pkg/filesecurity, Apache License 2.0.
Licence
Apache License 2.0 — see LICENSE. CasaOS and the CasaOS logo are marks of IceWhale; this distribution uses the name to say what it is a release of, and nothing more.