Commit graph

26 commits

Author SHA1 Message Date
Roland
963c7e139c
fix: remove bzip install command (agent can figure it out) (#2246) 2026-04-21 20:59:46 +07:00
Roland
0a36ebaf65
chore: make install and update scripts more agent-friendly (#2245)
The download was too verbose.
This lead to the agent unable to read the whole output.
It then made incorrect decisions on what to do next.
2026-04-21 13:58:40 +07:00
molty21
e963d6a2bf
feat: make installation scripts agent-friendly with CLI args (#2144)
* feat: make installation scripts agent-friendly with CLI args

Add command-line argument support to install.sh and update.sh for both
x86_64 and aarch64 architectures:

- -d, --install-dir DIR    Set installation directory
- -s, --systemd            Auto-setup systemd service (install only)
- --no-systemd             Skip systemd setup (install only)
- -y, --yes                Non-interactive mode (auto-confirm prompts)
- -h, --help               Show usage information

This allows agents and automation tools to run the scripts without
interactive prompts, making them suitable for CI/CD pipelines and
automated deployments.

* fix: add argument validation for --install-dir flag

Add validation to ensure -d/--install-dir is provided with a valid value:
- Checks that argument exists (not empty)
- Checks that argument doesn't start with '-' (not another flag)
- Exits with error message if validation fails

Fixes CodeRabbit review feedback on PR #2144.

* feat: add --skip-verify flag to skip verification step

Add --skip-verify flag to install and update scripts:
- linux-x86_64/install.sh
- linux-x86_64/update.sh
- linux-aarch64/install.sh
- linux-aarch64/update.sh

When --skip-verify is passed, the scripts skip downloading and
calling verify.sh entirely.

Usage: ./install.sh --skip-verify

* fix: ensure install dir does not contain whitespace

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Apply suggestion from @rolznz

* Apply suggestion from @coderabbitai[bot]

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Apply suggestion from @rolznz

* Update scripts/linux-aarch64/install.sh

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: molty21 <moltbot21@agentmail.to>
Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-03-16 19:24:43 +07:00
Sergey B.
9701c726ac
Making shell scripts POSIX compliant (#2015)
* feat: usage of rsync for backups

* refactor: making scripts POSIX compliant
2026-02-26 12:19:30 +07:00
Adithya Vardhan
76a11c1765
chore: set stop grace period to 5 mins (#1637)
* chore: set stop grace period to 5 mins

* chore: add albyhub-data to gitignore

---------

Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2025-08-21 17:06:30 +07:00
Matjaž Lipuš
e0a51ba0c3
chore: rename LOG_EVENTS env variable (#1509)
* renamed config

* updated configs

* chore: renamed to SEND_EVENTS_TO_ALBY
2025-07-18 21:42:59 +07:00
Roman D
004884c07f
feat: verify package signatures (#1220)
* feat: archive integrity verification WIP

* feat: archive integrity verification in the aarch64 update script

* chore: extract verification into a separate file

* feat: add signature verification to all installation and update scripts

* fix: pass correct filenames when invoking the verification script
2025-04-15 23:54:58 +07:00
Roland
39a0fce839
chore: linux update script improvements (#978)
* chore: linux update script improvements

- add missing newlines
- use pwd to get current absolute directory, remove /albyhub suffix
- add file check to test if user is running in correct directory

* fix: script dir in update.sh
2025-01-17 13:35:13 +07:00
Roland
24ad1f2a7f
fix: use a less-used port for the alby hub service so it doesn't conflict with other running apps (#690)
* fix: use a less-used port for the alby hub service so it doesn't conflict with other running apps

* doc: improve alby hub port documentation

Co-authored-by: Michael Bumann <hello@michaelbumann.com>

---------

Co-authored-by: Michael Bumann <hello@michaelbumann.com>
2024-09-22 11:17:16 +07:00
Roland
db658952a9
doc: add info about changing PORT in albyhub.service (#679)
* doc: add info about changing PORT in albyhub.service

* doc: add extra service instructions

* doc: link to editing the service section
2024-09-20 15:55:51 +07:00
Fmar
3d0f02b9f9
fix rpi-install shared-libs/setcap conflict for non-root user (#622)
* add albyhub lib dir to ld.so.conf to allow setcap and shared libs + install lsof

* fix sudo tee

* remove lsof install + checking of port 80

* remove -a from tee

* chore: update install scripts

---------

Co-authored-by: Michael Bumann <hello@michaelbumann.com>
2024-09-06 16:09:40 +02:00
Michael Bumann
49449f0dfc
chore: better handle ports on Pi and allow albyhub to run on port 80 (#584)
* chore: better handle ports on Pi and allow albyhub to run on port 80

* chore: install script: create data dir before running docker compose

* chore: install script for pi-aarch64

* chore: pi-zero move lib folder on update

* chore: replace (not append) files in install scripts

* chore: install text
2024-09-06 10:32:26 +02:00
BtcPins
f53e9e1444
Update README.md
Add command to make the install script executable in the instructions.
2024-08-28 14:29:33 -07:00
Michael Bumann
0577960adf
chore: remove adduser commmand example (#415)
The user should do their own basic server seutp. 
this links to a tutorial.
2024-08-07 21:58:47 +07:00
Michael Bumann
6227c3e582 chore: improve error handling for install script
exit on error and proper exit code check
2024-08-06 20:17:08 +02:00
Michael Bumann
4c18fc5416
feat: improve install scripts for linux (#395)
* feat: improve install scripts for linux

this adds a default linux installation script to download and run Alby
Hub on a plain Linux machine.

* chore: download separate update script

* chore: add example Caddyfile

to setup Alby Hub with a Caddy reverse proxy for TLS

* Update scripts/linux-x86_64/README.md

Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com>

* chore: move pi install scripts in special folder

* chore: note about memory

* chore: typo

---------

Co-authored-by: Roland <33993199+rolznz@users.noreply.github.com>
2024-08-06 20:35:03 +03:00
Michael Bumann
a137474d09
Render.com phoneixd (#280)
* chore: default protocol for phoenixd

some environments can only provide the host and port for internal services (e.g. render.com)
in those cases we default to http

* feat: add render.com config for phoneixd deployment

This allows one click deploys to render.com with a phoenixd backend

* Update render.yaml
2024-07-20 00:21:33 +07:00
Roland Bewick
3088373477 chore: rename everything to alby hub 2024-07-05 20:32:40 +07:00
Michael Bumann
0f3a2855ae
Update README.md 2024-06-29 22:19:56 +03:00
Michael Bumann
4eb6d0ebe8
Update README.md 2024-06-29 19:25:58 +03:00
Michael Bumann
149ad8ac21
phoenixd readme 2024-06-29 19:23:04 +03:00
Michael Bumann
44c1edc847
update phoenixd container name to prevent potential conflicts 2024-06-29 19:20:53 +03:00
Michael Bumann
7c9b95f1e2
Update README.md 2024-06-29 19:18:36 +03:00
Michael Bumann
653908d057
readme phoenixd 2024-06-29 19:17:17 +03:00
Michael Bumann
192926d456
chore: use new download URL (#525) 2024-06-28 13:38:05 +03:00
Michael Bumann
85381b9183
Build linux http executables (#480)
Co-authored-by: Roman Dmitrienko <roman@dmitrienko.com>
Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2024-06-25 22:04:30 +07:00