[ZendTo] Error to uploading files v5

Jules Field Jules at Zend.To
Mon Dec 17 16:14:41 GMT 2018


Ricardo,

Don't forget upgrade_preferences_php and upgrade_zendto_conf as they 
will apply all your changes to a brand-new version of that file, very 
quickly and easily, when you get a new version of ZendTo.

I must either change how those 2 work, or write much better 
documentation for them, as it appears a lot of people don't know enough 
bash command-line to understand the usage example they print when you 
run them with nothing else on the command-line.

I'll probably create a new "upgrade" script which uses them, and does 
everything else required to put the new ones into place, all at once.

Cheers,
Jules.

On 17/12/2018 16:03, RICARDO ARAÚJO POPOIRE WANDERLEY wrote:
>
> Jules,
>
> I will try to replace some files to turn the upgrade faster.
>
> I have some customizations in my environment and do it manually again 
> will cost much time.
>
> If I notice some issue again I will try to make your recommendation.
>
> Thanks for your help.
>
> Regards,
>
> Ricardo Araujo
>
> 21 3223 7944
>
> *From:*Jules Field <Jules at Zend.To>
> *Sent:* segunda-feira, 17 de dezembro de 2018 13:58
> *To:* RICARDO ARAÚJO POPOIRE WANDERLEY <ricardo.araujo at modal.com.br>; 
> Glenn Noel <glenn.noel at gmail.com>; ZendTo Users <zendto at zend.to>
> *Subject:* Re: [ZendTo] Error to uploading files v5
>
> Ricardo,
>
> In which case it was most likely an SELinux attribute problem.
>
> If you moved, copied or replaced files in either /var/zendto or 
> /opt/zendto, you would have ended up with the wrong SELinux attributes 
> on the versions it was trying to use.
>
> You can restore the attributes at any time with
> *restorecon -vFR /var/zendto /opt/zendto*
>
> The "-v" makes it tell you about any changes it made.
> The "-F" makes it do *everything*.
> The "-R" makes it work recursively.
>
> Cheers,
> Jules.
>
> On 17/12/2018 15:22, RICARDO ARAÚJO POPOIRE WANDERLEY wrote:
>
>     CentOS Linux release 7.5.1804 (Core)
>
>     At.te
>
>     Ricardo Araujo
>
>     21 3223 7944
>
>     *From:*Jules Field <Jules at Zend.To> <mailto:Jules at Zend.To>
>     *Sent:* segunda-feira, 17 de dezembro de 2018 13:21
>     *To:* RICARDO ARAÚJO POPOIRE WANDERLEY
>     <ricardo.araujo at modal.com.br>
>     <mailto:ricardo.araujo at modal.com.br>; Glenn Noel
>     <glenn.noel at gmail.com> <mailto:glenn.noel at gmail.com>; ZendTo Users
>     <zendto at zend.to> <mailto:zendto at zend.to>
>     *Subject:* Re: [ZendTo] Error to uploading files v5
>
>     Ricardo,
>
>     Out of interest, what OS and version are you running on?
>
>     Thanks!
>     Jules.
>
>     On 17/12/2018 14:40, RICARDO ARAÚJO POPOIRE WANDERLEY wrote:
>
>         Jules,
>
>         I ran the installer again and now it Works.
>
>         Probably some configurations or template files that I used on
>         previous version caused this issue.
>
>         Thanks for your attention,
>
>         Regards,
>
>         Ricardo Araujo
>
>         21 3223 7944
>
>         *From:*Jules Field <Jules at Zend.To> <mailto:Jules at Zend.To>
>         *Sent:* segunda-feira, 17 de dezembro de 2018 12:29
>         *To:* Glenn Noel <glenn.noel at gmail.com>
>         <mailto:glenn.noel at gmail.com>; ZendTo Users <zendto at zend.to>
>         <mailto:zendto at zend.to>; RICARDO ARAÚJO POPOIRE WANDERLEY
>         <ricardo.araujo at modal.com.br> <mailto:ricardo.araujo at modal.com.br>
>         *Subject:* Re: [ZendTo] Error to uploading files v5
>
>         Ricardo, Glenn,
>
>         I've just tried to reproduce this, and am not managing to do so.
>
>         I've got a minimal 18.04.1 LTS server install.
>         I boot it, "sudo su -", download
>         https://zend.to/files/install.ZendTo.tgz
>         <https://zend.to/files/install.ZendTo.tgz> and run the installer.
>         The only things I change from the defaults are the SMTP server
>         name and SMTP username+password.
>         Otherwise everything is default.
>         Then reboot.
>         Then create 1 local user.
>         Then point a web browser at it, login and drop off a 4.5GB
>         file (happens to be a Windows iso).
>
>         It works fine.
>
>         I haven't made any changes to preferences.php or zendto.conf
>         or internaldomains.conf at all. Totally untouched once the
>         Installer had finished.
>
>         What am I doing differently from you folks?
>
>         I have even done an "apt update; apt upgrade; reboot" after
>         that to see if that breaks anything, and no, everything still
>         works.
>
>         Puzzled...
>
>         On 14/12/2018 18:58, Glenn Noel wrote:
>
>             Hello Jules,
>
>             I am having the same issue with a new Zend install on
>             Ubuntu Server 18.04 LTS.  I have tried uploading a 2GB
>             file and the progress indicator climbs to %100 and then
>             fails with the same error that Ricardo is receiving
>             "Sorry, I failed to drop-off your files! Note that you
>             cannot drop-off directories, only files."  During the
>             upload I say a file in /var/zendto/incoming.  It
>             immediately vanished upon the error.
>
>             Your assistance is always appreciated.
>
>             Thx,
>
>             Glenn
>
>             On Fri, Dec 14, 2018 at 12:05 PM Jules Field via ZendTo
>             <zendto at zend.to <mailto:zendto at zend.to>> wrote:
>
>                 What OS and version are you running on?
>                 If it's CentOS or RedHat, it may be SELinux-related.
>                 If so, re-run stage
>                 8 of the Installer. Inside the Installer's directory,
>                 you'll see the
>                 CentOS-RedHat directory. Go in there and just run
>                 stage 8 (you can run
>                 any stage manually).
>
>                 That will repair SELinux attributes.
>
>                 Then start off a big upload and look in
>                 /var/zendto/incoming.
>                 You should be able to see a file growing in size, that
>                 is your upload.
>
>                 Jules.
>
>                 On 14/12/2018 16:22, RICARDO ARAÚJO POPOIRE WANDERLEY
>                 wrote:
>                 > Full install from website following the procedures
>                 mentioned there. New server fresh install only
>                 migrating some configurations from preferences.php and
>                 zendto.conf files
>                 >
>                 > Version 5.15-1.
>                 >
>                 >
>                 >
>                 > RICARDO ARAÚJO POPOIRE WANDERLEY
>                 >
>                 > Em 14 de dezembro de 2018 14:17:14 BRST, Jules Field
>                 <Jules at Zend.To> <mailto:Jules at Zend.To> escreveu:
>                 > How did you do the upgrade?
>                 > What version were you on before, and what version
>                 are you on now?
>                 >
>                 > On 14/12/2018 16:04, RICARDO ARAÚJO POPOIRE
>                 WANDERLEY via ZendTo wrote:
>                 >
>                 > Hi folks,
>                 >
>                 > I did the upgrade to version 5 but I’m facing a
>                 problem to upload files.
>                 >
>                 >
>                 >
>                 > I’m receiving an error as “ Sorry, I Failed to
>                 drop-off your files” , I’m testing uploading files not
>                 folders.
>                 >
>                 >
>                 >
>                 > Anyone can help to solve this?
>                 >
>                 >
>                 >
>                 > Thanks in advance
>                 >
>                 >
>                 >
>                 >
>                 [http://www.modal.com.br/emailmkt/marca-assinatura.jpg]<https://modal.com.br/html/index.php>
>                 >
>                 >
>                 >
>                 >
>                 >
>                 > RICARDO ARAUJO POPOIRE WANDERLEY
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 > Tels. 55 21 3223 7944 | 7700
>                 > Cel.  55 21 99477 6779
>                 > Fax   55 21 3223 7738
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 >
>                 > [http://www.modal.com.br/images/rec.png]       A
>                 impressão consciente gera economia e responsabilidade
>                 com o meio ambiente
>                 > Atenção: Esta comunicação deve ser lida apenas pelo
>                 seu destinatário e não pode ser retransmitida sem
>                 autorização formal. Se esta mensagem tiver sido
>                 recebida indevidamente, por favor destrua-a e retire-a
>                 de seu computador.
>                 > Qualquer reprodução, disseminação, alteração,
>                 distribuição e/ou publicação deste e-mail é
>                 estritamente proibida.
>                 >
>                 >
>                 > Notice of Confidentiality: This document should only
>                 be read by those persons to whom it is addressed and
>                 is not intended to be relied upon by any person
>                 without subsequent written confirmation of its
>                 contents. If you have received this e-mail message in
>                 error, please destroy it and delete it from your computer.
>                 > Any form of reproduction, dissemination, copying,
>                 disclosure, modification, distribution and/or
>                 publication of this e-mail message is strictly prohibited.
>                 >
>                 >
>                 >
>                 >
>                 > _______________________________________________
>                 > ZendTo mailing list
>                 > ZendTo at zend.to
>                 <mailto:ZendTo at zend.to><mailto:ZendTo at zend.to
>                 <mailto:ZendTo at zend.to>>
>                 > http://jul.es/mailman/listinfo/zendto
>                 >
>                 >
>                 >
>                 > Jules
>                 >
>                 > --
>                 > Julian Field MEng CEng CITP MBCS MIEEE MACM
>                 >
>                 > 'There is one thing stronger than all the armies in
>                 the world;
>                 >   and that is an idea whose time has come.'
>                 >
>                 > www.Zend.To <http://www.Zend.To><http://www.Zend.To>
>                 > Twitter: @JulesFM
>                 >
>
>                 Jules
>
>                 -- 
>                 Julian Field MEng CEng CITP MBCS MIEEE MACM
>
>                 'Gaze not into the abyss, lest you become recognised
>                 as an abyss
>                   domain expert, and they expect you to keep gazing
>                 into the damn thing.'
>                                                             - @nickm_tor
>
>                 www.Zend.To <http://www.Zend.To>
>                 Twitter: @JulesFM
>
>
>                 _______________________________________________
>                 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
>
>           
>
>         'All programs have a desire to be useful' - Tron, 1982
>
>           
>
>         www.Zend.To  <http://www.Zend.To>
>
>         Twitter: @JulesFM
>
>
>
>
>     Jules
>
>       
>
>     -- 
>
>     Julian Field MEng CEng CITP MBCS MIEEE MACM
>
>       
>
>     'Give a man a fish, and you feed him for a day.
>
>       Teach a man to fish, and he'll sit in a boat and drink beer all day.'
>
>         - Anon
>
>       
>
>     www.Zend.To  <http://www.Zend.To>
>
>     Twitter: @JulesFM
>
>
>
> Jules
> -- 
> Julian Field MEng CEng CITP MBCS MIEEE MACM
> 'One of the deep secrets of life is that all that is really worth
>   doing is what we do for others.' - Lewis Carroll
> www.Zend.To  <http://www.Zend.To>
> Twitter: @JulesFM

Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

'No more impressive warning can be given to those who would confine
  knowledge and rsearch to what is apparently useful, than the
  reflection that conic sections were studied for eighteen hundred
  years merely as an abstract science, without regard to any utility
  other than to satisfy the craving for knowledge on the part of
  mathematicians, and that then at the end of this long period of
  abstract study, they were found to be the necessary key with which
  to attain the knowledge of the most important laws of nature.'
  - Alfred North Whitehead

www.Zend.To
Twitter: @JulesFM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20181217/9acbfc12/attachment-0001.html>


More information about the ZendTo mailing list