{"action":"created","issue":{"url":"https://api.github.com/repos/ether/etherpad-lite/issues/2825","labels_url":"https://api.github.com/repos/ether/etherpad-lite/issues/2825/labels{/name}","comments_url":"https://api.github.com/repos/ether/etherpad-lite/issues/2825/comments","events_url":"https://api.github.com/repos/ether/etherpad-lite/issues/2825/events","html_url":"https://github.com/ether/etherpad-lite/issues/2825","id":114487393,"number":2825,"title":"Error: EACCES: permission denied","user":{"login":"Netmage-76","id":8663922,"avatar_url":"https://avatars.githubusercontent.com/u/8663922?v=3","gravatar_id":"","url":"https://api.github.com/users/Netmage-76","html_url":"https://github.com/Netmage-76","followers_url":"https://api.github.com/users/Netmage-76/followers","following_url":"https://api.github.com/users/Netmage-76/following{/other_user}","gists_url":"https://api.github.com/users/Netmage-76/gists{/gist_id}","starred_url":"https://api.github.com/users/Netmage-76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Netmage-76/subscriptions","organizations_url":"https://api.github.com/users/Netmage-76/orgs","repos_url":"https://api.github.com/users/Netmage-76/repos","events_url":"https://api.github.com/users/Netmage-76/events{/privacy}","received_events_url":"https://api.github.com/users/Netmage-76/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-01T19:32:11Z","updated_at":"2015-11-04T20:43:33Z","closed_at":null,"body":"Hello,\r\n\r\nafter I installed etherpad lite on freebsd 10.2 I tried to install a couple of plugins.\r\nWhen I tried to install the plugins via webinterface by clicking \"Install\" I received the following error message\"\r\n\r\nAn error occured while installing ep_adminpads\r\nEACCES: permission denied, open '/root/.npm/ep_adminpads/0.0.9/package/package.json'\r\n\r\nWhen I use \"npm install ep_author_neat\" from CLI I see:\r\n\r\nnpm install ep_author_neat\r\nep_author_neat@0.0.31 node_modules/ep_author_neat\r\n\r\nand the etherpad-lite log shows:\r\n\r\n[2015-11-01 10:21:10.412] [WARN] console - { [Error: EACCES: permission denied, open '/root/.npm/ep_adminpads/0.0.9/package/package.json']\r\n  errno: -13,\r\n  code: 'EACCES',\r\n  syscall: 'open',\r\n  path: '/root/.npm/ep_adminpads/0.0.9/package/package.json' }\r\nError: EACCES: permission denied, open '/root/.npm/ep_adminpads/0.0.9/package/package.json'\r\n    at Error (native)\r\n[2015-11-01 10:21:10.413] [INFO] console - Restarting express server\r\n\r\nI already tried to set /root/.npm/ to 777 without success. The error message is still the same whether I use the command in /root/.npm/ or /usr/local/www/etherpad (the directory I installed etherpad-lite)\r\nIn general I wonder why why the json packets are located at the root directory, because etherpad should run at the created user \"etherpad\"\r\n\r\nI would be really happy for every hint.\r\n\r\nBR"},"comment":{"url":"https://api.github.com/repos/ether/etherpad-lite/issues/comments/153857183","html_url":"https://github.com/ether/etherpad-lite/issues/2825#issuecomment-153857183","issue_url":"https://api.github.com/repos/ether/etherpad-lite/issues/2825","id":153857183,"user":{"login":"Netmage-76","id":8663922,"avatar_url":"https://avatars.githubusercontent.com/u/8663922?v=3","gravatar_id":"","url":"https://api.github.com/users/Netmage-76","html_url":"https://github.com/Netmage-76","followers_url":"https://api.github.com/users/Netmage-76/followers","following_url":"https://api.github.com/users/Netmage-76/following{/other_user}","gists_url":"https://api.github.com/users/Netmage-76/gists{/gist_id}","starred_url":"https://api.github.com/users/Netmage-76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Netmage-76/subscriptions","organizations_url":"https://api.github.com/users/Netmage-76/orgs","repos_url":"https://api.github.com/users/Netmage-76/repos","events_url":"https://api.github.com/users/Netmage-76/events{/privacy}","received_events_url":"https://api.github.com/users/Netmage-76/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T20:43:33Z","updated_at":"2015-11-04T20:43:33Z","body":"Hello,\r\n\r\nthank you very much for your help.\r\n\r\nYou are right I forgot to change the user rights after I fetched the files from github. Now I am able to use the \"npm install\" command in order to install the files via cli.\r\n\r\nUnfortunely I am not able to fetch the available module from the admin interface.\r\nI receive the following error message:\r\n\r\n*** etherpad.log ***\r\n[2015-11-04 21:38:36.748] [ERROR] console - { [Error: connect ETIMEDOUT 104.130.77.39:443]\r\n  code: 'ETIMEDOUT',\r\n  errno: 'ETIMEDOUT',\r\n  syscall: 'connect',\r\n  address: '104.130.77.39',\r\n  port: 443 }\r\nError: connect ETIMEDOUT 104.130.77.39:443\r\n    at Object.exports._errnoException (util.js:874:11)\r\n    at exports._exceptionWithHostPort (util.js:897:20)\r\n    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1063:14)\r\n[2015-11-04 21:38:36.797] [WARN] console - { [Error: connect ETIMEDOUT 104.130.77.39:443]\r\n  code: 'ETIMEDOUT',\r\n  errno: 'ETIMEDOUT',\r\n  syscall: 'connect',\r\n  address: '104.130.77.39',\r\n  port: 443 }\r\nError: connect ETIMEDOUT 104.130.77.39:443\r\n    at Object.exports._errnoException (util.js:874:11)\r\n    at exports._exceptionWithHostPort (util.js:897:20)\r\n    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1063:14)\r\n\r\nI thought the issue could be caused by an rights problem for the etherpad user but when I use the su -m etherpad -c telnet x.z.s.d 80\" command I am able to connect to an website without any problems."}}