# Matterbridge constantly restarting

**URL:** <https://community.gladysassistant.com/t/redemarrage-en-boucle-de-matterbridge/10221>\
**Category:** Configuration\
**Created:** [May 11, 2026, 7:06am UTC](https://community.gladysassistant.com/t/redemarrage-en-boucle-de-matterbridge/10221 "2026-05-11T07:06:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nagromdark](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/nagromdark/32/17758_2.png) [@Nagromdark](https://community.gladysassistant.com/u/Nagromdark)\
**Post date:** [May 11, 2026, 7:06am UTC](https://community.gladysassistant.com/t/redemarrage-en-boucle-de-matterbridge/10221/1 "2026-05-11T07:06:54Z")

</div>

Hello everyone,

There was a Matterbridge update two days ago and since then it’s not working, the container keeps restarting and I can’t access the interface.

Has anyone else had the same issue?

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [May 11, 2026, 9:36am UTC](https://community.gladysassistant.com/t/redemarrage-en-boucle-de-matterbridge/10221/2 "2026-05-11T09:36:03Z")

</div>

Hi,

I don’t use the Matterbridge built into Gladys but rather externally on another VM.

Could you please provide logs via the command which should be:

> docker logs gladys-matterbridge

---

<div class="post-metadata">

**Author:** ![Nagromdark](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/nagromdark/32/17758_2.png) [@Nagromdark](https://community.gladysassistant.com/u/Nagromdark)\
**Post date:** [May 11, 2026, 3:23pm UTC](https://community.gladysassistant.com/t/redemarrage-en-boucle-de-matterbridge/10221/3 "2026-05-11T15:23:08Z")

</div>

Hi, I’m also using matterbridge externally.

```bash
sudo docker logs --tail 50 matterbridge
🟢 Node.js version: v24.15.0
🟣 Npm version: 11.12.1
[10:21:16.293] [Matterbridge] Matterbridge is starting...
[10:21:16.298] [Matterbridge] Error parsing plugin matterbridge-ai-factory-gardena-smart-system. Trying to reinstall it from npm...
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/matterbridge-ai-factory-gardena-smart-system - Not found
npm error 404
npm error 404 The requested resource 'matterbridge-ai-factory-gardena-smart-system@*' could not be found or you do not have permission to access it.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /root/.npm/_logs/2026-05-11T10_21_16_350Z-debug-0.log
[10:21:16.858] [Cli] Matterbridge.loadInstance() failed with error: Command failed: npm install -g matterbridge-ai-factory-gardena-smart-system --omit=dev
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/matterbridge-ai-factory-gardena-smart-system - Not found
npm error 404
npm error 404 The requested resource 'matterbridge-ai-factory-gardena-smart-system@*' could not be found or you do not have permission to access it.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /root/.npm/_logs/2026-05-11T10_21_16_350Z-debug-0.log

```

After the update, it tries to install the plugin matterbridge-ai-factory-gardena-smart-system created by the factory. However, it doesn’t exist on npm, so this keeps happening in a loop.

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [May 11, 2026, 3:34pm UTC](https://community.gladysassistant.com/t/redemarrage-en-boucle-de-matterbridge/10221/4 "2026-05-11T15:34:22Z")

</div>

Yes, I had the same problem with the Daikin plugin.

I had to start from scratch with MatterBridge ☹ Be careful, this erases everything on MatterBridge and the different Matter associations (The following commands have been tested only on an instance external to Gladys).

> docker compose down  
> rm -r .matterbridge/  
> rm -r .mattercert/  
> rm -r Matterbridge/  
> docker compose up -d

You need to report your problem to the AI so it can fix it.  
Apparently, the Yeelight plugin did not encounter this problem.

For my part, the AI fixed it for my plugin 🙂 on the old issue:

> <https://github.com/GladysAssistant/matterbridge-ai-plugin-factory/issues/8>
>
> \### Device/Service Name
> 
> Daikin\_Onecta
> 
> \### Existing Integrations & Documentatio…n
> 
> \- Home assistant intégration : https://github.com/jwillemsen/daikin\_onecta (recent update)
> \- HomeBridge plugin : https://www.npmjs.com/package/@mp-consulting/homebridge-daikin-cloud (recent update)
> \- Github project that controls this device : https://github.com/Apollon77/daikin-controller-cloud (last update 1 year)
> 
> 
> \### Device Capabilities
> 
> \- On/Off control
> \- Change thermostat (temperature)
> \- Air Conditioning Mode (Heating, Cooling or Auto)
> 
> \### Additional Context
> 
> This is an integration to control Daikin Air Conditioning devices.
> 
> \### Confirmations
> 
> \- \[x\] I have provided links to existing integrations in other projects
> \- \[x\] I have verified the API documentation is accessible
> \- \[x\] I understand this is an automated AI process and results may vary
> \- \[x\] I am willing to test the generated plugin and provide feedback

The bug is present on the new issue created on the Daikin plugin (I will ask it to fix it when I have been able to test that the previous bug is well resolved 🙂:

> <https://github.com/GladysAssistant/matterbridge-ai-plugin-factory/issues/12#issuecomment-4419073618>
>
> \### Device/Service Name
> 
> Daikin\_Onecta
> 
> \### Existing Integrations & Documentatio…n
> 
> HomeBridge plugin : https://www.npmjs.com/package/@mp-consulting/homebridge-daikin-cloud (recent update)
> Github project that controls this device : https://github.com/Apollon77/daikin-controller-cloud (last update 1 year)
> 
> \### Device Capabilities
> 
> On/Off control
> Change thermostat (temperature)
> Air Conditioning Mode (Heating, Cooling or Auto)
> 
> \### Additional Context
> 
> Authentication on Homebridge is presented as follows, step by step; therefore, the same process should be replicated with the callback URL:
> 
> \<img width="775" height="627" alt="Image" src="https://github.com/user-attachments/assets/cab99f57-75fe-4467-8d0a-09f4c765a21e" /\>
> 
> \<img width="791" height="762" alt="Image" src="https://github.com/user-attachments/assets/cf000d2d-49f2-4be2-9787-82e18eab16cc" /\>
> 
> \<img width="679" height="924" alt="Image" src="https://github.com/user-attachments/assets/03f1dc27-92ff-45da-a34b-d13f84b6c87d" /\>
> 
> \<img width="1041" height="677" alt="Image" src="https://github.com/user-attachments/assets/61ee8c27-2c94-446c-b9f6-871fb8e845e8" /\>
> 
> \<img width="758" height="677" alt="Image" src="https://github.com/user-attachments/assets/d04ea8d5-6b7e-4bf8-b710-6ac0e76fa7a6" /\>
> 
> \<img width="761" height="369" alt="Image" src="https://github.com/user-attachments/assets/e0d4f6d9-150f-4e6d-9d40-5425b14b78c8" /\>
> 
> \### Confirmations
> 
> \- \[x\] I have provided links to existing integrations in other projects
> \- \[x\] I have verified the API documentation is accessible
> \- \[x\] I understand this is an automated AI process and results may vary
> \- \[x\] I am willing to test the generated plugin and provide feedback

---

<div class="post-metadata">

**Author:** ![Nagromdark](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/nagromdark/32/17758_2.png) [@Nagromdark](https://community.gladysassistant.com/u/Nagromdark)\
**Post date:** [July 21, 2026, 12:42pm UTC](https://community.gladysassistant.com/t/redemarrage-en-boucle-de-matterbridge/10221/5 "2026-07-21T12:42:31Z")

</div>

Hi,

Every time I restart Matterbridge or update it, the plugin stops working and I have to upload it manually.

do you have a solution to avoid this?

Also, since the 3.10 update, it doesn’t work at all. I saw that you had the same problem @prohand

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [July 21, 2026, 12:58pm UTC](https://community.gladysassistant.com/t/redemarrage-en-boucle-de-matterbridge/10221/6 "2026-07-21T12:58:09Z")

</div>

Hello,

The answer to your first question is here:

> <https://github.com/Luligu/matterbridge/issues/558>
>
> Hello,
> 
> When I install a plugin that isn't on npm and is generated by an AI like… this one, the problem occurs with all generated plugins:
> 
> https://github.com/GladysAssistant/matterbridge-ai-plugin-factory/issues/12
> 
> We encounter the following problem when we stop and completely restart Matterbridge via Docker 
> 
> Here are the error logs : 
> 
> \`\`\`
> \[08:54:14.737\] \[Matterbridge\] Error parsing plugin matterbridge-ai-factory-daikin-onecta. Trying to reinstall it from npm...
> npm error code E404
> npm error 404 Not Found - GET https://registry.npmjs.org/matterbridge-ai-factory-daikin-onecta - Not found
> npm error 404
> npm error 404 The requested resource 'matterbridge-ai-factory-daikin-onecta@\*' could not be found or you do not have permission to access it.
> npm error 404
> npm error 404 Note that you can also install from a
> npm error 404 tarball, folder, http url, or git url.
> npm error A complete log of this run can be found in: /root/.npm/\_logs/2026-05-13T08\_54\_14\_781Z-debug-0.log
> \[08:54:15.375\] \[Cli\] Matterbridge.loadInstance() failed with error: Command failed: npm install -g matterbridge-ai-factory-daikin-onecta --omit=dev
> npm error code E404
> npm error 404 Not Found - GET https://registry.npmjs.org/matterbridge-ai-factory-daikin-onecta - Not found
> npm error 404
> npm error 404 The requested resource 'matterbridge-ai-factory-daikin-onecta@\*' could not be found or you do not have permission to access it.
> npm error 404
> npm error 404 Note that you can also install from a
> npm error 404 tarball, folder, http url, or git url.
> npm error A complete log of this run can be found in: /root/.npm/\_logs/2026-05-13T08\_54\_14\_781Z-debug-0.log
>  
> Error: Command failed: npm install -g matterbridge-ai-factory-daikin-onecta --omit=dev
> npm error code E404
> npm error 404 Not Found - GET https://registry.npmjs.org/matterbridge-ai-factory-daikin-onecta - Not found
> npm error 404
> npm error 404 The requested resource 'matterbridge-ai-factory-daikin-onecta@\*' could not be found or you do not have permission to access it.
> npm error 404
> npm error 404 Note that you can also install from a
> npm error 404 tarball, folder, http url, or git url.
> npm error A complete log of this run can be found in: /root/.npm/\_logs/2026-05-13T08\_54\_14\_781Z-debug-0.log
> 
> at genericNodeError (node:internal/errors:985:15)
> at wrappedFn (node:internal/errors:539:14)
> at checkExecSyncError (node:child\_process:925:11)
> at execSync (node:child\_process:997:15)
> at Matterbridge.initialize (file:///usr/local/lib/node\_modules/matterbridge/node\_modules/@matterbridge/core/dist/matterbridge.js:627:21)
> at async Matterbridge.loadInstance (file:///usr/local/lib/node\_modules/matterbridge/node\_modules/@matterbridge/core/dist/matterbridge.js:312:17)
> at async main (file:///usr/local/lib/node\_modules/matterbridge/node\_modules/@matterbridge/core/dist/cli.js:100:16) {
> status: 1,
> signal: null,
> output: \[
> null,
> \<Buffer \>,
> \<Buffer 6e 70 6d 20 65 72 72 6f 72 20 63 6f 64 65 20 45 34 30 34 0a 6e 70 6d 20 65 72 72 6f 72 20 34 30 34 20 4e 6f 74 20 46 6f 75 6e 64 20 2d 20 47 45 54 20 ... 461 more bytes\>
> \],
> pid: 38,
> stdout: \<Buffer \>,
> stderr: \<Buffer 6e 70 6d 20 65 72 72 6f 72 20 63 6f 64 65 20 45 34 30 34 0a 6e 70 6d 20 65 72 72 6f 72 20 34 30 34 20 4e 6f 74 20 46 6f 75 6e 64 20 2d 20 47 45 54 20 ... 461 more bytes\>
> }
> \`\`\`
> 
> The problem is resolved by starting completely from scratch with the following commands and reinstall plugin :
> 
> \`\`\`
> docker compose down
> rm -r .mattercert/
> rm -r .matterbridge/
> rm -r Matterbridge
> docker compose up -d
> \`\`\`
> 
> Thanks

As for the issue since 3.10, I can’t determine if the problem comes from matterbridge or the plugins that need to be updated

Edit: The AI has indeed fixed my plugin for version 3.10 😉

---

<div class="post-metadata">

**Author:** ![Nagromdark](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/nagromdark/32/17758_2.png) [@Nagromdark](https://community.gladysassistant.com/u/Nagromdark)\
**Post date:** [July 23, 2026, 2:14pm UTC](https://community.gladysassistant.com/t/redemarrage-en-boucle-de-matterbridge/10221/7 "2026-07-23T14:14:35Z")

</div>

Thanks for the info, but I admit I didn’t understand everything… so is it resolved for local plugins or do I need to do something else?

The AI also fixed my V3.10 issue 😉

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [July 25, 2026, 9:36am UTC](https://community.gladysassistant.com/t/redemarrage-en-boucle-de-matterbridge/10221/8 "2026-07-25T09:36:46Z")

</div>

The AI needs to be asked to do this:

![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/2/a/2a89d89b9302db222ebe9a564929f4e780c6a0f2.png)
