[Résolu] Impossible installer plugins : "Chargement impossible de la source"

oui je peux pas installer un nouveau dépôt
Les logs c’est vaste et j’y connais pas gd chose…, quoi chercher svp ?
j’ai vu ça dans spip.log où y avait le mot plugins :

2023-09-27 09:32:33 146.70.194.35 (pid 80573) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 09:32:33 146.70.194.35 (pid 80573) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 09:32:33 146.70.194.35 (pid 80573) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_plugins_liens ›
2023-09-27 09:35:17 172.23.26.70 (pid 80633) :Pub:ERREUR: queue_close_job car _JQ_PENDING depuis +180s : Array
(
[id_job] => 2806137
[descriptif] => Tâche CRON invalideur (toutes les 600 s)
[fonction] => invalideur
[args] => a:1:{i:0;i:1695805859;}
[md5args] => 22138d777ba9795ad8868052cd05abf2
[inclure] => genie/
[priorite] => 0
[date] => 2023-09-27 09:29:00
[status] => 0
)

merci

Bon, alors, ça n’est pas un problème d’accès à l’extérieur.

La mise à jour a été faite avec spip_loader.php (bien) ou par FTP par simple dépôt des fichiers de la nouvelle version par-dessus l’ancienne (mauvais) ?

Alors j’ai refait la tentative d’install d’un dépôt, et j’ai pris les derniers logs, supposément en rapport avec le problème

ça donne, pour base.log :

2023-09-27 09:32:33 146.70.194.35 (pid 80573) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_plugins_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_articles_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_forum_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_groupes_mots_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_syndic_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_syndic_articles_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_messages_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_depots_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_plugins_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_paquets_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_mailshots_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_mailsubscribers_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_mailsubscribinglists_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_mailsubscriptions_optins_liens ›

et pour spip.log :

2023-09-27 10:18:17 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:17 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_articles_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_forum_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_groupes_mots_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_syndic_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_syndic_articles_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_messages_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_depots_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_plugins_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_paquets_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_mailshots_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_mailsubscribers_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_mailsubscribinglists_liens ›
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:ERREUR: Erreur mysql 1146
2023-09-27 10:18:18 146.70.194.35 (pid 80801) :Pri:!INFO: trouver_table: table inconnue ‹  › ‹ spip_mailsubscriptions_optins_liens ›

je sais pas si ça peut aider…

j’ai fait la mise à jour par FTP en enlevant d’abord les anciens fichiers de 3.2 (sauf dossiers tmp, IMG…)

1 « J'aime »

peut-être « vider le cache » ?

Salut, c’est exactement le même problème que signalé ici probleme ré-installation spip suite hackage - #2 par b_b

Il faut demander à ton hébergeur de corriger ce bug Mise à jour vers Spip 4.0.4 - #9 par b_b

2 « J'aime »

ok, merci, je vais contacter l’hébergeur alors
(j’ai bien fait de faire une copie test au lieu de mettre à jour le site directement !)

1 « J'aime »

Suite à mon mail, l’hébergeur dit qu’il ne voit pas de raison à cette erreur; la connexion se fait bien :

hosting-user@Tramsimple:/$ curl -I https://plugins.spip.net/depots/principal.xml
HTTP/2 302
date: Wed, 27 Sep 2023 14:14:53 GMT
server: Apache
content-length: 295
content-type: text/html; charset=iso-8859-1
location: https://files.spip.net/spip-zone/archives.xml
x-varnish: 17764478
via: 1.1 varnish (Varnish/7.1)
x-varnish-age: 0
etc.
et ne voit pas d’erreurs à corréler dans les logs

J’ai testé avec un navigateur Chrome, même comportement : “Chargement impossible de la source”]

Il dit n’être pas convaincu par les indications de Mise à jour vers Spip 4.0.4 - #11 par jjum

à suivre demain si l’hébergeur a trouvé quelque chose…

Ha ben oui, il semble bien y avoir un problème avec le certificat de plugins.spip là !

curl -I https://plugins.spip.net/depots/principal.xml
curl: (60) SSL certificate problem: self signed certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

ping @ben & @marcimat

Bjr,
j’ai transmis cette question de certificat à l’hébergeur, merci.
Ca voudrait dire alors que le problème ne viendrait pas de mon site ?

Là l’hébergeur me disait : « j’ai forcé la stratégie SSL sur la page de configuration de votre site, pour HTTPS only, espérant que le retour sur HTTPS permette la poursuite du processus »

j’ai rééessayé pour ajout d’un dépôt ou plugin, rien de changé.

Re, le problème est réglé pour plugins.spip, tu devrais pouvoir ajouter le dépôt maintenant, sinon teste un curl -LI https://plugins.spip.net/depots/principal.xml depuis le serveur.

non, toujours pas possible d’ajouter le dépôt
je transmet à l’hébergeur pour le test

J’ai fait le test d’ajout d’un dépôt sur l’autre site (en spip 3.2)
là j’ai le message d’erreur : Le fichier XML « https://files.spip.net/grenier/archives_grenier.xml » de description du dépôt n’est pas conforme

Le message est certainement faussé par le fait que le serveur ne peut accéder au fichier. Test simple, tente d’ajouter le fichier en question tant que document distant puis de le copier dans le site.

J’ai pu intégrer le fichier https://files.spip.net/grenier/archives_grenier.xml
en doc distant à mon site encore en spip 3.2
quand je clique sur le doc
j’arrive sur https://files.spip.net/grenier/archives_grenier.xml
avec message :

Erreur d’analyse XML : mal formé
Emplacement : https://files.spip.net/grenier/archives_grenier.xml
Numéro de ligne 8, Colonne 85 :
<url_commits>https://zone.spip.org/trac/spip-zone/log/@src_archive@?format=rss&limit=10&mode=stop_on_copy</url_commits>

(idem pour nouveau site en spip 4.0)

sur le site en 3.2, le dépôt https://files.spip.org/core/archives.xml
s’est lui installé normalement (mais toujours même erreur sur le site en spip 4 pour ce dépôt là aussi)
autre info, mon instance est en php 7.4

L’hébergeur répond :
La connexion HTTPS avec la cible se fait sans erreur :

@Tramsimple:/# curl -I https://plugins.spip.net/depots/principal.xml
HTTP/2 302
date: Thu, 28 Sep 2023 09:52:29 GMT
server: Apache
content-length: 295
content-type: text/html; charset=iso-8859-1
location: https://files.spip.net/spip-zone/archives.xml

@Tramsimple:/# curl -I https://files.spip.net/spip-zone/archives.xml
HTTP/2 200
date: Thu, 28 Sep 2023 09:44:42 GMT
server: Apache

Le soucis est ailleurs…

J’ai ce message quand j’ouvre l’url de ce fichier xml avec un navigateur, et je crois que c’est normal.
Tu obtiens ce message aussi quand tu ouvres l’url avec un navigateur ou bien dans l’interface privée de SPIP ?

JLuc

J’ai des sites en SPIP 4.1 chez Gandi (Simple Hosting) avec PHP 7.4 aussi et pas de pb (à part les abusives augmentations de tarif).

1 « J'aime »

Les logs indiquant trouver_table: table inconnue ‹ spip_articles_liens › t’invitent à aller sur la page du menu Maintenance / Maintenance technique pour Tenter une réparation des tables.

Oui je l’avais ouvert dans le navigateur, donc normal en fait

La réparation de la base n’a rien donné (ça noté ok partout)
merci