Spencer Skinner
Contributor
- Joined
- Dec 22, 2016
- Messages
- 179
Hi guys, so I've been trying to install plex on docker recently and I'm running into a few issues. When I install plex with the default settings and dont give the config folder a specific location it seems to work a dream. But the moment I map the config folder to a specific place outside the container, it doesnt like it at all.
Not sure whats causing the error as the directory in which the config resides has 777 permission set on it and is owned by user 1001 and group 1001. All the parent directories are the same.
Ive pasted the compose below so you can see all my settings etc.
Let me know if you need any other info, any ideas what I am doing wrong and what I should be doing?
Thanks Guys!
Code:
28/06/2018 22:32:26[services.d] done. 28/06/2018 22:32:26Starting Plex Media Server. 28/06/2018 22:32:26terminate called after throwing an instance of 'boost::filesystem::filesystem_error' 28/06/2018 22:32:26 what(): boost::filesystem::create_directory: Permission denied: "/config/Library/Application Support/Plex Media Server/Logs" 28/06/2018 22:32:26****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /config/Library/Application Support/Plex Media Server/Crash Reports/1.13.2.5154-fd05be322/PLEX MEDIA SERVER/215000c1-ba32-c6d1-69812f4e-4ef86ccf.dmp 28/06/2018 22:32:26Aborted
Not sure whats causing the error as the directory in which the config resides has 777 permission set on it and is owned by user 1001 and group 1001. All the parent directories are the same.
Ive pasted the compose below so you can see all my settings etc.
Let me know if you need any other info, any ideas what I am doing wrong and what I should be doing?
Thanks Guys!
Code:
{
- "id": "1i505",
- "type": "container",
- "links": {
- "self": "…/v2-beta/projects/1a5/containers/1i505",
- "account": "…/v2-beta/projects/1a5/containers/1i505/account",
- "credentials": "…/v2-beta/projects/1a5/containers/1i505/credentials",
- "healthcheckInstanceHostMaps": "…/v2-beta/projects/1a5/containers/1i505/healthcheckinstancehostmaps",
- "hosts": "…/v2-beta/projects/1a5/containers/1i505/hosts",
- "instanceLabels": "…/v2-beta/projects/1a5/containers/1i505/instancelabels",
- "instanceLinks": "…/v2-beta/projects/1a5/containers/1i505/instancelinks",
- "instances": "…/v2-beta/projects/1a5/containers/1i505/instances",
- "mounts": "…/v2-beta/projects/1a5/containers/1i505/mounts",
- "ports": "…/v2-beta/projects/1a5/containers/1i505/ports",
- "serviceEvents": "…/v2-beta/projects/1a5/containers/1i505/serviceevents",
- "serviceExposeMaps": "…/v2-beta/projects/1a5/containers/1i505/serviceexposemaps",
- "serviceLogs": "…/v2-beta/projects/1a5/containers/1i505/servicelogs",
- "services": "…/v2-beta/projects/1a5/containers/1i505/services",
- "targetInstanceLinks": "…/v2-beta/projects/1a5/containers/1i505/targetinstancelinks",
- "volumes": "…/v2-beta/projects/1a5/containers/1i505/volumes",
- "stats": "…/v2-beta/projects/1a5/containers/1i505/stats",
- "containerStats": "…/v2-beta/projects/1a5/containers/1i505/containerstats"
- "actions": {
- "restart": "…/v2-beta/projects/1a5/containers/1i505/?action=restart",
- "update": "…/v2-beta/projects/1a5/containers/1i505/?action=update",
- "stop": "…/v2-beta/projects/1a5/containers/1i505/?action=stop",
- "migrate": "…/v2-beta/projects/1a5/containers/1i505/?action=migrate",
- "logs": "…/v2-beta/projects/1a5/containers/1i505/?action=logs",
- "execute": "…/v2-beta/projects/1a5/containers/1i505/?action=execute",
- "proxy": "…/v2-beta/projects/1a5/containers/1i505/?action=proxy"
- "baseType": "instance",
- "name": "Media-Plex-A1-1",
- "state": "running",
- "accountId": "1a5",
- "blkioDeviceOptions": null,
- "blkioWeight": null,
- "build": null,
- "capAdd": [ ],
- "capDrop": [ ],
- "cgroupParent": null,
- "command": null,
- "cpuCount": null,
- "cpuPercent": null,
- "cpuPeriod": null,
- "cpuQuota": null,
- "cpuRealtimePeriod": null,
- "cpuRealtimeRuntime": null,
- "cpuSet": null,
- "cpuSetMems": null,
- "cpuShares": null,
- "createIndex": 1,
- "created": "2018-06-28T22:06:12Z",
- "createdTS": 1530223572000,
- "dataVolumeMounts": { },
- "dataVolumes": [ 2 items
- "/media/VMRoot/VMDocker/Docker_Configs/Plex-A1/config/:/config",
- "/media/VMRoot/VMDocker/Docker_Configs/Plex-A1/transcode/:/transcode"
- "dataVolumesFrom": [ ],
- "dataVolumesFromLaunchConfigs": [ ],
- "deploymentUnitUuid": "bb4a96c4-5e05-45fa-a36f-022f838da4d5",
- "description": null,
- "devices": [ ],
- "diskQuota": null,
- "dns": [ ],
- "dnsOpt": null,
- "dnsSearch": [ ],
- "domainName": null,
- "entryPoint": null,
- "environment": {
- "TZ": "GB",
- "PLEX_CLAIM": "",
- "PUID": "1001",
- "PGID": "1001"
- "expose": null,
- "externalId": "4faf6e1788bfc160703955cff908ec314d45c6cc8069e27f4cc272b8364f9d06",
- "extraHosts": null,
- "firstRunning": "2018-06-28T22:06:26Z",
- "firstRunningTS": 1530223586000,
- "groupAdd": null,
- "healthCheck": null,
- "healthCmd": null,
- "healthInterval": null,
- "healthRetries": null,
- "healthState": null,
- "healthTimeout": null,
- "hostId": "1h1",
- "hostname": null,
- "imageUuid": "docker:plexinc/pms-docker",
- "instanceTriggeredStop": "stop",
- "ioMaximumBandwidth": null,
- "ioMaximumIOps": null,
- "ip": null,
- "ip6": null,
- "ipcMode": null,
- "isolation": null,
- "kernelMemory": null,
- "kind": "container",
- "labels": {
- "io.rancher.service.deployment.unit": "bb4a96c4-5e05-45fa-a36f-022f838da4d5",
- "io.rancher.container.dns": "true",
- "io.rancher.stack_service.name": "Media/Plex-A1",
- "io.rancher.service.launch.config": "io.rancher.service.primary.launch.config",
- "io.rancher.project.name": "Media",
- "io.rancher.project_service.name": "Media/Plex-A1",
- "io.rancher.stack.name": "Media",
- "io.rancher.container.pull_image": "always",
- "io.rancher.environment.uuid": "adminProject",
- "io.rancher.container.uuid": "7e067855-c345-46bf-bd10-6f77205bb171",
- "io.rancher.container.name": "Media-Plex-A1-1",
- "io.rancher.container.mac_address": "02:5b:12:9d:8a:35"
- "logConfig": {
- "type": "logConfig",
- "config": { },
- "driver": ""
- "lxcConf": null,
- "memory": null,
- "memoryReservation": null,
- "memorySwap": null,
- "memorySwappiness": null,
- "milliCpuReservation": null,
- "mounts": [ 2 items
- {
- "type": "mountEntry",
- "volumeName": "/media/VMRoot/VMDocker/Docker_Configs/Plex-A1/config",
- "instanceName": "Media-Plex-A1-1",
- "path": "/config",
- "permission": "rw",
- "instanceId": "1i505",
- "volumeId": "1v644"
- {
- "type": "mountEntry",
- "volumeName": "/media/VMRoot/VMDocker/Docker_Configs/Plex-A1/transcode",
- "instanceName": "Media-Plex-A1-1",
- "path": "/transcode",
- "permission": "rw",
- "instanceId": "1i505",
- "volumeId": "1v645"
- {
- "nativeContainer": false,
- "netAlias": null,
- "networkContainerId": null,
- "networkMode": "host",
- "oomKillDisable": null,
- "oomScoreAdj": null,
- "pidMode": null,
- "pidsLimit": null,
- "ports": [
- "0.0.0.0:32400:32400/tcp"
- "primaryIpAddress": null,
- "primaryNetworkId": "1n1",
- "privileged": false,
- "publishAllPorts": false,
- "readOnly": false,
- "registryCredentialId": null,
- "removed": null,
- "requestedHostId": null,
- "restartPolicy": null,
- "runInit": false,
- "secrets": [ ],
- "securityOpt": null,
- "serviceId": null,
- "serviceIds": [
- "1s52"
- "shmSize": null,
- "stackId": null,
- "startCount": 2,
- "startOnCreate": true,
- "stdinOpen": true,
- "stopSignal": null,
- "stopTimeout": null,
- "storageOpt": null,
- "sysctls": null,
- "system": false,
- "tmpfs": null,
- "transitioning": "no",
- "transitioningMessage": null,
- "transitioningProgress": null,
- "tty": true,
- "ulimits": null,
- "user": null,
- "userPorts": [
- "32400:32400/tcp"
- "usernsMode": null,
- "uts": null,
- "uuid": "7e067855-c345-46bf-bd10-6f77205bb171",
- "version": "0",
- "volumeDriver": null,
- "workingDir": null