Loading

Corrupt files after uploading

Get help with problems, or report & discuss bugs in Collabtive

Corrupt files after uploading

Postby krzysiekw » 15.10.2014, 11:33

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
krzysiekw
 
Posts: 2
Joined: 15.10.2014, 11:32

Re: Corrupt files after uploading

Postby Eva » 15.10.2014, 23:28

Which browser are you using?
Please provide us with a description of your entire setup. Thank you.
Project Management the way you like it: Collaborative - Open Source - Free

facebook.com/Collabtive
twitter.com/Collabtive
xing.com/companies/collabtive
linkedin.com/company/collabtive
User avatar
Eva
 
Posts: 1471
Joined: 01.01.2008, 23:31
Location: Saarbrücken, Germany

Re: Corrupt files after uploading

Postby Remiguel » 16.10.2014, 13:33

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.
Last edited by Remiguel on 16.10.2014, 22:34, edited 1 time in total.
Remiguel
 
Posts: 96
Joined: 10.06.2014, 09:34
Location: Spain / France

Re: Corrupt files after uploading

Postby krzysiekw » 16.10.2014, 13:54

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
krzysiekw
 
Posts: 2
Joined: 15.10.2014, 11:32

Re: Corrupt files after uploading

Postby Remiguel » 16.10.2014, 17:37

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 ;)
Remiguel
 
Posts: 96
Joined: 10.06.2014, 09:34
Location: Spain / France

Re: Corrupt files after uploading

Postby some person » 16.10.2014, 18:30

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.
some person
 
Posts: 439
Joined: 16.04.2011, 12:46

Re: Corrupt files after uploading

Postby tommy » 16.10.2014, 21:24

Same here , any solution ?
tommy
 
Posts: 2
Joined: 16.10.2014, 21:01

Re: Corrupt files after uploading

Postby Remiguel » 16.10.2014, 22:32

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
Remiguel
 
Posts: 96
Joined: 10.06.2014, 09:34
Location: Spain / France

Re: Corrupt files after uploading

Postby Philipp » 17.10.2014, 03:23

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.
User avatar
Philipp
Site Admin
 
Posts: 1118
Joined: 14.12.2007, 03:06
Location: Saarbrücken, germany

Re: Corrupt files after uploading

Postby Remiguel » 17.10.2014, 12:01

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
Remiguel
 
Posts: 96
Joined: 10.06.2014, 09:34
Location: Spain / France

Next

Return to Problems and Bugs

Who is online

Users browsing this forum: No registered users