<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<style type="text/css">
<!--
body{margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;}
-->
</style>
</head>
<body marginleft="10" marginright="10" margintop="10" marginbottom="10">
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Bonjour,</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">solution trouvée par Denis, nous avions changé les droits sur notre /var/www suite à la mise en place SyncThing.</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">ajouter le compte syncthing dans le groupe www-data, dans le fichier /etc/groups, puis chown -R /var/www wapt:www-data.</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Résolu.</font></div>
<br />
<br />
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:10pt;color:#000000;"><b>Denis Cardon <<a href="mailto:denis.cardon@tranquil-it-systems.fr">denis.cardon@tranquil-it-systems.fr</a>> écrit:</b></font></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">Bonjour Challans,</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">> voici le message qui s'affiche dès que l'on sauvegarde la configuration</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">> d'un poste lors de l'attribution d'un paquet ou d'un groupe de paquet</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">> dans la console :</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">></font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">></font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">> waptconsole</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">> Problème lors de la création du paquet: Object reference is Nil</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">j'ai réussi à reproduire ce message d'erreur en modifiant à la main les </font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">droits du fichier /var/www/wapt/Packages en le mettant en droit pour </font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">root uniquement et chmod 600... Est ce que vous pourriez vérifier les </font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">droits sur le répertoire /var/www/wapt et les fichiers qui sont dedans. </font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">Les droits devraient être en 644 pour wapt:www-data.</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">On pouvait avoir ce soucis dans des versions très vielles du serveur </font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">quand on créait le fichier d'index Packages à la main avec la commande </font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">wapt-scanpackage.py (l'équivalent de dpkg-scanpackages). Mais en version </font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">1.0, ce script fait un chmod et chown à la fin.</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">Cordialement,</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">Denis</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">></font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">> 16022015_135917_1.png</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">></font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">> So, what is the problem ?</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">></font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">> Merci.</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">></font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">></font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">></font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">> Le corps de ce message sera téléchargé Ã  votre demande.</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">></font></span></div>
<br />
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">-- </font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">Denis Cardon</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">Tranquil IT Systems</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">Les Espaces Jules Verne, bâtiment A</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">12 avenue Jules Verne</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">44230 Saint Sébastien sur Loire</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;">tel : +33 (0) 2.40.97.57.55</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Geneva" size="+0" color="#000000" style="font-family:Geneva;font-size:12pt;color:#000000;"><a href="http://www.tranquil-it-systems.fr" target="_blank">http://www.tranquil-it-systems.fr</a></font></span></div>
<br />
<br />
<br />
<br />
<br />
</body>
</html>