[ZendTo] Upgrade gone wrong

Jules Field Jules at Zend.To
Fri Jul 20 15:20:43 BST 2018


Jason,

I hit this problem myself once while writing the installer. And I can't 
for the life of me remember the fix. :-(
Try restarting clamd and then using the "--verbose" option with 
clamdscan to see if it helps at all.

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.

On 20/07/2018 14:46, Jason Passow wrote:
> I was able to download the installer and ran each of the set up 
> scripts individually
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.

Cheers,
Jules.
> and things appear to be working except the Clam Anti-Virus.  (FYI this 
> was a 5.09 to 5.11 upgrade via apt.)
>
> www-data at ubuntu:/var/zendto/incoming$ clamdscan --fdpass phpPnYMPZ
> /var/zendto/incoming/phpPnYMPZ: OK
>
> ----------- SCAN SUMMARY -----------
> Infected files: 0
> Time: 4.663 sec (0 m 4 s)
>
>
> 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.
>
> *Jason Passow* | Network Administrator
>
> o: (507) 494-5178 | c: (507) 450-8178 | jasonp at mwsco.com
> 5150 West 6^th Street | Winona, MN 55987
> www.mwsco.com
>
>
> <http://www.mwsco.com>
>
> /**/
>
> /*Veteran Owned Small Business*/
>
>
>
>
> *From: * Jules Field <Jules at Zend.To>
> *To: * ZendTo Users <zendto at zend.to>
> *Cc: * Jason Passow <jasonp at mwsco.com>
> *Sent: * 7/20/2018 3:29 AM
> *Subject: * Re: [ZendTo] Upgrade gone wrong
>
>     Please download and run a fresh copy of the ZendTo installer. This
>     should fix most of this lot for you.
>     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.
>
>     The virus scan problem is *probably* a permissions / group
>     membership problem.
>     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?
>
>     Cheers,
>     Jules.
>
>     On 19/07/2018 18:24, Jason Passow via ZendTo wrote:
>>     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
>>     ubuntu:~$ php -v
>>     PHP 7.2.7-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jun 22
>>     2018 08:44:50) ( NTS )
>>     Copyright (c) 1997-2018 The PHP Group
>>     Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
>>         with Zend OPcache v7.2.7-1+ubuntu16.04.1+deb.sury.org+1,
>>     Copyright (c) 1999-2018, by Zend Technologies
>>
>>     ubuntu:~$ php -i |grep sodium
>>     sodium
>>     sodium support => enabled
>>     libsodium headers version => 1.0.16
>>
>>     Also and this may have occurred after the last upgrade but
>>     certainly still exists. All virus scans fail. Zend gives the error
>>     Upload Error
>>
>>     	The attempt to virus-scan your drop-off failed. Please notify
>>     the system administrator.
>>
>>      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.
>>
>>     *Jason Passow* | Network Administrator
>>
>>     o: (507) 494-5178 | c: (507) 450-8178 | jasonp at mwsco.com
>>     5150 West 6^th Street | Winona, MN 55987
>>     www.mwsco.com
>>
>>
>>     <http://www.mwsco.com>
>>
>>     /**/
>>
>>     /*Veteran Owned Small Business*/
>>
>>
>>
>>     _______________________________________________
>>     ZendTo mailing list
>>     ZendTo at zend.to <mailto:ZendTo at zend.to>
>>     http://jul.es/mailman/listinfo/zendto
>
>     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
>
>     www.Zend.To <http://www.Zend.To>
>     Twitter: @JulesFM
>     PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>

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

www.Zend.To
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20180720/8fe5a45f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: f3e94a3b-8721-4282-9a20-841ecdd272d6.png
Type: image/png
Size: 26725 bytes
Desc: not available
URL: <http://jul.es/pipermail/zendto/attachments/20180720/8fe5a45f/attachment-0001.png>


More information about the ZendTo mailing list