• =?utf-8?Q?Re=3A_Est-il_possible_de_passer_de_Debian_11_=C3=A0_Deb?= =?u

    From Pierre Malard@21:1/5 to All on Wed Dec 20 15:00:01 2023
    --Apple-Mail=_0D7FB87E-86A9-4115-A72D-6DF6E2B08021
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain;
    charset=utf-8

    Merci Didier,

    Le 20 déc. 2023 à 10:12, didier gaumet <[email protected]> a écrit :

    Bonjour,

    (je ne connais absolument rien à tout ça)

    - tu as bien installé mailman3-full?

    - si ça marchait avant tu peux peut-être tenter un
    $ sudo dpkg-reconfigure mailman3 mailman3-full mailman3-web python3-django-hyperkitty python3-mailmanclient


    Merci ça a suffit sur ma plate-forme de test. Je vais maintenant voir sur la plate-forme de production…


    - si ça ne fonctionne pas mieux tu peux essayer de regarder la doc de configuration hyperkitty:
    https://docs.mailman3.org/projects/hyperkitty/en/latest/install.html
    et peut-être plus particulièrement ce point, je cite:
    "
    Upgrading
    To upgrade an existing installation of HyperKitty, you need to update the code base and run the commands that will update the database schemas. Before updating any of those databases, it is recommended to shut down the webserver which serves HyperKitty
    (Apache HTTPd for example).
    To update the HyperKitty database, run:
    django-admin migrate --pythonpath example_project --settings settings
    After this command complete, your database will be updated, you can start your webserver again.
    "


    --
    Pierre Malard

    « Le socialisme vrai ne veut pas renverser l'ordre des classes ;
    il veut fondre les classes dans une organisation du travail qui
    sera meilleure pour tous »
    Jean Jaures - "Les misères du patronat" - 1890
    _,'| _.-''``-...___..--';)
    /_ \'. __..-' , ,--...--'''
    <\ .`--''' ` /'
    `-';' ; ; ;
    __...--'' ___...--_..' .;.'
    (,__....----''' (,..--'' πr

    perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-. ;-;;,_: |,A- ) )-,_. ,\ ( `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"' `-'"'"'\_): 24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
    - --> Ce message n’engage que son auteur <--


    --Apple-Mail=_0D7FB87E-86A9-4115-A72D-6DF6E2B08021
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/html;
    charset=utf-8

    <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Merci Didier,<div><br><div><blockquote type="cite"><div>Le 20 déc.
    2023 à 10:12, didier gaumet &lt;[email protected]&gt; a écrit :</div><br class="Apple-interchange-newline"><div><div>Bonjour,<br><br>(je ne connais absolument rien à tout ça)<br><br>- tu as bien installé mailman3-full?<br><br>- si ça marchait
    avant tu peux peut-être tenter un<br>$ sudo dpkg-reconfigure mailman3 mailman3-full mailman3-web python3-django-hyperkitty python3-mailmanclient<br></div></div></blockquote><div><br></div><div><br></div><div>Merci ça a suffit sur ma plate-forme de test.
    Je vais maintenant voir sur la plate-forme de production…</div><br><blockquote type="cite"><div><div><br>- si ça ne fonctionne pas mieux tu peux essayer de regarder la doc de configuration hyperkitty:<br>https://docs.mailman3.org/projects/hyperkitty/
    en/latest/install.html<br>et peut-être plus particulièrement ce point, je cite:<br>"<br>Upgrading<br>To upgrade an existing installation of HyperKitty, you need to update the code base and run the commands that will update the database schemas. Before
    updating any of those databases, it is recommended to shut down the webserver which serves HyperKitty (Apache HTTPd for example).<br>To update the HyperKitty database, run:<br>django-admin migrate --pythonpath example_project --settings settings<br>After
    this command complete, your database will be updated, you can start your webserver again.<br>"<br><br></div></div></blockquote></div><br><div>
    <div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-
    wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal;
    word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-
    align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div style="color: rgb(0,
    0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div style=
    "color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-
    space;"><div style="margin: 0px; font-size: 10px; font-family: &quot;Courier New&quot;;">--&nbsp;</div><div style="margin: 0px; font-size: 10px; font-family: &quot;Courier New&quot;;"><div style="margin: 0px;">Pierre Malard</div><div style="margin: 0px;">
    <br></div></div><div style="margin: 0px; font-family: Times;">&nbsp; &nbsp;«&nbsp;<i>Le socialisme vrai ne veut pas renverser l'ordre des classes ;</i></div><div style="margin: 0px; font-family: Times;"><i>&nbsp; &nbsp;il veut fondre les classes dans
    une organisation du travail qui</i></div><div style="margin: 0px; font-family: Times;"><i>&nbsp; &nbsp;sera meilleure pour tous&nbsp;</i>»</div><div style="margin: 0px; font-family: Times;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &
    nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Jean Jaures&nbsp;- "Les misères du patronat" - 1890</div><div style="margin: 0px; font-size: 10px; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;_,'| &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _.
    -''``-...___..--';)</div><div style="margin: 0px; font-size: 10px; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp; &nbsp; &nbsp; /_ \'. &nbsp; &nbsp; &nbsp;__..-' , &nbsp; &nbsp; &nbsp;,--...--'''</div><div style="margin: 0px; font-size: 10px; font-
    family: &quot;Courier New&quot;;">&nbsp;&nbsp; &nbsp; &nbsp;&lt;\ &nbsp; &nbsp;.`--''' &nbsp; &nbsp; &nbsp; ` &nbsp; &nbsp; /'</div><div style="margin: 0px; font-size: 10px; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp; &nbsp; &nbsp; `-';' &nbsp; &
    nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; &nbsp; ; ;</div><div style="margin: 0px; font-size: 10px; font-family: &quot;Courier New&quot;;">&nbsp;__...--'' &nbsp; &nbsp; ___...--_..' &nbsp;.;.'</div><div style="margin: 0px; font-size: 10px; font-family: &
    quot;Courier New&quot;;">(,__....----''' &nbsp; &nbsp; &nbsp; (,..--'' &nbsp; &nbsp; &nbsp; &nbsp;πr</div><div style="margin: 0px; font-family: Times; min-height: 14px;"><br></div><div style="margin: 0px; font-size: 10px; font-family: &quot;Courier New&
    quot;;">perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-. &nbsp;;-;;,_: &nbsp;|,A- &nbsp;) )-,_. ,\ ( &nbsp;`'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"' &nbsp;`-'"'"'\_): 24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'</div><div style="margin: 0px; font-family: &
    quot;Courier New&quot;;"><span style="font-size: 10px;">- --&gt; Ce message n’engage que son auteur &lt;--</span></div></div></div></div></div></div>
    </div>
    <br></div></body></html>
    --Apple-Mail=_0D7FB87E-86A9-4115-A72D-6DF6E2B08021--

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEE0KHTJ+AWKhmI+acm/pSWHuad/BgFAmWC8BgACgkQ/pSWHuad /BgMvw//d8B2BKO9BZEc9FFiQgceOkPtDLCcFRgVQb8A8QXsdwmCvdyI9BX0I6tA uTQa0z3sOXjGeG28Ju/9ArAVjDgsGtjB0sW2ZMthJ3iTGsoy88xv0/ClTUDD77Bw 13bS6GKVLMLfc8PLFQQeCQpEpeCF4tsYFIo3+gHZ/oFpUh842J5paZAblC80NTKH yhiesBzRvB+YsJRUroJ1+84o4aaaUfTVetS7ZL5YCPICC7dIzdzE3SLr33rgWP4K 5u4rQaMRevWRIakWuZNtyJoKU41ZscgzH6YwaaejL7SeEmBIkb7fdam6WIDTb7MK 6QyJzQpgZb7HIVs6NVben2A3FtdH9gRHGD4YMGS5X6hXLKTCT5wLiE0pziafqCVj WhXlnIRVhwv9CsXXbeUd2fe8pnN9aeb4tSE9CAhVTGqM79X4U3wItR8R07f4r550 JFXKrOO6Nh6BtIJvihUlzbRq+IJMn2nXuhMsBvgIwELVYtCcasad53Z59edbiErg p9P3G4xEOhfB9dnI7mWI0AXogvCeMTtsVvCSkDJ5WTQADaiZuFeb4hOlsxR/QfsR hiTV7GR4+UCzLy7liLCuA2LKntcqt9ZLlf6m3BphMGFZjEpEWul5rgjn9lzI+AhA h+8+aGPEFmAGta5mIGvfQe8Sdi5gJCULn9RWHjhxArVrbnkxXe0=
    =2Eva
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pierre Malard@21:1/5 to All on Thu Dec 21 07:10:01 2023
    --Apple-Mail=_C19ED54C-641A-4A5F-9814-7841F3D31168
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain;
    charset=utf-8


    Le 21 déc. 2023 à 00:16, Pierre-Elliott Bécue <[email protected]> a écrit :


    Pierre Malard <[email protected]> wrote on 20/12/2023 at 09:42:29+0100:

    [[PGP Signed Part:No public key for FE94961EE69DFC18 created at 2023-12-20T09:42:29+0100 using RSA]]
    Salut,

    Est-il possible de passer de Debian 11 à Debian 12 avec Mailman3 installé sur Debian 11 ?

    Je précise que je souhaite rester dans les dépôts Debian, pas une installation "à la main" de MM3.

    J'ai testé sur un serveur spécifique. C'était long et fastidieux mais il me semblait que ça fonctionnait. En fait tout semble fonctionner sauf
    la gestion des archives :-(

    Voici la procédure suivie :

    1 Arrêt des services MM3
    2 Sauvegarde de la base de données (PostgreSQL) et du répertoire de base MM3
    3 Basculez le serveur de Debian 11 vers Debian 12 et redémarrer
    4 migrer la base de données du PG 13 vers le PG 15 (pg_upgradecluster 13 le fait très bien)
    5 Modifier le fichier /etc/mailman3/mailman.cfg avec une référence URL "postgresql://" au lieu de "postgres://" (voir
    https://lists.mailman3.org/archives/list/ mailman-users@mailman3 .org/thread/CU6YU44V4WLRJI3WJH2VBWO2HCUF4YEA/)
    6 mettre à jour les bases de données MM3 avec "mailman-web migrate"
    7 redémarrer MM3 et MM3-web

    Avec ça MM3 fonctionne mais pas la gestion de l'archivage !
    Notez qu’il n’y a pas de véritables messages d’erreur dans les journaux…

    En fait quand on va sur une archive de liste, on a de jolies roues d'attente... infinies :-(
    La seule référence dans mailman3-web.log :
    [pid : 1429|app : 0|req : 12/12] NNN.NNN.NNN.NNN () {68 vars dans 1445 octets} [lundi 18 décembre 16:35:56 2023] GET
    /hyperkitty/list/admin@ teledetection.fr/ => généré 37443 octets en 37 msecs (HTTP/1.1 200) 7 en-têtes en 221 octets (1 switch sur core
    1)

    Si vous avez une solution...

    Pour une raison que j'ignore, l'appel à django-admin migrate dans le
    script de maintenance post upgrade ne se passe pas toujours.

    J'ai commencé à creuser, mais pour l'instant sans succès, faute d'environnements où ça foire pour moi.

    Si tu as des traces ou infos je suis preneur, vu que j'aimerais bugfixer
    ça pour faire une release en Debian 12 qui ne rencontre plus ce souci.

    Bonjour et merci à toi,

    Voici ce que m’a donné l’exécution de « mailman-web upgrade » :
    # mailman-web migrate
    /usr/lib/python3/dist-packages/django_q/conf.py:139: UserWarning: Retry and timeout are misconfigured. Set retry larger than timeout,
    failure to do so will cause the tasks to be retriggered before completion.
    See https://django-q.readthedocs.io/en/latest/configure.html#retry for details.
    warn(
    System check identified some issues:

    WARNINGS:
    django_mailman3.MailDomain: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the DjangoMailman3Config.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    django_mailman3.Profile: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the DjangoMailman3Config.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    hyperkitty.Attachment: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    hyperkitty.Email: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    hyperkitty.Favorite: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    hyperkitty.LastView: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    hyperkitty.MailingList: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    hyperkitty.Profile: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    hyperkitty.Tag: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    hyperkitty.Tagging: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    hyperkitty.Thread: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    hyperkitty.ThreadCategory: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    hyperkitty.Vote: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    postorius.EmailTemplate: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the PostoriusConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    Operations to perform:
    Apply all migrations: account, admin, auth, contenttypes, django_mailman3, django_q, hyperkitty, postorius, sessions, sites, socialaccount
    Running migrations:
    Applying auth.0012_alter_user_first_name_max_length... OK
    Applying django_q.0010_auto_20200610_0856... OK
    Applying django_q.0011_auto_20200628_1055... OK
    Applying django_q.0012_auto_20200702_1608... OK
    Applying django_q.0013_task_attempt_count... OK
    Applying django_q.0014_schedule_cluster... OK
    Applying hyperkitty.0022_mailinglist_archive_rendering_mode... OK
    Applying hyperkitty.0023_alter_mailinglist_name... OK

    Si ça peut t’aider…

    Bonne journée

    --
    Pierre Malard
    Responsable architectures système CDS DINAMIS/THEIA Montpellier
    IRD - UMR Espace-Dev - UAR CPST - IR Data-Terra
    Maison de la Télédétection
    500 rue Jean-François Breton
    34093 Montpellier Cx 5
    France

    « Tous les Français ambitionnent pour la France un grand rôle
    dans le monde. Ce n'est point par des aventures guerrières qu'elle
    le trouvera, c'est en donnant aux peuples l'exemple et le signal
    de justice. »
    Jean Jaures - "L'idéal de justice" - 1889
    |\ _,,,---,,_
    /,`.-'`' -. ;-;;,_
    |,4- ) )-,_. ,\ ( `'-'
    '---''(_/--' `-'\_) πr

    perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-. ;-;;,_: |,A- ) )-,_. ,\ ( `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"' `-'"'"'\_): 24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
    - --> Ce message n’engage que son auteur <--


    --Apple-Mail=_C19ED54C-641A-4A5F-9814-7841F3D31168
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/html;
    charset=utf-8

    <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">
    Le 21 déc. 2023 à 00:16, Pierre-Elliott Bécue &lt;<a href="mailto:[email protected]" class="">[email protected]</a>&gt; a écrit :</div><br class="Apple-interchange-newline"><div class=""><div class=""><div class="content-isolator__container"><br class="">
    Pierre Malard &lt;<a href="mailto:[email protected]" class="">[email protected]</a>&gt; wrote on 20/12/2023 at 09:42:29+0100:<br class=""><br class=""><blockquote type="cite" class="">[[PGP Signed Part:No public key for
    FE94961EE69DFC18 created at 2023-12-20T09:42:29+0100 using RSA]]<br class="">Salut,<br class=""><br class="">Est-il possible de passer de Debian 11 à Debian 12 avec Mailman3 installé sur Debian 11 ?<br class=""><br class="">Je précise que je souhaite
    rester dans les dépôts Debian, pas une installation "à la main" de MM3.<br class=""><br class="">J'ai testé sur un serveur spécifique. C'était long et fastidieux mais il me semblait que ça fonctionnait. En fait tout semble fonctionner sauf<br
    class="">la gestion des archives :-(<br class=""><br class="">Voici la procédure suivie :<br class=""><br class="">1 Arrêt des services MM3<br class="">2 Sauvegarde de la base de données (PostgreSQL) et du répertoire de base MM3<br class="">3
    Basculez le serveur de Debian 11 vers Debian 12 et redémarrer<br class="">4 migrer la base de données du PG 13 vers le PG 15 (pg_upgradecluster 13 le fait très bien)<br class="">5 Modifier le fichier /etc/mailman3/mailman.cfg avec une référence URL "
    postgresql://" au lieu de "postgres://" (voir<br class=""> <a href="https://lists.mailman3.org/archives/list/" class="">https://lists.mailman3.org/archives/list/</a> mailman-users@mailman3 .org/thread/CU6YU44V4WLRJI3WJH2VBWO2HCUF4YEA/)<br class="">6
    mettre à jour les bases de données MM3 avec "mailman-web migrate"<br class="">7 redémarrer MM3 et MM3-web<br class=""><br class="">Avec ça MM3 fonctionne mais pas la gestion de l'archivage !<br class="">Notez qu’il n’y a pas de véritables
    messages d’erreur dans les journaux…<br class=""><br class="">En fait quand on va sur une archive de liste, on a de jolies roues d'attente... infinies :-(<br class="">La seule référence dans mailman3-web.log :<br class="">[pid : 1429|app : 0|req :
    12/12] NNN.NNN.NNN.NNN () {68 vars dans 1445 octets} [lundi 18 décembre 16:35:56 2023] GET<br class="">/hyperkitty/list/admin@ <a href="http://teledetection.fr/" class="">teledetection.fr/</a> =&gt; généré 37443 octets en 37 msecs (HTTP/1.1 200) 7 en-
    têtes en 221 octets (1 switch sur core<br class="">1)<br class=""><br class="">Si vous avez une solution...<br class=""></blockquote><br class="">Pour une raison que j'ignore, l'appel à django-admin migrate dans le<br class="">script de maintenance
    post upgrade ne se passe pas toujours.<br class=""><br class="">J'ai commencé à creuser, mais pour l'instant sans succès, faute<br class="">d'environnements où ça foire pour moi.<br class=""><br class="">Si tu as des traces ou infos je suis preneur,
    vu que j'aimerais bugfixer<br class="">ça pour faire une release en Debian 12 qui ne rencontre plus ce souci.<br class=""></div></div></div></blockquote><div><br class=""></div><div>Bonjour et merci à toi,</div><div><br class=""></div><div>Voici ce que
    m’a donné l’exécution de «&nbsp;mailman-web upgrade&nbsp;» :</div><div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; # mailman-web migrate</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp;
    &nbsp; /usr/lib/python3/dist-packages/django_q/conf.py:139: UserWarning: Retry and timeout are misconfigured. Set retry larger than timeout,&nbsp;</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; &
    nbsp; failure to do so will cause the tasks to be retriggered before completion.&nbsp;</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; See <a href="https://django-q.readthedocs.io/en/latest/
    configure.html#retry" class="">https://django-q.readthedocs.io/en/latest/configure.html#retry</a> for details.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; &nbsp; warn(</font></div><div><font face="Courier New" style=
    "font-size: 12px;" class="">&nbsp; System check identified some issues:</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp;&nbsp;</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; WARNINGS:</
    font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; django_mailman3.MailDomain: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.</font></div><div><
    font face="Courier New" style="font-size: 12px;" class="">&nbsp; <span class="Apple-tab-span" style="white-space:pre"> </span>HINT: Configure the DEFAULT_AUTO_FIELD setting or the DjangoMailman3Config.default_auto_field attribute to point to a subclass
    of AutoField, e.g. 'django.db.models.BigAutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; django_mailman3.Profile: (models.W042) Auto-created primary key used when not defining a primary key type, by default '
    django.db.models.AutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; <span class="Apple-tab-span" style="white-space:pre"> </span>HINT: Configure the DEFAULT_AUTO_FIELD setting or the DjangoMailman3Config.
    default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; hyperkitty.Attachment: (models.W042) Auto-created primary key used
    when not defining a primary key type, by default 'django.db.models.AutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; <span class="Apple-tab-span" style="white-space:pre"> </span>HINT: Configure the DEFAULT_
    AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; hyperkitty.Email: (
    models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; <span class="Apple-tab-span" style="white-space:
    pre"> </span>HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;"
    class="">&nbsp; hyperkitty.Favorite: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; <span class=
    "Apple-tab-span" style="white-space:pre"> </span>HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.</font></div><div><font face="
    Courier New" style="font-size: 12px;" class="">&nbsp; hyperkitty.LastView: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.</font></div><div><font face="Courier New" style="font-
    size: 12px;" class="">&nbsp; <span class="Apple-tab-span" style="white-space:pre"> </span>HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.
    BigAutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; hyperkitty.MailingList: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.</font></
    <div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; <span class="Apple-tab-span" style="white-space:pre"> </span>HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a
    subclass of AutoField, e.g. 'django.db.models.BigAutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; hyperkitty.Profile: (models.W042) Auto-created primary key used when not defining a primary key type, by
    default 'django.db.models.AutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; <span class="Apple-tab-span" style="white-space:pre"> </span>HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.
    default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; hyperkitty.Tag: (models.W042) Auto-created primary key used when
    not defining a primary key type, by default 'django.db.models.AutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; <span class="Apple-tab-span" style="white-space:pre"> </span>HINT: Configure the DEFAULT_AUTO_
    FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; hyperkitty.Tagging: (models.
    W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; <span class="Apple-tab-span" style="white-space:pre"> </
    span>HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class=""
    &nbsp; hyperkitty.Thread: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; <span class="Apple-
    tab-span" style="white-space:pre"> </span>HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.</font></div><div><font face="Courier
    New" style="font-size: 12px;" class="">&nbsp; hyperkitty.ThreadCategory: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.</font></div><div><font face="Courier New" style="font-size:
    12px;" class="">&nbsp; <span class="Apple-tab-span" style="white-space:pre"> </span>HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.
    BigAutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; hyperkitty.Vote: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.</font></div><div>
    <font face="Courier New" style="font-size: 12px;" class="">&nbsp; <span class="Apple-tab-span" style="white-space:pre"> </span>HINT: Configure the DEFAULT_AUTO_FIELD setting or the HyperKittyConfig.default_auto_field attribute to point to a subclass of
    AutoField, e.g. 'django.db.models.BigAutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; postorius.EmailTemplate: (models.W042) Auto-created primary key used when not defining a primary key type, by default '
    django.db.models.AutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; <span class="Apple-tab-span" style="white-space:pre"> </span>HINT: Configure the DEFAULT_AUTO_FIELD setting or the PostoriusConfig.default_
    auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; Operations to perform:</font></div><div><font face="Courier New" style="
    font-size: 12px;" class="">&nbsp; &nbsp; Apply all migrations: account, admin, auth, contenttypes, django_mailman3, django_q, hyperkitty, postorius, sessions, sites, socialaccount</font></div><div><font face="Courier New" style="font-size: 12px;" class=""
    &nbsp; Running migrations:</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; &nbsp; Applying auth.0012_alter_user_first_name_max_length... OK</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&
    nbsp; &nbsp; Applying django_q.0010_auto_20200610_0856... OK</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; &nbsp; Applying django_q.0011_auto_20200628_1055... OK</font></div><div><font face="Courier New" style="font-
    size: 12px;" class="">&nbsp; &nbsp; Applying django_q.0012_auto_20200702_1608... OK</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; &nbsp; Applying django_q.0013_task_attempt_count... OK</font></div><div><font face="
    Courier New" style="font-size: 12px;" class="">&nbsp; &nbsp; Applying django_q.0014_schedule_cluster... OK</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; &nbsp; Applying hyperkitty.0022_mailinglist_archive_rendering_
    mode... OK</font></div><div><font face="Courier New" style="font-size: 12px;" class="">&nbsp; &nbsp; Applying hyperkitty.0023_alter_mailinglist_name... OK</font></div></div><div><br class=""></div>Si ça peut t’aider…</div><div><br class=""></div><
    Bonne journée</div><br class=""><div class="">
    <div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-
    wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space:
    normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-
    spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"
    class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-
    break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-
    nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-
    wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="margin: 0px; font-size: 10px; font-family: &quot;Courier New&quot;;" class="">--&nbsp;</div><div style="margin: 0px; font-size: 10px; font-family: &quot;
    Courier New&quot;;" class=""><div style="margin: 0px;" class="">Pierre Malard</div><div style="margin: 0px;" class="">Responsable architectures système CDS DINAMIS/THEIA Montpellier</div><span style="font-size: x-small;" class="">IRD - UMR Espace-Dev -
    UAR CPST - IR Data-Terra</span><br class=""><div style="margin: 0px;" class="">Maison de la Télédétection</div><div style="margin: 0px;" class="">500 rue Jean-François Breton</div><div style="margin: 0px;" class="">34093 Montpellier Cx 5</div><div
    style="margin: 0px;" class="">France</div><div class=""><br class=""></div></div><div style="margin: 0px; font-family: Times;" class="">&nbsp; &nbsp;«<span class="Apple-converted-space">&nbsp;</span><i class="">Tous les Français ambitionnent pour la
    France un grand rôle</i></div><div style="margin: 0px; font-family: Times;" class=""><i class="">&nbsp; &nbsp;dans le monde. Ce n'est point par des aventures guerrières qu'elle</i></div><div style="margin: 0px; font-family: Times;" class=""><i class="">
    &nbsp; &nbsp;le trouvera, c'est en donnant aux peuples l'exemple et le signal</i></div><div style="margin: 0px; font-family: Times;" class=""><i class="">&nbsp; &nbsp;de justice.<span class="Apple-converted-space">&nbsp;</span></i>»</div><div style="
    margin: 0px; font-family: Times;" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Jean Jaures&nbsp;- "L'idéal de justice" - 1889</div><div
    style="margin: 0px; font-size: 10px; font-family: &quot;Courier New&quot;;" class="">&nbsp; &nbsp;|\&nbsp; &nbsp; &nbsp;&nbsp;_,,,---,,_</div><div style="margin: 0px; font-size: 10px; font-family: &quot;Courier New&quot;;" class="">&nbsp;&nbsp;&nbsp;/,`.-
    '`'&nbsp; &nbsp;&nbsp;-.&nbsp;&nbsp;;-;;,_</div><div style="margin: 0px; font-size: 10px; font-family: &quot;Courier New&quot;;" class="">&nbsp;&nbsp;|,4-&nbsp;&nbsp;) )-,_. ,\ (&nbsp;&nbsp;`'-'</div><div style="margin: 0px; font-size: 10px; font-family:
    &quot;Courier New&quot;;" class="">&nbsp;'---''(_/--'&nbsp;&nbsp;`-'\_) &nbsp; πr</div><div style="margin: 0px; font-family: Times; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-size: 10px; font-family: &quot;Courier New&
    quot;;" class="">perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-. &nbsp;;-;;,_: &nbsp;|,A- &nbsp;) )-,_. ,\ ( &nbsp;`'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"' &nbsp;`-'"'"'\_): 24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'</div><div style="margin: 0px; font-
    family: &quot;Courier New&quot;;" class=""><span style="font-size: 10px;" class="">- --&gt; Ce message n’engage que son auteur &lt;--</span></div></div></div></div></div></div></div>
    </div>


    <br class=""></body></html> --Apple-Mail=_C19ED54C-641A-4A5F-9814-7841F3D31168--

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG/MacGPG2 v2.2
    Comment: GPGTools - http://gpgtools.org

    iQIzBAEBCgAdFiEE0KHTJ+AWKhmI+acm/pSWHuad/BgFAmWD1cgACgkQ/pSWHuad /BhMCw/+P7D5c/ncT1iJGrkcTrFA17OYclo/9U3RH1s96vdKiQSvt1li5Qu+jO/z dNvdl8ZMCVuFhV/0IlOK4weOvDJCAwT7XMXM5kXmD+hpilh93ZfFUq+7Q85D88+N qNNCVU0C/wQdrDHWjXH269PueGTYGvDp2wmhIbbDF9GsOQgQDHnjGb+x2SjuC3XR oi6BZPkpArROZ70QswDBvDiyaGFn8yWL31Jj18dGkY/dOanKgqp2zW9khAdoGqIF X9+Z8dZi0muozMj/c7tXb/EmBCBad00NwbExJBLvOTtCbWC7jrRAbavvOiU/J04M 47yDKMBsZ0IkPm245buEsIb3SLGaagPb5Oh5y1unVjuW71BEPoFizWfYt0hQ25vS w+8UZyVxPl0MhizcNGXuYBPTDyceZDAJ6/gD11kZBGrS+K5RlfrUHxRTtB0U7ogf A8fib4d9oiEGFMct2WXkYLbqqGW6KPMlRRPC9xsP8JPAbOBpxq6pcKSv5scqP0Yk 9FnMt6a7RNKk2y5Ix9ZujBNW02vAxnbsJBPnqNSvZfk9HbuKwHAFxm9IgL2Qms33 Zc6Ow5b6AE5TQrgSA5ENbyirJk42i7nzHNW7Xu7IBDFDmBrucvXOt7TrMWRWskvs ncEaLZ/TnJfPtDGNW2B0KHLBbOcvOzOQYm7QE696EjZTRLHpwLY=
    =Y14/
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)