Table of Contents
How to Connect PeaSoup S3 to Plex #
Follow these steps to configure Plex Media Server to store and stream media files from PeaSoup S3. Since PeaSoup provides an S3-compatible API, it can be configured as a cloud storage target for Plex to access media files directly.
Prerequisites #
- PeaSoup S3 Access: Ensure you have the following details:
- Access key
- Secret key
- Bucket name
- PeaSoup S3 endpoint URL (e.g.,
https://s3.pscloud.io
)
- Plex Media Server installed and configured with administrative access.
- Rclone or similar software for mounting S3 storage as a local directory on your server.
Steps to Connect PeaSoup S3 to Plex #
- Install and Configure Rclone:
- To allow Plex to access media files stored on PeaSoup S3, we will use Rclone to mount PeaSoup S3 as a local directory on the Plex server.
- Install Rclone on your server by following the instructions on the Rclone website or using your package manager:# On Debian/Ubuntu sudo apt install rclone # On CentOS/RedHat sudo yum install rclone
- Once Rclone is installed, configure it to connect to PeaSoup S3:rclone config
- During the configuration process, follow these prompts:
- New remote: Select n to create a new remote.
- Name: Give it a name (e.g., peasoup-s3).
- Storage type: Select S3.
- Provider: Select Other.
- Access Key ID: Enter your PeaSoup S3 access key.
- Secret Access Key: Enter your PeaSoup S3 secret key.
- Region: Leave this blank (unless required by PeaSoup).
- Endpoint: Enter the PeaSoup S3 endpoint (e.g.,
https://s3.pscloud.io
). - Bucket name: Enter your PeaSoup S3 bucket name.
- Leave default values for other settings and finalize the configuration.
- Mount PeaSoup S3 Bucket to Your Plex Server:
- Once Rclone is configured, mount your PeaSoup S3 bucket as a local directory that Plex can access:rclone mount peasoup-s3:/path/to/your-bucket /mnt/peasoup –daemon
- This command will mount your PeaSoup S3 bucket to the local directory
/mnt/peasoup
on your Plex server. The –daemon flag ensures the mount persists in the background. - Ensure that the mounted directory is accessible and contains your media files:ls /mnt/peasoup
- Configure Plex to Use PeaSoup S3 for Media Storage:
- Log into the Plex web interface by going to your Plex server’s IP address or domain (e.g.,
http://:32400/web
). - Go to the Settings menu, and under Manage Libraries, click Add Library to add your media from PeaSoup S3.
- Select the type of media (Movies, TV Shows, Music, etc.), and when prompted to add a folder, choose the directory where you mounted PeaSoup S3 (e.g.,
/mnt/peasoup
). - Once you’ve added the library, Plex will scan the folder and index the media files stored on PeaSoup S3.
- Log into the Plex web interface by going to your Plex server’s IP address or domain (e.g.,
- Test Streaming from PeaSoup S3:
- After adding the library, test playing media files from PeaSoup S3 through Plex.
- Ensure that the files are streaming correctly, and monitor performance to make sure that the connection to PeaSoup S3 is stable.
Optional: Automate Mounting at Boot #
- To ensure the PeaSoup S3 mount persists after a reboot, add the following line to your server’s
/etc/fstab
or configure a systemd service:rclone mount peasoup-s3:/path/to/your-bucket /mnt/peasoup –daemon
Notes #
- Ensure that your Plex server has internet access to connect to PeaSoup S3 and stream media files effectively.
- PeaSoup’s S3-compatible API allows for seamless integration with Plex, providing scalable and reliable cloud storage for your media library.