{"action":"created","issue":{"url":"https://api.github.com/repos/ONLYOFFICE/Docker-DocumentServer/issues/92","repository_url":"https://api.github.com/repos/ONLYOFFICE/Docker-DocumentServer","labels_url":"https://api.github.com/repos/ONLYOFFICE/Docker-DocumentServer/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/ONLYOFFICE/Docker-DocumentServer/issues/92/comments","events_url":"https://api.github.com/repos/ONLYOFFICE/Docker-DocumentServer/issues/92/events","html_url":"https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/92","id":310579656,"node_id":"MDU6SXNzdWUzMTA1Nzk2NTY=","number":92,"title":"RabbitMQ fails to start, permission issue?","user":{"login":"poVoq","id":940360,"node_id":"MDQ6VXNlcjk0MDM2MA==","avatar_url":"https://avatars1.githubusercontent.com/u/940360?v=4","gravatar_id":"","url":"https://api.github.com/users/poVoq","html_url":"https://github.com/poVoq","followers_url":"https://api.github.com/users/poVoq/followers","following_url":"https://api.github.com/users/poVoq/following{/other_user}","gists_url":"https://api.github.com/users/poVoq/gists{/gist_id}","starred_url":"https://api.github.com/users/poVoq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poVoq/subscriptions","organizations_url":"https://api.github.com/users/poVoq/orgs","repos_url":"https://api.github.com/users/poVoq/repos","events_url":"https://api.github.com/users/poVoq/events{/privacy}","received_events_url":"https://api.github.com/users/poVoq/received_events","type":"User","site_admin":false},"labels":[{"id":200878270,"node_id":"MDU6TGFiZWwyMDA4NzgyNzA=","url":"https://api.github.com/repos/ONLYOFFICE/Docker-DocumentServer/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"agolybev","id":8861642,"node_id":"MDQ6VXNlcjg4NjE2NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/8861642?v=4","gravatar_id":"","url":"https://api.github.com/users/agolybev","html_url":"https://github.com/agolybev","followers_url":"https://api.github.com/users/agolybev/followers","following_url":"https://api.github.com/users/agolybev/following{/other_user}","gists_url":"https://api.github.com/users/agolybev/gists{/gist_id}","starred_url":"https://api.github.com/users/agolybev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agolybev/subscriptions","organizations_url":"https://api.github.com/users/agolybev/orgs","repos_url":"https://api.github.com/users/agolybev/repos","events_url":"https://api.github.com/users/agolybev/events{/privacy}","received_events_url":"https://api.github.com/users/agolybev/received_events","type":"User","site_admin":false},"assignees":[{"login":"agolybev","id":8861642,"node_id":"MDQ6VXNlcjg4NjE2NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/8861642?v=4","gravatar_id":"","url":"https://api.github.com/users/agolybev","html_url":"https://github.com/agolybev","followers_url":"https://api.github.com/users/agolybev/followers","following_url":"https://api.github.com/users/agolybev/following{/other_user}","gists_url":"https://api.github.com/users/agolybev/gists{/gist_id}","starred_url":"https://api.github.com/users/agolybev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agolybev/subscriptions","organizations_url":"https://api.github.com/users/agolybev/orgs","repos_url":"https://api.github.com/users/agolybev/repos","events_url":"https://api.github.com/users/agolybev/events{/privacy}","received_events_url":"https://api.github.com/users/agolybev/received_events","type":"User","site_admin":false}],"milestone":null,"comments":49,"created_at":"2018-04-02T19:19:05Z","updated_at":"2018-06-25T11:00:56Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI am trying to install the OO document server via docker (specifically through portainer with a traefik reverse proxy, but I don't think it matters for this problem). I am using the latest Docker image (5.1.0.115 as of writing this).\r\n\r\nMy problem is that the the RabbitMQ server seems to not (re-)start properly.\r\nInitially everything seems to go well, but then it tries to restart rabbitmq and fails:\r\n ```\r\n* Starting PostgreSQL 9.5 database server\r\n   ...done.\r\n * Starting RabbitMQ Messaging Server rabbitmq-server\r\n   ...done.\r\nStarting redis-server: redis-server.\r\nStarting supervisor: supervisord.\r\n * Starting nginx nginx\r\n   ...done.\r\nGenerating AllFonts.js, please wait...Done\r\nonlyoffice-documentserver:docservice: stopped\r\nonlyoffice-documentserver:docservice: started\r\nonlyoffice-documentserver:converter: stopped\r\nonlyoffice-documentserver:converter: started\r\n * Reloading nginx configuration nginx\r\n   ...done.\r\n * Starting PostgreSQL 9.5 database server\r\n   ...done.\r\n * Starting RabbitMQ Messaging Server rabbitmq-server\r\n * FAILED - check /var/log/rabbitmq/startup_\\{log, _err\\}\r\n   ...fail!\r\nStarting redis-server: redis-server.\r\nWaiting for connection to the localhost host on port 5672\r\nWaiting for connection to the localhost host on port 5672\r\nWaiting for connection to the localhost host on port 5672\r\nWaiting for connection to the localhost host on port 5672\r\n```\r\nThe /var/log/rabbitmq/startup_err then has the following error:\r\n`mkdir: cannot create directory ‘/var/run/rabbitmq’: Permission denied`\r\n\r\nIf I then create a specific volume for it pointing to \"/var/run/rabbitmq\" the general log stops with:\r\n` * Starting RabbitMQ Messaging Server rabbitmq-server`\r\n\r\nAnd I get the following error in the /var/log/rabbitmq/startup_err log file:\r\n`/usr/lib/rabbitmq/bin/rabbitmq-server: 42: /usr/lib/rabbitmq/bin/rabbitmq-server: cannot create /var/run/rabbitmq/pid: Permission denied`\r\n\r\nAny idea what could be causing this? It seems strange that it starts up the first time fine according to the logs?\r\n\r\nThanks for the help."},"comment":{"url":"https://api.github.com/repos/ONLYOFFICE/Docker-DocumentServer/issues/comments/399913620","html_url":"https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/92#issuecomment-399913620","issue_url":"https://api.github.com/repos/ONLYOFFICE/Docker-DocumentServer/issues/92","id":399913620,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTkxMzYyMA==","user":{"login":"Daniel-Beardsmore","id":5874930,"node_id":"MDQ6VXNlcjU4NzQ5MzA=","avatar_url":"https://avatars3.githubusercontent.com/u/5874930?v=4","gravatar_id":"","url":"https://api.github.com/users/Daniel-Beardsmore","html_url":"https://github.com/Daniel-Beardsmore","followers_url":"https://api.github.com/users/Daniel-Beardsmore/followers","following_url":"https://api.github.com/users/Daniel-Beardsmore/following{/other_user}","gists_url":"https://api.github.com/users/Daniel-Beardsmore/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniel-Beardsmore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniel-Beardsmore/subscriptions","organizations_url":"https://api.github.com/users/Daniel-Beardsmore/orgs","repos_url":"https://api.github.com/users/Daniel-Beardsmore/repos","events_url":"https://api.github.com/users/Daniel-Beardsmore/events{/privacy}","received_events_url":"https://api.github.com/users/Daniel-Beardsmore/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T11:00:56Z","updated_at":"2018-06-25T11:00:56Z","author_association":"NONE","body":"What would you change in hostconfig.json and config.v2.json to apply this setting?"}}
{"actor":{"display_login":"Daniel-Beardsmore"}}