{"action":"opened","issue":{"url":"https://api.github.com/repos/basho/riak/issues/777","labels_url":"https://api.github.com/repos/basho/riak/issues/777/labels{/name}","comments_url":"https://api.github.com/repos/basho/riak/issues/777/comments","events_url":"https://api.github.com/repos/basho/riak/issues/777/events","html_url":"https://github.com/basho/riak/issues/777","id":106920508,"number":777,"title":"Only root user can start Riak","user":{"login":"buriwoy","id":1450618,"avatar_url":"https://avatars.githubusercontent.com/u/1450618?v=3","gravatar_id":"","url":"https://api.github.com/users/buriwoy","html_url":"https://github.com/buriwoy","followers_url":"https://api.github.com/users/buriwoy/followers","following_url":"https://api.github.com/users/buriwoy/following{/other_user}","gists_url":"https://api.github.com/users/buriwoy/gists{/gist_id}","starred_url":"https://api.github.com/users/buriwoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buriwoy/subscriptions","organizations_url":"https://api.github.com/users/buriwoy/orgs","repos_url":"https://api.github.com/users/buriwoy/repos","events_url":"https://api.github.com/users/buriwoy/events{/privacy}","received_events_url":"https://api.github.com/users/buriwoy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-17T06:36:21Z","updated_at":"2015-09-17T06:36:21Z","closed_at":null,"body":"Hi there,\r\n\r\nI installed basho-erlang 16 and followed all the instructions to install riak 2.1.1 from source (http://docs.basho.com/riak/2.1.1/quickstart/). I never used root or sudo command to install riak.\r\n\r\nAfter installing I added 2 devnodes by this command:\r\n\r\n```make devrel DEVNODES=2```\r\n\r\nBut I can't start riak with a user name that installed erlang and riak 2.1.1. \r\n\r\n##### riak start output:\r\n\r\n```bash\r\nriak failed to start within 15 seconds,\r\nsee the output of 'riak console' for more information.\r\nIf you want to wait longer, set the environment variable\r\nWAIT_FOR_ERLANG to the number of seconds to wait.\r\n```\r\n\r\n##### riak console output:\r\n\r\n```bash\r\n...\r\n06:26:09.959 [info] Application exometer_core started on node 'dev1@127.0.0.1'\r\n[os_mon] memory supervisor port (memsup): Erlang has closed\r\n[os_mon] cpu supervisor port (cpu_sup): Erlang has closed\r\n06:26:10.157 [error] CRASH REPORT Process <0.181.0> with 0 neighbours exited with reason: no match of right hand value {error,{file_error,\"./data/cluster_meta/manifest.dets\",eacces}} in riak_core_metadata_manager:init_manifest/1 line 585 in gen_server:init_it/6 line 328\r\n06:26:10.158 [error] Supervisor riak_core_sup had child riak_core_metadata_manager started with riak_core_metadata_manager:start_link() at undefined exit with reason no match of right hand value {error,{file_error,\"./data/cluster_meta/manifest.dets\",eacces}} in riak_core_metadata_manager:init_manifest/1 line 585 in context start_error\r\n06:26:10.159 [error] CRASH REPORT Process <0.162.0> with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,riak_core_metadata_manager,{{badmatch,{error,{file_error,\"./data/cluster_meta/manifest.dets\",eacces}}},[{riak_core_metadata_manager,init_manifest,1,[{file,\"src/riak_core_metadata_manager.erl\"},{line,585}]},{riak_core_metadata_manager,init,1,[{file,\"src/riak_core_metadata_manager.erl\"},{line,338}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,239}]}]}}},{riak_core_app,start,[normal,[]]}} in application_master:init/4 line 133\r\n06:26:10.159 [info] Application riak_core exited with reason: {{shutdown,{failed_to_start_child,riak_core_metadata_manager,{{badmatch,{error,{file_error,\"./data/cluster_meta/manifest.dets\",eacces}}},[{riak_core_metadata_manager,init_manifest,1,[{file,\"src/riak_core_metadata_manager.erl\"},{line,585}]},{riak_core_metadata_manager,init,1,[{file,\"src/riak_core_metadata_manager.erl\"},{line,338}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,239}]}]}}},{riak_core_app,start,[normal,[]]}}\r\n06:26:10.166 [info] alarm_handler: {clear,system_memory_high_watermark}\r\n{\"Kernel pid terminated\",application_controller,\"{application_start_failure,riak_core,{{shutdown,{failed_to_start_child,riak_core_metadata_manager,{{badmatch,{error,{file_error,\\\"./data/cluster_meta/manifest.dets\\\",eacces}}},[{riak_core_metadata_manager,init_manifest,1,[{file,\\\"src/riak_core_metadata_manager.erl\\\"},{line,585}]},{riak_core_metadata_manager,init,1,[{file,\\\"src/riak_core_metadata_manager.erl\\\"},{line,338}]},{gen_server,init_it,6,[{file,\\\"gen_server.erl\\\"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,\\\"proc_lib.erl\\\"},{line,239}]}]}}},{riak_core_app,start,[normal,[]]}}}\"}\r\n\r\nCrash dump was written to: ./log/erl_crash.dump\r\nKernel pid terminated (application_controller) ({application_start_failure,riak_core,{{shutdown,{failed_to_start_child,riak_core_metadata_manager,{{badmatch,{error,{file_error,\"./data/cluster_meta/m\r\n```\r\n\r\nWhat am I doing wrong? Any ideas?\r\n\r\nThanks,\r\n-- buriwoy"}}