<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:o365IconsIE8;}
@font-face
        {font-family:o365IconsMouse;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
code
        {mso-style-priority:99;
        font-family:"Courier New","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
p.ms-cui-menu, li.ms-cui-menu, div.ms-cui-menu
        {mso-style-name:ms-cui-menu;
        margin:0cm;
        margin-bottom:.0001pt;
        background:white;
        border:none;
        padding:0cm;
        font-size:10.0pt;
        font-family:"Segoe UI","sans-serif";
        color:#333333;}
p.ms-cui-menusection-title, li.ms-cui-menusection-title, div.ms-cui-menusection-title
        {mso-style-name:ms-cui-menusection-title;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        display:none;}
p.ms-cui-ctl, li.ms-cui-ctl, div.ms-cui-ctl
        {mso-style-name:ms-cui-ctl;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:#333333;}
p.ms-cui-ctl-on, li.ms-cui-ctl-on, div.ms-cui-ctl-on
        {mso-style-name:ms-cui-ctl-on;
        margin:0cm;
        margin-bottom:.0001pt;
        background:#DFEDFA;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ms-cui-img-cont-float, li.ms-cui-img-cont-float, div.ms-cui-img-cont-float
        {mso-style-name:ms-cui-img-cont-float;
        margin-top:1.5pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ms-cui-smenu-inner, li.ms-cui-smenu-inner, div.ms-cui-smenu-inner
        {mso-style-name:ms-cui-smenu-inner;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ms-owa-paste-option-icon, li.ms-owa-paste-option-icon, div.ms-owa-paste-option-icon
        {mso-style-name:ms-owa-paste-option-icon;
        margin-top:1.5pt;
        margin-right:3.0pt;
        margin-bottom:0cm;
        margin-left:3.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        vertical-align:sub;}
p.ms-rtepasteflyout-option, li.ms-rtepasteflyout-option, div.ms-rtepasteflyout-option
        {mso-style-name:ms-rtepasteflyout-option;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ms-cui-menusection, li.ms-cui-menusection, div.ms-cui-menusection
        {mso-style-name:ms-cui-menusection;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.wf, li.wf, div.wf
        {mso-style-name:wf;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.wf-family-owa, li.wf-family-owa, div.wf-family-owa
        {mso-style-name:wf-family-owa;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:o365IconsMouse;}
p.wf-owa-play-large, li.wf-owa-play-large, div.wf-owa-play-large
        {mso-style-name:wf-owa-play-large;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.wf-size-play-large, li.wf-size-play-large, div.wf-size-play-large
        {mso-style-name:wf-size-play-large;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.wf-family-owa1, li.wf-family-owa1, div.wf-family-owa1
        {mso-style-name:wf-family-owa1;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:o365IconsIE8;}
p.wf-owa-play-large1, li.wf-owa-play-large1, div.wf-owa-play-large1
        {mso-style-name:wf-owa-play-large1;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:white;}
p.wf-owa-play-large2, li.wf-owa-play-large2, div.wf-owa-play-large2
        {mso-style-name:wf-owa-play-large2;
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:center;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:white;}
p.wf-size-play-large1, li.wf-size-play-large1, div.wf-size-play-large1
        {mso-style-name:wf-size-play-large1;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:22.5pt;
        font-family:"Times New Roman","serif";}
p.wf-size-play-large2, li.wf-size-play-large2, div.wf-size-play-large2
        {mso-style-name:wf-size-play-large2;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:22.5pt;
        font-family:"Times New Roman","serif";}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-style-name:msochpdefault;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
p.wf-family-owa2, li.wf-family-owa2, div.wf-family-owa2
        {mso-style-name:wf-family-owa2;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:o365IconsIE8;}
p.wf-owa-play-large3, li.wf-owa-play-large3, div.wf-owa-play-large3
        {mso-style-name:wf-owa-play-large3;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:white;}
p.wf-owa-play-large4, li.wf-owa-play-large4, div.wf-owa-play-large4
        {mso-style-name:wf-owa-play-large4;
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:center;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:white;}
p.wf-size-play-large3, li.wf-size-play-large3, div.wf-size-play-large3
        {mso-style-name:wf-size-play-large3;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:22.5pt;
        font-family:"Times New Roman","serif";}
p.wf-size-play-large4, li.wf-size-play-large4, div.wf-size-play-large4
        {mso-style-name:wf-size-play-large4;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:22.5pt;
        font-family:"Times New Roman","serif";}
span.emailstyle36
        {mso-style-name:emailstyle36;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.htmlpreformattedchar0
        {mso-style-name:htmlpreformattedchar;
        font-family:Consolas;}
span.emailstyle46
        {mso-style-name:emailstyle46;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.balloontextchar0
        {mso-style-name:balloontextchar;
        font-family:"Tahoma","sans-serif";}
p.wf-family-owa3, li.wf-family-owa3, div.wf-family-owa3
        {mso-style-name:wf-family-owa3;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:o365IconsIE8;}
p.wf-owa-play-large5, li.wf-owa-play-large5, div.wf-owa-play-large5
        {mso-style-name:wf-owa-play-large5;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:white;}
p.wf-owa-play-large6, li.wf-owa-play-large6, div.wf-owa-play-large6
        {mso-style-name:wf-owa-play-large6;
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:center;
        border:none;
        padding:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:white;}
p.wf-size-play-large5, li.wf-size-play-large5, div.wf-size-play-large5
        {mso-style-name:wf-size-play-large5;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:22.5pt;
        font-family:"Times New Roman","serif";}
p.wf-size-play-large6, li.wf-size-play-large6, div.wf-size-play-large6
        {mso-style-name:wf-size-play-large6;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:22.5pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle56
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The ‘Cancel’ response to the initial POST is correct – it would display a button to cancel the upload – if it was on screen long enough!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If you copy the errors from the log into a text editor that doesn’t wrap the lines, it’s a bit clearer (although not necessarily easier to understand).<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I can’t immediately see what the problem is.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Do you have any overridden plugins in the repository (anything in ~/archives/ARCHIVEID/cfg/cfg.d/plugins.pl)?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Anything in ~/archives/ARCHIVEID/cfg/plugins/EPrints/…?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Did you update the ‘files’ workflow stage when you upgraded?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cheers,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>John<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] <b>On Behalf Of </b>Caldow, James<br><b>Sent:</b> 24 April 2014 11:38<br><b>To:</b> 'eprints-tech@ecs.soton.ac.uk'<br><b>Subject:</b> [EP-tech] Re: Unable to upload files to repository<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div id=OWAFontStyleDivID><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Hi John,<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>The progressid does exist in the upload_progress table, as below:<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='margin-bottom:12.0pt;background:white'><span style='font-family:"Calibri","sans-serif";color:black'>+----------------------------------+------------+---------+----------+<br>| progressid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | expires&nbsp;&nbsp;&nbsp; | size&nbsp;&nbsp;&nbsp; | received |<br>+----------------------------------+------------+---------+----------+<br>| C58D8FC386EF49888DF11674E4E1E6AF | 1398934939 | 7378540 |&nbsp; 7378540 |<br>+----------------------------------+------------+---------+----------+<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Permissions on the server are drwxrwsr-x for all folders in the archive and the owner is eprints:eprints. Apache is running as eprints:eprints too, so all should be in order there. SELinux permissions were set as per the wiki:<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>chcon -R -h -t httpd_sys_script_rw_t /usr/share/eprints/archives/eresearch/documents/<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Firebug does have a POST entry, but the only information there is:<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><pre style='background:white'><code><span style='color:black'>{&quot;lib/submissionform:action_cancel&quot;:&quot;Cancel&quot;}</span></code><span style='color:black'><o:p></o:p></span></pre><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>which does seem a bit odd, though I'd be hard pressed to understand why.<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Tried the upload in Firefox, IE and Chrome with no difference in behaviour.<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>The only errors in the Apache logs are along the same lines as the one I posted in my original email. They all follow the same format, and are generated every time I try to upload a document.<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>I feel I might make some progress if I could actually understand what the error logs were telling me, but my lack of knowledge in that area is really letting me down on this one.<o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>James<o:p></o:p></span></p><div><div class=MsoNormal align=center style='text-align:center;background:white'><span style='font-family:"Calibri","sans-serif";color:#282828'><hr size=2 width="98%" align=center></span></div><div id=divRplyFwdMsg><p class=MsoNormal style='background:white'><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'> <a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a> &lt;<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>&gt; on behalf of John Salter &lt;<a href="mailto:J.Salter@leeds.ac.uk">J.Salter@leeds.ac.uk</a>&gt;<br><b>Sent:</b> 24 April 2014 11:01<br><b>To:</b> 'eprints-tech@ecs.soton.ac.uk'<br><b>Subject:</b> [EP-tech] Re: Unable to upload files to repository</span><span style='font-family:"Calibri","sans-serif";color:#282828'> <o:p></o:p></span></p><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:#282828'>&nbsp;<o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Does that progressid exist in the upload_progress table?</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’m guessing it does – so it seems like there’s something else at play here.</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Have you double-double checked the permissions?</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Is Apache running as the user you expect it to?</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Does it work in a different browser?</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>In Firebug, look at the Console from the point that you get to the upload page.</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>When you select a file, there should also be an Ajax POST – does this have any clues?</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Normally there will be some trail through the error logs somewhere if something is failing like this…</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cheers,</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>John</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><span style='color:#282828'><o:p></o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='background:white'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#282828'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#282828'> <a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a> [<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">mailto:eprints-tech-bounces@ecs.soton.ac.uk</a>] <b>On Behalf Of </b>Caldow, James<br><b>Sent:</b> 24 April 2014 10:45<br><b>To:</b> 'eprints-tech@ecs.soton.ac.uk'<br><b>Subject:</b> [EP-tech] Re: Unable to upload files to repository</span><span style='color:#282828'><o:p></o:p></span></p></div></div><p class=MsoNormal style='background:white'><span style='color:#282828'>&nbsp;<o:p></o:p></span></p><div id=OWAFontStyleDivID><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Hi John,</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>&nbsp;</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Many thanks for the pointers.</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>&nbsp;</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>We upgraded from 3.1.3, which seemed to work fine. The database upgrades took some time to work through the various versions in between.</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>&nbsp;</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>I've checked the database structure and we do have an &quot;upload_progress&quot; table and an &quot;upload_progress__ordervalues_en&quot; table. Hopefully that means all is well with the database?</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>&nbsp;</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>I've checked Firebug when trying to upload a file, and the result of the GET is:</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>&nbsp;</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><pre style='background:white'><code><span style='color:black'>{</span></code><span style='color:#282828'><o:p></o:p></span></pre><pre style='background:white'><code><span style='color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;progressid&quot;: &quot;C58D8FC386EF49888DF11674E4E1E6AF&quot;,</span></code><span style='color:#282828'><o:p></o:p></span></pre><pre style='background:white'><code><span style='color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;received&quot;: 4039,</span></code><span style='color:#282828'><o:p></o:p></span></pre><pre style='background:white'><code><span style='color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;uri&quot;: &quot;http:\/\/eresearch.qmu.ac.uk\/id\/upload_progress\/C58D8FC386EF49888DF11674E4E1E6AF&quot;,</span></code><span style='color:#282828'><o:p></o:p></span></pre><pre style='background:white'><code><span style='color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;size&quot;: 7378540,</span></code><span style='color:#282828'><o:p></o:p></span></pre><pre style='background:white'><code><span style='color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;expires&quot;: 1398934939</span></code><span style='color:#282828'><o:p></o:p></span></pre><pre style='background:white'><code><span style='color:black'>&nbsp;&nbsp;&nbsp; }</span></code><span style='color:black'><br><br></span><span style='font-family:"Calibri","sans-serif";color:black'>I'm still trying to track this one down but I am starting to feel pretty hopeless, (having been at it for weeks now!).<br><br>Any and all suggestions gratefully received at this point.<br><br><br>James</span><span style='color:#282828'><o:p></o:p></span></pre><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>&nbsp;</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><div><div class=MsoNormal align=center style='text-align:center;background:white'><span style='font-family:"Calibri","sans-serif";color:#282828'><hr size=2 width="98%" align=center></span></div><div id=divRplyFwdMsg><p class=MsoNormal style='background:white'><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'> <a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a> &lt;<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>&gt; on behalf of John Salter &lt;<a href="mailto:J.Salter@leeds.ac.uk">J.Salter@leeds.ac.uk</a>&gt;<br><b>Sent:</b> 24 April 2014 09:44<br><b>To:</b> 'eprints-tech@ecs.soton.ac.uk'<br><b>Subject:</b> [EP-tech] Re: Unable to upload files to repository</span><span style='font-family:"Calibri","sans-serif";color:#282828'> </span><span style='color:#282828'><o:p></o:p></span></p><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri","sans-serif";color:#282828'>&nbsp;</span><span style='color:#282828'><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>James,</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>What have you upgraded from?</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>It might be worth checking you have an ‘upload_progress’ table in the db.</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If you’ve got firebug (or a similar tool), use it to inspect the Ajax calls/response – they might also give you a clue.</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cheers,</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>John</span><span style='color:#282828'><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><span style='color:#282828'><o:p></o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='background:white'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#282828'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#282828'> <a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a> [<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">mailto:eprints-tech-bounces@ecs.soton.ac.uk</a>] <b>On Behalf Of </b>Caldow, James<br><b>Sent:</b> 23 April 2014 16:28<br><b>To:</b> <a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br><b>Subject:</b> [EP-tech] Unable to upload files to repository</span><span style='color:#282828'><o:p></o:p></span></p></div></div><p class=MsoNormal style='background:white'><span style='color:#282828'>&nbsp;<o:p></o:p></span></p><div id=OWAFontStyleDivID><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>We have recently migrated our repository to a new server, combined with an upgrade to 3.3.12.</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>&nbsp;</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Most things appear to be working, (though there is a list of issues that remain unsolved).</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>&nbsp;</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>The most pressing issue is that file uploads seem not to be working since the move/upgrade. From the &quot;Upload&quot; section of the edit item workflow, clicking on &quot;Browse&quot; from the &quot;File&quot; section of &quot;Add a new document&quot; brings up the correct browse window. Clicking on a file, followed by &quot;Open&quot; produces a very brief flash of a progress bar, followed by nothing at all.</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>&nbsp;</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Checking the Apache error log shows the following, (which I am unable to debug):</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>&nbsp;</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>document.4640 failed to create subdataobj on document.files at /usr/share/eprints/perl_lib/EPrints/DataObj.pm line 313<br>&nbsp;&nbsp; &nbsp;EPrints::DataObj::create_from_data('EPrints::DataObj::Document', 'EPrints::Repository=HASH(0x7f625f2fce98)', 'HASH(0x7f625f2d40d0)', 'EPrints::DataSet=HASH(0x7f625fb88700)') called at /usr/share/eprints/perl_lib/EPrints/DataObj/SubObject.pm line 78<br>&nbsp;&nbsp; &nbsp;EPrints::DataObj::SubObject::create_from_data('EPrints::DataObj::Document', 'EPrints::Repository=HASH(0x7f625f2fce98)', 'HASH(0x7f625f2d40d0)', 'EPrints::DataSet=HASH(0x7f625fb88700)') called at /usr/share/eprints/perl_lib/EPrints/DataObj/Document.pm line 313<br>&nbsp;&nbsp; &nbsp;EPrints::DataObj::Document::create_from_data('EPrints::DataObj::Document', 'EPrints::Repository=HASH(0x7f625f2fce98)', 'HASH(0x7f625f2d40d0)', 'EPrints::DataSet=HASH(0x7f625fb88700)') called at /usr/share/eprints/perl_lib/EPrints/DataSet.pm line 1012<br>&nbsp;&nbsp; &nbsp;EPrints::DataSet::create_dataobj('EPrints::DataSet=HASH(0x7f625fb88700)', 'HASH(0x7f625f2d40d0)') called at /usr/share/eprints/perl_lib/EPrints/DataObj.pm line 395<br>&nbsp;&nbsp; &nbsp;EPrints::DataObj::create_subdataobj('EPrints::DataObj::EPrint=HASH(0x7f625ff9f1d8)', 'documents', 'HASH(0x7f625f2d40d0)') called at /usr/share/eprints/perl_lib/EPrints/Plugin/Screen/EPrint/UploadMethod/File.pm line 109<br>&nbsp;&nbsp; &nbsp;EPrints::Plugin::Screen::EPrint::UploadMethod::File::action_add_format('EPrints::Plugin::Screen::EPrint::UploadMethod::File=HASH(0x7f...') called at /usr/share/eprints/perl_lib/EPrints/Plugin/Screen.pm line 240<br>&nbsp;&nbsp; &nbsp;EPrints::Plugin::Screen::from('EPrints::Plugin::Screen::EPrint::UploadMethod::File=HASH(0x7f...') called at /usr/share/eprints/perl_lib/EPrints/Plugin/InputForm/Component/Upload.pm line 84<br>&nbsp;&nbsp; &nbsp;EPrints::Plugin::InputForm::Component::Upload::update_from_form('EPrints::Plugin::InputForm::Component::Upload=HASH(0x7f62600d...', 'EPrints::ScreenProcessor=HASH(0x7f62600a2bc0)') called at /usr/share/eprints/perl_lib/EPrints/Plugin/Screen/EPrint/Edit.pm line 74<br>&nbsp;&nbsp; &nbsp;EPrints::Plugin::Screen::EPrint::Edit::from('EPrints::Plugin::Screen::EPrint::Edit=HASH(0x7f62600e7d70)') called at /usr/share/eprints/perl_lib/EPrints/ScreenProcessor.pm line 310<br>&nbsp;&nbsp; &nbsp;EPrints::ScreenProcessor::process('EPrints::ScreenProcessor', 'session', 'EPrints::Repository=HASH(0x7f625f2fce98)', 'template', undef, 'url', '/cgi/users/home') called at /usr/share/eprints/cgi/users/home line 25<br>&nbsp;&nbsp; &nbsp;ModPerl::ROOT::ModPerl::Registry::usr_share_eprints_cgi_users_home::handler('Apache2::RequestRec=SCALAR(0x7f625efeedb0)') called at /usr/lib64/perl5/vendor_perl/ModPerl/RegistryCooker.pm line 204<br>&nbsp;&nbsp; &nbsp;eval {...} called at /usr/lib64/perl5/vendor_perl/ModPerl/RegistryCooker.pm line 204<br>&nbsp;&nbsp; &nbsp;ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7f626009f818)') called at /usr/lib64/perl5/vendor_perl/ModPerl/RegistryCooker.pm line 170<br>&nbsp;&nbsp; &nbsp;ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f626009f818)') called at /usr/lib64/perl5/vendor_perl/ModPerl/Registry.pm line 31<br>&nbsp;&nbsp; &nbsp;ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7f625efeedb0)') called at -e line 0<br>&nbsp;&nbsp; &nbsp;eval {...} called at -e line 0</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>&nbsp;</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>I have checked for file permissions, SELinux permissions, etc. Everything seems to be correct, but file uploads still will not work.</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>&nbsp;</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Adding a new document from a URL does work, which I think would point to the problem not being permissions based, (though I could be completely wrong).</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>&nbsp;</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Does anyone have any pointers as to where I should be looking?</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>&nbsp;</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Many thanks,</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>&nbsp;</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>James</span><span style='font-family:"Calibri","sans-serif";color:#282828'><o:p></o:p></span></p></div></div></div></div></div></div></div></div></div></div></body></html>