|
|
(4 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
− | [http://davte.info/library/html/lo-spavaldo.htm lo spavaldo] [http://bloprofeldi.info/lib/cartoon-network.htm cartoon network la] [http://chaba.info/albergo-economico/ albergo economico praga] [http://nobinters.org/www-unina.htm www unina2] [http://chaba.info/lampo-pascoli/ lampo pascoli giovanni commento] [http://psisemiya.com/images/small/server-hp/ server hp ml] [http://nobinters.org/sony-mavica.htm sony mavica cd 500] [http://bloprofeldi.info/lib/mercedesbenz.htm mercedesbenz] [http://nobinters.org/zena-gang.htm zena gang bang] [http://nobinters.org/peugeot-ranch.htm peugeot ranch] [http://helmed.info/topic/infocus-lp/ infocus lp120] [http://ustall.org/web/oyo-como.htm oyo como] [http://chaba.info/fun-camera/ fun camera nokia] [http://amohseni.info/img/styles/sumer-wind/ sumer wind] [http://davte.info/library/html/femmine-d.htm femmine d epoca nude] [http://davte.info/library/html/agriturismo-barletta.htm agriturismo barletta] [http://ustall.org/web/ram-notebook.htm ram notebook fujitsu] [http://amohseni.info/img/styles/sony-tn/ sony t33n] [http://bloprofeldi.info/lib/embu.htm embu] [http://bloprofeldi.info/lib/divani-letto.htm divani letto] [http://psisemiya.com/images/small/oregon-scientific/ oregon scientific rmr 966] [http://saibso.org/grognardo.htm grognardo] [http://nobinters.org/eamon-fik.htm eamon fik it] [http://amohseni.info/img/styles/il-signore/ il signore degli anelli game boy] [http://kinunia.cn/buscar-video.htm buscar video eamon] [http://chaba.info/supermercado/ supermercado] [http://kinunia.cn/forcella-corsa.htm forcella corsa] [http://ashythro.info/library/html/navigatore-gps/ navigatore gps bluetooth] [http://ustall.org/web/finvetro-spa.htm finvetro spa] [http://nobinters.org/porche-italia.htm porche italia] [http://ustall.org/web/hinhanh.htm hinhanh] [http://amohseni.info/img/styles/cordless-logitech/ cordless logitech dinovo] [http://amohseni.info/img/styles/lcd-tuner/ lcd tuner] [http://ashythro.info/library/html/zeppelin/ zeppelin] [http://davte.info/library/html/foto-nude.htm foto nude ragazzi] [http://kinunia.cn/www-plaka.htm www plaka it] [http://psisemiya.com/images/small/appositi/ appositi] [http://nobinters.org/intitle-istituto.htm intitle istituto] [http://davte.info/library/html/lexmark-z.htm lexmark z25] [http://ustall.org/web/distributore-coca.htm distributore coca] [http://ustall.org/web/il-nostro.htm il nostro anniversario] [http://chaba.info/blasy-letterina/ blasy letterina] [http://nobinters.org/il-diabolico.htm il diabolico dott. satana] [http://saibso.org/switch-wifi.htm switch wi-fi] [http://ashythro.info/library/html/shubert-s/ shubert s ave maria] [http://kinunia.cn/www-snals.htm www snals it na] [http://davte.info/library/html/grundig-tvc.htm grundig tvc 15] [http://helmed.info/topic/dsc-s/ dsc s80] [http://bloprofeldi.info/lib/ragazze-con.htm ragazze con jeans attillati foto] [http://helmed.info/topic/lavoro-manuale/ lavoro manuale casa] [http://ashythro.info/library/html/cacciatori/ cacciatori] [http://nobinters.org/giocgi.htm giocgi] [http://chaba.info/ford-fiesta/ ford fiesta 1989] [http://ustall.org/web/pascali-pino.htm pascali pino libri] [http://saibso.org/rsmmc-dv.htm rs-mmc dv per nokia 6630 512] [http://psisemiya.com/images/small/un-bacio/ un bacio ti domando] [http://nobinters.org/ragazza-rozzano.htm ragazza rozzano] [http://saibso.org/trasformatore-camper.htm trasformatore camper] [http://chaba.info/four-flicks/ four flicks] [http://psisemiya.com/images/small/schlieren/ schlieren] [http://davte.info/library/html/battle-of.htm battle of the year] [http://kinunia.cn/discoteche-del.htm discoteche del veneto] [http://ustall.org/web/annuncio-case.htm annuncio case emilia romagna] [http://bloprofeldi.info/lib/tennis-madrid.htm tennis madrid] [http://saibso.org/promessi-sposi.htm promessi sposi cap 28] [http://saibso.org/lo-scandalo.htm lo scandalo] [http://kinunia.cn/dx-.htm dx 50 codec] [http://helmed.info/topic/uomo-negro/ uomo negro foto] [http://psisemiya.com/images/small/hp-stampanti/ hp stampanti multifunzione con fax] [http://kinunia.cn/katana-con.htm katana con filo] [http://ustall.org/web/backstage-video.htm backstage video] [http://amohseni.info/img/styles/parole-di/ parole di i believe my heart] [http://helmed.info/topic/mousepad-razer/ mousepad razer] [http://helmed.info/topic/profumi-uomo/ profumi uomo armani] [http://nobinters.org/sapphire-radeon.htm sapphire radeon x600] [http://saibso.org/maser-srl.htm maser srl] [http://saibso.org/foto-chitarre.htm foto chitarre prs] [http://amohseni.info/img/styles/il-passaggio/ il passaggio del reno] [http://ustall.org/web/francesco-oppini.htm francesco oppini] [http://saibso.org/scanner-formato.htm scanner formato a4] [http://amohseni.info/img/styles/campagnolo-direct/ campagnolo direct] [http://amohseni.info/img/styles/toples-dobry/ toples dobry dj] [http://bloprofeldi.info/lib/fotoannunci-trans.htm fotoannunci trans] [http://chaba.info/monnalisa/ monnalisa] [http://davte.info/library/html/rojas.htm rojas] [http://bloprofeldi.info/lib/harman-kardon.htm harman kardon avr 7300] [http://kinunia.cn/elementi-di.htm elementi di informatica] [http://ustall.org/web/macchina-da.htm macchina da pasta atlas 150] [http://ustall.org/web/ricerca-numero.htm ricerca numero telefonico] [http://kinunia.cn/prestito-ristrutturazione.htm prestito ristrutturazione] [http://bloprofeldi.info/lib/western-digital.htm western digital essential 250gb usb 2 0] [http://bloprofeldi.info/lib/la-locura.htm la locura de yahir] [http://helmed.info/topic/nike-force/ nike force] [http://chaba.info/sistars/ sistars] [http://bloprofeldi.info/lib/kylie-minogue.htm kylie minogue i believe in you] [http://helmed.info/topic/suunto-orologi/ suunto orologi] [http://kinunia.cn/gianni-garko.htm gianni garko] [http://davte.info/library/html/info-cccccccc.htm info cccccccc] [http://psisemiya.com/images/small/test-canzoni/ test canzoni aemon] [http://ustall.org/web/nec-e.htm nec e313 sbloccare] [http://chaba.info/aggressive-alpine/ aggressive alpine skiings all] [http://nobinters.org/little-lolita.htm little lolita] [http://psisemiya.com/images/small/sellano-agriturismo/ sellano agriturismo] [http://nobinters.org/giunti-cardanici.htm giunti cardanici] [http://ustall.org/web/bucketheads-the.htm bucketheads the] [http://ashythro.info/library/html/vestito-in/ vestito in velluto] [http://chaba.info/nuove-immagini/ nuove immagini per legend of kay] [http://ustall.org/web/hp-server.htm hp server] [http://psisemiya.com/images/small/elena-barolo/ elena barolo giorgia palmas] [http://helmed.info/topic/black-magic/ black magic woman] [http://kinunia.cn/password-bios.htm password bios dimenticata] [http://saibso.org/dragostea-din.htm dragostea din tei original rom] [http://bloprofeldi.info/lib/panda.htm panda 1 3] [http://psisemiya.com/images/small/crea-gelati/ crea gelati] [http://amohseni.info/img/styles/muriel-il/ muriel, il tempo di un ritorno] [http://ashythro.info/library/html/dee-jay/ dee jay parade 2000] [http://bloprofeldi.info/lib/evahenger.htm evahenger] [http://chaba.info/club-moto/ club moto epoca inglesi] [http://chaba.info/tradurre-in/ tradurre in russo] [http://amohseni.info/img/styles/diabetes-discussion/ diabetes discussion] [http://saibso.org/ragazzo-jesi.htm ragazzo jesi] [http://psisemiya.com/images/small/kv/ kv 29] [http://nobinters.org/old-matura.htm old matura] [http://psisemiya.com/images/small/assistenza-samsung/ assistenza samsung] [http://helmed.info/topic/exmo/ exmo] [http://chaba.info/stuprato/ stuprato] [http://psisemiya.com/images/small/noleggio-auto/ noleggio auto bolzano] [http://helmed.info/topic/miguel-bose/ miguel bose morena mia] [http://nobinters.org/carta-termica.htm carta termica] [http://saibso.org/cnc-usati.htm cnc usati] [http://psisemiya.com/images/small/polo-nord/ polo nord magnetico] [http://saibso.org/hotel-sharm.htm hotel sharm el sheikh] [http://nobinters.org/ingresso-videocamere.htm ingresso videocamere] [http://ustall.org/web/viet-net.htm viet net com] [http://amohseni.info/img/styles/batteria-jvc/ batteria jvc videocamera] [http://helmed.info/topic/finanziamento-valencia/ finanziamento valencia] [http://helmed.info/topic/toxicity-sistem/ toxicity sistem of a down] [http://ashythro.info/library/html/smile-di/ smile di chaplin] [http://ustall.org/web/pereyra.htm pereyra] [http://davte.info/library/html/ta-.htm ta 5 fnf ps] [http://saibso.org/friges.htm friges] [http://davte.info/library/html/haier-lavatrici.htm haier lavatrici] [http://davte.info/library/html/berlin-alexanderplatz.htm berlin alexanderplatz] [http://ustall.org/web/sync-.htm sync 913 monitor samsung] [http://bloprofeldi.info/lib/epson-c.htm epson c82] [http://bloprofeldi.info/lib/ef-mm.htm ef 70-300mm f 4 5-5 6 do is usm] [http://saibso.org/nazionale-italiana.htm nazionale italiana pallavolo] [http://davte.info/library/html/harry-potter.htm harry potter il prigioniero di azkaban] [http://chaba.info/cartoni-animati/ cartoni animati giapponesi] [http://amohseni.info/img/styles/black-pearl/ black pearl jam] [http://davte.info/library/html/foto-scooter.htm foto scooter preparati] [http://amohseni.info/img/styles/antinori-vini/ antinori vini] [http://nobinters.org/http-costantino.htm http costantino e alessandra auguri cc] [http://amohseni.info/img/styles/exp/ exp] [http://bloprofeldi.info/lib/lil-wayne.htm lil wayne] [http://ustall.org/web/amarsi-e.htm amarsi e l immenso] [http://saibso.org/megaworks.htm megaworks 5 1] [http://helmed.info/topic/esterno-tv/ esterno tv] [http://bloprofeldi.info/lib/street-skater.htm street skater] [http://helmed.info/topic/camerieri/ camerieri] [http://ustall.org/web/echinocyamus.htm echinocyamus] [http://ustall.org/web/vito-mercedes.htm vito mercedes] [http://helmed.info/topic/scalo-a/ scalo a orly] [http://bloprofeldi.info/lib/temi-svolti.htm temi svolti eutanasia] [http://kinunia.cn/gps-vista.htm gps vista] [http://psisemiya.com/images/small/steve-lachance/ steve lachance] [http://nobinters.org/flandre.htm flandre] [http://bloprofeldi.info/lib/mayra-veronica.htm mayra veronica] [http://amohseni.info/img/styles/urlo/ urlo] [http://saibso.org/bottari.htm bottari] [http://saibso.org/bologna-fc.htm bologna fc] [http://amohseni.info/img/styles/dvd-vergini/ dvd vergini 16x] [http://saibso.org/frigorifero.htm frigorifero 400] [http://kinunia.cn/etimologia-della.htm etimologia della parola informare] [http://bloprofeldi.info/lib/sony-mdr.htm sony mdr v 500] [http://davte.info/library/html/stranieri-come.htm stranieri come noi] [http://ashythro.info/library/html/hino-nacional/ hino nacional da indonesia] [http://nobinters.org/voorne.htm voorne] [http://bloprofeldi.info/lib/lucillo.htm lucillo] [http://amohseni.info/img/styles/scandalo-gf/ scandalo gf] [http://ashythro.info/library/html/lumix-fz/ lumix fz 30] [http://ashythro.info/library/html/froufrou/ froufrou] [http://chaba.info/federico-e/ federico e giulia] [http://psisemiya.com/images/small/oesis/ oesis] [http://bloprofeldi.info/lib/facolta-di.htm facolta di psicologia padova] [http://ustall.org/web/voyeur-sex.htm voyeur sex] [http://davte.info/library/html/ballerine-brasiliane.htm ballerine brasiliane cercasi] [http://nobinters.org/offerta-cellulari.htm offerta cellulari] [http://helmed.info/topic/aftherhours/ aftherhours] [http://bloprofeldi.info/lib/flasdance.htm flasdance] [http://ashythro.info/library/html/corsi-trading/ corsi trading on line] [http://bloprofeldi.info/lib/ufficio-imola.htm ufficio imola] [http://psisemiya.com/images/small/mily/ mily] [http://saibso.org/hp-officejet.htm hp officejet psc1610] [http://davte.info/library/html/castellina-pasi.htm castellina pasi] [http://saibso.org/botta-e.htm botta e risposta con le creature impossibili] [http://helmed.info/topic/trasferimenti-docenti/ trasferimenti docenti] [http://helmed.info/topic/si-la/ si la ves de franco de vita] [http://helmed.info/topic/mercedes-slk/ mercedes slk 320] [http://psisemiya.com/images/small/she-will/ she will be in love] This page covers how to migrate from EPrints 2 to EPrints 3. | + | #REDIRECT [[Moving a repository]] |
| + | |
| + | [[Category:Management]] |
| + | This page covers how to migrate from EPrints 2 to EPrints 3. |
| | | |
| == Migration Toolkit == | | == Migration Toolkit == |
Line 34: |
Line 37: |
| | | |
| This script exports the data from your EPrints 2 repostory in a format which can be imported by EPrints 3. | | This script exports the data from your EPrints 2 repostory in a format which can be imported by EPrints 3. |
| + | |
| + | There have been some problems with exporting non Latin characters (e.g. letters with accents). If you have any problems, these can probably be solved by editing the export3data script and adding the following line (put it just under the first line). |
| + | |
| + | use encoding 'utf8'; |
| | | |
| To export the data do the following: | | To export the data do the following: |
Line 42: |
Line 49: |
| | | |
| eprints.xml references the full paths of the files in EPrints 2. If your EPrints 3 is on a different machine you'll need to either make sure they are the same on the new machine or do a big search-and-replace on eprints.xml! | | eprints.xml references the full paths of the files in EPrints 2. If your EPrints 3 is on a different machine you'll need to either make sure they are the same on the new machine or do a big search-and-replace on eprints.xml! |
| + | |
| + | If the script has any problems, run with the 'skiplog' argument: |
| + | |
| + | export3data.pl --skiplog errors.txt ARCHIVEID eprints > eprints.xml |
| + | |
| + | Any items with problems will be ignored, but the ids of them will be recorded in the 'errors.txt' file. Export these by hand if they are important. |
| | | |
| === Importing === | | === Importing === |
Line 123: |
Line 136: |
| === Warning about Pagerange === | | === Warning about Pagerange === |
| | | |
− | Argument "" isn't numeric in addition ( ) at | + | Argument "" isn't numeric in addition (+) at |
| /opt/eprints3/perl_lib/EPrints/MetaField/Pagerange.pm line 182. | | /opt/eprints3/perl_lib/EPrints/MetaField/Pagerange.pm line 182. |
| | | |
This page covers how to migrate from EPrints 2 to EPrints 3.
Migration Toolkit
The migration toolkit, available from http://files.eprints.org/ does quite a bit of the heavy lifting. It is intended to help configure an EP3 archive to have the same files, eprint types etc. as an EPrint 2 repository and then copy the data over.
Release 1.0-beta-1 should be a big improvement over 0.2 but it still doesn't do everything.
Installation
Backup
First of all make sure your EPrints 2 repository is backed up, just in case things don't go to plan. You already back it up daily anyway, right...?
Mtoolkit
Un-tar the package on the same machine as your EPrints 2 repository.
If your EPrints 2 was not installed in /opt/eprints2 then you'll need to modify the first line of the two .pl scripts in the toolkit.
EPrints 3
Minimum version required: 3.0.2 (This version introduces some very small options and bugfixes aimed at migration).
Also, get an EPrints 3 server set up. This can be either on the same machine (you'll need a separate instance of apache as ep2 and ep3 can't run under the same server at the same time, put it on port 8080 for now - see http://httpd.apache.org/docs/2.0/install.html for instructions - put it in another directory using the --PREFIX option!), or on a different machine. Get a repository created (probably with the same ID as your ep2 repo, although that's not essential). The database will need to be a different name or you'll get in an utter mess.
mkconfig.pl
This tool takes the id of an EPrints 2 repository and generates a number of EPrints 3 config. files. Copy these files into the cfg dir of your EPrints 3 repository. It also creates a file called migration_notes.txt with some helpful comments of anything it's messed with.
Get your (empty) EP3 repository up and running using these configuration files.
export3data.pl
This script exports the data from your EPrints 2 repostory in a format which can be imported by EPrints 3.
There have been some problems with exporting non Latin characters (e.g. letters with accents). If you have any problems, these can probably be solved by editing the export3data script and adding the following line (put it just under the first line).
use encoding 'utf8';
To export the data do the following:
export3data.pl ARCHIVEID eprints > eprints.xml
export3data.pl ARCHIVEID users > users.xml
export3data.pl ARCHIVEID subjects > subjects.xml
eprints.xml references the full paths of the files in EPrints 2. If your EPrints 3 is on a different machine you'll need to either make sure they are the same on the new machine or do a big search-and-replace on eprints.xml!
If the script has any problems, run with the 'skiplog' argument:
export3data.pl --skiplog errors.txt ARCHIVEID eprints > eprints.xml
Any items with problems will be ignored, but the ids of them will be recorded in the 'errors.txt' file. Export these by hand if they are important.
Importing
EPrints 3.0.2 no longer needs the hacks which were required for mtoolkit 0.2
Empty out any test data
To erase the current data in your EP3 repository use:
bin/epadmin erase_data ARCHIVEID
Import the data
To import the subjects and users do:
/opt/eprints3/bin/import_subjects --verbose --force --xml ARCHIVEID subjects.xml
/opt/eprints3/bin/import --verbose --migration ARCHIVEID user XML users.xml
If something goes wrong with subjects or users, use epadmin erase_data to empty the database and start again.
To import the EPrints do:
/opt/eprints3/bin/import --verbose --migration ARCHIVEID eprint XML eprints.xml
If something goes wrong with importing the eprints, use epadmin erase_eprints, to just erase the eprints data so you don't need to redo subjects and users.
the --migration option tells the importer to:
- skip are-you-sure? messages.
- use the eprintid and userid from the XML rather than assigning them.
- use the "datestamp" from the XML rather than assign it.
- load files from the local file system (normally this would be a security hole)
You may encounter some issues with badly formed XML. This is due to non correctly encoded data creeping into your database. It should all be utf-8 but earlier versions of EPrints didn't always check... If your EPrints 2 server is running perl 5.8 you can install the Perl module Encode which will clean up your data, but on our system our EPrints 2 was running on a machine with an older version of Perl and we didn't want to risk upgrading.
Finishing up after using mtoolkit
You will probably still want to tweak some of the following things by hand, depending how much you customised EPrints 2:
Some of these we can't easily add to the mtoolkit (those involving perl code). The XML files we could add in theory, but we've made a decision to release 1.0 with the current features, rather than delay it months but make it perfect.
- the template
- the workflow (EPrints 3 offers some nice features, look at the lib/defaultcfg/workflows/ for an idea of what you can do)
- the static pages (.xpage)
- the citation files
- the /view/ browsing configuration
- the search configuration
- any custom render routines
- the render eprint method (eprint_render.pl)
- any custom document security options
- any custom validation options
- etc.
Feel free to add tips on the wiki, linked from this section.
Known bugs in version 1.0 of toolkit / importing into EPrints 3.0.2
Documents with subdirectories fail to import
FIX: do them by hand at the end.
Warning messages about "hideemail"
hideemail was introduced in a version of EPrints 2 (I forget which). Earlier repositories may not have this field. Some of the EPrints 3 default config files assume it exists (user_fields_default.pl and user_render.pl).
FIX 1: Don't worry about it.
FIX 2: Before importing users.xml, add the hideemail field back into user_fields.pl
{
'name' => 'hideemail',
'input_style' => 'radio',
'type' => 'boolean',
},
Error missing field: X
The default EPrints 3 config. may reference a field not imported. If so you can almost always just remove the offending section of configuration. Examples: searches, citations, views.
Problems with bad characters in eprints.xml
This is not tested, but I think this should clean it up...
iconv -c eprints.xml --output=eprints_cleaned.xml -f utf-8 -t utf-8
Argument "" isn't numeric in addition (+) at
/opt/eprints3/perl_lib/EPrints/MetaField/Pagerange.pm line 182.
This is a warning that is caused by having non-numeric data in the pagerange field. eg. "iii-xi".
FIX: Don't worry about it.
Can't import files which contain "/"
eg if your document had index.html and images/dia.jpg
FIX: Make a note of the offenders, and just add those documents by hand.
FIX2: Bug chris to add this to fix this in the final release of 3.0.2 (it's not in beta-1)