Commit Graph

130 Commits

Author SHA1 Message Date
Peter Wood
fbd0bf5852 feat: Enhance Plex Media Server management script with detailed status and loading animations 2025-05-25 23:50:45 -04:00
Peter Wood
b8a3c98297 feat: Add enhanced backup-media script and documentation
- Introduced demo-enhanced-backup.sh to showcase new features.
- Created backup-media-enhancement-summary.md for a side-by-side comparison of original and enhanced scripts.
- Developed enhanced-media-backup.md detailing features, usage, configuration, and error handling of the new backup script.
- Enhanced logging, error handling, and performance monitoring capabilities.
- Added support for multiple media services with improved safety and maintenance features.
2025-05-25 23:35:47 -04:00
Peter Wood
7e2bfd451b Add monitoring dashboard for Plex backup system
- Created a new script `monitor-plex-backup.sh` for real-time status and health monitoring of the Plex backup system.
- Implemented features to check system status, backup status, performance metrics, recent activity, scheduling status, and health recommendations.
- Added command line options for watch mode and refresh interval.
- Enhanced logging with color-coded output for better visibility.

Update recent additions script to include more metadata

- Modified `plex-recent-additions.sh` to retrieve additional metadata fields such as year and library section type from the Plex database.
- Improved SQL query to join with library_sections for better context on added items.

Introduce comprehensive test suite for Plex backup system

- Added `test-plex-backup.sh` to provide automated testing for all backup-related functionality.
- Implemented unit tests for JSON log initialization, performance tracking, notification system, checksum caching, backup verification, and more.
- Included setup and cleanup functions for a mock test environment.
- Added performance benchmarks for checksum calculation and compression.
- Generated detailed test reports in JSON format for better tracking of test results.
2025-05-25 23:07:37 -04:00
Peter Wood
a68a1cc4ba Add enhanced backup and restoration scripts for Plex Media Server with validation and monitoring features 2025-05-25 19:53:23 -04:00
Peter Wood
aa854588a5 Add Immich Postgres database backup script with error handling and compression 2025-05-25 19:38:46 -04:00
Peter Wood
bd1b0164f5 Update aliases; added dcpull, corrected cat, fd, and added batcat as a preview option of fzf 2025-05-23 12:45:16 -04:00
Peter Wood
b674c0a95b Refactor alias management and improve bootstrap process for Zsh 2025-05-19 16:26:36 -04:00
Peter Wood
34260be460 Enhance setup scripts to detect OS and determine package manager
- Improved OS detection in bootstrap.sh and setup.sh to handle unsupported OS cases.
- Added a function to determine the package manager (nala, dnf, apt) based on the detected OS.
- Updated package installation commands to use the appropriate package manager.
- Enhanced user feedback with colored output for better visibility during setup and updates.
2025-05-16 10:24:13 -04:00
Peter Wood
9837019ebd changed git pull alias (gp => gpull) 2025-05-14 15:56:18 -04:00
Peter Wood
5084b8c9ee Merge branch 'main' of https://github.com/acedanger/shell 2025-05-14 15:52:37 -04:00
Peter Wood
734dedb58b added alias for fzf with preview using batcat 2025-05-14 15:52:30 -04:00
Peter Wood
43be94c141 added fd-find 2025-05-14 15:38:52 -04:00
Peter Wood
d0cd55b1fb restored contents I inadvertantly removed. oopsy 2025-05-14 15:14:53 -04:00
Peter Wood
f78dbdab44 added fd-find and set alias fd 2025-05-14 14:49:51 -04:00
Peter Wood
d7a15cf11d refactor: update startup script path and remove legacy file 2025-05-12 15:25:53 -04:00
Peter Wood
7d3d225b0a renamed 'shell-setup' to 'setup' 2025-05-12 15:16:35 -04:00
Peter Wood
52492f9218 Add Docker test scripts for setup validation
- Created run-docker-tests.sh to execute setup tests in isolated Docker containers (Ubuntu and Debian).
- Implemented logging functionality to track test results and errors.
- Added startup.sh to ensure proper permissions and run tests within Docker containers.
- Developed test-setup.sh to validate bootstrap.sh and setup.sh scripts, including package availability checks.
- Enhanced error handling and reporting for package installations and missing dependencies.
- Included detailed logging for system information and test results.
2025-05-12 14:16:03 -04:00
Peter Wood
9a941d1752 Enhance setup and testing scripts for improved package management and logging
- Updated setup.sh to check for Nala installation and provide alternative installation methods based on Ubuntu version.
- Added error handling for package installation, allowing fallback to apt if Nala fails.
- Introduced startup.sh to perform container startup checks, including system info and permissions for logs directory.
- Created test-setup.sh to validate bootstrap and setup scripts, including detailed logging of package availability and installation results.
- Implemented checks for missing packages and provided recommendations for manual installation.
- Enhanced logging for better traceability of actions and errors during setup and testing processes.
2025-05-12 13:59:15 -04:00
Peter Wood
78d64d5ee5 fix: add logs directory to .gitignore 2025-05-12 13:24:17 -04:00
Peter Wood
3c7307ed48 Fix Nala repository setup in setup.sh
- Changed Nala installation approach to use more reliable methods
- First try to use Nala from standard repositories if available
- Fall back to Ubuntu PPA if not available in standard repos
- Removed reliance on the Volian repository key that was causing 404 errors
2025-05-12 07:08:48 -04:00
Peter Wood
0cd9c5219d Refactor repository structure and add new features
- Reorganized repository structure by moving dotfiles into a dedicated subdirectory
- Updated bootstrap.sh and setup.sh scripts to reference the new file paths
- Fixed Nala repository GPG key setup to use gpg --dearmor for proper key format
- Added Lazydocker installation to the setup script for Docker management
- Updated README.md with references to new paths and additional features
- Added documentation for Lazydocker in the dotfiles README.md
- Updated all symlink paths to point to the new dotfiles location
2025-05-12 07:02:14 -04:00
Peter Wood
b73d4a2c3b Merge branch 'main' of github.com:acedanger/shell 2025-04-11 13:25:32 +00:00
Peter Wood
b9a8058dd5 fix: improve error handling for plexmediaserver.service checks and add Oh My Zsh upgrade script execution 2025-04-11 13:25:30 +00:00
Peter Wood
89e0336754 feat: add scripts for event log size monitoring and old file removal 2025-03-29 13:03:06 -04:00
Peter Wood
3f6b73a3a0 moved to acedanger/dotfiles 2025-03-19 14:47:10 -04:00
Peter Wood
a2ddf90a8c fix: ensure Terminal-Icons and PSReadLine modules are installed before importing in PowerShell profile 2025-03-19 14:38:50 -04:00
Peter Wood
888d3173db added powershell profile 2025-03-19 14:29:53 -04:00
Peter Wood
e71ca59d1c feat: add documentation for backup-media, folder-metrics, and plex management scripts 2025-03-13 18:31:47 -04:00
Peter Wood
6eeaae32b1 fix: change log file extension from .log to .md in backup-media.sh 2025-03-13 20:07:14 +00:00
Peter Wood
c5eeae1b33 fix: remove unnecessary separator line from log_file_details in backup-media.sh 2025-03-13 16:05:52 -04:00
Peter Wood
75a8c782bb feat: enhance backup-media.sh with logging and additional backups for jellyseerr 2025-03-13 15:44:00 -04:00
Peter Wood
280baf8357 added omz update 2025-03-11 09:39:02 -04:00
Peter Wood
f364a1a245 scraping the plex database 2025-03-06 19:40:17 +00:00
Peter Wood
d6ed3c5bce added script to update .zshrc from dotfiles if newer 2025-03-05 22:00:49 +00:00
Peter Wood
ecac77e1e5 fix: update update.sh to use custom plex script for stopping and starting the service 2025-03-05 09:39:26 -05:00
Peter Wood
4fc7c00a0d fix: update ssh-login.sh to exclude specific remote host from session initiation 2025-03-05 09:39:15 -05:00
Peter Wood
afe3f98e26 added script to update and manage plexmediaserver service with nala 2025-03-05 14:29:22 +00:00
Peter Wood
39e5958c6e fix: correct comment formatting in backup-docker.sh for clarity 2025-03-05 14:13:24 +00:00
Peter Wood
02013e8c08 refactor: replace folder_metrics.sh with folder-metrics.sh for improved output formatting 2025-03-05 14:13:02 +00:00
Peter Wood
7c1767ef82 added a script to display the amount of space used by a folder, how much space each of the subdirectories is using and how many files are in each 2025-03-04 17:15:07 +00:00
Peter Wood
88f620a56e added script to pull the backups from various docker containers and save them to nas->media/backups 2025-02-25 14:49:22 +00:00
Peter Wood
8cb40f9d34 replaced vperanda with racknerd 2025-02-21 10:37:13 -05:00
Peter Wood
5ca7984263 removed wikijs since it's backed up to github and paperless since it's not running on this server 2024-12-11 19:33:53 -05:00
Peter Wood
7f7f1deec9 corrected wiki underscores vs hyphens 2024-12-03 15:24:07 +00:00
Peter Wood
847cd2bcec corrected notification message 2024-11-14 16:40:47 +00:00
Peter Wood
be3eea5d80 slimmed down acl after reddit post feedback 2024-11-14 15:11:40 +00:00
Peter Wood
535c0b3c39 added copy of tailscale acl as of commit date/time 2024-11-13 20:29:27 +00:00
Peter Wood
180d0bf092 removed portainer backup and corrected the wiki 2024-09-27 08:42:46 -04:00
Peter Wood
ecc5053282 documenting the shell/plex.sh script 2024-09-27 08:30:52 -04:00
Peter Wood
09ddf8fcfa created shell script to {start|stop|restart|status} Plex Media Server 2024-09-27 08:08:48 -04:00