Page 1 of 4

Corrupt files after uploading

PostPosted: 15.10.2014, 11:33
by krzysiekw
After uploading a file using Collabtive, the file shows up in the system but can not open it. Receives a message that the file is corrupted.

I have Collabtive version 2.0 and after the upgrade problems began.

What can cause these problems?

Regards
Chris

Re: Corrupt files after uploading

PostPosted: 15.10.2014, 23:28
by Eva
Which browser are you using?
Please provide us with a description of your entire setup. Thank you.

Re: Corrupt files after uploading

PostPosted: 16.10.2014, 13:33
by Remiguel
Same here.
We are facing a huge download corruption issue.
With Collabtive 1.2 we could download all Excel files without any trouble. With Collabtive 2.0 same files (after migration) can't be opened after downloading.
Tested with Explorer, Chrome, Safari (OSX) and Firefox.
I will conduct further tests to identify what is going on.

Re: Corrupt files after uploading

PostPosted: 16.10.2014, 13:54
by krzysiekw
Installation made ​​in accordance with the instructions.
I copied all the files by overwriting and ive loaded its configuration file.
Then I ran update.php file

I use Mozilla Firefox

Regards
Chris

Re: Corrupt files after uploading

PostPosted: 16.10.2014, 17:37
by Remiguel
All files with problem during read process, can't be opened neither directly from filemanager (acces from cPanel). :(
Files fresh uploaded with Collabtive 2.0 can be downloaded, from Collabtive 2.0 but not from filemanager (cPanel) :o
Error message is
This file can't be open because the document type is not supported or the file has been damaged (e.g. wrong encoded during eMail process)


We have an huge file collection already uploaded. Hope we can fix that issue soon, without re-uploading all ;)

Re: Corrupt files after uploading

PostPosted: 16.10.2014, 18:30
by some person
Remiguel wrote:All files with problem during read process, can't be opened neither directly from filemanager (acces from cPanel). :(
Files fresh uploaded with Collabtive 2.0 can be downloaded, from Collabtive 2.0 but not from filemanager (cPanel) :o
Error message is
This file can't be open because the document type is not supported or the file has been damaged (e.g. wrong encoded during eMail process)


We have an huge file collection already uploaded. Hope we can fix that issue soon, without re-uploading all ;)

This is as a result of files being encrypted on upload in the latest version of collabtive. You will only be able to download/access the files through collabtive.

Re: Corrupt files after uploading

PostPosted: 16.10.2014, 21:24
by tommy
Same here , any solution ?

Re: Corrupt files after uploading

PostPosted: 16.10.2014, 22:32
by Remiguel
some person wrote:This is as a result of files being encrypted on upload in the latest version of collabtive. You will only be able to download/access the files through collabtive.


So I have to write a php script, to decode those files from Collabtive 1.2 version and re-encode them for Collabtive 2.0?
I will check the former code and compare it with the current one from Collabtive 2.0

Re: Corrupt files after uploading

PostPosted: 17.10.2014, 03:23
by Philipp
So,

here is what happens:

Collabtive 2.0 adds AES encryption of uploaded files.
When you update from 1.2 to 2.0, all files previously uploaded will be encrypted.
This means that file access through any file manager (cpanel, ftp, etc) will not work.
They will only see the encrypted file, and not be able to read it. Hence the message about a "corrupted" file.

The only thing that will work is:
* Log in to Collabtive
* Go to a project
* Click on the files tab
* Click on a file
the file will then be decrypted by Collabtive and the decrypted file sent to the browser for download.

Known bugs:
* E-mail notifications send out wrong links to uploaded files. this will be fixed next release.
* Upload not working correctly in Internet Explorer 9 or below. Fixed in next release.

Re: Corrupt files after uploading

PostPosted: 17.10.2014, 12:01
by Remiguel
Thanks Philipp for this explanation. I understand, now that files previously upload with Collabtive 1.2, should be downloadable fine with Collabtive 2.0.
Actually it is not the case. Those file are downloded on desktop but they are impossible to read (message corrupt file)
One concern: When previously uploaded files have been encrypted? During database update?

Many thanks for your support