<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://pcwiki.pcstreet.org/index.php?action=history&amp;feed=atom&amp;title=Info%3A%3AOpenWebUi%3A%3Ahow_to_update_Locator_and_pcWiki_in_OpenWebUi</id>
	<title>Info::OpenWebUi::how to update Locator and pcWiki in OpenWebUi - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://pcwiki.pcstreet.org/index.php?action=history&amp;feed=atom&amp;title=Info%3A%3AOpenWebUi%3A%3Ahow_to_update_Locator_and_pcWiki_in_OpenWebUi"/>
	<link rel="alternate" type="text/html" href="https://pcwiki.pcstreet.org/index.php?title=Info::OpenWebUi::how_to_update_Locator_and_pcWiki_in_OpenWebUi&amp;action=history"/>
	<updated>2026-11-27T12:54:22Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://pcwiki.pcstreet.org/index.php?title=Info::OpenWebUi::how_to_update_Locator_and_pcWiki_in_OpenWebUi&amp;diff=22758&amp;oldid=prev</id>
		<title>Pchevalier le 2 novembre 2026 à 10:54</title>
		<link rel="alternate" type="text/html" href="https://pcwiki.pcstreet.org/index.php?title=Info::OpenWebUi::how_to_update_Locator_and_pcWiki_in_OpenWebUi&amp;diff=22758&amp;oldid=prev"/>
		<updated>2026-11-02T10:54:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 2 novembre 2026 à 10:54&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot;&gt;Ligne 12 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 12 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Il y a deux étages bien distincts :&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Il y a deux étages bien distincts :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &#039;&#039;&#039;La source LOCATOR&#039;&#039;&#039; (&amp;lt;code&amp;gt;/home/LOCATOR&amp;lt;/code&amp;gt;) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;doit elle-même être rapatriée depuis&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &#039;&#039;&#039;La source LOCATOR&#039;&#039;&#039; (&amp;lt;code&amp;gt;/home/LOCATOR&amp;lt;/code&amp;gt;) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: &#039;&#039;&#039;srv18 est désormais le serveur&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;le serveur &lt;/del&gt;maître &#039;&#039;&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ovh1&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pcstreet.org&#039;&#039;&#039; (rsync)&lt;/del&gt;. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ce &lt;/del&gt;n&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;est &#039;&#039;&#039;pas&#039;&#039;&#039; automatique&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   maître&#039;&#039;&#039;. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Les fiches &amp;lt;code&amp;gt;&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;loc&amp;lt;/code&amp;gt; sont éditées directement ici, il &lt;/ins&gt;n&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;y a plus de&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;actuellement&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rapatriement à faire depuis un autre serveur&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;#039;&amp;#039;&amp;#039;L&amp;#039;indexation dans Open WebUI&amp;#039;&amp;#039;&amp;#039; : un script unique, &amp;lt;code&amp;gt;run_sync.sh&amp;lt;/code&amp;gt;, tourne&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &amp;#039;&amp;#039;&amp;#039;L&amp;#039;indexation dans Open WebUI&amp;#039;&amp;#039;&amp;#039; : un script unique, &amp;lt;code&amp;gt;run_sync.sh&amp;lt;/code&amp;gt;, tourne&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   toutes les 2 minutes via cron et pousse vers Open WebUI :&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   toutes les 2 minutes via cron et pousse vers Open WebUI :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot;&gt;Ligne 25 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 25 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 1) Mettre à jour la source /home/LOCATOR ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 1) Mettre à jour la source /home/LOCATOR ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Le dossier &amp;lt;code&amp;gt;/home/LOCATOR&amp;lt;/code&amp;gt; est une copie locale de l&lt;/del&gt;&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;inventaire « maître » qui vit&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;srv18 est le serveur maître de LOCATOR&lt;/ins&gt;.&#039;&#039;&#039; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Le dossier &lt;/ins&gt;&amp;lt;code&amp;gt;/home/LOCATOR&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sur srv18&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sur &lt;/del&gt;&#039;&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;ovh1&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pcstreet.org&lt;/del&gt;&#039;&#039;&#039; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(module rsync &amp;lt;code&amp;gt;RaCiNe&lt;/del&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/&lt;/del&gt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, port 874). Pour rapatrier les&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;est &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;édité directement &lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ajout&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;modification des fiches &lt;/ins&gt;&amp;lt;code&amp;gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;loc&lt;/ins&gt;&amp;lt;/code&amp;gt;) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: il &lt;/ins&gt;n&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;y a pas de&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;dernières modifications :&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rapatriement &lt;/ins&gt;à &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;effectuer avant &lt;/ins&gt;l&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;étape 2&lt;/ins&gt;, on &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;passe directement à &lt;/ins&gt;l&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;indexation&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;syntaxhighlight lang=&quot;bash&quot;&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sudo -u www-data &lt;/del&gt;/home/LOCATOR&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/.pcmakeGetLocator&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Contenu du script :&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;syntaxhighlight lang=&quot;bash&quot;&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#!/bin/bash&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cd /home/LOCATOR&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;if test $? -eq 0&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;then&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	chattr -i .pcmakeGetLocator&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	touch .pcmakeGetLocator&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	chattr +i .pcmakeGetLocator&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	RSYNC_PASSWORD=billou rsync -avzlH --port=874 ovh1.pcstreet.org::RaCiNe/home/LOCATOR /home&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;fi&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;Points d&#039;attention :&#039;&#039;&#039;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Le fichier &amp;lt;code&amp;gt;.pcmakeGetLocator&lt;/del&gt;&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;est rendu immuable (&amp;lt;code&amp;gt;chattr +i&amp;lt;/code&amp;gt;) par&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  lui-même après son propre &amp;lt;code&amp;gt;touch&amp;lt;/code&amp;gt; ; c&#039;&lt;/del&gt;est &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;volontaire &lt;/del&gt;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;protection contre une&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  suppression accidentelle), le script lève&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;repose l&#039;attribut à chaque run.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Il existe une ancienne version, &lt;/del&gt;&amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/root/PCStreet.scripts/&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pcmakeGetPCLocator&lt;/del&gt;&amp;lt;/code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;,&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  qui ne doit plus être utilisée (marquée « Not ANy More » dans la crontab&lt;/del&gt;)&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;Ce rapatriement &lt;/del&gt;n&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;est plus planifié par cron depuis mai 2026&#039;&#039;&#039; (ligne commentée dans&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &amp;lt;code&amp;gt;crontab -l&amp;lt;/code&amp;gt; : &amp;lt;code&amp;gt;# 28/05/2026: LOCATOR: # ??? 01 * * * * ... .pcmakeGetLocator&amp;lt;/code&amp;gt;).&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  Il faut donc le lancer &lt;/del&gt;à &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;la main quand on sait que &lt;/del&gt;l&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;inventaire a changé côté ovh1&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ou&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  réactiver la ligne cron si &lt;/del&gt;on &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;veut &lt;/del&gt;l&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;automatiser à nouveau&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 2) Indexer LOCATOR + pcwiki dans Open WebUI ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 2) Indexer LOCATOR + pcwiki dans Open WebUI ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l151&quot;&gt;Ligne 151 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 121 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Résumé en une phrase ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Résumé en une phrase ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;&amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.pcmakeGetLocator&lt;/del&gt;&amp;lt;/code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039; rapatrie l&#039;inventaire depuis ovh1 (manuel, cron désactivé&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;srv18 est le maître de LOCATOR&#039;&#039;&#039; (édition directe de &lt;/ins&gt;&amp;lt;code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/home/LOCATOR&lt;/ins&gt;&amp;lt;/code&amp;gt;) ;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;depuis mai 2026&lt;/del&gt;) ; &#039;&#039;&#039;&amp;lt;code&amp;gt;run_sync.sh&amp;lt;/code&amp;gt;&#039;&#039;&#039; (cron toutes les 2 min) pousse ensuite pcwiki,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;&amp;lt;code&amp;gt;run_sync.sh&amp;lt;/code&amp;gt;&#039;&#039;&#039; (cron toutes les 2 min)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;LOCATOR et listPcProgs dans Open WebUI ; &#039;&#039;&#039;&amp;lt;code&amp;gt;locator_cleanup.sh&amp;lt;/code&amp;gt;&#039;&#039;&#039; retire les fiches&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;pousse ensuite pcwiki, LOCATOR et listPcProgs dans Open WebUI ; &#039;&#039;&#039;&amp;lt;code&amp;gt;locator_cleanup.sh&amp;lt;/code&amp;gt;&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;LOCATOR devenues obsolètes.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;retire les fiches LOCATOR devenues obsolètes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Catégorie:Open WebUI]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Catégorie:Open WebUI]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Catégorie:LOCATOR]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Catégorie:LOCATOR]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Catégorie:srv18]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Catégorie:srv18]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pchevalier</name></author>
	</entry>
	<entry>
		<id>https://pcwiki.pcstreet.org/index.php?title=Info::OpenWebUi::how_to_update_Locator_and_pcWiki_in_OpenWebUi&amp;diff=22757&amp;oldid=prev</id>
		<title>Pchevalier : Page créée avec « KEYWORDS: OPENWEBUI, LOCATOR, PCWIKI   &#039;&#039;&#039;Le 02/11/2026:&#039;&#039;&#039; = Mise à jour de LOCATOR et pcwiki dans Open WebUI (srv18) =  Cette page résume comment les deux sources d&#039;information « LOCATOR » (inventaire physique sous &lt;code&gt;/home/LOCATOR&lt;/code&gt;) et « pcwiki » (MediaWiki) alimentent la base de connaissances (RAG) d&#039;Open WebUI sur srv18, et comment intervenir manuellement sur chaque étape.  == Vue d&#039;ensemble ==  Il y a deux étages bien distincts :  # &#039;&#039;&#039;La s... »</title>
		<link rel="alternate" type="text/html" href="https://pcwiki.pcstreet.org/index.php?title=Info::OpenWebUi::how_to_update_Locator_and_pcWiki_in_OpenWebUi&amp;diff=22757&amp;oldid=prev"/>
		<updated>2026-11-02T10:49:08Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « KEYWORDS: OPENWEBUI, LOCATOR, PCWIKI   &amp;#039;&amp;#039;&amp;#039;Le 02/11/2026:&amp;#039;&amp;#039;&amp;#039; = Mise à jour de LOCATOR et pcwiki dans Open WebUI (srv18) =  Cette page résume comment les deux sources d&amp;#039;information « LOCATOR » (inventaire physique sous &amp;lt;code&amp;gt;/home/LOCATOR&amp;lt;/code&amp;gt;) et « pcwiki » (MediaWiki) alimentent la base de connaissances (RAG) d&amp;#039;Open WebUI sur srv18, et comment intervenir manuellement sur chaque étape.  == Vue d&amp;#039;ensemble ==  Il y a deux étages bien distincts :  # &amp;#039;&amp;#039;&amp;#039;La s... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;KEYWORDS: OPENWEBUI, LOCATOR, PCWIKI&lt;br /&gt;
&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;Le 02/11/2026:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
= Mise à jour de LOCATOR et pcwiki dans Open WebUI (srv18) =&lt;br /&gt;
&lt;br /&gt;
Cette page résume comment les deux sources d&amp;#039;information « LOCATOR » (inventaire physique&lt;br /&gt;
sous &amp;lt;code&amp;gt;/home/LOCATOR&amp;lt;/code&amp;gt;) et « pcwiki » (MediaWiki) alimentent la base de connaissances&lt;br /&gt;
(RAG) d&amp;#039;Open WebUI sur srv18, et comment intervenir manuellement sur chaque étape.&lt;br /&gt;
&lt;br /&gt;
== Vue d&amp;#039;ensemble ==&lt;br /&gt;
&lt;br /&gt;
Il y a deux étages bien distincts :&lt;br /&gt;
&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;La source LOCATOR&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;/home/LOCATOR&amp;lt;/code&amp;gt;) doit elle-même être rapatriée depuis&lt;br /&gt;
  le serveur maître &amp;#039;&amp;#039;&amp;#039;ovh1.pcstreet.org&amp;#039;&amp;#039;&amp;#039; (rsync). Ce n&amp;#039;est &amp;#039;&amp;#039;&amp;#039;pas&amp;#039;&amp;#039;&amp;#039; automatique&lt;br /&gt;
  actuellement.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;L&amp;#039;indexation dans Open WebUI&amp;#039;&amp;#039;&amp;#039; : un script unique, &amp;lt;code&amp;gt;run_sync.sh&amp;lt;/code&amp;gt;, tourne&lt;br /&gt;
  toutes les 2 minutes via cron et pousse vers Open WebUI :&lt;br /&gt;
  * les pages pcwiki modifiées,&lt;br /&gt;
  * les fiches &amp;lt;code&amp;gt;.loc&amp;lt;/code&amp;gt; de LOCATOR modifiées,&lt;br /&gt;
  * les catalogues listPcProgs modifiés.&lt;br /&gt;
&lt;br /&gt;
Tout se trouve dans &amp;lt;code&amp;gt;/root/IA/wiki-sync/&amp;lt;/code&amp;gt; sur srv18.&lt;br /&gt;
&lt;br /&gt;
== 1) Mettre à jour la source /home/LOCATOR ==&lt;br /&gt;
&lt;br /&gt;
Le dossier &amp;lt;code&amp;gt;/home/LOCATOR&amp;lt;/code&amp;gt; est une copie locale de l&amp;#039;inventaire « maître » qui vit&lt;br /&gt;
sur &amp;#039;&amp;#039;&amp;#039;ovh1.pcstreet.org&amp;#039;&amp;#039;&amp;#039; (module rsync &amp;lt;code&amp;gt;RaCiNe&amp;lt;/code&amp;gt;, port 874). Pour rapatrier les&lt;br /&gt;
dernières modifications :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo -u www-data /home/LOCATOR/.pcmakeGetLocator&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Contenu du script :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
cd /home/LOCATOR&lt;br /&gt;
if test $? -eq 0&lt;br /&gt;
then&lt;br /&gt;
	chattr -i .pcmakeGetLocator&lt;br /&gt;
	touch .pcmakeGetLocator&lt;br /&gt;
	chattr +i .pcmakeGetLocator&lt;br /&gt;
	RSYNC_PASSWORD=billou rsync -avzlH --port=874 ovh1.pcstreet.org::RaCiNe/home/LOCATOR /home&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Points d&amp;#039;attention :&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Le fichier &amp;lt;code&amp;gt;.pcmakeGetLocator&amp;lt;/code&amp;gt; est rendu immuable (&amp;lt;code&amp;gt;chattr +i&amp;lt;/code&amp;gt;) par&lt;br /&gt;
  lui-même après son propre &amp;lt;code&amp;gt;touch&amp;lt;/code&amp;gt; ; c&amp;#039;est volontaire (protection contre une&lt;br /&gt;
  suppression accidentelle), le script lève/repose l&amp;#039;attribut à chaque run.&lt;br /&gt;
* Il existe une ancienne version, &amp;lt;code&amp;gt;/root/PCStreet.scripts/.pcmakeGetPCLocator&amp;lt;/code&amp;gt;,&lt;br /&gt;
  qui ne doit plus être utilisée (marquée « Not ANy More » dans la crontab).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ce rapatriement n&amp;#039;est plus planifié par cron depuis mai 2026&amp;#039;&amp;#039;&amp;#039; (ligne commentée dans&lt;br /&gt;
  &amp;lt;code&amp;gt;crontab -l&amp;lt;/code&amp;gt; : &amp;lt;code&amp;gt;# 28/05/2026: LOCATOR: # ??? 01 * * * * ... .pcmakeGetLocator&amp;lt;/code&amp;gt;).&lt;br /&gt;
  Il faut donc le lancer à la main quand on sait que l&amp;#039;inventaire a changé côté ovh1, ou&lt;br /&gt;
  réactiver la ligne cron si on veut l&amp;#039;automatiser à nouveau.&lt;br /&gt;
&lt;br /&gt;
== 2) Indexer LOCATOR + pcwiki dans Open WebUI ==&lt;br /&gt;
&lt;br /&gt;
=== Le script run_sync.sh ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
/root/IA/wiki-sync/run_sync.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Planifié par cron toutes les 2 minutes :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
*/2 * * * * /root/IA/wiki-sync/run_sync.sh &amp;gt;&amp;gt; /root/IA/wiki-sync/cron.log 2&amp;gt;&amp;amp;1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
À chaque exécution, il effectue &amp;#039;&amp;#039;&amp;#039;trois synchronisations&amp;#039;&amp;#039;&amp;#039; vers Open WebUI&lt;br /&gt;
(&amp;lt;code&amp;gt;http://192.168.1.18:8081&amp;lt;/code&amp;gt;), toutes incrémentales (seul ce qui a changé depuis&lt;br /&gt;
le dernier passage est repoussé) :&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Étape !! Source !! Script !! Base de connaissances (.env)&lt;br /&gt;
|-&lt;br /&gt;
| pcwiki || MediaWiki (pcwiki.pcstreet.org) || &amp;lt;code&amp;gt;wiki_sync.py&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;OWUI_KNOWLEDGE_ID&amp;lt;/code&amp;gt; (« Wiki PCStreet »)&lt;br /&gt;
|-&lt;br /&gt;
| LOCATOR || fichiers &amp;lt;code&amp;gt;*.loc&amp;lt;/code&amp;gt; sous &amp;lt;code&amp;gt;/home/LOCATOR&amp;lt;/code&amp;gt; || fonction &amp;lt;code&amp;gt;sync_locator()&amp;lt;/code&amp;gt; (dans &amp;lt;code&amp;gt;run_sync.sh&amp;lt;/code&amp;gt;) || &amp;lt;code&amp;gt;LOC_KNOWLEDGE_ID&amp;lt;/code&amp;gt; (= &amp;lt;code&amp;gt;OWUI_KNOWLEDGE_ID&amp;lt;/code&amp;gt; par défaut, donc &amp;#039;&amp;#039;&amp;#039;même base&amp;#039;&amp;#039;&amp;#039; que pcwiki)&lt;br /&gt;
|-&lt;br /&gt;
| listPcProgs || catalogues programmes/scripts &amp;lt;code&amp;gt;.pcmake&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;listpcprogs_sync.py&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;LISTPCPROGS_KNOWLEDGE_ID&amp;lt;/code&amp;gt; (base séparée)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Donc &amp;#039;&amp;#039;&amp;#039;LOCATOR et pcwiki finissent dans la même base Open WebUI&amp;#039;&amp;#039;&amp;#039; (« Wiki PCStreet »).&lt;br /&gt;
&lt;br /&gt;
Un verrou (&amp;lt;code&amp;gt;flock&amp;lt;/code&amp;gt; sur &amp;lt;code&amp;gt;.run_sync.lock&amp;lt;/code&amp;gt;) empêche deux exécutions&lt;br /&gt;
concurrentes (cron + lancement manuel par exemple), ce qui provoquerait sinon des erreurs&lt;br /&gt;
« Duplicate content detected » côté Open WebUI.&lt;br /&gt;
&lt;br /&gt;
=== Détection des changements pour LOCATOR ===&lt;br /&gt;
&lt;br /&gt;
Contrairement au wiki (qui a une date de dernière modification côté MediaWiki), les fiches&lt;br /&gt;
&amp;lt;code&amp;gt;.loc&amp;lt;/code&amp;gt; sont détectées par &amp;#039;&amp;#039;&amp;#039;hash du contenu généré&amp;#039;&amp;#039;&amp;#039; (pas par date de fichier,&lt;br /&gt;
car un &amp;lt;code&amp;gt;rsync -a&amp;lt;/code&amp;gt; préserve la date d&amp;#039;origine). L&amp;#039;état est gardé dans :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/root/IA/wiki-sync/locator_files.map&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Format : &amp;lt;code&amp;gt;chemin_relatif&amp;amp;lt;TAB&amp;amp;gt;file_id_openwebui&amp;amp;lt;TAB&amp;amp;gt;md5_du_markdown_genere&amp;lt;/code&amp;gt;,&lt;br /&gt;
une ligne par fiche &amp;lt;code&amp;gt;.loc&amp;lt;/code&amp;gt; déjà poussée.&lt;br /&gt;
&lt;br /&gt;
=== Fichiers de suivi utiles ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cron.log&amp;lt;/code&amp;gt; — log complet de tous les runs cron (wiki + LOCATOR + listPcProgs).&lt;br /&gt;
* &amp;lt;code&amp;gt;last_run.log&amp;lt;/code&amp;gt; — dernier run de &amp;lt;code&amp;gt;wiki_sync.py&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;last_run_locator.log&amp;lt;/code&amp;gt; — dernières fiches LOCATOR effectivement synchronisées.&lt;br /&gt;
* &amp;lt;code&amp;gt;last_run_listpcprogs.log&amp;lt;/code&amp;gt; — dernier run des catalogues listPcProgs.&lt;br /&gt;
* &amp;lt;code&amp;gt;.env&amp;lt;/code&amp;gt; — identifiants Open WebUI et IDs des bases de connaissances.&lt;br /&gt;
&lt;br /&gt;
== 3) Nettoyer les fiches LOCATOR obsolètes ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;run_sync.sh&amp;lt;/code&amp;gt; ne gère que les &amp;#039;&amp;#039;&amp;#039;ajouts/mises à jour&amp;#039;&amp;#039;&amp;#039;, jamais les suppressions :&lt;br /&gt;
si un fichier &amp;lt;code&amp;gt;.loc&amp;lt;/code&amp;gt; est supprimé ou renommé sous &amp;lt;code&amp;gt;/home/LOCATOR&amp;lt;/code&amp;gt;, sa&lt;br /&gt;
fiche reste dans Open WebUI et son entrée reste dans &amp;lt;code&amp;gt;locator_files.map&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Script dédié :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
bash /root/IA/wiki-sync/locator_cleanup.sh --dry-run   # voir ce qui serait supprimé, sans rien changer&lt;br /&gt;
bash /root/IA/wiki-sync/locator_cleanup.sh              # applique le nettoyage&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Il compare &amp;lt;code&amp;gt;locator_files.map&amp;lt;/code&amp;gt; à la liste réelle des &amp;lt;code&amp;gt;.loc&amp;lt;/code&amp;gt; sur disque,&lt;br /&gt;
retire de Open WebUI (et du fichier d&amp;#039;état) toute fiche dont le &amp;lt;code&amp;gt;.loc&amp;lt;/code&amp;gt; source n&amp;#039;existe&lt;br /&gt;
plus, avec sauvegarde automatique de &amp;lt;code&amp;gt;locator_files.map&amp;lt;/code&amp;gt; avant modification et le&lt;br /&gt;
même verrou que &amp;lt;code&amp;gt;run_sync.sh&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== 4) Diagnostic ==&lt;br /&gt;
&lt;br /&gt;
Le script &amp;lt;code&amp;gt;loc_diag.sh&amp;lt;/code&amp;gt; interroge l&amp;#039;API Open WebUI pour vérifier l&amp;#039;état de la&lt;br /&gt;
synchronisation LOCATOR. &amp;#039;&amp;#039;&amp;#039;Attention&amp;#039;&amp;#039;&amp;#039; : sur la version d&amp;#039;Open WebUI actuellement déployée,&lt;br /&gt;
l&amp;#039;appel &amp;lt;code&amp;gt;GET /api/v1/knowledge/{id}&amp;lt;/code&amp;gt; renvoie &amp;lt;code&amp;gt;&amp;quot;files&amp;quot;:null&amp;lt;/code&amp;gt; (le champ&lt;br /&gt;
fichiers n&amp;#039;est pas peuplé), ce qui fait croire à tort que la base est vide. Pour vérifier&lt;br /&gt;
réellement la présence d&amp;#039;un fichier, préférer :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
curl -s &amp;quot;$OWUI_BASE_URL/api/v1/files/search?filename=LOCATOR_*&amp;amp;content=false&amp;quot; \&lt;br /&gt;
    -H &amp;quot;Authorization: Bearer $TOKEN&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ou tester directement un &amp;lt;code&amp;gt;file_id&amp;lt;/code&amp;gt; connu (issu de &amp;lt;code&amp;gt;locator_files.map&amp;lt;/code&amp;gt;) via&lt;br /&gt;
&amp;lt;code&amp;gt;GET /api/v1/files/{file_id}&amp;lt;/code&amp;gt; (200 = le fichier existe bien côté serveur).&lt;br /&gt;
&lt;br /&gt;
== Résumé en une phrase ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;.pcmakeGetLocator&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; rapatrie l&amp;#039;inventaire depuis ovh1 (manuel, cron désactivé&lt;br /&gt;
depuis mai 2026) ; &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;run_sync.sh&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; (cron toutes les 2 min) pousse ensuite pcwiki,&lt;br /&gt;
LOCATOR et listPcProgs dans Open WebUI ; &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;locator_cleanup.sh&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; retire les fiches&lt;br /&gt;
LOCATOR devenues obsolètes.&lt;br /&gt;
&lt;br /&gt;
[[Catégorie:Open WebUI]]&lt;br /&gt;
[[Catégorie:LOCATOR]]&lt;br /&gt;
[[Catégorie:srv18]]&lt;/div&gt;</summary>
		<author><name>Pchevalier</name></author>
	</entry>
</feed>