Try updating the Gemfile.lock to use the 4.0.6 version of the gem and then
run the initialize_plugin script. I'm pretty sure that was how I got around
the issue at one point.

You just need to get the plugin bundled. Version does not matter (in my
experience).

Tom

On Tue, Dec 6, 2022 at 3:03 PM David P. Steelman <dstee...@umd.edu> wrote:

> Thanks for the quick responses.
>
> I have tried using aspace-oauth v3.2.0, and am running the
> 'initialize_plugin" script, and still receiving the same error.
>
> On the server, there is a
> "plugins/aspace-oauth/gems/cache/public_suffix-4.0.7.gem" file, and a
> "plugins/aspace-oauth/gems/gems/public_suffix-4.0.7" directory, so the
> "aspace-oauth" gem appears to be using the "public_suffix:4.0.7" gem
>
> The "WEB-INF/Gemfile.lock" file in the "public.war" and "frontend.war" WAR
> files from the ArchivesSpace distribution each contain a reference to
> "public_suffix" v4.0.6.
>
> In the ArchivesSpace v3.3.1 source distribution there are references to
> "plugin_suffix:4.0.6" in the following files:
>
> * Gemfile.lock
> * docs/Gemfile.lock
> * frontend/Gemfile.lock
> * public/Gemfile.lock
>
> So I'm wondering if there is some kind of confusion about which version of
> the gem is supposed to be used.
>
> Thanks,
>
> David
>
> On Tue, Dec 6, 2022 at 2:55 PM Tom Hanstra <hans...@nd.edu> wrote:
>
>> There was a version of the aspace-oauth plugin in which the public_suffix
>> gem did not compile. I remember having some problems with that.
>>
>> I just rebuilt mine here and it looks like the current version is working
>> right, with the 4.0.7 version. So it may help to simply download again.
>>
>> Tom
>>
>> On Tue, Dec 6, 2022 at 2:19 PM Blake Carver <blake.car...@lyrasis.org>
>> wrote:
>>
>>> Try using the latest tag version on that plugin.
>>>
>>>
>>>  https://github.com/lyrasis/aspace-oauth/tags
>>> ------------------------------
>>> *From:* archivesspace_users_group-boun...@lyralists.lyrasis.org <
>>> archivesspace_users_group-boun...@lyralists.lyrasis.org> on behalf of
>>> David P. Steelman <dstee...@umd.edu>
>>> *Sent:* Tuesday, December 6, 2022 2:02 PM
>>> *To:* Archivesspace Users Group <
>>> archivesspace_users_group@lyralists.lyrasis.org>
>>> *Subject:* [Archivesspace_Users_Group] Startup error with ArchivesSpace
>>> v3.3.1/aspace-oauth plugin
>>>
>>> Hello all,
>>>
>>> In attempting to upgrade from ArchivesSpace v3.1.1 to v3.3.1, I am
>>> encountering the following error on startup:
>>>
>>> ----
>>>   Dec 05, 2022 8:23:43 PM
>>> org.eclipse.jetty.server.handler.ContextHandler$Context log
>>>   WARNING: ERROR: initialization failed
>>>   org.jruby.rack.RackInitializationException: Could not find
>>> public_suffix-4.0.6 in any of the sources
>>>   from
>>> /apps/aspace/archivesspace/gems/gems/bundler-2.1.4/lib/bundler/spec_set.rb:86:in
>>> `block in materialize'
>>>   from org/jruby/RubyArray.java:2621:in `map!'
>>>   from
>>> /apps/aspace/archivesspace/gems/gems/bundler-2.1.4/lib/bundler/spec_set.rb:80:in
>>> `materialize'
>>>   from
>>> /apps/aspace/archivesspace/gems/gems/bundler-2.1.4/lib/bundler/definition.rb:170:in
>>> `specs'
>>>   ...
>>> ----
>>>
>>> We are using the "aspace-oauth" plugin (
>>> https://github.com/lyrasis/aspace-oauth) -- if we remove this plugin
>>> from the configuration the error does not occur.
>>>
>>> Comparing the ArchivesSpace v3.1.1 distribution to v3.3.1, the
>>> "gems/gems" directory in the v3.3.1 distribution includes significantly
>>> fewer gems, and no longer includes a "public_suffix-3.0.6" directory.
>>>
>>> Any pointers in handling this issue are appreciated.
>>>
>>> Thanks,
>>>
>>> David
>>> _______________________________________________
>>> Archivesspace_Users_Group mailing list
>>> Archivesspace_Users_Group@lyralists.lyrasis.org
>>> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>>>
>>
>>
>> --
>> *Tom Hanstra*
>> *Sr. Systems Administrator*
>> hans...@nd.edu
>>
>>
>> _______________________________________________
>> Archivesspace_Users_Group mailing list
>> Archivesspace_Users_Group@lyralists.lyrasis.org
>> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group@lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>


-- 
*Tom Hanstra*
*Sr. Systems Administrator*
hans...@nd.edu
_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

Reply via email to