{"id":15520879,"url":"https://github.com/samedwardes/pi-plex-server","last_synced_at":"2026-02-09T04:02:06.882Z","repository":{"id":104820843,"uuid":"561600326","full_name":"SamEdwardes/pi-plex-server","owner":"SamEdwardes","description":"Files for my Raspberry Pi Plex Server","archived":false,"fork":false,"pushed_at":"2023-05-22T15:56:49.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-28T01:40:58.235Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Just","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SamEdwardes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-04T03:29:41.000Z","updated_at":"2023-05-22T15:56:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"35eeefde-8ff4-4d0e-a837-10027e3c4b6b","html_url":"https://github.com/SamEdwardes/pi-plex-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SamEdwardes/pi-plex-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamEdwardes%2Fpi-plex-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamEdwardes%2Fpi-plex-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamEdwardes%2Fpi-plex-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamEdwardes%2Fpi-plex-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamEdwardes","download_url":"https://codeload.github.com/SamEdwardes/pi-plex-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamEdwardes%2Fpi-plex-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29255933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T03:07:45.136Z","status":"ssl_error","status_checked_at":"2026-02-09T03:07:24.123Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T10:30:00.539Z","updated_at":"2026-02-09T04:02:06.854Z","avatar_url":"https://github.com/SamEdwardes.png","language":"Just","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pi-plex-server\n\nFiles for my Raspberry Pi Plex Server\n\n## Day to day\n\n### Shutdown, Restart, Unmount, Mount\n\n```bash\n# Turn off (wait for 10 beeps of the green light)\nsudo poweroff\n\n# Or...\nsudo shutdown -h now\n\n# Restart\nsudo reboot\n\n# Unmount USB\nsudo umount /mnt/plex-usb\n\n# Mount USB - will mount everything per /etc/fstab\nsudo mount -a\n```\n\n### SSH\n\n```bash\n# Run a command\nssh pi@plexpi.local ls -la\n\n# Or, SSH into the server\nssh pi@plexpi.local\n```\n\n### Copying Files\n\n```bash\n# Copy a single file\nscp ~/movies/hello-world.mp4 pi@plexpi.local:/mnt/plex-usb/movies\n\n# Copy a directory\nscp -r ~/movies/hello pi@plexpi.local:/mnt/plex-usb/movies\n```\n\n### NFS\n\nReapply mounts:\n\n```bash\nsudo systemctl restart nfs-server\n# Or...\nsudo exportfs -ra\n```\n\n## Setup\n\n### OS\n\nInstall the Raspberry Pi Imager \u003chttps://www.raspberrypi.com/software/\u003e.\n\n### SSH\n\n- \u003chttps://www.raspberrypi.com/documentation/computers/remote-access.html#passwordless-ssh-access\u003e\n\n```bash\nssh pi@plexpi.local\n```\n\n### Install Plex\n\nInstructions from \u003chttps://pimylifeup.com/raspberry-pi-plex-server/\u003e:\n\n```bash\n# Install plex\n# https://pimylifeup.com/raspberry-pi-plex-server/\nsudo apt-get update\nsudo apt-get upgrade -y\nsudo apt-get install -y apt-transport-https\ncurl https://downloads.plex.tv/plex-keys/PlexSign.key | gpg --dearmor | sudo tee /usr/share/keyrings/plex-archive-keyring.gpg \u003e/dev/null\necho deb [signed-by=/usr/share/keyrings/plex-archive-keyring.gpg] https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list\nsudo apt-get update\nsudo apt-get install -y plexmediaserver\n\n# Add media folders\nsudo mkdir -p /opt/plex/movies\nsudo mkdir /opt/plex/tv\nsudo mkdir /opt/plex/other\nsudo chmod -R 777 /opt/plex\n```\n\nOther directions:\n\n- \u003chttps://linuxhint.com/install-plex-raspberry-pi-4/\u003e\n\n### Mount USB\n\n- \u003chttps://raspberrytips.com/mount-usb-drive-raspberry-pi/\u003e\n\n```bash\nsudo fdisk -l\n# Device     Boot  Start       End   Sectors   Size Id Type\n# /dev/sda1       522240 484519679 483997440 230.8G  c W95 FAT32 (LBA)\n\nsudo ls -l /dev/disk/by-uuid/\n# total 0\n# lrwxrwxrwx 1 root root 15 Feb 26 20:40 37CA-39EC -\u003e ../../mmcblk0p1\n# lrwxrwxrwx 1 root root 10 Feb 26 21:09 C5F1-A0AD -\u003e ../../sda1\n# lrwxrwxrwx 1 root root 15 Feb 26 20:40 a4af13c6-d165-4cbd-a9f6-c961fef8255d -\u003e ../../mmcblk0p2\nsudo mkdir /mnt/plex-usb\n```\n\n**/etc/fstab**\n\n```\nUUID=C5F1-A0AD /mnt/plex-usb vfat uid=pi,gid=pi 0 0\n```\n\n### Install NFS\n\n- https://pimylifeup.com/raspberry-pi-nfs/\n- https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-ubuntu-20-04\n- https://superuser.com/questions/657071/mount-nfs-rpc-statd-is-not-running-but-is-required-for-remote-locking\n\nInstall nfs-server:\n\n```bash\nsudo apt-get install -y nfs-kernel-server\n\n# Had to run this to get `mount` working on host\nsystemctl start rpc-statd\n```\n\nConfigure: **/etc/exports**\n\n```\n/mnt/plex-usb *(rw,all_squash,insecure,async,no_subtree_check,anonuid=1000,anongid=1000)\n```\n\nApply changes:\n\n```bash\nsudo exportfs -ra\n```\n\n## Helpful resources\n\n- Setup: \u003chttps://www.youtube.com/watch?v=u8bbp79haN4\u003e\n- Plex: \u003chttps://pimylifeup.com/raspberry-pi-plex-server/\u003e\n\n## Tips\n\n- Run `sudo poweroff` to turn off. Wait until the green light stops flashing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamedwardes%2Fpi-plex-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamedwardes%2Fpi-plex-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamedwardes%2Fpi-plex-server/lists"}