For investigating some issues, we may ask you to share your logs. There are two logs most commonly of interest in these situations:
- Logs from the iOS device
- Logs from your Plex Media Server.
Logs from the iOS Device
When you need to retrieve logs from the iOS app, there are a few ways to do so. Emailing the logs and device data directly from the app gives you the most comprehensive information. If you have an active network connection, you can use “Network Logging”, though the information that can be logged is limited. You can also gather the logs manually by connecting the iOS device to your computer and running a utility that reads and captures the logs directly.
Email Device Logs
The best way to get detailed logs and device data for troubleshooting is to make use of the Email Debugging Data functionality. This will open an email in your default email application. The message will have a zip file attached that will include detailed app logs (often up to several days’ worth) as well as local device state data that’s useful for investigation.
Reproduce the Issue and Email the Logs
To email the debugging logs:
- Make sure you’ve signed in with your Plex account in the app under Settings > Account
- Reproduce the issue you’re having
- Go to Settings > Help & Support > Debugging and tap Share Debugging Data
- Your default email program will open with a message that has a zip file already attached to it
- Enter your email address (unless a different address was specifically given to you) and send the email to yourself
Related Page: Settings: Plex for iOS
Report the Issue
Post a description of the problem in the forums if you haven’t already. Then attach the logs zip file to your forum post.
Related Page: Plex Support Forums
Related Page: How do I attach files in the forums?
iOS Console Logs
You can also gather deeper, system-level logging when running the app, if you have a macOS computer. Though not typically needed, this can sometimes be useful for situations where the activity cannot be logged by the Plex app (such as when the app crashes).
On recent macOS versions (at least macOS 12 Monterey or newer), you can use the standard macOS “Console” app to access the logs.
- Connect the iOS/iPadOS device to your Mac via the normal cable
- If prompted on the mobile device, verify and allow the connection
- Launch the “Console” app on the Mac
- In the sidebar, select the mobile device under the “Devices” section
- If logs don’t appear, choose to Start Streaming the logs
- Choose to Clear the logs at the top
- Reproduce the issue you’re reporting
- Do a “select-all” of the logs and copy them
- Paste them into a new text document (e.g. in the “TextEdit” app)
- Save the logs document with a descriptive name
Once you have the log file, you can attach it to a post on the support forums.
Related Page: How do I attach files in the forums?
Related Page: Plex Support Forums
Crash Logs from iOS
If you’re experiencing crashes with the iOS Plex App, then it can be useful to share the crash logs for investigation. You can retrieve crash logs from your iOS device in multiple ways.
Syncing with iTunes
This method requires that you sync your device with iTunes as normal. After syncing, the crash reports will be copied to a specific location on your hard drive. This method is also documented at https://developer.apple.com/library/ios/#qa/qa1747/_index.html.
- Sync your device with iTunes on your desktop
- After syncing, look for crash logs in the appropriate directory as listed below
- In this directory, look for files starting with
Plex_
Windows
On Windows installs, these log files can be found under:
%APPDATA%\Apple Computer\Logs\CrashReporter\MobileDevice\<DEVICE_NAME>
macOS
Using the Finder’s Go menu, select Go To Folder… then enter the following in the dialog box that pops up:
~/Library/Logs/CrashReporter/MobileDevice/
The log files will be located under a directory there named after your device.
Emailing from the iOS Device
It’s also possible to access the crash log from within your iOS device itself.
iOS 11 or later
- Open the (system) Settings app.
- Navigate to Privacy > Analytics > Analytics Data.
- Select a Plex crash from the list. This will start with
Plex_
and contain the timestamp of the crash. - Tap the crash
- Tap the Share icon at the top right
- Email it to yourself
Pre-iOS 11
- Open the (system) Settings app.
- Navigate to Privacy > Diagnostics & Usage > Diagnostic & Usage Data.
- Select a Plex crash from the list. This will start with
Plex_
and contain the timestamp of the crash. - Tap on the crash and you will see a text field with a crash log. Long press to Select All and then Copy the crash text.
- Paste it into something you can get off of your device (for example, an email to yourself).
Plex Media Server Logs
Your Plex Media Server keeps a log file that’s often useful: “Plex Media Server.log”. Where exactly the file is stored depends on your operating system.
Related Page: Plex Media Server Logs