<div dir="ltr">Did you restart the gui? Because it looks like the GUI is still trying to connect on the wrong IP.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 1, 2015 at 5:46 AM, Fabien Bazille <span dir="ltr"><<a href="mailto:fab.baz22@gmail.com" target="_blank">fab.baz22@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>It's half fixed now ;). I had the feelings during a long time that my scripts was not correct and that was that, it called genieacs's services at the root  and that was the command who are in the /usr/bin are called and not those who are in genieacs/bin.<br></div>Last little things i modified the genieacs-gui/config/environment/developement.erb for the host adress API instead of localhost or 0.0.0.0 and when I tried to go on the web interface it tell me:<br><h1>Errno::ECONNREFUSED
      in HomeController#index
  </h1>


<div>
  <h2>Connection refused - connect(2) for "0.0.0.0" port 7557</h2></div><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-06-01 15:39 GMT+02:00 Dan Morphis <span dir="ltr"><<a href="mailto:dan@milkcarton.com" target="_blank">dan@milkcarton.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>config.json overrides what is in config.js (which is built from config.coffee). <span><font color="#888888"><br><br>-dan</font></span></div><div><div><div><br>On May 31, 2015, at 11:58 PM, Fabien Bazille <<a href="mailto:fab.baz22@gmail.com" target="_blank">fab.baz22@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div><div><div><div>How to be sure when i start GenieACS it takes the correct config files ?<br></div>I have the feelings that he didn't take any configuration files anymore.<br></div>my config.coffe:<br><br><br>path = require 'path'<br>common = require './common'<br><br>options = {<br>  CONFIG_DIR : {type : 'string', default : 'config'},<br>  MONGODB_CONNECTION_URL : {type : 'string', default : 'mongodb://<a href="http://127.0.0.1/genieacs'" target="_blank">127.0.0.1/genieacs'</a>},<br>  REDIS_PORT : {type : 'int', default : 6379},<br>  REDIS_HOST : {type : 'string', default : '192.168.2.175'},<br>  REDIS_DB : {type : 'int', default : 0},<br><br>  CWMP_WORKER_PROCESSES : {type : 'int', default : 4},<br>  CWMP_PORT : {type : 'int', default : 7547},<br>  CWMP_INTERFACE : {type : 'string', default : '192.168.2.175'},<br>  CWMP_SSL : {type : 'bool', default : false},<br>  <br>  NBI_WORKER_PROCESSES : {type : 'int', default : 2},<br>  NBI_PORT : {type : 'int', default : 7557},<br>  NBI_INTERFACE : {type : 'string', default : '192.168.2.175'},<br>  NBI_SSL : {type : 'bool', default : false},<br><br>  FS_WORKER_PROCESSES : {type : 'int', default : 2},<br>  FS_PORT : {type : 'int', default : 7567},<br>  FS_INTERFACE : {type : 'string', default : '192.168.2.175'},<br>  FS_SSL : {type : 'bool', default : false},<br>  FS_IP : {type : 'string', default : '192.168.2.175'},<br>....<br><br></div>my config.json:<br><br>{<br>  "MONGODB_CONNECTION_URL" : "mongodb://<a href="http://127.0.0.1/genieacs" target="_blank">127.0.0.1/genieacs</a>",<br>  "REDIS_PORT" : "6379",<br>  "REDIS_HOST" : "192.168.2.175",<br>  "CWMP_INTERFACE" : "192.168.2.175",<br>  "CWMP_PORT" : 7547,<br>  "CWMP_SSL" : false,<br>  "NBI_INTERFACE" : "192.168.2.175",<br>  "NBI_PORT" : 7557,<br>  "FS_INTERFACE" : "192.168.2.175",<br>  "FS_PORT" : 7567,<br>  "FS_IP" : "192.168.2.175",<br>  "LOG_INFORMS" : true,<br>  "DEBUG" : false<br>}<br><br><br></div>And yes i restart the services with the scripts genieacs-stop.sh and genieacs-start.sh<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-01 9:18 GMT+02:00 Fabien Bazille <span dir="ltr"><<a href="mailto:fab.baz22@gmail.com" target="_blank">fab.baz22@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I just remove the last comma after DEBUG and it's the services are working but all on 0.0.0.0 and not on the IP I bind, that's annoying mostly with the fie server who bind a local IP, but not on the same network.<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-29 17:46 GMT+02:00 Dan Morphis <span dir="ltr"><<a href="mailto:dan@milkcarton.com" target="_blank">dan@milkcarton.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">npm compile doesn't compile the config.json file, it compiles the *.coffee files into the corresponding .js file.<div><br></div><div>Your config.json file doesn't look valid. Try removing the last comma (<span style="font-size:12.8000001907349px">"DEBUG" : false,). Depending on how strict the parser is, trailing commas aren't allowed in the JSON spec. <a href="http://stackoverflow.com/a/201856/70235" target="_blank">http://stackoverflow.com/a/201856/70235</a></span></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 29, 2015 at 12:16 AM, Fabien Bazille <span dir="ltr"><<a href="mailto:fab.baz22@gmail.com" target="_blank">fab.baz22@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Yes Dan I restarted it with the script "./genieacs-start.sh" after a stop.<br></div>I don't understand why, if I had a syntax probleme the npm run compile should notice me and all the genieacs services I binded <br>on my local IP adress (192.168.2.175) are listening on 0.0.0.0<br></div>I'm completely lost, i searched for everything with that wrong IP bind and i find nothing.<br></div>And the other services (nbi, cwmp) are listening on 0.0.0.0 (That can cause security issues)<br><br></div><div>Regards,<br><br></div><div>Fabien B<br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-28 18:40 GMT+02:00 Dan Morphis <span dir="ltr"><<a href="mailto:dan@milkcarton.com" target="_blank">dan@milkcarton.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Did you restart the genie processes after changing the config.json file?<div><br></div><div>-dan</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, May 28, 2015 at 5:33 AM, Fabien Bazille <span dir="ltr"><<a href="mailto:fab.baz22@gmail.com" target="_blank">fab.baz22@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><p>Hi,</p>

I'm performing an issue when i wanna push a configuration file on a 
device, the FS bind the old IP, and not mine, I don't know why because 
my genieacs's config seems ok.<br><br></div><div>Take a look at my config.json:<br>{<br>  "MONGODB_CONNECTION_URL" : "mongodb://<a href="http://127.0.0.1/genieacs" target="_blank">127.0.0.1/genieacs</a>",<br>  "REDIS_PORT" : "6379",<br>  "REDIS_HOST" : "192.168.2.175",<br>  "CWMP_INTERFACE" : "192.168.2.175",<br>  "CWMP_PORT" : 7547,<br>  "CWMP_SSL" : false,<br>  "NBI_INTERFACE" : "192.168.2.175",<br>  "NBI_PORT" : 7557,<br>  "FS_INTERFACE" : "192.168.2.175",<br>  "FS_PORT" : 7567,<br>  "FS_IP" : "192.168.2.175",<br>  "LOG_INFORMS" : true,<br>  "DEBUG" : false,<br>}<br></div><div dir="ltr"><p>The capture tell to the CPE a wrong IP and then the device reject it.<br>
When I perform a change in the config file I do a "npm run compile"<br>
If you have any idea of what is happening.</p><p>PS: I use the script genieacs-start.sh at my home directory and the 
folder genieacs and genieacs-gui are both on the home directory too.</p>

<p>Best regards,</p>

<p>Fabien B</p><br></div>
</div><br></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Users mailing list</span><br><span><a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a></span><br><span><a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a></span><br></div></blockquote></div></div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>