Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapter not starting after upgrading to 2.1.0 #460

Closed
mi3dke opened this issue May 22, 2024 · 4 comments
Closed

Adapter not starting after upgrading to 2.1.0 #460

mi3dke opened this issue May 22, 2024 · 4 comments
Labels

Comments

@mi3dke
Copy link

mi3dke commented May 22, 2024

Hi,
I just installed the upgrade to 2.1.0 from 2.0.2. Everything was working before.
This was the only installation today. All adapters, node etc. have been updated earlier already on a regular base
After the installation the adapter is not connecting.
image
In the log there is an error-message.
image
But I have admin 6.13.16 installed and running. (since longer already and rebooted etc. )
image
Also the frameworks are updated.
image
I tried to downgrad to 2.0.2 and 2.0.1 but no success. Not starting and also showing the adapter size with 0MB.
image
As the adapter is sending data to influx I can see it stopped exactly when I did the update so it is pretty obvious, the upgrade of the adapter lead to the problem. And the root cause seems to be a faulty detection of a version dependency with admin.
This is also the reason I did not try uninstalling and reinstalling the whole adapter. I am afraid after this I will end up with a new measurement series in influx.

Any idea?

Thanks
Michael

@mi3dke
Copy link
Author

mi3dke commented May 23, 2024

I tried different things but finally it got really messy so that the installation of the adapter worked but did not show up in instances anymore ... I decided to restore a regular backup that was luckily only an hour old and that worked, ie. after the restore was finished I was able to upgrade to version 2.1.0 without a problem.
Not sure what went wrong with the upgrade attempt I did earlier.

@mcm1957
Copy link
Member

mcm1957 commented May 23, 2024

Adapter has not been started as admin dependencies did not match. This check is not perfomed by adapter but by js-controller which logs the message too. So this is never a issue of the adapter.

Why js-controller reported admin to be older than installed cannot be investigated as it seems to work now. And this would also be a issue of admin / js-controller. Maybe an iob upload goit lost somewhere.

@mcm1957 mcm1957 closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2024
@mi3dke
Copy link
Author

mi3dke commented May 23, 2024

Thanks for the explanation, Martin.
This could help next time ...

@mcm1957
Copy link
Member

mcm1957 commented May 23, 2024

One addition:
If using a multihost system the admin dependency must be fulfilled at ALL hosts.

In this case the error message is not optimal.
See ioBroker/ioBroker.js-controller#2762

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants