# Is any update process for production deployments?

**URL:** <https://discourse.lynckia.com/t/is-any-update-process-for-production-deployments/359>\
**Category:** Support\
**Created:** [January 9, 2017, 12:34pm UTC](https://discourse.lynckia.com/t/is-any-update-process-for-production-deployments/359 "2017-01-09T12:34:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![miquel](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/miquel/32/34_2.png) [@miquel](https://discourse.lynckia.com/u/miquel)\
**Post date:** [January 9, 2017, 12:34pm UTC](https://discourse.lynckia.com/t/is-any-update-process-for-production-deployments/359/1 "2017-01-09T12:34:06Z")

</div>

Hi,

I have a production instance of licode installed from commit 34e6653, now I see lots of commits in master branch.

How can I update my instance? Do you have process to update?

My worry is about losing data or if I need to make some manual actions to ensure the service.

Thanks

---

<div class="post-metadata">

**Author:** ![miquel](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/miquel/32/34_2.png) [@miquel](https://discourse.lynckia.com/u/miquel)\
**Post date:** [January 24, 2017, 11:40am UTC](https://discourse.lynckia.com/t/is-any-update-process-for-production-deployments/359/2 "2017-01-24T11:40:28Z")

</div>

I’m trying to perform the update in a snapshot of my production environment, but I’m having issues.

I’ve executed [installUbuntuDeps.sh](http://installUbuntuDeps.sh) because I’ve seen in commits you have changed the node installation to use nvm, but when I try tu start all node precess the nuve process gives me the next error:

```
/usr/share/licode/nuve/nuveAPI/mdb/erizoControllerRegistry.js:11
    db.erizoControllers.find({}).toArray(function (err, erizoControllers) {
                        ^
TypeError: Cannot call method 'find' of undefined
    at Object.exports.getErizoControllers (/usr/share/licode/nuve/nuveAPI/mdb/erizoControllerRegistry.js:11:25)
    at checkKA (/usr/share/licode/nuve/nuveAPI/cloudHandler.js:90:29)
    at wrapper [as _onTimeout] (timers.js:261:14)
    at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)

```

Then I’ve executed [installNuve.sh](http://installNuve.sh), but the problem persists and after this script execution the SuperService ID and SuperService Key have changed.

Do you have any doc describing the update process? Is a way to update without changing SuperService credentials?

---

<div class="post-metadata">

**Author:** ![Alvaro\_Alonso](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/alvaro_alonso/32/32_2.png) [@Alvaro\_Alonso](https://discourse.lynckia.com/u/Alvaro_Alonso)\
**Post date:** [January 25, 2017, 1:39pm UTC](https://discourse.lynckia.com/t/is-any-update-process-for-production-deployments/359/3 "2017-01-25T13:39:35Z")

</div>

Thanks! It should be fixed in [https://github.com/ging/licode/pull/710](https://github.com/ging/licode/pull/710)

---

<div class="post-metadata">

**Author:** ![miquel](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/miquel/32/34_2.png) [@miquel](https://discourse.lynckia.com/u/miquel)\
**Post date:** [January 25, 2017, 2:17pm UTC](https://discourse.lynckia.com/t/is-any-update-process-for-production-deployments/359/4 "2017-01-25T14:17:53Z")

</div>

Yes thanks,

Now it runs correctly.

But the update process is still make me headache, after I run the installErizo and installNuve I can see that the licode\_conf.js has been replaced by the fresh one and I lose all my config.

Do you have the process or steps to update licode and don’t lose information or config?

---

<div class="post-metadata">

**Author:** ![miquel](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/miquel/32/34_2.png) [@miquel](https://discourse.lynckia.com/u/miquel)\
**Post date:** [January 25, 2017, 2:51pm UTC](https://discourse.lynckia.com/t/is-any-update-process-for-production-deployments/359/5 "2017-01-25T14:51:31Z")

</div>

I’m back with new problem after solving the erizoController.  
Now I have problems with erizoAgent, I can see this in the erizoAgent log:

```
2017-01-25 14:38:07.418 - INFO: ErizoAgent - message: launched new ErizoJS, erizoId: e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3] module.js:356
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3] Module._extensions[extension](this, filename);
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3] ^
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3]
[erizo-e26e7be3-fd2c-d1c5-04a4-7ed0b9d285a3] Error: /usr/share/licode/erizoAPI/build/Release/addon.node: undefined symbol: node_module_register
    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> (/usr/share/licode/erizo_controller/erizoJS/erizoJS.js:4:13)
    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 Function.Module.runMain (module.js:497:10)

```

Searching in google I’ve found this post [http://stackoverflow.com/questions/22868307/undefined-symbol-in-node-js-c-addon-under-linux-why](http://stackoverflow.com/questions/22868307/undefined-symbol-in-node-js-c-addon-under-linux-why) and I’ve tried to debug

```
/usr/share/licode/erizoAPI/build/Release(master*) # nm -C addon.node|grep node_module_register root@dagobah-licode
                 U node_module_register
------------------------------------------------------------

```

The node\_module\_register appears as undefined, is this related to bad script execution? how can I re-launch the scritps to solve it?

Thanks

---

<div class="post-metadata">

**Author:** ![Alvaro\_Alonso](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/alvaro_alonso/32/32_2.png) [@Alvaro\_Alonso](https://discourse.lynckia.com/u/Alvaro_Alonso)\
**Post date:** [January 25, 2017, 3:06pm UTC](https://discourse.lynckia.com/t/is-any-update-process-for-production-deployments/359/6 "2017-01-25T15:06:53Z")

</div>

Have you built erizo after the update?

---

<div class="post-metadata">

**Author:** ![miquel](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/miquel/32/34_2.png) [@miquel](https://discourse.lynckia.com/u/miquel)\
**Post date:** [January 25, 2017, 3:59pm UTC](https://discourse.lynckia.com/t/is-any-update-process-for-production-deployments/359/7 "2017-01-25T15:59:47Z")

</div>

Yes and the problem persists, some idea?

---

<div class="post-metadata">

**Author:** ![miquel](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/miquel/32/34_2.png) [@miquel](https://discourse.lynckia.com/u/miquel)\
**Post date:** [January 25, 2017, 6:09pm UTC](https://discourse.lynckia.com/t/is-any-update-process-for-production-deployments/359/8 "2017-01-25T18:09:34Z")

</div>

In environment that is already deployed if I launch installErizo.sh I have the next ERROR

 ![](https://canada1.discourse-cdn.com/flex031/uploads/lynckia/original/1X/460643a0423ba7c0a8406046ac4515042b25a07e.png)
