[Archivesspace_Users_Group] 2.5 install issue

Majewski, Steven Dennis (sdm7g) sdm7g at virginia.edu
Tue Nov 13 14:14:00 EST 2018


This is what we did, and it’s useful if you want to harvest only one particular repository. 
But if you’re going to harvest from both, then it’s not necessary. 

We are using:  https://github.com/bloomonkey/oai-harvest <https://github.com/bloomonkey/oai-harvest>  to harvest, with the ‘—create-subdirs’ option
which will create subdirectories based on the URIs and so will sort the repositories separately. 

So for example:
	$ oai-harvest -p oai_ead -s collection --create-subdirs  https://archives-oai.lib.virginia.edu <https://archives-oai.lib.virginia.edu/>

will export all of the published repository collections as EAD in this directory structure:

oai:lib.virginia.edu
└── repositories
    ├── 3
    │   └── resources
    │       ├── 1.oai_ead.xml
    │       ├── 10.oai_ead.xml
    │       ├── 11.oai_ead.xml
    │       ├── 12.oai_ead.xml
    │       ├── 13.oai_ead.xml
    │       ├── 14.oai_ead.xml
    │       ├── 15.oai_ead.xml
    │       ├── 16.oai_ead.xml
    │       ├── 17.oai_ead.xml
    │       ├── 177.oai_ead.xml
    │       ├── 18.oai_ead.xml
    │       ├── 19.oai_ead.xml
    │       ├── 2.oai_ead.xml
    │       ├── 20.oai_ead.xml
    │       ├── 206.oai_ead.xml
    │       ├── 207.oai_ead.xml
    │       ├── 209.oai_ead.xml
    │       ├── 21.oai_ead.xml
    │       ├── 22.oai_ead.xml
    │       ├── 222.oai_ead.xml
    │       ├── 223.oai_ead.xml
    │       ├── 225.oai_ead.xml
    │       ├── 226.oai_ead.xml
    │       ├── 227.oai_ead.xml
    │       ├── 228.oai_ead.xml
    │       ├── 23.oai_ead.xml
    │       ├── 230.oai_ead.xml
    │       ├── 231.oai_ead.xml
    │       ├── 232.oai_ead.xml
    │       ├── 234.oai_ead.xml
    │       ├── 235.oai_ead.xml
    │       ├── 236.oai_ead.xml
    │       ├── 237.oai_ead.xml
    │       ├── 238.oai_ead.xml
    │       ├── 239.oai_ead.xml
    │       ├── 24.oai_ead.xml
    │       ├── 240.oai_ead.xml
    │       ├── 241.oai_ead.xml
    │       ├── 242.oai_ead.xml
    │       ├── 243.oai_ead.xml
    │       ├── 244.oai_ead.xml
    │       ├── 245.oai_ead.xml
    │       ├── 246.oai_ead.xml
    │       ├── 247.oai_ead.xml
    │       ├── 248.oai_ead.xml
    │       ├── 249.oai_ead.xml
    │       ├── 25.oai_ead.xml
    │       ├── 250.oai_ead.xml
    │       ├── 251.oai_ead.xml
    │       ├── 252.oai_ead.xml
    │       ├── 253.oai_ead.xml
    │       ├── 254.oai_ead.xml
    │       ├── 255.oai_ead.xml
    │       ├── 256.oai_ead.xml
    │       ├── 257.oai_ead.xml
    │       ├── 258.oai_ead.xml
    │       ├── 259.oai_ead.xml
    │       ├── 26.oai_ead.xml
    │       ├── 260.oai_ead.xml
    │       ├── 261.oai_ead.xml
    │       ├── 263.oai_ead.xml
    │       ├── 264.oai_ead.xml
    │       ├── 265.oai_ead.xml
    │       ├── 266.oai_ead.xml
    │       ├── 267.oai_ead.xml
    │       ├── 268.oai_ead.xml
    │       ├── 269.oai_ead.xml
    │       ├── 27.oai_ead.xml
    │       ├── 270.oai_ead.xml
    │       ├── 271.oai_ead.xml
    │       ├── 272.oai_ead.xml
    │       ├── 28.oai_ead.xml
    │       ├── 29.oai_ead.xml
    │       ├── 294.oai_ead.xml
    │       ├── 298.oai_ead.xml
    │       ├── 299.oai_ead.xml
    │       ├── 3.oai_ead.xml
    │       ├── 30.oai_ead.xml
    │       ├── 300.oai_ead.xml
    │       ├── 301.oai_ead.xml
    │       ├── 302.oai_ead.xml
    │       ├── 303.oai_ead.xml
    │       ├── 304.oai_ead.xml
    │       ├── 305.oai_ead.xml
    │       ├── 306.oai_ead.xml
    │       ├── 307.oai_ead.xml
    │       ├── 308.oai_ead.xml
    │       ├── 309.oai_ead.xml
    │       ├── 31.oai_ead.xml
    │       ├── 310.oai_ead.xml
    │       ├── 311.oai_ead.xml
    │       ├── 312.oai_ead.xml
    │       ├── 313.oai_ead.xml
    │       ├── 314.oai_ead.xml
    │       ├── 315.oai_ead.xml
    │       ├── 316.oai_ead.xml
    │       ├── 317.oai_ead.xml
    │       ├── 319.oai_ead.xml
    │       ├── 32.oai_ead.xml
    │       ├── 320.oai_ead.xml
    │       ├── 321.oai_ead.xml
    │       ├── 322.oai_ead.xml
    │       ├── 323.oai_ead.xml
    │       ├── 324.oai_ead.xml
    │       ├── 325.oai_ead.xml
    │       ├── 326.oai_ead.xml
    │       ├── 327.oai_ead.xml
    │       ├── 328.oai_ead.xml
    │       ├── 329.oai_ead.xml
    │       ├── 33.oai_ead.xml
    │       ├── 330.oai_ead.xml
    │       ├── 331.oai_ead.xml
    │       ├── 332.oai_ead.xml
    │       ├── 333.oai_ead.xml
    │       ├── 334.oai_ead.xml
    │       ├── 335.oai_ead.xml
    │       ├── 336.oai_ead.xml
    │       ├── 337.oai_ead.xml
    │       ├── 338.oai_ead.xml
    │       ├── 339.oai_ead.xml
    │       ├── 34.oai_ead.xml
    │       ├── 340.oai_ead.xml
    │       ├── 341.oai_ead.xml
    │       ├── 342.oai_ead.xml
    │       ├── 343.oai_ead.xml
    │       ├── 344.oai_ead.xml
    │       ├── 345.oai_ead.xml
    │       ├── 346.oai_ead.xml
    │       ├── 347.oai_ead.xml
    │       ├── 348.oai_ead.xml
    │       ├── 349.oai_ead.xml
    │       ├── 35.oai_ead.xml
    │       ├── 350.oai_ead.xml
    │       ├── 351.oai_ead.xml
    │       ├── 352.oai_ead.xml
    │       ├── 353.oai_ead.xml
    │       ├── 355.oai_ead.xml
    │       ├── 356.oai_ead.xml
    │       ├── 357.oai_ead.xml
    │       ├── 358.oai_ead.xml
    │       ├── 359.oai_ead.xml
    │       ├── 36.oai_ead.xml
    │       ├── 360.oai_ead.xml
    │       ├── 361.oai_ead.xml
    │       ├── 362.oai_ead.xml
    │       ├── 363.oai_ead.xml
    │       ├── 364.oai_ead.xml
    │       ├── 365.oai_ead.xml
    │       ├── 366.oai_ead.xml
    │       ├── 367.oai_ead.xml
    │       ├── 368.oai_ead.xml
    │       ├── 369.oai_ead.xml
    │       ├── 37.oai_ead.xml
    │       ├── 370.oai_ead.xml
    │       ├── 371.oai_ead.xml
    │       ├── 372.oai_ead.xml
    │       ├── 373.oai_ead.xml
    │       ├── 374.oai_ead.xml
    │       ├── 375.oai_ead.xml
    │       ├── 376.oai_ead.xml
    │       ├── 378.oai_ead.xml
    │       ├── 38.oai_ead.xml
    │       ├── 380.oai_ead.xml
    │       ├── 381.oai_ead.xml
    │       ├── 382.oai_ead.xml
    │       ├── 383.oai_ead.xml
    │       ├── 384.oai_ead.xml
    │       ├── 385.oai_ead.xml
    │       ├── 386.oai_ead.xml
    │       ├── 387.oai_ead.xml
    │       ├── 388.oai_ead.xml
    │       ├── 39.oai_ead.xml
    │       ├── 390.oai_ead.xml
    │       ├── 391.oai_ead.xml

 [ … ]

    ├── 4
    │   └── resources
    │       ├── 100.oai_ead.xml
    │       ├── 101.oai_ead.xml
    │       ├── 102.oai_ead.xml
    │       ├── 289.oai_ead.xml
    │       ├── 292.oai_ead.xml
    │       ├── 481.oai_ead.xml
    │       ├── 492.oai_ead.xml
    │       ├── 493.oai_ead.xml
    │       ├── 494.oai_ead.xml
    │       ├── 495.oai_ead.xml
    │       ├── 496.oai_ead.xml
    │       ├── 497.oai_ead.xml
    │       ├── 506.oai_ead.xml
    │       ├── 507.oai_ead.xml
    │       ├── 508.oai_ead.xml
    │       ├── 520.oai_ead.xml
    │       ├── 521.oai_ead.xml
    │       ├── 522.oai_ead.xml
    │       ├── 523.oai_ead.xml
    │       ├── 525.oai_ead.xml
    │       ├── 555.oai_ead.xml
    │       ├── 562.oai_ead.xml
    │       ├── 563.oai_ead.xml
    │       ├── 573.oai_ead.xml
    │       ├── 574.oai_ead.xml
    │       ├── 575.oai_ead.xml
    │       ├── 576.oai_ead.xml
    │       ├── 577.oai_ead.xml
    │       ├── 579.oai_ead.xml
    │       ├── 58.oai_ead.xml
    │       ├── 580.oai_ead.xml
    │       ├── 583.oai_ead.xml
    │       ├── 585.oai_ead.xml
    │       ├── 59.oai_ead.xml
    │       ├── 610.oai_ead.xml
    │       ├── 611.oai_ead.xml
    │       ├── 612.oai_ead.xml
    │       ├── 62.oai_ead.xml
    │       ├── 632.oai_ead.xml
    │       ├── 634.oai_ead.xml
    │       ├── 635.oai_ead.xml
    │       ├── 636.oai_ead.xml
    │       ├── 637.oai_ead.xml
    │       ├── 638.oai_ead.xml
    │       ├── 64.oai_ead.xml
    │       ├── 640.oai_ead.xml
    │       ├── 641.oai_ead.xml
    │       ├── 643.oai_ead.xml
    │       ├── 644.oai_ead.xml
    │       ├── 645.oai_ead.xml
    │       ├── 646.oai_ead.xml
    │       ├── 647.oai_ead.xml
    │       ├── 649.oai_ead.xml
    │       ├── 650.oai_ead.xml
    │       ├── 651.oai_ead.xml
    │       ├── 652.oai_ead.xml
    │       ├── 653.oai_ead.xml
    │       ├── 654.oai_ead.xml
    │       ├── 655.oai_ead.xml
    │       ├── 656.oai_ead.xml
    │       ├── 657.oai_ead.xml
    │       ├── 659.oai_ead.xml
    │       ├── 66.oai_ead.xml
    │       ├── 660.oai_ead.xml
    │       ├── 661.oai_ead.xml
    │       ├── 662.oai_ead.xml
    │       ├── 663.oai_ead.xml
    │       ├── 664.oai_ead.xml
    │       ├── 665.oai_ead.xml
    │       ├── 666.oai_ead.xml
    │       ├── 667.oai_ead.xml
    │       ├── 668.oai_ead.xml
    │       ├── 669.oai_ead.xml
    │       ├── 67.oai_ead.xml
    │       ├── 670.oai_ead.xml
    │       ├── 671.oai_ead.xml
    │       ├── 672.oai_ead.xml
    │       ├── 673.oai_ead.xml
    │       ├── 674.oai_ead.xml
    │       ├── 675.oai_ead.xml
    │       ├── 676.oai_ead.xml
    │       ├── 677.oai_ead.xml
    │       ├── 678.oai_ead.xml
    │       ├── 679.oai_ead.xml
    │       ├── 68.oai_ead.xml
    │       ├── 680.oai_ead.xml
    │       ├── 681.oai_ead.xml
    │       ├── 682.oai_ead.xml
    │       ├── 683.oai_ead.xml
    │       ├── 684.oai_ead.xml
    │       ├── 685.oai_ead.xml
    │       ├── 686.oai_ead.xml
    │       ├── 687.oai_ead.xml
    │       ├── 688.oai_ead.xml
    │       ├── 689.oai_ead.xml
    │       ├── 69.oai_ead.xml
    │       ├── 690.oai_ead.xml
    │       ├── 691.oai_ead.xml
    │       ├── 692.oai_ead.xml
    │       ├── 693.oai_ead.xml
    │       ├── 694.oai_ead.xml
    │       ├── 695.oai_ead.xml
    │       ├── 696.oai_ead.xml
    │       ├── 697.oai_ead.xml
    │       ├── 698.oai_ead.xml
    │       ├── 699.oai_ead.xml
    │       ├── 70.oai_ead.xml
    │       ├── 700.oai_ead.xml
    │       ├── 701.oai_ead.xml
    │       ├── 702.oai_ead.xml
    │       ├── 703.oai_ead.xml
    │       ├── 704.oai_ead.xml
    │       ├── 705.oai_ead.xml
    │       ├── 707.oai_ead.xml
    │       ├── 708.oai_ead.xml
    │       ├── 709.oai_ead.xml
    │       ├── 71.oai_ead.xml
    │       ├── 710.oai_ead.xml
    │       ├── 711.oai_ead.xml
    │       ├── 712.oai_ead.xml
    │       ├── 713.oai_ead.xml
    │       ├── 714.oai_ead.xml
    │       ├── 716.oai_ead.xml
    │       ├── 717.oai_ead.xml
    │       ├── 718.oai_ead.xml
    │       ├── 719.oai_ead.xml
    │       ├── 72.oai_ead.xml
    │       ├── 720.oai_ead.xml
    │       ├── 721.oai_ead.xml
    │       ├── 722.oai_ead.xml
    │       ├── 723.oai_ead.xml
    │       ├── 725.oai_ead.xml
    │       ├── 726.oai_ead.xml
    │       ├── 727.oai_ead.xml
    │       ├── 728.oai_ead.xml
    │       ├── 730.oai_ead.xml
    │       ├── 731.oai_ead.xml
    │       ├── 732.oai_ead.xml
    │       ├── 733.oai_ead.xml
    │       ├── 734.oai_ead.xml
    │       ├── 74.oai_ead.xml
    │       ├── 75.oai_ead.xml
    │       ├── 76.oai_ead.xml
    │       ├── 77.oai_ead.xml
    │       ├── 78.oai_ead.xml
    │       ├── 79.oai_ead.xml
    │       ├── 80.oai_ead.xml
    │       ├── 81.oai_ead.xml
    │       ├── 86.oai_ead.xml
    │       ├── 87.oai_ead.xml
    │       ├── 88.oai_ead.xml
    │       ├── 89.oai_ead.xml
    │       ├── 90.oai_ead.xml
    │       ├── 91.oai_ead.xml
    │       ├── 93.oai_ead.xml
    │       ├── 94.oai_ead.xml
    │       ├── 95.oai_ead.xml
    │       ├── 96.oai_ead.xml
    │       ├── 97.oai_ead.xml
    │       ├── 98.oai_ead.xml
    │       └── 99.oai_ead.xml
    ├── 7
    │   └── resources
    │       ├── 109.oai_ead.xml
    │       ├── 110.oai_ead.xml
    │       ├── 111.oai_ead.xml
    │       ├── 112.oai_ead.xml
    │       ├── 113.oai_ead.xml
    │       ├── 114.oai_ead.xml
    │       ├── 115.oai_ead.xml
    │       ├── 116.oai_ead.xml
    │       ├── 117.oai_ead.xml
    │       ├── 119.oai_ead.xml
    │       ├── 120.oai_ead.xml
    │       ├── 121.oai_ead.xml
    │       ├── 122.oai_ead.xml
    │       ├── 123.oai_ead.xml
    │       ├── 124.oai_ead.xml
    │       ├── 125.oai_ead.xml
    │       ├── 126.oai_ead.xml
    │       ├── 127.oai_ead.xml
    │       ├── 128.oai_ead.xml
    │       ├── 129.oai_ead.xml
    │       ├── 130.oai_ead.xml
    │       ├── 131.oai_ead.xml
    │       ├── 132.oai_ead.xml
    │       ├── 133.oai_ead.xml
    │       ├── 134.oai_ead.xml
    │       ├── 135.oai_ead.xml
    │       ├── 137.oai_ead.xml
    │       ├── 138.oai_ead.xml
    │       ├── 139.oai_ead.xml
    │       ├── 140.oai_ead.xml
    │       ├── 141.oai_ead.xml
    │       ├── 142.oai_ead.xml
    │       ├── 143.oai_ead.xml
    │       ├── 144.oai_ead.xml
    │       ├── 145.oai_ead.xml
    │       ├── 146.oai_ead.xml
    │       ├── 147.oai_ead.xml
    │       ├── 148.oai_ead.xml
    │       ├── 149.oai_ead.xml
    │       ├── 150.oai_ead.xml
    │       ├── 151.oai_ead.xml
    │       ├── 152.oai_ead.xml
    │       ├── 153.oai_ead.xml
    │       ├── 154.oai_ead.xml
    │       ├── 155.oai_ead.xml
    │       ├── 156.oai_ead.xml
    │       ├── 157.oai_ead.xml
    │       ├── 158.oai_ead.xml
    │       ├── 159.oai_ead.xml
    │       ├── 160.oai_ead.xml
    │       ├── 161.oai_ead.xml
    │       ├── 163.oai_ead.xml
    │       ├── 164.oai_ead.xml
    │       ├── 165.oai_ead.xml
    │       ├── 166.oai_ead.xml
    │       ├── 167.oai_ead.xml
    │       ├── 168.oai_ead.xml
    │       ├── 169.oai_ead.xml
    │       ├── 170.oai_ead.xml
    │       ├── 171.oai_ead.xml
    │       ├── 172.oai_ead.xml
    │       ├── 173.oai_ead.xml
    │       ├── 174.oai_ead.xml
    │       └── 210.oai_ead.xml
    └── 8
        └── resources
            ├── 182.oai_ead.xml
            ├── 183.oai_ead.xml
            ├── 186.oai_ead.xml
            ├── 188.oai_ead.xml
            ├── 189.oai_ead.xml
            ├── 190.oai_ead.xml
            ├── 192.oai_ead.xml
            ├── 193.oai_ead.xml
            ├── 194.oai_ead.xml
            ├── 195.oai_ead.xml
            ├── 196.oai_ead.xml
            ├── 198.oai_ead.xml
            ├── 199.oai_ead.xml
            ├── 200.oai_ead.xml
            ├── 201.oai_ead.xml
            ├── 203.oai_ead.xml
            ├── 208.oai_ead.xml
            ├── 216.oai_ead.xml
            ├── 218.oai_ead.xml
            ├── 377.oai_ead.xml
            ├── 379.oai_ead.xml
            ├── 406.oai_ead.xml
            ├── 412.oai_ead.xml
            └── 505.oai_ead.xml



> On Nov 13, 2018, at 1:49 PM, Neal, Rick <rneal at richmond.edu> wrote:
> 
> Thanks to everyone.  It is up and working.  The oai/sample is working, at least on campus.
>  
> We have 2 repositories.  One for our Special Collections and one for the Law School.
>  
> https://archives.richmond.edu/repositories/4 <https://archives.richmond.edu/repositories/4>
> https://archives.richmond.edu/repositories/5 <https://archives.richmond.edu/repositories/5>
>  
> I have never worked with setting up oai before and I am wondering how the ‘scraper’ determines which repository to scrape?  Do I need to set up 2 sets (1 for each repository)?  
>  
> Would setting up 2 sets look something like this?:
>  
> AppConfig[:oai_sets] = {
>     'repository_set' => {
>      :repo_codes => ['4'],
>      :description => "Special Collections Repository",
>    },
>    'repository_set' => {
>      :repo_codes => ['5'],
>      :description => "Law School Repository",
>    },
> }
>  
> Thanks!
>  
> Rick Neal
>  
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> # OAI configuration options
> AppConfig[:oai_repository_name] = 'ArchivesSpace OAI Provider'
> AppConfig[:oai_proxy_url] = 'http://aspace.richmond.edu:8082/ <http://aspace.richmond.edu:8082/>'
> AppConfig[:oai_record_prefix] = 'oai:archivesspace'
> AppConfig[:oai_admin_email] = 'admin at example.com <mailto:admin at example.com>'
> # In addition to the sets based on level of description, you can define OAI Sets
> # based on repository codes and/or sponsors as follows
> #
> # AppConfig[:oai_sets] = {
> #   'repository_set' => {
> #     :repo_codes => ['hello626'],
> #     :description => "A set of one or more repositories",
> #   },
> #
> #   'sponsor_set' => {
> #     :sponsors => ['The_Sponsor'],
> #     :description => "A set of one or more sponsors",
> #   },
> # }
> AppConfig[:oai_ead_options] = {}
> # alternate example:  AppConfig[:oai_ead_options] = { :include_daos => true, :use_numbered_c_tags => true }
>  
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Rick Neal
> Library Applications and Systems Administrator
> Boatwright Memorial Library
> University of Richmond, VA 23173
>  
> rneal at richmond.edu <mailto:rneal at richmond.edu>
>  
> From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Majewski, Steven Dennis (sdm7g)
> Sent: Monday, November 12, 2018 3:01 PM
> To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
> Subject: Re: [Archivesspace_Users_Group] 2.5 install issue
>  
>  
> Oops. My error. 8082 is OAI port, not PUI.  
> Not sure how far back OAI support was initially added. 
> 
> 
> On Nov 12, 2018, at 2:02 PM, Majewski, Steven Dennis (sdm7g) <sdm7g at virginia.edu <mailto:sdm7g at virginia.edu>> wrote:
>  
>  
> The default ports haven’t changed. 
> Blake transposed digits in his email to 8028, but the error message says 8082, which is the default port for public webapp. 
> Default port numbers are in common/config/config-defaults.rb:
>  
> https://github.com/archivesspace/archivesspace/blob/master/common/config/config-defaults.rb#L22-L48 <https://github.com/archivesspace/archivesspace/blob/master/common/config/config-defaults.rb#L22-L48>
>  
>  
> AppConfig[:backend_url] = "http://localhost:8089 <http://localhost:8089/>"
> AppConfig[:frontend_url] = "http://localhost:8080 <http://localhost:8080/>"
> AppConfig[:public_url] = "http://localhost:8081 <http://localhost:8081/>"
> AppConfig[:oai_url] = "http://localhost:8082 <http://localhost:8082/>"
> AppConfig[:solr_url] = "http://localhost:8090 <http://localhost:8090/>"
> AppConfig[:indexer_url] = "http://localhost:8091 <http://localhost:8091/>"
> AppConfig[:docs_url] = "http://localhost:8888 <http://localhost:8888/>"
> 
>  
>  
> 
> 
> On Nov 12, 2018, at 1:53 PM, Neal, Rick <rneal at richmond.edu <mailto:rneal at richmond.edu>> wrote:
>  
> Blake,
> 
> What port did it run on before 2.5?
> 
> Rick
> 
> Sent from my iPhone
> 
> On Nov 12, 2018, at 11:39 AM, Blake Carver <blake.carver at lyrasis.org <mailto:blake.carver at lyrasis.org>> wrote:
> 
> 
> WARNING: FAILED SelectChannelConnector at 0.0.0.0 <mailto:SelectChannelConnector at 0.0.0.0>:8082: java.net.BindException: Address already in use
> 
> Something is running on port 8028 already so ArchivesSpace can't start up since that's being used now.
> 
> 
> 
> ________________________________________
> From: archivesspace_users_group-bounces at lyralists.lyrasis.org <mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> <archivesspace_users_group-bounces at lyralists.lyrasis.org <mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>> on behalf of Neal, Rick <rneal at richmond.edu <mailto:rneal at richmond.edu>>
> Sent: Monday, November 12, 2018 11:30:07 AM
> To: Archivesspace Users Group
> Subject: [Archivesspace_Users_Group] 2.5 install issue
> 
> Good morning,
> 
> I successfully upgraded our version of ArchiveSpace on my test server to version 2.5 with no issues.
> 
> I am now trying to replicate it on my production server.
> 
> After my upgrade I restarted the service and the staff and public interfaces won’t display in a browser although the backend does:
> 
> { "databaseProductName": "MySQL", "databaseProductVersion": "5.1.73", "ruby_version": "2.3.0", "host_os": "linux", "host_cpu": "x86_64", "build": "java1.7", "archivesSpaceVersion": "v2.5.0" }
> 
> 
> The archivesspace.out log had this in it:  A trace file has been written to the following location: /tmp/aspace_diagnostic_1542039282.txt
> 
> That file mentions that an address is already in use.  (I append it to the bottom).
> 
> I did not use the new config.rb file because I use virtualhosts to give unique urls for ArchivesSpace to use.  The only thing in my config.rb file that is uncommented is the line for database access.  I have been using it this way for years now and there was no issue with the recent  test server upgrade.
> 
> I appreciate whatever advice you have.
> 
> Rick
> 
> ~~~~~~~~~~~~~~~~~~~~~~~
> 
> I see this in the archivesspace.out file
> 
> Nov 12, 2018 11:14:42 AM org.eclipse.jetty.server.handler.ContextHandler callContextInitialized
> INFO: started o.e.j.w.WebAppContext{/,file:/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8082-oai.war-_-any-/webapp/},/usr/local/archivesspace/wars/oai.war
> Nov 12, 2018 11:14:42 AM org.eclipse.jetty.util.component.AbstractLifeCycle setFailed
> WARNING: FAILED SelectChannelConnector at 0.0.0.0 <mailto:SelectChannelConnector at 0.0.0.0>:8082: java.net.BindException: Address already in use
> 
> This is the complete aspace_diagnostic_1542032577.txt file
> 
> "cpu_count": 2,
> "exception": {
>   "msg": "Address already in use",
>   "backtrace": [
>     "sun.nio.ch.Net.bind0(Native Method)",
>     "sun.nio.ch.Net.bind(sun/nio/ch/Net.java:463)",
>     "sun.nio.ch.Net.bind(sun/nio/ch/Net.java:455)",
>     "sun.nio.ch.ServerSocketChannelImpl.bind(sun/nio/ch/ServerSocketChannelImpl.java:223)",
>     "sun.nio.ch.ServerSocketAdaptor.bind(sun/nio/ch/ServerSocketAdaptor.java:74)",
>     "org.eclipse.jetty.server.nio.SelectChannelConnector.open(org/eclipse/jetty/server/nio/SelectChannelConnector.java:182)",
>     "org.eclipse.jetty.server.AbstractConnector.doStart(org/eclipse/jetty/server/AbstractConnector.java:311)",
>     "org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(org/eclipse/jetty/server/nio/SelectChannelConnector.java:260)",
>     "org.eclipse.jetty.util.component.AbstractLifeCycle.start(org/eclipse/jetty/util/component/AbstractLifeCycle.java:59)",
>     "org.eclipse.jetty.server.Server.doStart(org/eclipse/jetty/server/Server.java:283)",
>     "org.eclipse.jetty.util.component.AbstractLifeCycle.start(org/eclipse/jetty/util/component/AbstractLifeCycle.java:59)",
>     "java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:606)",
>     "org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:438)",
>     "org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:302)",
>     "launcher.launcher.invokeOther148:start(launcher/launcher.rb:92)",
>     "launcher.launcher.start_server(launcher/launcher.rb:92)",
>     "launcher.launcher.invokeOther341:start_server(launcher/launcher.rb:179)",
>     "launcher.launcher.main(launcher/launcher.rb:179)",
>     "launcher.launcher.invokeOther454:main(launcher/launcher.rb:261)",
>     "launcher.launcher.<main>(launcher/launcher.rb:261)",
>     "java.lang.invoke.MethodHandle.invokeWithArguments(java/lang/invoke/MethodHandle.java:599)",
>     "org.jruby.Ruby.runScript(org/jruby/Ruby.java:827)",
>     "org.jruby.Ruby.runNormally(org/jruby/Ruby.java:746)",
>     "org.jruby.Ruby.runNormally(org/jruby/Ruby.java:764)",
>     "org.jruby.Ruby.runFromMain(org/jruby/Ruby.java:577)",
>     "org.jruby.Main.doRunFromMain(org/jruby/Main.java:417)",
>     "org.jruby.Main.internalRun(org/jruby/Main.java:305)",
>     "org.jruby.Main.run(org/jruby/Main.java:232)",
>     "org.jruby.Main.main(org/jruby/Main.java:204)"
>   ]
> }
> }
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org <mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group <http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org <mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group <http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group>
>  
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org <mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group <http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group>
>  
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org <mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group <http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20181113/650ad0f7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6102 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20181113/650ad0f7/attachment.bin>


More information about the Archivesspace_Users_Group mailing list