root@tplink-rm:/home/network# cd /etc/systemd/system/genieacs-cwmp.service.d
bash: cd: /etc/systemd/system/genieacs-cwmp.service.d: No such file or directory
Ok, we need to break this one down a bit.
Process: 1330 ExecStart=/opt/genieacs/dist/bin/genieacs-ui --ui-jwt-secret INSERT _YOUR_OWN_SECRET (code=exited, status=203/EXEC)
I assume you didnât read the docs here. You need to insert your own secret⌠This is also referenced in the config file, if Iâm not completely mistaken(Zaidka?). You need to get that stuff right for it to start.
cd /etc/systemd/system/genieacs-cwmp.service.d
This will not work, thatâs the wrong path. Do this:
cd /etc/systemd/system/
ls
Now you should see the services. However, my service definitions also assume that you have the same path as me. Where did you install Genie? /opt/genieacs or somewhere else? And do you have a âgenieacs.envâ file with settings? Donât mean to be annoying, but you have to combine these answers with some RTFM, they donât always apply without modifications. But verify your paths and weâll figure it out!
thanks for the reply. i didnt put that secret in i just pasted wrong thing in. anyway the ExecStart path was wrong.
Now i get here. The log directory is there with nothing in it so not sure why the error.
Itâs because it canât find the log directory(no such fileâŚ). Create the subdirectory as defined and make sure it has correct permissions. In my config I have /var/log/genieacs/ as a subdir.
Edit: Iâm tired and didnât read your reply properly, sorry⌠Check permissions! If you run Genie as a separate user, say âgenieacsâ, you need to give that user access either by group or directly. on the directory.
Could you attach the actual log in a txt file(donât know if thatâl work on this forum?) or paste it here? It is slightly concatenated and hard to read in full context.
i have the same problem and i solve it by upgrade the node to v10 as recommended in the document , when u use apt install node , it install v8 which not able to run CWMP service
just got a same issue. genieacs-ui and genieacs-fs are running properly but i still have problems with cwmp and fs
Oct 23 13:47:12 przem systemd[1]: Started GenieACS CWMP.
Oct 23 13:47:13 przem genieacs-cwmp[5497]: /usr/local/lib/node_modules/genieacs/bin/genieacs-cwmp:2
Oct 23 13:47:13 przem genieacs-cwmp[5497]: âuse strictâ;function _interopDefault(e){return e&&âobjectâ==ty
Oct 23 13:47:13 przem genieacs-cwmp[5497]: SyntaxError: Unexpected reserved word
Oct 23 13:47:13 przem genieacs-cwmp[5497]: at createScript (vm.js:80:10)
Oct 23 13:47:13 przem genieacs-cwmp[5497]: at Object.runInThisContext (vm.js:139:10)
Oct 23 13:47:13 przem genieacs-cwmp[5497]: at Module._compile (module.js:616:28)
Oct 23 13:47:13 przem genieacs-cwmp[5497]: at Object.Module._extensionsâŚjs (module.js:663:10)
Oct 23 13:47:13 przem genieacs-cwmp[5497]: at Module.load (module.js:565:32)
Oct 23 13:47:13 przem genieacs-cwmp[5497]: at tryModuleLoad (module.js:505:12)
Oct 23 13:47:13 przem genieacs-cwmp[5497]: at Function.Module._load (module.js:497:3)
Oct 23 13:47:13 przem genieacs-cwmp[5497]: at Function.Module.runMain (module.js:693:10)
Oct 23 13:47:13 przem genieacs-cwmp[5497]: at startup (bootstrap_node.js:188:16)
Oct 23 13:47:13 przem genieacs-cwmp[5497]: at bootstrap_node.js:609:3
Oct 23 13:47:13 przem systemd[1]: genieacs-cwmp.service: Main process exited, code=exited, status=1/FAILUR
Oct 23 13:47:13 przem systemd[1]: genieacs-cwmp.service: Failed with result âexit-codeâ.
i`m stucked here. i tried 3 different versions of nodejs and it didnt change anything. any clues?