<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=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:24.0pt;
        font-family:"Times New Roman",serif;
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Calibri Light",sans-serif;
        color:#2E74B5;
        mso-fareast-language:EN-US;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;
        mso-fareast-language:EN-US;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
p.NurText, li.NurText, div.NurText
        {mso-style-name:"Nur Text";
        mso-style-link:"Nur Text Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.NurTextZchn
        {mso-style-name:"Nur Text Zchn";
        mso-style-priority:99;
        mso-style-link:"Nur Text";
        font-family:"Calibri",sans-serif;}
p.berschrift1, li.berschrift1, div.berschrift1
        {mso-style-name:"\00DCberschrift 1";
        mso-style-link:"\00DCberschrift 1 Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.berschrift1Zchn
        {mso-style-name:"\00DCberschrift 1 Zchn";
        mso-style-priority:9;
        mso-style-link:"\00DCberschrift 1";
        font-family:"Times New Roman",serif;
        mso-fareast-language:DE;
        font-weight:bold;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle28
        {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:70.85pt 70.85pt 2.0cm 70.85pt;}
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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Holger,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Are the newer documents ones that have been added since the migration?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">It does sound like something permission/SELinux related.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Are the permissions on the directories the same, as well as the files?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">John<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-GB"> eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
<b>On Behalf Of </b>holger.berth@mdc-berlin.de<br>
<b>Sent:</b> 12 April 2016 12:52<br>
<b>To:</b> eprints-tech@ecs.soton.ac.uk<br>
<b>Subject:</b> [EP-tech] problem migrating documents<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoPlainText"><span lang="DE">Hi,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="DE">i have migrated eprints from Solaris with eprints 3.1.1 to a Centos 6.7 with eprints 3.3.15.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="DE">Now i have a problem with accessing pdf documents. When i click on the document link of a publication i get the error:<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="DE"><o:p> </o:p></span></p>
<h1 style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;background:white">
<span lang="DE" style="font-size:12.5pt;font-family:"Arial",sans-serif;color:#606060">404 File not Found<o:p></o:p></span></h1>
<p style="background:white;orphans: auto;text-align:start;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span lang="DE" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black">Could not find the file:<span class="apple-converted-space"> </span></span><code><span lang="DE" style="font-size:10.0pt;color:black">/15496/1/15496oa.pdf</span></code><span lang="DE" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p style="background:white;orphans: auto;text-align:start;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span lang="DE" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black">The specified file could not be found on this server. If you reached this page by following a link within the repository, please contact the<span class="apple-converted-space"> </span>Repository
administration. Otherwise, please check that you have typed the URL in correctly, or contact the person or site that supplied you with this URL.<o:p></o:p></span></p>
<p style="background:white"><span lang="DE" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p style="background:white"><span lang="DE" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black">If i try it on older documents it works.
<o:p></o:p></span></p>
<p style="background:white"><span lang="DE" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black">The document is at the correct place in the file system. Permissions and SELINUX seems to be the same on both files.<o:p></o:p></span></p>
<p style="background:white"><span lang="DE" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black">Do you have an idea why some documents are not available and some older documents are available?<o:p></o:p></span></p>
<p style="background:white"><span lang="DE" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black">Thanks and best,<o:p></o:p></span></p>
<p style="background:white"><span lang="DE" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black">Holger</span><span lang="DE" style="font-size:10.5pt;font-family:Consolas;color:#1F497D">
</span><span lang="DE"><o:p></o:p></span></p>
</div>
</body>
</html>