Hi Rupinder, >From what I see, you are upgrade Dspace, where I make a site backup with AIP, I prefer, just do pg_dump, than psql -f ..., etc. I guess that you make a export using ... dspace packager -a -d -t AIP -e ... -i 32116/0 entiresite.zip I guess again that you are restoring to a new instance os Dspace, not the production . In this new instance, you already create dspace database and crypto extension. Now, to restore to these new instace you will do dspace packager -r -k -t AIP -e [email protected] <https://groups.google.com/>* -i 32116/o *entiresite.zip
Please not that *-p * is about parent, when while *-s * will insert using this reference as parent. I hope that help you. Em sexta-feira, 7 de outubro de 2022 às 06:08:13 UTC-3, Rupinder Singh escreveu: > Hi, > I have a production server where I'm running Dspace 6.3, that > repository has handle number 32116, which is mentioned in the dspace.cfg > file and also in the handle table of the databases. I was able to > successfully export the entire site in AIP format. > then i installed the same version of Dspace 6.3 but with latest > dependencies, like latest PostgreSQL 14, latest java, and latest tomcat > etc. it was installed successfully, the site is working, and i have created > an administrator ([email protected]) with the CLI as the initial > configuration. rest other is blank. > So when i try to import the entire site AIP backup, using the following > command it gives an error. > > jesse@Library:/dspace/bin$ sudo ./dspace packager -s -a -f -t AIP -e >> [email protected] -p 32116/0 >> /home/jesse/Documents/KR@CUP/AIP/allsite/entiresite.zip >> >> Destination parents: >> >> Owner: 32116/0 >> Ingesting package located at >> /home/jesse/Documents/KR@CUP/AIP/allsite/entiresite.zip >> Also ingesting all referenced packages (recursive mode).. >> This may take a while, please check your logs for ongoing status while we >> process each package. >> org.dspace.content.crosswalk.CrosswalkInternalException: >> org.dspace.content.packager.PackageException: Group Administrator already >> exists >> at >> org.dspace.content.crosswalk.RoleCrosswalk.ingest(RoleCrosswalk.java:344) >> at >> org.dspace.content.crosswalk.RoleCrosswalk.ingest(RoleCrosswalk.java:261) >> at >> org.dspace.content.packager.METSManifest.crosswalkXmd(METSManifest.java:1247) >> at >> org.dspace.content.packager.METSManifest.crosswalkObjectOtherAdminMD(METSManifest.java:1150) >> at >> org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:468) >> at >> org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:243) >> at >> org.dspace.content.packager.AbstractPackageIngester.ingestAll(AbstractPackageIngester.java:147) >> at org.dspace.app.packager.Packager.ingest(Packager.java:517) >> at org.dspace.app.packager.Packager.main(Packager.java:426) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:498) >> at >> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229) >> at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81) >> Caused by: org.dspace.content.packager.PackageException: Group >> Administrator already exists >> at >> org.dspace.content.packager.RoleIngester.ingestDocument(RoleIngester.java:297) >> at org.dspace.content.packager.RoleIngester.ingest(RoleIngester.java:501) >> at >> org.dspace.content.crosswalk.RoleCrosswalk.ingest(RoleCrosswalk.java:340) >> ... 14 more >> org.dspace.content.crosswalk.CrosswalkInternalException: >> org.dspace.content.packager.PackageException: Group Administrator already >> exists >> >> > upon checking the log i found that , it successfully read all the user > information , and tried creating the e-people as well. but after that > nothing appears, and this error shows on cli.. > however i don't see any changes in the web UI (no groups, no e-people). I > have also attached the copy of my mets.xml file from my allsite AIP zip > folder. > > > Where I'm doing wrong. I need to migrate my dspace from one server to > another. please help me. > > Regards, > Rupinder Singh > Assistant Librarian > Central University of Punjab | Bathinda > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" 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-tech/d4a5a6f9-9f25-4a83-8987-3b9d48a3d52an%40googlegroups.com.
