<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Jason,<br>
<br>
I hit this problem myself once while writing the installer. And I
can't for the life of me remember the fix. :-(<br>
Try restarting clamd and then using the "--verbose" option with
clamdscan to see if it helps at all.<br>
<br>
What you can also try is, within preferences.php, just remove the
"--fdpass" option. What you don't want to have to do is back off
from using "clamdscan" to just "clamscan". The startup time of
clamscan is very long.<br>
<br>
<div class="moz-cite-prefix">On 20/07/2018 14:46, Jason Passow
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!9da707f571003508322f026f5048b7731a7b28e00f1955435a03896ffb6ac5e03b0d0063c7787f74832b5d95b2f0547a!@mx.jul.es">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
I was able to download the installer and ran each of the set up
scripts individually</blockquote>
Each separate script realises that it isn't being run from
../install.sh and works around that fact so you can use the stages
independently. The install.sh basically just calls each one in turn
with a "Should I" question on the front. install.sh itself is
extremely short and simple.<br>
<br>
Cheers,<br>
Jules.<br>
<blockquote type="cite"
cite="mid:WM!9da707f571003508322f026f5048b7731a7b28e00f1955435a03896ffb6ac5e03b0d0063c7787f74832b5d95b2f0547a!@mx.jul.es">
and things appear to be working except the Clam Anti-Virus. (FYI
this was a 5.09 to 5.11 upgrade via apt.)
<div><br>
</div>
<div>
<div><font color="#cd0000">www-data</font>@ubuntu:/var/zendto/incoming$
clamdscan --fdpass phpPnYMPZ</div>
<div>/var/zendto/incoming/phpPnYMPZ: OK</div>
<div><br>
</div>
<div>----------- SCAN SUMMARY -----------</div>
<div>Infected files: 0</div>
<div>Time: 4.663 sec (0 m 4 s)</div>
<div><br>
</div>
<div><br>
</div>
<div>There was already a file in incoming so I used www-data in
a bash shell and it was able to scan the file. What would be
the next steps? I agree that it seems to be a permissions
issue but I am not sure where. </div>
<br>
<font face="Calibri">
<p style="margin:0px;color:#00549A;">
<span style="font-size: 13pt;"><b>Jason Passow</b></span>
<span style="font-size:12pt;"> | Network Administrator</span></p>
<p style="margin: 0px; font-size: 11pt;text-decoration:none;"><a
style="text-decoration:none;" moz-do-not-send="true"><font
color="#808080"> o: (507) 494-5178 | c: (507) 450-8178 |
jasonp@mwsco.com<br>
5150 West 6<sup>th</sup> Street | Winona, MN 55987<br>
www.mwsco.com</font></a></p>
<br>
<p style="margin: 0px; font-size: 11pt;text-decoration:none;"><a
href="http://www.mwsco.com" style="font-size: 13px;"
moz-do-not-send="true"><img
src="cid:part2.5139F4F0.FC09823C@Zend.To" class=""></a></p>
<p style="margin:0px;color:black;font-size:11.0pt;"><i><b> </b></i></p>
<p style="margin:0px;color:black;font-size:11.0pt;"><i><b>
Veteran Owned Small Business</b></i></p>
</font><br>
<br>
<br>
<div><strong>
From:
</strong> Jules Field <a class="moz-txt-link-rfc2396E" href="mailto:Jules@Zend.To"><Jules@Zend.To></a>
<br>
<strong>
To:
</strong> ZendTo Users <a class="moz-txt-link-rfc2396E" href="mailto:zendto@zend.to"><zendto@zend.to></a>
<br>
<strong>
Cc:
</strong> Jason Passow <a class="moz-txt-link-rfc2396E" href="mailto:jasonp@mwsco.com"><jasonp@mwsco.com></a>
<br>
<strong>
Sent: </strong>
7/20/2018 3:29 AM
<br>
<strong>
Subject:
</strong> Re: [ZendTo] Upgrade gone wrong
<br>
<br>
<blockquote class="mori" style="margin:0 0 0
.8ex;border-left:1px solid #CCC;padding-left:1ex;">
<div style="color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);"> Please download and run a fresh copy of the
ZendTo installer. This should fix most of this lot for
you.<br>
Upgrades to 5.10+ from anything before 5.09 should be done
with the installer. It shouldn't do any harm, but should
ensure things are setup correctly.<br>
<br>
The virus scan problem is *probably* a permissions / group
membership problem.<br>
If you temporarily give the user www-data a shell of
/bin/bash so that you can "su - www-data" (from root), can
you then run "clamdscan --fdpass" on some files in
/var/zendto/incoming and other places?<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<div class="mcntmoz-cite-prefix">On 19/07/2018 18:24,
Jason Passow via ZendTo wrote:<br>
</div>
<blockquote type="cite"> I used apt to upgrade to the
latest zendto 5.10. Now I have several problems. The
first is it tells me I need libsodium support. php -v
and php -i | grep sodium below
<div>
<div>ubuntu:~$ php -v</div>
<div>PHP 7.2.7-1+ubuntu16.04.1+deb.sury.org+1 (cli)
(built: Jun 22 2018 08:44:50) ( NTS )</div>
<div>Copyright (c) 1997-2018 The PHP Group</div>
<div>Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend
Technologies</div>
<div> with Zend OPcache
v7.2.7-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c)
1999-2018, by Zend Technologies</div>
<div><br>
</div>
<div>ubuntu:~$ php -i |grep sodium</div>
<div>sodium</div>
<div>sodium support => enabled</div>
<div>libsodium headers version => 1.0.16</div>
<div><br>
</div>
<div>Also and this may have occurred after the last
upgrade but certainly still exists. All virus scans
fail. Zend gives the error </div>
<table class="mcntUD_error" style="color: rgb(22, 38,
55); font-family: Roboto, sans-serif; font-size:
14.72px; font-variant-ligatures: normal; orphans: 2;
widows: 2;" width="100%">
<tbody>
<tr>
<td class="mcntUD_error_title"
style="padding-top: 10px;">Upload Error</td>
</tr>
<tr>
<td class="mcntUD_error_message"
style="padding-top: 8px;"><span class="mcntfas
mcntfa-fw" style="-webkit-font-smoothing:
antialiased; display: inline-block;
text-rendering: auto; line-height: 1;
text-align: center; width: 1.25em;
font-family: "Font Awesome 5
Free"; font-weight: 900;"></span><br>
</td>
<td class="mcntUD_error_message"
style="padding-top: 8px;">The attempt to
virus-scan your drop-off failed. Please notify
the system administrator.<br>
<br>
</td>
</tr>
</tbody>
</table>
<div> Clam gives an error that this is "not a regular
file" The file type is irrelevant. It happens with
txt files, video files, etc. I have disabled
scanning for now. </div>
<br>
<font face="Calibri">
<p style="margin:0px;color:#00549A;"> <span
style="font-size: 13pt;"><b>Jason Passow</b></span>
<span style="font-size:12pt;"> | Network
Administrator</span></p>
<p style="margin: 0px; font-size:
11pt;text-decoration:none;"><a
style="text-decoration:none;" target="_blank"
moz-do-not-send="true"><font color="#808080"> o:
(507) 494-5178 | c: (507) 450-8178 |
jasonp@mwsco.com<br>
5150 West 6<sup>th</sup> Street | Winona,
MN 55987<br>
www.mwsco.com</font></a></p>
<br>
<p style="margin: 0px; font-size:
11pt;text-decoration:none;"><a
href="http://www.mwsco.com" style="font-size:
13px;" target="_blank" moz-do-not-send="true"><img
src="cid:part2.5139F4F0.FC09823C@Zend.To"
class="mcnt"></a></p>
<p style="margin:0px;color:black;font-size:11.0pt;"><i><b> </b></i></p>
<p style="margin:0px;color:black;font-size:11.0pt;"><i><b>
Veteran Owned Small Business</b></i></p>
</font></div>
<br>
<fieldset class="mcntmimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
ZendTo mailing list
<a class="mailto moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to" title="Send email to ZendTo@zend.to" target="_blank" moz-do-not-send="true">ZendTo@zend.to</a>
<a class="mcntmoz-txt-link-freetext" href="http://jul.es/mailman/listinfo/zendto" target="_blank" moz-do-not-send="true">http://jul.es/mailman/listinfo/zendto</a>
</pre>
</blockquote>
<br>
<pre class="mcntmoz-signature">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'Always do sober what you said you'd do drunk. That will teach you
to keep your mouth shut.' - Ernest Hemingway
<a class="mcntmoz-txt-link-abbreviated" href="http://www.Zend.To" target="_blank" moz-do-not-send="true">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'A committee is a group of the unwilling, chosen from the unfit,
to do the unnecessary.' - Anon
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
</body>
</html>