Hi Chris, That obviously is not normal behavior.
That said, from what you describe, it sounds to me like maybe an issue in Solr or perhaps a simple caching issue? Though, I'd first recommend checking your logs for any errors there. See https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error as a guide. >From the steps you described, it sounds like this is what is happening: 1. First you import a set of AIPs. After importing them, they should be automatically indexed into Solr at this time. But, it sounds like that might be the first problem as that doesn't sound to be happening. 2. Then you run the reindex, which fixes the issue by indexing them in Solr (as the "recently added" list is loaded from that Solr index). 3. After sometime the issue returns. This is the part doesn't make sense to me, as it's unexplainable behavior (but a few possible ideas below) If you are using the XMLUI, you may want to first check that this isn't a simple caching issue in the XMLUI itself. After step #1, clear the XMLUI cache (login as an Admin, go to "Control Panel" -> "Java Information" and click "Clear Cache Immediately" near the bottom). See if they appear in the "recently added" list immediately after clearing the cache. If not, also try a hard refresh in your browser (Ctrl + refresh button) to make sure your browser isn't caching things & showing you outdated info. If none of that has an impact, I'd recommend looking closer at your logs. Either something is messing with your Solr index (less likely) or maybe Solr itself is throwing errors? It's hard to say without more details. Good luck and let us know on this list what you find! Tim ________________________________ From: [email protected] <[email protected]> on behalf of Chris Clawson <[email protected]> Sent: Wednesday, June 17, 2020 10:10 AM To: DSpace Community <[email protected]> Subject: [dspace-community] Database items "disappear" Before going public, I need to be practiced in backing up and re-installing my database, in it's entirety. The AIP packager seems to be my best method to preserve everything, including Communities and E-Person users. It is easy to export to a AIP zip archive and FTP easily downloads it. I have a strange problem, when installing it to another machine. I have a local Ubuntu 18.04 server on my local network at home. I have a working, virgin DSpace install and database (xmlui default). I attempt to install my AIP with the following command: ./dspace packager -r -a -k -t AIP -e [email protected] -i 123456789/0 -o skipIfParentMissing=true /home/backup/sitewide-aip.zip This completes after ingesting for several hours. I check my site – Wow, all the communities are there. Good.... oh.. WAIT : Where are the items? Any search returns nothing and there is no “recently added” items listed anywhere. Okay – I run command line database utilities, ./dspace database index-discovery, ./dspace database repair, and ./dspace filter-media. Great! It now all appears and works fine … UNTIL I go to bed, and try to access it again in the morning. All gone. It is back to the same condition and problem I first encountered. The system is behind my firewall, so nobody has been tampering. I have attempted to access it with two other machines within my network – same results. If I try and address a specific URI to an item, that works fine (thumbnail and all). The system has reverted to where it was before, all the communities (and their introductions) and collections will be listed, but no items are listed, browse-able, or searchable. Sorry this post is long, but I am stumped. Does anybody know where to look for the problem? Why does my database items “go away” some hours after being “fixed”? -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/69b20fa9-b802-47c8-b596-00c39c67814fo%40googlegroups.com<https://groups.google.com/d/msgid/dspace-community/69b20fa9-b802-47c8-b596-00c39c67814fo%40googlegroups.com?utm_medium=email&utm_source=footer>. -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/CY4PR2201MB1143AF1F2F0399C8B12FA314ED9A0%40CY4PR2201MB1143.namprd22.prod.outlook.com.
