dash fault with ISPConfig Migration Toolkit

Discussion in 'Installation/Configuration' started by pesja, Jun 5, 2024.

  1. pesja

    pesja Member

    Hello, I have a strange error message with the ISPConfig Migration Toolkit. This is what I did and what went wrong:
    - Migrate existing Debian 11 ISPConfig server (host1) (installed by automated ISPConfig install) to a new Debian 12 ISPConfig server (host2)
    - Dry run went OK and Migrate also was succesfull
    - The hosting on that new Debian 12 ISPConfig (host2) server runs well.
    - After some checks I deleted host 1

    - In the final step I setup again a minimal install of a Debian 12 server and ISPConfig.
    Hostname (host1) and IP adress is the same as the old deleted Debian 11 server.

    After that I tried to migrate all the data from host2 to the new host1 but when I start ./migrate I get this fault:
    "Please change default shell to bash. Dash is incompatible." So migrate won't start.

    I don't see what I'm doing wrong. but maybe someone else does?
    Please help.

    Thank's in advance
     
  2. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    Code:
    echo "dash dash/sh boolean false" | debconf-set-selections
    dpkg-reconfigure dash
    
    and exit/login again
     
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    You must run the migration tool on the SOURCE server. Did you do that?
     
  4. pesja

    pesja Member

    @Taleman: I am indeed working with the migration tool on the source server

    @ztk.me: unfortunately negative result. Still got the
    "Please change default shell to bash. Dash is incompatible."fault.

    The strange thing is that nothing has happened on this source server (which used to be the target server yesterday) in terms of configuration.
    Just a minimal installation of Debian 12. Then the automatic installation of ISPConfig and act as the targetserver with the migration tool, which runs OK.

    Today it's the source server and the above problem arises.

    Help!
     
    Last edited: Jun 5, 2024
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, the approach that @ztk.me mentioned likely works only on Debian 11 and below, as Debian blocked the config of that option. What you can do instead is manually change the symlink.

    See post #3 here: https://forum.howtoforge.com/thread...toolkit-debian-12-dash-is-incompatible.91384/

    Besides that, do you use the latest migration tool version by downloading it from our website? I thought this warning that you got has been removed.
     
    ztk.me likes this.
  6. pesja

    pesja Member

    @till: thank's for the solution. It now works:
    changing dash to bash -> sudo ln -sf /bin/bash /bin/sh

    and back to dash -> sudo ln -sf /bin/dash /bin/sh

    And yes, I download the last version of the tool.
     
    ahrasis likes this.

Share This Page