You are here: Foswiki>Tasks Web>Item14316 (25 Mar 2017, GeorgeClark)Edit Attach

Item14316: JSON parse error on upload of some pptx files

pencil
Priority: Low
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: KarlDuderstadt
Waiting For:
Last Change By: GeorgeClark
I get the error "can't parse json response from backend" when trying to upload some types of pptx files with images on the slides. I am running Foswiki 2.1.2 with natskin and have applied all the recent extension updates. Our foswiki is running on Ubuntu 16.04 LTS.

I have attached a screen shot of the error message and an example pptx document that is causing the error.

-- KarlDuderstadt - 01 Feb 2017

It was a nginx configuration issue that prevented large files from being uploaded, not a problem with foswiki. I followed the instructions for nginx configuration on the foswiki site, but now I also added the line client_max_body_size 200M; into the server block sections of the nginx configuration file under sites-available. I added my nginx config file in case others have the same issue.

-- KarlDuderstadt - 01 Feb 2017

I've added the client_max_body_size setting to our example Nginx configuration shipped with FastCGIContrib. Setting this to no-action.

-- GeorgeClark - 25 Mar 2017
 

ItemTemplate edit

Summary JSON parse error on upload of some pptx files
ReportedBy KarlDuderstadt
Codebase 2.1.2
SVN Range
AppliesTo Engine
Component
Priority Low
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
I Attachment Action Size Date Who Comment
Presentation.pptxpptx Presentation.pptx manage 1 MB 01 Feb 2017 - 13:51 KarlDuderstadt example pptx that causes the json parse error
nginx.confconf nginx.conf manage 1 K 01 Feb 2017 - 14:45 KarlDuderstadt  
pptx upload error 1.tifftiff pptx upload error 1.tiff manage 66 K 01 Feb 2017 - 13:52 KarlDuderstadt Screen shot of json parse error encountered upon file upload
Topic revision: r2 - 25 Mar 2017, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy