Commit Graph

184 Commits

Author SHA1 Message Date
Peter Wood
82d8e63ed7 added ssh-agent 2025-06-10 21:36:44 -04:00
Peter Wood
36b4f5c667 Remove obsolete backup and validation scripts for Plex Media Server
- Deleted `restore-plex.sh.sc2162_backup`: This script provided a comprehensive restoration process for Plex Media Server backups, including validation and logging features.
- Deleted `test-plex-backup.sh.sc2086_backup`: This script served as a comprehensive test suite for the Plex backup system, covering unit tests, integration tests, and performance benchmarks.
- Deleted `validate-plex-recovery.sh.sc2086_backup`: This script was responsible for validating the success of Plex database recovery operations, ensuring database integrity and service functionality.
2025-06-09 06:45:43 -04:00
Peter Wood
11c110d729 feat: Enhance documentation and add porcelain mode support for improved automation in plex scripts 2025-06-09 06:44:06 -04:00
Peter Wood
16dd496c31 feat: Add color support toggle for improved output in plex.sh and update.sh 2025-06-08 20:47:23 -04:00
Peter Wood
6b90447b30 fix: Improve sudo privilege check and provide user guidance for password prompts 2025-06-08 20:06:18 -04:00
Peter Wood
c698813d6b refactor: Update output formatting and enhance log retrieval in plex.sh 2025-06-08 19:46:29 -04:00
Peter Wood
9bb5545268 fix: Ensure proper ownership of backup files after copying in backup-plex.sh 2025-06-06 08:24:38 -04:00
Peter Wood
b76a9632c3 fix: Correct variable declaration order and improve output formatting in show_loading function 2025-06-06 07:59:07 -04:00
Peter Wood
58b5dea8b4 Refactor variable assignments and improve script readability in validate-plex-backups.sh and validate-plex-recovery.sh
- Changed inline variable assignments to separate declaration and assignment for clarity.
- Updated condition checks and log messages for better readability and consistency.
- Added a backup of validate-plex-recovery.sh for safety.
- Introduced a new script run-docker-tests.sh for testing setup in Docker containers.
- Enhanced ssh-login.sh to improve condition checks and logging functionality.
2025-06-05 17:14:02 -04:00
Peter Wood
c3f237a321 feat: Revamp system update script with enhanced logging, error handling, and package manager detection 2025-06-05 08:40:20 -04:00
Peter Wood
b9d946bfb5 formatting 2025-06-05 07:53:59 -04:00
Peter Wood
0123fc6007 feat: Add comprehensive Plex recovery validation script
- Introduced `validate-plex-recovery.sh` for validating Plex database recovery.
- Implemented checks for service status, database integrity, web interface accessibility, API functionality, and recent logs.
- Added detailed recovery summary and next steps for users.

fix: Improve Debian patching script for compatibility

- Enhanced `debian-patches.sh` to securely download and execute bootstrap scripts.
- Updated package mapping logic and ensured proper permissions for patched files.

fix: Update Docker test scripts for better permission handling

- Modified `run-docker-tests.sh` to set appropriate permissions on logs directory.
- Ensured log files have correct permissions after test runs.

fix: Enhance setup scripts for secure installations

- Updated `setup.sh` to securely download and execute installation scripts for zoxide and nvm.
- Improved error handling for failed downloads.

fix: Refine startup script for log directory permissions

- Adjusted `startup.sh` to set proper permissions for log directories and files.

chore: Revamp update-containers.sh for better error handling and logging

- Rewrote `update-containers.sh` to include detailed logging and error handling.
- Added validation for Docker image names and improved overall script robustness.
2025-06-05 07:22:28 -04:00
Peter Wood
8b514ac0b2 feat: Implement backup TUI with enhanced refresh functionality and consistent build system 2025-06-04 08:57:09 -04:00
Peter Wood
780e78f132 feat: Update backup script to disable interactive mode by default and add command-line option for enabling it 2025-06-04 08:02:21 -04:00
Peter Wood
f202301529 feat: Implement comprehensive security enhancements in restoration scripts, including path validation, SQL injection prevention, and improved container management 2025-06-03 17:37:30 -04:00
Peter Wood
bc6958b74b feat: Enhance restoration script with disk space validation and improved PostgreSQL readiness checks 2025-06-03 15:19:03 -04:00
Peter Wood
c1479a8b0c feat: Implement comprehensive restore functionality for Immich
- Added `restore-immich.sh` script to handle complete restoration from backups.
- Implemented database restoration with integrity checks and error handling.
- Added uploads restoration with proper ownership and permissions setup.
- Introduced validation script `validate-immich-backups.sh` for backup integrity checks.
- Created test suite `test-immich-restore.sh` to validate restoration functionality with mock data.
- Enhanced logging and notification features for restoration processes.
- Updated README.md with detailed usage instructions for backup and restore workflows.
2025-06-03 14:38:55 -04:00
Peter Wood
48e51fa094 feat: Enhance backup script documentation and workflow for shared storage integration 2025-06-03 12:35:08 -04:00
Peter Wood
4ebf1ca87d removed test file 2025-06-03 11:58:49 -04:00
Peter Wood
94dc0e6c5b feat: Add Plex scripts documentation and enhance monitoring script with detailed checks and recommendations 2025-06-03 08:59:11 -04:00
Peter Wood
6e6b263c53 feat: Add convenience script and documentation for SKIP_OLLAMA feature in setup 2025-06-02 13:29:30 -04:00
Peter Wood
20a19230d8 formatting 2025-06-02 10:39:45 -04:00
Peter Wood
a49d3743fb old copy of binary 2025-06-02 09:20:52 -04:00
Peter Wood
b94c41f3f2 feat: Enhance backup details display and support for scheduled backups in directory loading 2025-06-01 21:33:26 -04:00
Peter Wood
c38dd066f7 feat: Remove unused features and enhance backup file browsing functionality 2025-06-01 19:17:36 -04:00
Peter Wood
5b249c89bd feat: Update README for Backup File Browser TUI and remove demo script 2025-06-01 17:32:32 -04:00
Peter Wood
209b855977 feat: Refactor logging system to use local log directory and add synchronization and cleanup functions 2025-06-01 13:22:06 -04:00
Peter Wood
6811d2ba5e feat: Enhance Plex backup validation script with optional file handling and dependency checks 2025-06-01 10:34:33 -04:00
Peter Wood
90c6033a95 feat: Add backup viewer and enhance backup management features in TUI
refactor: Improve backup item structure and add detailed descriptions for services
feat: Implement loading of backup directories and log files with detailed information
feat: Enhance file content loading with size limits for display
2025-06-01 09:47:18 -04:00
Peter Wood
e81d895630 fix: Update .env file download source from gist to git repository 2025-05-31 11:09:00 -04:00
Peter Wood
f1ed75a6d4 refactor: Remove golang-go from essential package list for shell setup 2025-05-30 19:30:52 -04:00
Peter Wood
7a7dd76bb9 feat: Enhance setup script to download .env configuration and create fallback template for Fabric AI providers 2025-05-30 17:51:56 -04:00
Peter Wood
696f91e928 feat: Implement SKIP_OLLAMA feature for optional setup without Ollama installation and add documentation
refactor: Enhance .profile for Go path management and environment variable setup
2025-05-30 17:34:05 -04:00
Peter Wood
bdda278408 refactor: Improve .profile for shell compatibility and PATH management 2025-05-30 17:17:27 -04:00
Peter Wood
d6c76ac146 Fix TUI newline display issue
- Add processEscapeSequences() function to convert literal \n to actual newlines
- Apply fix to backup success, error, and running output displays
- Add TUI binary to gitignore
- Include comprehensive documentation of the fix

Resolves issue where backup output showed literal escape sequences
instead of properly formatted text with line breaks.
2025-05-30 10:03:43 -04:00
Peter Wood
374da47bf5 refactor: Clean up whitespace and improve formatting in backup update logic 2025-05-30 08:57:28 -04:00
Peter Wood
137e5e8e2f feat: Update Go installation method to use package manager and adjust environment variables 2025-05-30 08:57:10 -04:00
Peter Wood
f2c415cc1b Add test script for Enhanced Backup TUI Features
- Implement a comprehensive test script to validate the enhanced functionality of the Backup TUI.
- Include tests for compilation, startup, feature validation, backup script integration, dependency checks, performance, and documentation.
- Utilize color-coded output for better readability of test results.
2025-05-30 07:24:03 -04:00
Peter Wood
3ce2b687ac feat: Add Docker deployment manager and stack assignment helper scripts
- Introduced `docker-deployment-manager.sh` for managing Docker stack deployments across multiple servers, including initialization, deployment, and status checks.
- Added `stack-assignment-helper.sh` to analyze Docker stacks and suggest server assignments based on predefined patterns.
- Removed outdated `SETUP_COMPLETE.md` file as it is no longer relevant to the current setup process.
- Ref - Documentation review #11
2025-05-29 18:19:37 -04:00
Peter Wood
a05f5c6d9d feat: Integrate Ollama and Fabric with Docker setup and testing scripts 2025-05-29 16:59:32 -04:00
Peter Wood
f022215ac1 Add Docker Deployment Manager and supporting scripts
- Introduced `docker-deployment-manager.sh` for managing Docker stack deployments across multiple servers, including initialization, deployment, and status checking.
- Created `docker-stack-deployment-strategy.md` to outline deployment strategies and server-specific stack mappings.
- Added `stack-assignment-helper.sh` to analyze Docker stacks, suggest server assignments, and generate deployment configurations based on predefined patterns.
2025-05-29 15:05:20 -04:00
Peter Wood
9d09181085 feat: Add Backup-Env-Files Safety Guide documentation 2025-05-29 14:24:38 -04:00
Peter Wood
1cd2dace22 removed since the Tailscale ACLs are maintained in <https://github.com/acedanger/tailscale> 2025-05-29 13:13:07 -04:00
Peter Wood
4bdcc23822 feat: Add .env files backup and validation to crontab schedule 2025-05-29 13:08:21 -04:00
Peter Wood
b58327c3f0 refactor: Remove deprecated aliases and clean up my-aliases.zsh files 2025-05-29 11:43:16 -04:00
Peter Wood
73c5f64652 Merge branch 'main' of github.com:acedanger/shell 2025-05-29 11:25:13 -04:00
Peter Wood
be4f6a8d8c Commit local changes before merging with remote 2025-05-29 11:25:02 -04:00
Peter Wood
868b340fb5 guess what file I'm going to delete soon? 2025-05-29 11:13:28 -04:00
Peter Wood
c9322d7277 refactor: Improve mirror selection feedback in package installation process 2025-05-29 07:34:23 -04:00
Peter Wood
3763c92b2a Merge branch 'main' of https://github.com/acedanger/shell 2025-05-29 07:32:02 -04:00