Skip to content

Twake Workplace: rename Cozy and check it against upstream - #447

Merged
jackspiering merged 3 commits into
mainfrom
twake-workplace
Nov 30, 2026
Merged

jackspiering merged 3 commits into
mainfrom
twake-workplace

Conversation

@jackspiering

@jackspiering jackspiering commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Cozy is now Twake Workplace. Linagora develops it, the website is twake.app, and the linagora/cozy-stack repository is titled "Twake Workplace". This PR renames the stack and checks it against the current upstream.

  • Folder: services/cozy moves to services/twake-workplace. The first commit only moves it, so GitHub shows a rename.
  • Name: the README title and the root README.md row are "Twake Workplace". The README says:
    • It was formerly Cozy, and the server is still called cozy-stack.
    • The stack runs the personal cloud only. It doesn't include the other Twake apps such as Chat and Mail, which Linagora ships as a separate deployment of about 30 images.
  • SERVICE is twakeworkplace, without the hyphen.
    • The stack needs the flat subdomain layout, because MagicDNS has no names below a device name.
    • In that layout, cozy-stack rejects an instance name with a hyphen in its first label (validateDomain in model/instance/lifecycle/helpers.go).
    • check-service-list.sh now allows "directory name without hyphens" for the folders in no_hyphen_service, and only for those.
    • AGENTS.md and CONTRIBUTING.md describe the exception, and the README documents it under "Deviations from the standard setup".
  • Upstream check:
    • The image is still cozy/cozy-stack. The latest tag, 1.6.74, was published on 2026-11-25.
    • The upstream Compose repository cozy/cozy-stack-compose still uses couchdb:3.3, the same cozy.yml, and nofile: 65536. The stack already matches it, so compose.yaml only gets a comment.
    • The self-hosting docs on docs.cozy.io are still current.
    • The source code link now points to linagora/cozy-stack, where the repository moved, and the Links section adds the Twake Workplace website.
  • New Troubleshooting entry: cozy-stack installs the apps from apps-registry.cozycloud.cc, and a DNS filter such as AdGuard Home or Pi-hole can block that domain. The fix is to allow the domain or to use the optional dns block. The DNS of the test host blocked it, which is how this came up.
  • Unchanged on purpose:
    • The CouchDB user cozy, which existing databases use.
    • The upstream paths and names in the cozy-stack configuration.
  • No icon: selfh.st has no Twake Workplace or Cozy icon, so the stack has no x-arcane block.

Related Issues

  • None.

Verification

  • docker compose config --quiet with dummy values for required variables in services/twake-workplace, without warnings.
  • The stack started from a copy with SERVICE=rvtesttwake and the optional dns block. All six containers became healthy, and the four Tailscale devices joined with the expected names. Serve answered on all four devices:
    • The main device returned 200.
    • The home, settings, and drive devices redirected to the instance for login.
  • Main function:
    • The README's cozy-stack instances add --apps home,settings,drive created the instance and installed the three apps from the Cozy app registry.
    • A file uploaded through the Tailnet address with a CLI token read back unchanged.
    • After docker compose down and up -d, the file was still there, and the devices kept their names.
    • The health check commands of cozy-stack and CouchDB succeeded with docker exec.
  • rumdl check --config .markdownlint.yml . (0.3.0) on the whole repository, and git diff --check origin/main.
  • Other checks:
    • check-service-list.sh passes, and it reports an error when SERVICE is twake-workplace.
    • check-sidecar.sh and shellcheck pass.
    • The registry is rebuilt.
  • Not tested: setting the password through the registration link in a browser. The link answered 200.

Impact on existing users

  • Users of the Cozy stack keep SERVICE=cozy in their .env. Their instance is named after cozy.<tailnet>.ts.net, so a new SERVICE would start four new devices that don't match it. The README's Upgrading section says this, and documentation/renamed-stacks.md has the row and the steps for a stack that runs in the clone.
  • Links to services/cozy return 404.

Checklist

  • I have performed a self-review of my code and followed the templates structure.
  • I did not commit a working auth key, password, token, or other credential.
  • The service README uses the headings of the template, in the same order, and is up to date.
  • I added, removed, or renamed the service in the root README.md, in alphabetical order, or this PR does not change the list of services.
  • I ran python3 .github/scripts/build-arcane-registry.py and committed arcane-registry.json if it changed.

Additional Context

  • None.

@jackspiering
jackspiering marked this pull request as ready for review November 28, 2026 20:16
@jackspiering
jackspiering marked this pull request as draft November 30, 2026 18:49
@jackspiering
jackspiering marked this pull request as ready for review November 30, 2026 19:01
Base automatically changed from stack-names to main November 30, 2026 19:39
Only moves the folder. The next commit updates its content.
Cozy is now Twake Workplace, and Linagora titles the cozy-stack repository
that way. The stack keeps the cozy/cozy-stack image and its configuration,
which still match the upstream Compose repository.

SERVICE is twakeworkplace, without the hyphen of the folder name, because
cozy-stack rejects an instance name with a hyphen in the flat subdomain
layout that this stack needs. check-service-list.sh allows that exception
for the folders in no_hyphen_service, and AGENTS.md and CONTRIBUTING.md
describe it. The README tells existing users to keep SERVICE=cozy, since
their instance is named after that address.
@jackspiering
jackspiering merged commit 949e3cb into main Nov 30, 2026
3 checks passed
@jackspiering
jackspiering deleted the twake-workplace branch November 30, 2026 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants