Commit Graph

64 Commits

Author SHA1 Message Date
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
Peter Wood
745c3ef3ff no longer using portainer so bye bitch and github-cli was failing - https://github.com/cli/cli/issues/9569 2024-09-08 18:20:11 -04:00
Peter Wood
da8ca9838f Merge branch 'main' of github.com:acedanger/shell 2024-05-02 22:05:27 +00:00
Peter Wood
d957f53f15 updated to connect to tailscale magicdns names 2024-05-02 22:05:19 +00:00
Peter Wood
cc8c0b3dff Merge remote-tracking branch 'origin' 2024-01-03 21:25:51 -05:00
Peter Wood
bbf599f7d6 updated with changed tailscale machine names 2024-01-03 21:22:58 -05:00
Peter Wood
3cfdb19a22 powershell script to remove backups older than 60 days 2023-11-23 11:13:51 -05:00
Peter Wood
e51a7dd0e8 added uptime-kuma and wikijs; stop/start containers before backing up volumes 2023-11-23 15:55:09 +00:00
Peter Wood
fe2e5d2fb1 renamed cloudflared redeploy shell script 2023-11-23 15:33:11 +00:00
Peter Wood
8cb4faf587 Merge branch 'main' of github.com:acedanger/shell 2023-10-27 11:02:00 +00:00
Peter Wood
1c9620be63 added new server to logic 2023-10-26 20:59:25 +00:00
Peter Wood
4ed5d253e2 rewritten. only send notification if there were files transfered 2023-10-25 07:19:22 -04:00
Peter Wood
cefd7fc0a3 adapted path for svr-office instead of wsl 2023-10-05 21:29:27 -04:00
Peter Wood
9f3419f777 updated rsync flags to allow it to run as root 2023-10-05 08:16:50 -04:00
Peter Wood
efa9898731 simplified flags for running as cron job 2023-10-04 08:47:26 -04:00
Peter Wood
2d105cd0d8 removed rclone commands 2023-10-03 08:31:50 -04:00
Peter Wood
17e24eabc8 shell script to move files from vperanda to NAS. sends notification when complete. expected that this will run on WSL 2023-10-03 08:29:52 -04:00