Comments on Update the ISPConfig Perfect Server from Debian 11 to Debian 12

This tutorial will take you through updating a server managed by ISPConfig from Debian 11 (bullseye) to Debian 12 (bookworm). This guide works for both single- and multiserver setups.

19 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: picaron

Hello.There is a small error in the tutorial. This route is incorrect.

PHP-FPM php.ini path: /etc/php/8.2/fpm/php.ini

The correct route must be

PHP-FPM php.ini path: /etc/php/8.2/fpm/

 

Thanks for all your work.

By: eugen

I believe the heading at section 5 should say "Update paths to use PHP 8.2 as default PHP version" (instead of "... PHP 7.4 ...").

By: SamTzu

Usrmerge issue: FATAL ERROR: If you have two same binaries at different locations like /bin/egrep and /usr/bin/egrepusrmerge bug will give fatal error during the upgrade.

By: SamTzu

Roundcube will die after this upgrade.There does not seem to be an easy fix.

By: SamTzu

ISPconfig Server Config panel also has FastCGI tab withFastCGI php.ini Path (PHP7.4).

By: SamTzu

Usrmerge is supposed to move over all executables from directory /bin to /usr/bin. As soon as /bin is empty, /bin will be removed and replaced by a symlink bin, which points to /usr/bin. The move fails, because both directories hold an executable file named egrep. Usrmerge is cautious not to overwrite the file in /usr/bin. Usrmerge is not able to decide which of the 2 grep executables to keep.

By: slagroom

# curl https://git.ispconfig.org/ispconfig/tools/-/raw/master/auto_update_phpmyadmin.sh -sL | shsh: 34: [: 1: unexpected operatorsh: 68: [: 5.2.1: unexpected operatorUnknown error. Exiting.

By: till

Your system probably uses a functionally limited shell for sh that does not support all commands in that file, try this instead:

curl https://git.ispconfig.org/ispconfig/tools/-/raw/master/auto_update_phpmyadmin.sh -sL | bash

By: Jose Pertuz

All work Fine.   

correct:  PHP-FPM php.ini path: /etc/php/8.2/fpm/

By: RDX

Have you tried to send e-mails with roundcube after the upgrade?

By: RDX

Hi. I upgraded according to this tutorial and the one from "How to Upgrade from Debian 11 to Debian 12". Everything goes very well except for the roundcube part, sending messages. Now an error message appears saying "SMTP error. () Authentication failed". What can be done?

By: RDX

OK, found a solution. In config.inc.php add following:

// SMTP password (if required) if you use %p as the password Roundcube

// will use the current user's password for login

$config['smtp_pass'] = '%p';

// $config['smtp_pass'] = '';

 

$config['smtp_timeout'] = 60;

$config['smtp_auth_type'] = 'LOGIN';

$config['smtp_conn_options'] = [

  'ssl' => [

    'verify_peer' => false,

    'verify_peer_name' => false

  ],

];

Now I can send e-mails with roundcube after upgrade.

By: bradgillap

Thank you. I had to add tls:// to get mine working as well for smtp in the config.  So just to be clear to round up the entire thing.

 

/etc/roundcube/config.inc.php

$config['smtp_server'] = 'tls://%h';

$config['smtp_port'] = 25;

$config['smtp_user'] = '%u';

$config['smtp_pass'] = '%p';

$config['smtp_timeout'] = 60;

$config['smtp_auth_type'] = 'LOGIN';

$config['smtp_conn_options'] = [

  'ssl' => [

    'verify_peer' => false,

    'verify_peer_name' => false

  ],

];

By: Viper_iii

keep htting an issue after updating from 10 to 11Running and all but can't update Debian 11 apt update && apt upgrade starts processing 

Fetched 64.0 MB in 2s (25.9 MB/s)

Reading changelogs... Done

apt-listchanges: Mailing root: apt-listchanges: news for panel

Extracting templates from packages: 100%

Preconfiguring packages ...

 

Determining localhost credentials from /etc/mysql/debian.cnf: succeeded. then opens  /etc/default/pure-ftpd-common# in nano - empty fileand doesn't proceed any further... can't Cntrl + X to close it

By: Viper_iii

Temporarly bypassing the issue by https://www.cyberciti.biz/faq/apt-get-hold-back-packages-command/apt-mark hold pure-ftpd-common pure-ftpd-mysql still odd one for me but allowing me to update Deb 11 packages now Next will be updating to Deb 12 once I verify all is running. Currently updated 12 > 12 per the article with pure-ftpd-common held back later might just remove via apt remove --purge pure-ftpd pure-ftpd-common1/2 expect this to also remove pure-ftpd-mysql then re-runispconfig_update.sh --force However doubt pure-ftp will be re-installed leaving me with a bit of an issue...

By: schickel

for some reasons rspamd is not running and service is masked. have to check why and how to fix this. anyone also faced this issue?

By: till

In case you get a access denied error from Nginx when trying to login to ISPConfig and you find something like the error below in /var/log/nginx/error.log

 

2024/01/25 17:45:48 [crit] 1055#1055: *2 connect() to unix:/var/lib/php8.2-fpm/ispconfig.sock failed (13: Permission denied) while connecting to upstream, client: .........., server: _, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/var/lib/php8.2-fpm/ispconfig.sock:", host: ".........:8080"

Then the permission of the socket directory might be wrong, you can fix it with this command:

chmod 755 /var/lib/php8.2-fpm

By: Curtis Maurand

rspamd came up broken.  Ensure you change the /etc/apt/sources.list.d/rspamd.list distribution name from bullseye to bookworm.  Then run apt update then run the upgrade.  Otherwise this worked well. I ran update-alternatives --config, but everything was all set.

I'm running devuan daedalus (debian bookworm without systemd).  all is well.

By: Malte

Just ran the update but now i'm stuck in step 5 with configuring the php.

When i open ispconfig and go to server config the tab for web is all empty and just a bunch of red errors telling me the settings are empty... for example:

Webseiten basedir ist leer.Invalid website basedir or path too short, min. length 5 chars.Webseiten Pfad ist leer.website_path_error_regexWebseiten Symlinks ist leer.Invalid website symlinks.vHost config dir ist leer.Invalid vhost config directory.vHost config enabled dir ist leer.

 

but it's also not taking any new settings when i try to add them manually.

Any ideas what could be wrong?