Migration von i-MSCP zu KeyHelp

Für Modifikationen in und um KeyHelp.
akong77
KeyHelp Translator
Posts: 44
Joined: Mon 2. Aug 2021, 07:39

Re: Migration von i-MSCP zu KeyHelp

Post by akong77 »

I have question.If my imscp has ten domain.How to migration all domain one times?
User avatar
space2place
Posts: 486
Joined: Tue 24. Mar 2020, 11:02
Contact:

Re: Migration von i-MSCP zu KeyHelp

Post by space2place »

The script migrates all domain under the webspace (first domain) of the i-MSCP user.
akong77
KeyHelp Translator
Posts: 44
Joined: Mon 2. Aug 2021, 07:39

Re: Migration von i-MSCP zu KeyHelp

Post 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?
User avatar
space2place
Posts: 486
Joined: Tue 24. Mar 2020, 11:02
Contact:

Re: Migration von i-MSCP zu KeyHelp

Post 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
akong77
KeyHelp Translator
Posts: 44
Joined: Mon 2. Aug 2021, 07:39

Re: Migration von i-MSCP zu KeyHelp

Post by akong77 »

So...
Please see attachment.If I have multiple users, do I have to migration to keyhelp one user at a time?
Attachments
2021-12-21_091444.jpg
2021-12-21_091444.jpg (74.3 KiB) Viewed 3153 times
User avatar
space2place
Posts: 486
Joined: Tue 24. Mar 2020, 11:02
Contact:

Re: Migration von i-MSCP zu KeyHelp

Post 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.
User avatar
24unix
Posts: 1560
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: Migration von i-MSCP zu KeyHelp

Post 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 …
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
User avatar
space2place
Posts: 486
Joined: Tue 24. Mar 2020, 11:02
Contact:

Re: Migration von i-MSCP zu KeyHelp

Post by space2place »

Danke für die Meldung.
Ich prüfe das diese Woche und stelle den Fix online
User avatar
space2place
Posts: 486
Joined: Tue 24. Mar 2020, 11:02
Contact:

Re: Migration von i-MSCP zu KeyHelp

Post 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.
User avatar
24unix
Posts: 1560
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: Migration von i-MSCP zu KeyHelp

Post 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.
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
User avatar
Viktor
Posts: 60
Joined: Fri 21. May 2021, 22:23
Location: Wesel
Contact:

Re: Migration von i-MSCP zu KeyHelp

Post 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 ;)
User avatar
space2place
Posts: 486
Joined: Tue 24. Mar 2020, 11:02
Contact:

Re: Migration von i-MSCP zu KeyHelp

Post 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.
User avatar
Viktor
Posts: 60
Joined: Fri 21. May 2021, 22:23
Location: Wesel
Contact:

Re: Migration von i-MSCP zu KeyHelp

Post 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 ;)
User avatar
space2place
Posts: 486
Joined: Tue 24. Mar 2020, 11:02
Contact:

Re: Migration von i-MSCP zu KeyHelp

Post 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.
User avatar
Viktor
Posts: 60
Joined: Fri 21. May 2021, 22:23
Location: Wesel
Contact:

Re: Migration von i-MSCP zu KeyHelp

Post 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 ;)
Post Reply