NuCivic / dkan-ebola

http://eboladata.org
GNU General Public License v2.0
1 stars 1 forks source link

Can't upload visualization on eboladata #36

Open andrewhoppin opened 9 years ago

andrewhoppin commented 9 years ago

See below... Pls recreate the issue, document, troubleshoot if you can, assign to Krista for assignment to a developer if you can't, and keep Kush posted. Thanks!


From: Kush R Varshney krvarshn@us.ibm.com Sent: Monday, April 13, 2015 8:12 AM To: Stefanie Gray; Andrew Hoppin Subject: uploading image for visualization on eboladata.org

Hi Stefanie and Andrew,

How are things going?

I was trying to add some visualizations to eboladata.org and I was able to create the link just fine, but when I was trying to upload an image to go with it, the system was saying "The file could not be uploaded." Do you have any thoughts on why that may be?

Thanks.

Kush

andrewhoppin commented 9 years ago

Another report of the issue...

To: Stefanie Gray; Andrew Hoppin Subject: Problem to upload visualization file to eboladata.org

Hi Stefanie and Andrew,

I want to upload some images to the visualizations tab: http://www.eboladata.org/visualizations.

I get an error when I try to upload a file. The files I try to upload are png and no larger than 300KB.

Could you please check this matter?

Thanks, Raya

Raya Horesh. PhD

Research Scientist Numerical Methods Group Business Analytics and Mathematical Sciences

Phone: +1 914 945 2772 E-mail: rhoresh@us.ibm.com

jonpugh commented 9 years ago
aegir@eboladata:~/projects/data/live/sites/live.data.eboladata.nucivic.build$ ll
total 488
drwxr-xr-x  7 aegir aegir      4096 Apr 16 08:40 ./
drwxrwxr-x  5 aegir aegir      4096 Mar 24 14:12 ../
-r--r-----  1 aegir aegir    458247 Apr 16 08:39 drushrc.php
drwxr-xr-x 17 root  root       4096 Mar 24 15:31 files/
drwxrwsr-x  2 aegir aegir      4096 Mar  6 10:36 libraries/
drwxrwsr-x  2 aegir aegir      4096 Mar  6 14:37 modules/
drwxrws---  4 aegir www-data   4096 Mar  6 10:36 private/
-r--r-----  1 aegir www-data   4937 Apr 16 08:39 settings.php
drwxrwsr-x  2 aegir aegir      4096 Mar  6 10:36 themes/

Files should not be owned by root.

Please no use sudo!

jonpugh commented 9 years ago

Changed back to owned by aegir:aegir, then ran a Verify task on the site, now the files directory is writable.

jonpugh commented 9 years ago

Successfully uploaded a file, @andrewhoppin .

However, the upload limit is currently 2MB.

This might be a bit small for a data site.

Shall I increase it? Shall we increase it for all of the data sites? What shall we increase it to?

jvitello commented 9 years ago

I QAed on test. It's ready to push to live if it hasn't already.

jonpugh commented 9 years ago

I'll finish this at coworking tonight.

Thanks, @jvitello !