EPrints Technical Mailing List Archive
Message: #08004
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Pl do help me EPRINTS 3.3 latest data is not showing
- To: tarak rama trainer via Eprints-tech <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Pl do help me EPRINTS 3.3 latest data is not showing
- From: "Newman D.R." <drn@ecs.soton.ac.uk>
- Date: Thu, 31 Oct 2019 08:19:58 +0000
Hi K.Tarak. I cannot be sure but it sounds like the database configuration you have for the archive of your on Ubuntu 18.04 is not pointing at the database you just imported. Database configuration for your archive will be in: EPRINTS_PATH/archives/ARCHIVE_NAME/cfg/cfg.d/database.pl Where you need to substitute EPRINTS_PATH and ARCHIVE_NAME as appropiate. EPRINTS PATH is likely to be /usr/share/eprints/ and ARCHIVE_NAME will probably be the only subdirectory in the archives parent directory. It sounds like you will have created an initial archive (with the "epadmin create" command) but because the name of this archive is different to the database you dumped out of your old system it has not reimported in the correct place. If you take the username, password and database name from database.pl and import the SQL file with a command similar to the following: mysql -u USERNAME -pPASSWORD DATABASE_NAME < old_database.sql This should then import the database to the correct location. Beyond this you will also need to transfer the archive's document directory from you old server and completely overwrite the documents directory for the archive on your new server (I would first backup the new server directory just in case, i.e. move it elsewhere and then copy the old server's document directory into place): mv ~/old_documents_directory/* EPRINTS_PATH/archives/ARCHIVE_NAME/documents/ How you get the old documents directory onto your new server is not something I can specifically advise, as I don't know you exact circumstance. I usually use rsync, which could save the above step above if you have the correct user permissions to rsync
directory between the old and new server's documents directories. As you said you had a malware problem that prompted this migration, I would obviously advise care on migrating this directory in case the malware came about through someone uploading it to there. Regards David Newman On 31/10/2019 07:43, tarak rama trainer via Eprints-tech wrote:
|
- References:
- [EP-tech] Pl do help me EPRINTS 3.3 latest data is not showing
- From: tarak rama trainer <tarak.rama@aksharags.com>
- [EP-tech] Pl do help me EPRINTS 3.3 latest data is not showing
- Prev by Date: [EP-tech] Pl do help me EPRINTS 3.3 latest data is not showing
- Next by Date: Re: [EP-tech] Pl do help me EPRINTS 3.3 latest data is not showing
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):