Export import

40 views
Skip to first unread message

artur miś

unread,
Jul 1, 2021, 2:31:57 AM7/1/21
to DSpace Technical Support
Hello ,
 I'm working on exporting  all  staff from ver: 5.2 - > 6.3

After I imported  records  via AIP   i can't see nothing in frontend  new  for logged or unlogged Administrator in  new  Dscpace on new system OS RH8 (before was oldfasioned  RH6). After import  i could see  that it was problem with frontend  but after restart tomcat  it was disappered . But in dspace logs was not any extraordinary  logs only hunders of lines

logs /dspace/log/
RESTORED DSpace ITEM [ hdl=555/6795, dbID=af318ff7-7f5c-42a8-a32b-7b2b2795ed76 ]
RESTORED DSpace ITEM [ hdl=555/7203, dbID=69a49e90-a21c-4a0d-8b20-1289eb74eb78 ]
RESTORED DSpace ITEM [ hdl=555/6791, dbID=0ba1a7c2-cf10-4e15-8b2f-d2dedc3606c6 ]
RESTORED DSpace ITEM [ hdl=555/7184, dbID=4ad9b1a5-9995-4878-b187-67157e0c8676 ]



After importing i was trying to see wat was inported via native tool



/dspace/bin/dspace packager -r -a -t AIP  -e <emial>  coll.zip
[cut]
Also ingesting all referenced packages (recursive mode)..
This may take a while, please check your logs for ongoing status while we process each package.
CREATED a total of 1862 DSpace Objects.
Would you like to view a list of all objects that were created? [y/n]: y



And After records were  listed  coamand/tool hang ,than i pressed enter and nothing happend after ctrl+c.



Finally i cant see any imported records in frontend.
What can i do ?

artur miś

unread,
Jul 1, 2021, 3:57:12 AM7/1/21
to DSpace Technical Support
It looks like no records in table item in  dspace DB. what is going on ? what can i do ?

artur miś

unread,
Jul 1, 2021, 9:51:34 AM7/1/21
to DSpace Technical Support
Update:

 I have made :

 /dspace/bin/dspace packager -r -k -a -t AIP  -e <emial> coll.zip

No i can see in table item data from old Dsapce imported., but i can not see in web frontend items in Comunity.

Any suggestion ?

artur miś

unread,
Jul 1, 2021, 11:16:24 AM7/1/21
to DSpace Technical Support
Update :
  -k i think it could not do nothing becouse no item was in DB  before.

Actually/Fillnally i decided  do test:

 /dspace/bin/dspace packager -r -f -a -t AIP -p 555/0 -e <emial> coll.zip


WARNING -- You are running the packager in REPLACE mode.

REPLACE mode may be potentially dangerous as it will automatically remove and replace contents within DSpace.
We highly recommend backing up all your DSpace contents (files & database) before continuing.

Would you like to continue? [y/n]: y


If it doesn  not work i will try  export db  on old system,  then import db backup to new DB on the other  host (RH8 with  new Dspace). I have  almost tried  this but  i afraid about db conversation.
If you have any suggestion i  will apologize  for it.
Sory for my  English.

artur miś

unread,
Jul 2, 2021, 3:47:04 AM7/2/21
to DSpace Technical Support
I can close this. After last operation i can see items after admin logged
Reply all
Reply to author
Forward
0 new messages