Object MONGODB_CONNECTION_URL has no method 'startsWith'

Sergio Fernández sergio19932 at gmail.com
Wed Feb 15 04:36:11 EST 2017


Hi Sascha!

WhIch version of GenieACS have you installed? And which of GenieACS-GUI?
Depending on this, which version of NodeJS is installed? Which of NPM?
Which of MongoDB? In which system are you installing GenieACS?

More info, more help... Anyway, there is a guide I wrote, fully working:
https://github.com/zaidka/genieacs/wiki/Installation-in-Ubuntu-14.04-Server,-64-bit

Have a nice day! :-)

PS. I admit I've suffered the same exact problem as you, but I don't know
when exactly, and I don't remember where was the problem. But anyway, it is
solved in the guide.

El 14 feb. 2017 14:36, "Sascha Müller" <mueller.sascha.push at gmail.com>
escribió:

> Hello,
>
> I got the following error after installation.
>
> Can someone please help?
>
> ./genieacs/bin/genieacs-cwmp
>
> /home/genieacs/genieacs/lib/config.js:207
>     } else if (name.startsWith(n + "-")) {
>                     ^
> TypeError: Object MONGODB_CONNECTION_URL has no method 'startsWith'
>     at setConfig (/home/genieacs/genieacs/lib/config.js:207:21)
>     at Object.<anonymous> (/home/genieacs/genieacs/lib/config.js:250:8)
>     at Module._compile (module.js:456:26)
>     at Object.Module._extensions..js (module.js:474:10)
>     at Module.load (module.js:356:32)
>     at Function.Module._load (module.js:312:12)
>     at Module.require (module.js:364:17)
>     at require (module.js:380:17)
>     at Object.<anonymous> (/home/genieacs/genieacs/lib/cluster.js:21:10)
>     at Module._compile (module.js:456:26)
>
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20170215/a928c0e3/attachment.html>


More information about the Users mailing list