Page 12 of 20

Re: Migration von i-MSCP zu KeyHelp

Posted: Mon 20. Dec 2021, 02:50
by akong77
I have question.If my imscp has ten domain.How to migration all domain one times?

Re: Migration von i-MSCP zu KeyHelp

Posted: Mon 20. Dec 2021, 10:45
by space2place
The script migrates all domain under the webspace (first domain) of the i-MSCP user.

Re: Migration von i-MSCP zu KeyHelp

Posted: Mon 20. Dec 2021, 10:56
by akong77
When I run script.It's will ask How do you want to migrate the i-MSCP account? Add to => : a new KeyHelp account.

If I want migration imscp user to keyhelp.How to input it?

If imscp user account is abc.How to migration this user account to keyhelp?

Re: Migration von i-MSCP zu KeyHelp

Posted: Mon 20. Dec 2021, 12:29
by space2place
I try to explain it simple.. ;)
On i-MSCP you have the user "abc.tld" which has also 20 domains as alias.
Now you start the migration script.
The first question ist for the new account on KeyHelp

Code: Select all

How do you want to migrate the i-MSCP account? Add to => : a new KeyHelp account
Type "Enter" if you want to create a new KeyHelp account for the i-MSCP user "abc.tld" or use the arrow keys and select an existing KeyHelp account were you want to migrate the i-MSCP user "abc.tld".

If you use "new KeyHelp account" you have to add "name", "surname" and "emailddress"
Then you have to select the KeyHelp Template. Type Enter an the script will use unlimeted.

Now the script will ask for the i-MSCP user you want to migrate. Here you type in the first domain. In our example "abc.tld".

Thats all.

After migration you need to change the DNS for alle domains

Re: Migration von i-MSCP zu KeyHelp

Posted: Tue 21. Dec 2021, 02:28
by akong77
So...
Please see attachment.If I have multiple users, do I have to migration to keyhelp one user at a time?

Re: Migration von i-MSCP zu KeyHelp

Posted: Tue 21. Dec 2021, 11:31
by space2place
Correct. Each i-MSCP user must be migrated individually.
If you want each i-MSCP user to have its own account, then you have to select "a new KeyHelp account" each time.

Re: Migration von i-MSCP zu KeyHelp

Posted: Sun 9. Jan 2022, 17:43
by 24unix
Habe nen kleines Problem gefunden:

Code: Select all

keyhelpCreateSystemDomain = ask
  # true | false | ask
Das habe ich in der Config auf ask gesetzt.

Code: Select all

Traceback (most recent call last):
  File "/root/i-mscp-keyhelp-migration/./i-mscp_keyhelp_migration.py", line 279, in <module>
    keyhelpAddData.addKeyHelpDataToApi(apiEndpointClients, keyhelpInputData.keyhelpData)
  File "/root/i-mscp-keyhelp-migration/_keyhelp.py", line 429, in addKeyHelpDataToApi
    apiJsonData = self.__makeClientsJsonData(keyHelpData, apiEndPoint)
  File "/root/i-mscp-keyhelp-migration/_keyhelp.py", line 602, in __makeClientsJsonData
    data['create_system_domain'] = bool(strtobool(str(keyhelpCreateSystemDomain)))
  File "/usr/lib/python3.9/distutils/util.py", line 320, in strtobool
    raise ValueError("invalid truth value %r" % (val,))
ValueError: invalid truth value 'ask'
Offensichtlich erwartet er einen Bool.

Wen ich true sage läuft er durch …

Re: Migration von i-MSCP zu KeyHelp

Posted: Sun 9. Jan 2022, 19:05
by space2place
Danke für die Meldung.
Ich prüfe das diese Woche und stelle den Fix online

Re: Migration von i-MSCP zu KeyHelp

Posted: Mon 10. Jan 2022, 10:48
by space2place
24unix wrote: Sun 9. Jan 2022, 17:43 Habe nen kleines Problem gefunden:

Code: Select all

keyhelpCreateSystemDomain = ask
  # true | false | ask
Da brauche ich nichts zu fixen.
# true | false | ask
gehört zu dem nächsten Parameter
# true | false | ask
keyhelpDisableDnsForDomain = true
Ist also alles richtig.

Re: Migration von i-MSCP zu KeyHelp

Posted: Mon 10. Jan 2022, 12:28
by 24unix
space2place wrote: Mon 10. Jan 2022, 10:48 gehört zu dem nächsten Parameter
# true | false | ask
keyhelpDisableDnsForDomain = true
Ist also alles richtig.
Ah, also mein Fehler, sorry.

Re: Migration von i-MSCP zu KeyHelp

Posted: Tue 17. May 2022, 13:19
by Viktor
Hallo,

erstmal, danke fürs erstellen dieses Scriptes es ist super.

Ich bin gerade dabei auf Keyhelp zu migrieren.

Ich habe festgestellt das die FTP Passwörter nicht übernommen werden.?

Ist das so gewollt oder liegt es an den Passwort-Richtlinie von Keyhelp.?
Muss man sie anpassen das es dann klappt.?

Ich muss noch mit 20 Domains umziehen und wollte es vorher klären.

Gruß
Viktor ;)

Re: Migration von i-MSCP zu KeyHelp

Posted: Wed 18. May 2022, 11:28
by space2place
Viktor wrote: Tue 17. May 2022, 13:19 Ich habe festgestellt das die FTP Passwörter nicht übernommen werden.?

Ist das so gewollt oder liegt es an den Passwort-Richtlinie von Keyhelp.?
Doch das geht.. Sogar mit SQL Querie oder direkt über die API. Über die API greifen dann auch die Richtlinien.

Re: Migration von i-MSCP zu KeyHelp

Posted: Wed 18. May 2022, 12:17
by Viktor
space2place wrote: Wed 18. May 2022, 11:28
Viktor wrote: Tue 17. May 2022, 13:19 Ich habe festgestellt das die FTP Passwörter nicht übernommen werden.?

Ist das so gewollt oder liegt es an den Passwort-Richtlinie von Keyhelp.?
Doch das geht.. Sogar mit SQL Querie oder direkt über die API. Über die API greifen dann auch die Richtlinien.
Hallo,

oh dann muss ich "keyhelpUpdatePasswordWithApi" auf false stellen damit die FTP Passwörter übernommen werden. :?:

Bei Email und Htaccess gilt das dann auch mit den Passwörtern. :?:

Was passiert wenn ich die "Passwort-Richtlinie von Keyhelp" anpasse das alles erlaubt ist geht es dann per API. :?:

Sorry für die vielen Fragen aber bevor ich restlichen Domains migriere möchte ich das gerne klären.

Danke
Viktor ;)

Re: Migration von i-MSCP zu KeyHelp

Posted: Wed 18. May 2022, 13:47
by space2place
Viktor wrote: Wed 18. May 2022, 12:17 Was passiert wenn ich die "Passwort-Richtlinie von Keyhelp" anpasse das alles erlaubt ist geht es dann per API. :?:
Das habe ich nie probiert. Kann ich Dir also nicht sagen.
Wo die API einen Passwort HASH angeboten hat, habe ich das entsprechend einprogrammiert.

Re: Migration von i-MSCP zu KeyHelp

Posted: Wed 18. May 2022, 16:04
by Viktor
space2place wrote: Wed 18. May 2022, 13:47
Viktor wrote: Wed 18. May 2022, 12:17 Was passiert wenn ich die "Passwort-Richtlinie von Keyhelp" anpasse das alles erlaubt ist geht es dann per API. :?:
Das habe ich nie probiert. Kann ich Dir also nicht sagen.
Wo die API einen Passwort HASH angeboten hat, habe ich das entsprechend einprogrammiert.
Hallo,

also besser "keyhelpUpdatePasswordWithApi" auf "false" setzen dann sollen die Passwörter klappen. :?:

Datenbankpasswörter muss man dann es neu eingeben.

Danke
Viktor ;)