-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Think about Adapter/JS-Controller Versions and Restore procedure #2510
Comments
This ticket wants to achieve automatic installation of js-controller in the version from the backup. Needs to be discussed @Apollon77, to notify about this we recently introduced the information and option to allow restoring into another version via Personally, I am not sure if we should do this, as potentially breaking installations |
Laut @foxriver76 werden die Adapter in der Version installiert, die im Backup enthalten ist. Aber was ist mit dem js-controller? |
@foxriver76 true But look at this from another pov: I`m a user. I managed it to get ioBroker to work with a oneliner on my Ubuntu Desktop homeserver and can fully administer it from the admin ui. I do my backups with preinstalled backitup adapter. When trying to restore iobroker from backitup, it says js-controller mismatch, try restoring with --force flag (has to be tested if backitup reports this correctly, but i think so). What should I do (without the need of using cli)? In my opinion we have the following options:
Other ideas? Please don`t get me wrong. My intent is always to make iobroker "easier" to use and administer for regular users. We have to do this if we want to make it more user friendly and get away from the "iob is for system administrators 🤓" image... Regards, |
I think the fastest and safest solution for now would be to put an option in back it up, either by checking the error output and then showing a popup, that it will be restored with a different controller version if user likes and can confirm. |
I would also agree that backit up should ask the user if he wants tooverride that js-controller version difference. Alternatively the user can manually downgrade js.controller (maybe infos on how to do that could be given). If the js-controller would be versioned semantic (which he is not!) then we could think about "allowing a patch version difference", but it is not the case right now, so a patch version can also contain new fetures and so "bugs". The most transparent way would be to handle it in backitup. @simatec any opinion? |
I think this should be possible in Backitup Restore. |
I took a look at the issue and realised that back in the release of js-controller 4.x we already had to act and include the --force flag. |
Originally from simatec/ioBroker.backitup#1010
Wenn man es so betrachtet, dann hätten wir in beiden Szenarien ein Problem...
😀 Ich denke wir haben hier eine Aufgabe...
Mfg,
André
The text was updated successfully, but these errors were encountered: