Commit Graph

15 Commits

Author SHA1 Message Date
Ognjen Djukic da7bf7107a VPS bootstrap: unlock the deploy user and give it passwordless sudo
useradd leaves the password field as '!'. After hardening sets UsePAM no,
sshd treats that account as locked and refuses even key logins, so the
bootstrap stopped with 'Key login failed after hardening'. Set the field to
'*' (no password, not locked).

The key-only deploy user has no password, so sudo for install-rubix.sh and
up.sh could never succeed. Add /etc/sudoers.d/90-rubix-<user> with NOPASSWD,
checked with visudo, and install sudo if the image lacks it.
2026-10-26 13:59:50 +01:00
Sinisa Madzar 570f56adde Expand rubix-deploy README for Debian 13, profiles, and tenancy
- Note install flow is tested on Debian 13 (Trixie) in VPS setup steps
- Document COMPOSE_PROFILES default and optional metabase/mailcow stacks
- Explain Metabase auto sign-in and group-scoped analytics
- Add multi-company layout: shared server via work groups vs one VPS per tenant
2026-06-05 12:51:57 +02:00
Sinisa Madzar e845d35344 Document CMS Software Update panel and permissions
- Explain enabling Software Update (gru) in Users Permissions before panel use
- Describe install-only, install+trigger reload, and up.sh-only options
- List required .env settings, log paths, and manual SSH equivalents
2026-06-05 12:32:36 +02:00
Sinisa Madzar 9f79e35401 Split README command sequences into single-command copy blocks
- Refactor setup and maintenance sections so each shell command is in its own fenced code block
- Improve step-by-step execution clarity for operators running VPS bootstrap and deploy workflows
2026-06-02 16:58:23 +02:00
Sinisa Madzar f6ebd35391 Move manual deploy commands into optional section in setup guide
- Reclassify SQL migration, certbot, dialer, and release-update commands as extra/manual operations
- Keep the main install path focused on classic up.sh workflow without optional maintenance steps
2026-06-02 16:46:22 +02:00
Sinisa Madzar cbc6ecf14c Auto-clean stale SSH known_hosts entries in VPS bootstrap flow
- Remove existing host and host:port fingerprints before first password login test
- Prevent host key mismatch failures when reprovisioned VPS reuses the same IP or alias
2026-06-02 15:33:11 +02:00
Sinisa Madzar ecae54e70e Clarify DNS requirement timing in rubix-deploy setup guide
- Update README section 2 to state DNS A/AAAA record alignment while editing .env
- Reduce setup ambiguity by tying domain host values and DNS changes to the same step
2026-06-02 15:19:06 +02:00
Sinisa Madzar 579822726f Install certbot on new VPS during install-rubix
- Add certbot to apt packages so host-side Let's Encrypt works before first docker-cms-certbot
2026-06-01 12:52:53 +02:00
Sinisa Madzar 14f180be2c Use rsync for release unpack so install can be re-run safely
- Replace mv flatten with rsync merge into /home/www/callcenter
- Drop stale rubix/ extract dirs before unzip after a failed run
2026-06-01 08:14:47 +02:00
Sinisa Madzar 0b1f1040b9 Fix Docker Compose install on Debian without compose apt package
- Install docker.io only; add compose plugin from apt or GitHub release
- Fail clearly if docker compose is still missing after install
- README notes Compose v2 fallback on Debian
2026-06-01 08:09:48 +02:00
Sinisa Madzar 9e60ae40cc Install Docker in step 1; document registry login in step 2
- install-rubix.sh: apt install docker.io and compose plugin, enable daemon
- README: step 1 lists Docker install; step 2 keeps docker login before up.sh
2026-06-01 08:06:38 +02:00
Sinisa Madzar ea1dd13c22 Clarify Gitea token prompt on install-rubix.sh
- Plain instructions where to get the token and that input is hidden
2026-06-01 07:58:43 +02:00
Sinisa Madzar 0d27eb7463 Add bootstrap-vps-ssh and full server install README
- Move SSH bootstrap from rubix; wget from public rubix-deploy on PC
- README steps 0–5 and updates match former rubix install flow
2026-06-01 07:37:36 +02:00
Sinisa Madzar 48a920c0db Remove Internal-repo wget note from README
- rubix-deploy is public; plain wget is enough for install-rubix.sh
2026-05-31 22:44:48 +02:00
Sinisa Madzar 7060b5682c Add VPS step-1 installer for Rubix releases
- install-rubix.sh: apt update/upgrade, token prompt, download rubix zip into /home/www/callcenter
- Document clone/raw URLs for rubix-deploy; ignore downloaded zip artifacts
2026-05-31 22:27:35 +02:00