EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #08444


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] accessibility of documents after migration


CAUTION: This e-mail originated outside the University of Southampton.

Hi David,
thank you for your advice - the site is up again. I fixed the
permissions, but this was not the problem, as I found out checking
the apache logs. I had used the wrong documents-tree (from an
intermediary backup of the site).
Best,
h.h.

> Hi Herbert,
>
> Although it is not specifically the same issue, I would look through
> what I said to Aris on the issue he had after an upgrade to Ubuntu
> 18.04:
>
> http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/2021-January/008431.html
>
> However, do NOT follow my advice in point 1 (i.e. deleting/moving to
> /tmp/), as your files are the original documents whereas the files
> Aris was dealing with are cached webpages.
>
> Regarding permissions, I would expect disk0 and its subdirectories to
> look like:
>
> drwxrwsr-x 3 www-data eprints 4096 Jul  4  2012 disk0
>
> Regards
>
> David Newman
>
> On 10/01/2021 10:27, Herbert Hrachovec via Eprints-tech wrote:
> > CAUTION: This e-mail originated outside the University of
> > Southampton.
> >
> > Hello,
> >
> > After successfully migrating and updating my Eprints site
> > (software+database+webconfig) to 3.4 on Ubuntu 18.04 I am stuck
> > with the last step: the actual document files are not found.
> >
> > Since those files are stored on a different partition, I put a
> > symlink "documents" pointing to this location. Uploading new
> > submissions works. The files are added to this folder-structure.
> >
> > I notice that there are different permissions:
> >
> > drwxr-xr-x 3 eprints www-data 4096 Jul  4  2012 disk0
> > drwxrwxr-x 3 eprints www-data 4096 Jul  4  2012 00
> > drwxrwxr-x 30 eprints www-data 4096 Jan  9 18:56 00
> >
> > Which one is correct? Or does one have to adapt the database?
> >
> > Best regards,
> > h.h.
> >
> > *** Options:
> > http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech ***
> > Archive:
> > 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%7C6da55ac75d144d90037c08d8b7143d91%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637460644845580983%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=yLojNG%2FbyAdpUopzH1IyeQi2cxGn9sKO5QHi%2F%2Fp3ZDY%3D&amp;reserved=0
> > *** EPrints community wiki:
> > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6da55ac75d144d90037c08d8b7143d91%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637460644845580983%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=pfvbcOCOM0wVzZec%2Fq8Mc%2Frqdl83b1Eiau%2FjeglEX5Q%3D&amp;reserved=0
> >
>