talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

Problems with tenant configuration

BP
bob pitruniak
Mon, Jan 9, 2017 5:45 PM

Hi all,
I am trying to create my tenant under v4.4 and the deployment step fails. First, some history and a "bug" note.
I first tried to use the "easy way" technique and it did not work. I later realized the failure was because I did not check out the source code. The documentation is unclear here - it does not specifically say that I needed to check out the source code for the "easy way".
I next tried the "less-easy way" and found one missing step in the procedure. I think the missing step would require renaming all files that start with the template tenant name (lhmc in my case) to names that start with the desired template name (cdhs in my case) inapplication/tomcat-main/src/main/resources/tenants/cdhs
If this is not done, there are many files that cannot be found later in the deploy stage because files named "cdhs*.* are sought but files named "lhmc*.*" are present.
But, the big problem is that I got a file not found error in the "deploy-services-artifacts" section of deployment for an include of  the file "local-cdhs-settings.xml". I suspect this file is supposed to be constructed at some point during the earlier configuration process but it is missing.
I then cleaned out the "cdhs" directories and went back to the "easy way" and tried again. With the sources checked out now at least I could make some progress. But, I get the same error ("local-cdhs-settings.xml" not found) at the same place in the deploy step.
So, with both techniques failing, I am stuck. any ideas?
Thanks,
Bob PitruniakChesterville and District Historical SocietyChesterville, ON Canada

Hi all, I am trying to create my tenant under v4.4 and the deployment step fails. First, some history and a "bug" note. I first tried to use the "easy way" technique and it did not work. I later realized the failure was because I did not check out the source code. The documentation is unclear here - it does not specifically say that I needed to check out the source code for the "easy way". I next tried the "less-easy way" and found one missing step in the procedure. I think the missing step would require renaming all files that start with the template tenant name (lhmc in my case) to names that start with the desired template name (cdhs in my case) inapplication/tomcat-main/src/main/resources/tenants/cdhs If this is not done, there are many files that cannot be found later in the deploy stage because files named "cdhs*.* are sought but files named "lhmc*.*" are present. But, the big problem is that I got a file not found error in the "deploy-services-artifacts" section of deployment for an include of  the file "local-cdhs-settings.xml". I suspect this file is supposed to be constructed at some point during the earlier configuration process but it is missing. I then cleaned out the "cdhs" directories and went back to the "easy way" and tried again. With the sources checked out now at least I could make some progress. But, I get the same error ("local-cdhs-settings.xml" not found) at the same place in the deploy step. So, with both techniques failing, I am stuck. any ideas? Thanks, Bob PitruniakChesterville and District Historical SocietyChesterville, ON Canada
AR
Aron Roberts
Mon, Jan 9, 2017 11:09 PM

Hi Bob,

First, thanks for trying CollectionSpace and for sending this
question/problem report. A couple of questions, in turn:

  1. By what technique (or set of instructions) did you install
    CollectionSpace? All the methods that I'm aware of either require
    downloading the source code manually, or running an automated installer
    (which downloads the source code on its own). Or are you using a copy of
    the system that has been previously installed?

  2. Does the system work as expected, at least nominally, prior to your
    setting up your new tenant? For instance, can you log into the 'core'
    tenant and successfully create, and search for, Cataloging records?

Thanks,
Aron

On Mon, Jan 9, 2017 at 9:45 AM, bob pitruniak rpitruniak@yahoo.com wrote:

Hi all,

I am trying to create my tenant under v4.4 and the deployment step fails.
First, some history and a "bug" note.

I first tried to use the "easy way" technique and it did not work. I later
realized the failure was because I did not check out the source code. The
documentation is unclear here - it does not specifically say that I needed
to check out the source code for the "easy way".

I next tried the "less-easy way" and found one missing step in the
procedure. I think the missing step would require renaming all files that
start with the template tenant name (lhmc in my case) to names that start
with the desired template name (cdhs in my case) in
application/tomcat-main/src/main/resources/tenants/cdhs

If this is not done, there are many files that cannot be found later in
the deploy stage because files named "cdhs*.* are sought but files named
"lhmc*.*" are present.

But, the big problem is that I got a file not found error in the
"deploy-services-artifacts" section of deployment for an include of  the
file "local-cdhs-settings.xml". I suspect this file is supposed to be
constructed at some point during the earlier configuration process but it
is missing.

I then cleaned out the "cdhs" directories and went back to the "easy way"
and tried again. With the sources checked out now at least I could make
some progress. But, I get the same error ("local-cdhs-settings.xml" not
found) at the same place in the deploy step.

So, with both techniques failing, I am stuck. any ideas?

Thanks,

Bob Pitruniak
Chesterville and District Historical Society
Chesterville, ON Canada


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_
lists.collectionspace.org

Hi Bob, First, thanks for trying CollectionSpace and for sending this question/problem report. A couple of questions, in turn: 1. By what technique (or set of instructions) did you install CollectionSpace? All the methods that I'm aware of either require downloading the source code manually, or running an automated installer (which downloads the source code on its own). Or are you using a copy of the system that has been previously installed? 2. Does the system work as expected, at least nominally, prior to your setting up your new tenant? For instance, can you log into the 'core' tenant and successfully create, and search for, Cataloging records? Thanks, Aron On Mon, Jan 9, 2017 at 9:45 AM, bob pitruniak <rpitruniak@yahoo.com> wrote: > Hi all, > > I am trying to create my tenant under v4.4 and the deployment step fails. > First, some history and a "bug" note. > > I first tried to use the "easy way" technique and it did not work. I later > realized the failure was because I did not check out the source code. The > documentation is unclear here - it does not specifically say that I needed > to check out the source code for the "easy way". > > I next tried the "less-easy way" and found one missing step in the > procedure. I think the missing step would require renaming all files that > start with the template tenant name (lhmc in my case) to names that start > with the desired template name (cdhs in my case) in > application/tomcat-main/src/main/resources/tenants/cdhs > > If this is not done, there are many files that cannot be found later in > the deploy stage because files named "cdhs*.* are sought but files named > "lhmc*.*" are present. > > But, the big problem is that I got a file not found error in the > "deploy-services-artifacts" section of deployment for an include of the > file "local-cdhs-settings.xml". I suspect this file is supposed to be > constructed at some point during the earlier configuration process but it > is missing. > > I then cleaned out the "cdhs" directories and went back to the "easy way" > and tried again. With the sources checked out now at least I could make > some progress. But, I get the same error ("local-cdhs-settings.xml" not > found) at the same place in the deploy step. > > So, with both techniques failing, I am stuck. any ideas? > > Thanks, > > Bob Pitruniak > Chesterville and District Historical Society > Chesterville, ON Canada > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_ > lists.collectionspace.org > >