<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>Hi Aris,</p>
    <p>It looks like your EPrints path is a bit odd.&nbsp; I would check that
      the directory /usr/share/eprints3/ actually exists as I would
      expect it to be /usr/share/eprints/ normally.&nbsp; If that is correct&nbsp;
      this sounds like a filesystem permissions issue.&nbsp; On a Debian 10
      VM I have installed from the EPrints DEB package I checked the
      following and you need to do much the same:</p>
    <p>1. Run &quot;ls -la
      /usr/share/eprints3/archives/repositoryupt/html/en/subjects/&quot; and
      check that the permissions are like the following:</p>
    <p>drwxrwsr-x 2 www-data eprints 4096 Dec 17 23:48 .<br>
      drwxrwsr-x 3 www-data eprints 4096 Dec 17 23:48 ..<br>
      -rwxrwxr-x 1 www-data eprints 5042 Dec 17 23:48 index.html<br>
      -rwxrwxr-x 1 www-data eprints&nbsp;&nbsp; 32 Dec 17 23:48 index.include<br>
      -rwxrwxr-x 1 www-data eprints&nbsp;&nbsp; 32 Dec 17 23:48 index.page<br>
      -rwxrwxr-x 1 www-data eprints&nbsp;&nbsp;&nbsp; 0 Dec 17 23:48 index.template<br>
      -rwxrwxr-x 1 www-data eprints&nbsp;&nbsp; 17 Dec 17 23:48 index.title<br>
      -rwxrwxr-x 1 www-data eprints&nbsp;&nbsp; 17 Dec 17 23:48
      index.title.textonly</p>
    <p>If the are not then my advice would be to completely remove the
      contents (or at least move /tmp/) of the
      /usr/share/eprints3/archives/repositoryupt/html/en/ directory and
      see if the pages regenerate after that.</p>
    <p>2. If that does not work it is worth checking the permissions of
      /usr/share/eprints3/archives/repositoryupt/html/ directory which
      should look like:</p>
    <p>drwxrwsr-x&nbsp; 3 eprints eprints 4096 Dec 17 15:56 .<br>
      drwxrwsr-x&nbsp; 7 eprints eprints 4096 Dec 17 15:53 ..</p>
    <p>Both the html and the parent directory (in your case
      repositoryupt) should be owned and have eprints as their group and
      have the permissions drwxrwsr-x.&nbsp; If this is not the case I would
      use chown and chmod to amend this:<br>
    </p>
    <p>sudo chown eprints:eprints
      /usr/share/eprints3/archives/repositoryupt/html/</p>
    <p>sudo chmod 2775 /usr/share/eprints3/archives/repositoryupt/html/</p>
    <p>3. If this still has not worked I would check the user who is
      running Apache.&nbsp; For a DEB package install this should be
      www-data.&nbsp; If you run &quot;ps aux | grep apache&quot; you should see
      something like:</p>
    <p>root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 667&nbsp; 0.1&nbsp; 9.9 241740 202308 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ss&nbsp;&nbsp; 09:10&nbsp;&nbsp; 0:02
      /usr/sbin/apache2 -k start<br>
      www-data&nbsp;&nbsp; 696&nbsp; 0.0&nbsp; 9.7 987804 199500 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sl&nbsp;&nbsp; 09:10&nbsp;&nbsp; 0:00
      /usr/sbin/apache2 -k start<br>
      www-data&nbsp;&nbsp; 697&nbsp; 0.0&nbsp; 9.7 987804 199500 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sl&nbsp;&nbsp; 09:10&nbsp;&nbsp; 0:00
      /usr/sbin/apache2 -k start<br>
    </p>
    <p>There may also be another line for the grep in the command to get
      this list and more of the lines that start www-data.&nbsp; If there are
      no lines with www-data then there is an issue and it is likely
      someone modified /etc/apache2/envvars.&nbsp; You could change the
      &quot;export APACHE_RUN_USER&quot; and &quot;export APACHE_RUN_GROUP&quot; back to
      www-data but if this has been manually changed by someone there
      may have been a good reason for this and changing it may make
      things worse.</p>
    <p>4. The final thing you could check is the groups that both the
      eprints and www-data users belong to with the command:</p>
    <p>groups eprints www-data</p>
    <p>This should output something like:</p>
    <p>eprints : eprints www-data<br>
      www-data : www-data eprints<br>
    </p>
    <p>If the eprints and www-data users are not both part of the
      eprints and www-data groups you should add then manually with
      usermod:</p>
    <p>sudo usermod -a -G www-data eprints</p>
    <p>sudo usermod -a -G eprints www-data</p>
    <p>I would also advise restarting Apache after doing this.&nbsp; It
      should not be necessary but it rules out any chance permissions
      not being applied because Apache was already running.&nbsp; If after
      doing all this you still have an issue I am at a bit of a loss.&nbsp;
      If you can reply with the results of the various ls, ps and groups
      commands I have recommeded above it may give me or others more of
      an insight into what you problem is.</p>
    <p>Regards</p>
    <p>David Newman<br>
    </p>
    <div class="moz-cite-prefix">On 05/01/2021 07:20, Aris Kurniawan via
      Eprints-tech wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:EMEW3|670aeddaea0fd30b6dade7fa8b2eb8c2x047MF14eprints-tech-bounces|ecs.soton.ac.uk|CALmg1SFeWzK1KZtm4sQe7OKt_kKGFgEvWPh77dLvzzsma3k4-A@mail.gmail.com">
      
      <div style="padding-bottom: 10px; padding-top: 5px;">
        <div style="padding:12px; border:1px solid #8D3970;
          background-color:#F7F9FA; color:#8D3970; font-size:14px;
          line-height:22px; font-family: Calibri, Arial, Helvetica,
          sans-serif;">
          <strong>CAUTION:</strong> This e-mail originated outside the
          University of Southampton.
        </div>
      </div>
      <div>
        <div dir="ltr">when I switched from the old server to the new
          server I had a problem,<br>
          old server = eprints version 3.3. using Ubuntu Server 14<br>
          new server = eprints version 3.3 using ubuntu Server 18<br>
          <br>
          when I opened the Browse by Subject and Browse By Author menu,
          the page displayed an error<br>
          <br>
          BROWSE SUBJECTS<br>
          LINK =&nbsp;<a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.unsoed.ac.id%2Fview%2Fsubjects%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C42ee71fce73a4d70c46d08d8b15fa814%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637454371678733335%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=mUVRkCpWbMymZY93t9Tf%2BcMDX%2Fwga9%2FSRG7pxrbqHP8%3D&amp;reserved=0" originalSrc="http://repository.unsoed.ac.id/view/subjects/" shash="J1drj/ihXg7kSfg5qQWKd90zbM+kaY+rybnSNDKR1qBFv86aAut4ylRMCVO6EtRkm6Y0YKNyTUVT70x6s9GHE8VesDiPc+56nXZi8IeajEU2m+0H3Fu6aMukNtDWRFo+g2T0s7Owr9621YevDkpvqhKf8CF0F5q0yZn4RiKyNCU=" originalsrc="http://repository.unsoed.ac.id/view/subjects/" shash="OiCNXCenUxoYBvwzDCH3oIUwkHpFjIIuhxwP3ueVHxpiosBdIdtklGj9glVurasMgv55O+Pj4On+P5inj4w7n11n76Xyl5rsUAzOeVIn01CcSlIVo1J4al7GaoqEhwQNbF53qSadGihxdIQfwwP5eRnbZXNLITQII2dsIKUz3t4=" target="_blank" moz-do-not-send="true">http://repository.unsoed.ac.id/view/subjects/</a><br>
          EPrints System Error Can't open to write to file: cindex.html<br>
          <br>
          BROWSE AUTHOR<br>
          LINK =&nbsp;<a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepository.unsoed.ac.id%2Fview%2Fcreators%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C42ee71fce73a4d70c46d08d8b15fa814%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637454371678738302%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=NweRceLt1m2vWbE46ZzfFr3baD6Lf2UisQEuI8AcGsw%3D&amp;reserved=0" originalSrc="http://repository.unsoed.ac.id/view/creators/" shash="P4mQJ7hmh4DWlfOgytDROVq2j97L9YiKQHJ4f5tHPxQOgJRS8VQwvPIO6FWrphUhGNSJhwTceAsSUSn9bzQ4lcHnQuXIC3wXPD27UDt5F4rCkr8Z+pHHU8deNzl+8arA/RckFSuSB7EdWQLFCJarcw7gK024mWBuAy1BAcor57I=" originalsrc="http://repository.unsoed.ac.id/view/creators/" shash="QPl29YR71HBhc9L9J5EbWWbm3kt2/Nx045A+3fq4sVAeuQBx9IUUanUc4B//2zsqh/9FoWB4sq1TQFONiWSmKHvF6HRqSS+KuBtd7outxkklBFuz8O64uNzYmoReD94mKRs83QOcnwpPgwgt/95mOlLMRCzSiKUgjA9wRHh0N08=" target="_blank" moz-do-not-send="true">http://repository.unsoed.ac.id/view/creators/</a><br>
          ERRORs: EPrints System Error Can't open to write to file:
/usr/share/eprints3/archives/repositoryupt/html/en/view/creators/index.A.html<br>
          <br>
          how do i solve this problem?&nbsp;&nbsp;<br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C42ee71fce73a4d70c46d08d8b15fa814%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637454371678748265%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=tDgL2MHqaD3Tfk2dmk4S5GSWpDiYyzuQBXt4nokJr3Y%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="LwKFh0R76xGt6KmmCGVAJvkmT02kJGEbVDDDyI9tqjaT9j4tCpqQylR0Ks7SGNBOmCE2Eajs6VFle9mHI0dUeNpeN5IENQayBWZw7lsaySNXAS6nXUQwnvRCg+Y+a1g1c8nJFbUwwYGpeVpCqvHJt71vgFjIjhjUZ3J7Ir1LBO4=">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C42ee71fce73a4d70c46d08d8b15fa814%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637454371678748265%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=3FaFRG0bavNE95Bch9hzm5cBm97PBXKMFEEpjjk1yCw%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="sDnvUiZAsmx2Gzph/qeDMdXoQOBRp+shFosjxpLBoPK0AD4kENSBPDYr6Skz0s7BVnAtoI2qgQPyuxG0pjRdaKGIi5O/Zk0d+Sunq08/n6hb0cMZ+8EshI0cyxacirAK+JpSXj3V45Klbc6xRNSPbsHhAVvXF5yCRsa1qMiGhbc=">http://wiki.eprints.org/</a></pre>
    </blockquote>
  <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top: 1px solid #D3D4DE;">
        <tr>
        <td style="width: 55px; padding-top: 13px;"><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C42ee71fce73a4d70c46d08d8b15fa814%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637454371678753241%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=fFoayFT0ab9tw%2B2G9x9I110z7TGwYgecB956q1IftOI%3D&amp;reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="JqK33pyuwR0tV2F04qq65LkNUMyfGl/W+oR52d71G6LOauIXAQkyxI0SdwuxXlWcnWXScZj6HpP1SyGzur9ZmgV4kcocoa3VGVsQGQngUEUrT+mWm/3mlEeZnKieuAA1/C8ejWqcZLoYuIRZ1OHmfZxJ9YcWru6ejlpauTdtCSs=" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C42ee71fce73a4d70c46d08d8b15fa814%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637454371678758222%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=dCrGJeZuwq7y3pU3FzjAUpfJtcolLDy3KC%2B7kwgSj3w%3D&amp;reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="OZgbcyshfspO7nBAGpjwCtIDOrMStj0twjh1FGmQDC3NyL7F6rC6V3UO1ZszgiA4iAHkXKtFx7Tb1G0zFnjWSp666/ognO9GqOnBKD9uvKD/3R25vkEyLrCsGC3tJvC104hMDkwuzlHKpuE32QIbg1BYT0TN5Ifj7xHkU6VyG1g=" target="_blank" style="color: #4453ea;">www.avg.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>