talk@lists.collectionspace.org

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

View all threads

Default report installation

DR
Dave Ross
Mon, Jul 11, 2016 2:56 AM

Hi All,

I’ve tried creating the “canned” reports available in the Tools repo and we’re not able to get those reports to appear either locally, on our production environment, or the core.collectionspace.org http://core.collectionspace.org/ deployment.  In each case the "./scripts/install_report_records.sh” appears to execute without problems but no reports are available afterwards.  This is still the case for the core.collectionspace.com http://core.collectionspace.com/ instance- they have been run there and when an attempt to rerun the script is made a series of outputs result like this:
WARNING: Found an existing 'Loan Out Report' report record in the 'core' tenant. No new record created.
Checking for an Object Exit Report report record in the 'core' tenant ...

However when I log into the application no reports are available.

If anyone has been able to get the “canned” reports to work I’d really appreciate the steps that they took to get a good result.

Thank you,
-Dave Ross

Hi All, I’ve tried creating the “canned” reports available in the Tools repo and we’re not able to get those reports to appear either locally, on our production environment, or the core.collectionspace.org <http://core.collectionspace.org/> deployment. In each case the "./scripts/install_report_records.sh” appears to execute without problems but no reports are available afterwards. This is still the case for the core.collectionspace.com <http://core.collectionspace.com/> instance- they have been run there and when an attempt to rerun the script is made a series of outputs result like this: WARNING: Found an existing 'Loan Out Report' report record in the 'core' tenant. No new record created. Checking for an Object Exit Report report record in the 'core' tenant ... However when I log into the application no reports are available. If anyone has been able to get the “canned” reports to work I’d really appreciate the steps that they took to get a good result. Thank you, -Dave Ross
JB
John B Lowe
Mon, Jul 11, 2016 9:10 PM

Dave,

I had just a quick look at the scripts you mentioned. If I read them
correctly, they will only install report on servers with hostnames like
"<xxx>.collectionspace.org", which I doubt is the case for your servers
(even, I suspect, for what you call the "core.collectionspace.org
deployment", since that hostname is not really available to you.)

If I'm right, you'll need to edit the scripts to get them to work...

I also have a feeling that when you are running the scripts on the "the
core.collectionspace.com [sic] instance" -- probably the scripts are
referencing the actually server, which you may not be able to modify...

Good hunting,

John

On Sun, Jul 10, 2016 at 7:56 PM, Dave Ross dross@rossmail.us wrote:

Hi All,

I’ve tried creating the “canned” reports available in the Tools repo and
we’re not able to get those reports to appear either locally, on our
production environment, or the core.collectionspace.org deployment.  In
each case the "./scripts/install_report_records.sh” appears to execute
without problems but no reports are available afterwards.  This is still
the case for the core.collectionspace.com instance- they have been run
there and when an attempt to rerun the script is made a series of outputs
result like this:
WARNING: Found an existing 'Loan Out Report' report record in the 'core'
tenant. No new record created.
Checking for an Object Exit Report report record in the 'core' tenant ...

However when I log into the application no reports are available.

If anyone has been able to get the “canned” reports to work I’d really
appreciate the steps that they took to get a good result.

Thank you,
-Dave Ross


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Dave, I had just a quick look at the scripts you mentioned. If I read them correctly, they will only install report on servers with hostnames like "<xxx>.collectionspace.org", which I doubt is the case for your servers (even, I suspect, for what you call the "core.collectionspace.org deployment", since that hostname is not really available to you.) If I'm right, you'll need to edit the scripts to get them to work... I also have a feeling that when you are running the scripts on the "the core.collectionspace.com [sic] instance" -- probably the scripts are referencing the actually server, which you may not be able to modify... Good hunting, John On Sun, Jul 10, 2016 at 7:56 PM, Dave Ross <dross@rossmail.us> wrote: > Hi All, > > I’ve tried creating the “canned” reports available in the Tools repo and > we’re not able to get those reports to appear either locally, on our > production environment, or the core.collectionspace.org deployment. In > each case the "./scripts/install_report_records.sh” appears to execute > without problems but no reports are available afterwards. This is still > the case for the core.collectionspace.com instance- they have been run > there and when an attempt to rerun the script is made a series of outputs > result like this: > WARNING: Found an existing 'Loan Out Report' report record in the 'core' > tenant. No new record created. > Checking for an Object Exit Report report record in the 'core' tenant ... > > However when I log into the application no reports are available. > > If anyone has been able to get the “canned” reports to work I’d really > appreciate the steps that they took to get a good result. > > Thank you, > -Dave Ross > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org > >
AR
Aron Roberts
Mon, Jul 11, 2016 10:37 PM

Hi Dave,

Riffing on John's response, it appears this script defaults to installing
reports on a CollectionSpace server on localhost:

https://github.com/collectionspace/Tools/blob/d9fd6bc8bc26ed6cb4e8e6d222ecca7e54d5d5cd/scripts/create-report-records.sh#L88

If you're running the script over the network, against a non-local,
production CollectionSpace server, you'd replace 'localhost' with the
hostname or IP address of that server.

If this is not the issue, two other things you might try, right off:

  • Verifying that the report records are present via a Services REST API
    call. You can do this most simply in your browser, by first logging in as
    an admin user in the appropriate tenant in your production instance, and
    then visiting this URL (substituting your hostname and port as appropriate):

http://yourhost:yourport/cspace-services/reports

  • Ensuring that you're visiting the appropriate record type(s), in the
    relevant tenant, in the CollectionSpace UI, to be able to view available
    reports in the Run Report dropdown menu. (Visiting the Acquisition record
    in the 'core' tenant might be a good place to start, as that record has
    three different types of reports associated with it.)

Aron

On Mon, Jul 11, 2016 at 2:10 PM, John B Lowe jblowe@berkeley.edu wrote:

Dave,

I had just a quick look at the scripts you mentioned. If I read them
correctly, they will only install report on servers with hostnames like
"<xxx>.collectionspace.org", which I doubt is the case for your servers
(even, I suspect, for what you call the "core.collectionspace.org
deployment", since that hostname is not really available to you.)

If I'm right, you'll need to edit the scripts to get them to work...

I also have a feeling that when you are running the scripts on the "the
core.collectionspace.com [sic] instance" -- probably the scripts are
referencing the actually server, which you may not be able to modify...

Good hunting,

John

On Sun, Jul 10, 2016 at 7:56 PM, Dave Ross dross@rossmail.us wrote:

Hi All,

I’ve tried creating the “canned” reports available in the Tools repo and
we’re not able to get those reports to appear either locally, on our
production environment, or the core.collectionspace.org deployment.  In
each case the "./scripts/install_report_records.sh” appears to execute
without problems but no reports are available afterwards.  This is still
the case for the core.collectionspace.com instance- they have been run
there and when an attempt to rerun the script is made a series of outputs
result like this:
WARNING: Found an existing 'Loan Out Report' report record in the 'core'
tenant. No new record created.
Checking for an Object Exit Report report record in the 'core' tenant ...

However when I log into the application no reports are available.

If anyone has been able to get the “canned” reports to work I’d really
appreciate the steps that they took to get a good result.

Thank you,
-Dave Ross


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Hi Dave, Riffing on John's response, it appears this script defaults to installing reports on a CollectionSpace server on localhost: https://github.com/collectionspace/Tools/blob/d9fd6bc8bc26ed6cb4e8e6d222ecca7e54d5d5cd/scripts/create-report-records.sh#L88 If you're running the script over the network, against a non-local, production CollectionSpace server, you'd replace 'localhost' with the hostname or IP address of that server. If this is not the issue, two other things you might try, right off: - Verifying that the report records are present via a Services REST API call. You can do this most simply in your browser, by first logging in as an admin user in the appropriate tenant in your production instance, and then visiting this URL (substituting your hostname and port as appropriate): http://yourhost:yourport/cspace-services/reports - Ensuring that you're visiting the appropriate record type(s), in the relevant tenant, in the CollectionSpace UI, to be able to view available reports in the Run Report dropdown menu. (Visiting the Acquisition record in the 'core' tenant might be a good place to start, as that record has three different types of reports associated with it.) Aron On Mon, Jul 11, 2016 at 2:10 PM, John B Lowe <jblowe@berkeley.edu> wrote: > Dave, > > I had just a quick look at the scripts you mentioned. If I read them > correctly, they will only install report on servers with hostnames like > "<xxx>.collectionspace.org", which I doubt is the case for your servers > (even, I suspect, for what you call the "core.collectionspace.org > deployment", since that hostname is not really available to you.) > > If I'm right, you'll need to edit the scripts to get them to work... > > I also have a feeling that when you are running the scripts on the "the > core.collectionspace.com [sic] instance" -- probably the scripts are > referencing the actually server, which you may not be able to modify... > > Good hunting, > > John > > On Sun, Jul 10, 2016 at 7:56 PM, Dave Ross <dross@rossmail.us> wrote: > >> Hi All, >> >> I’ve tried creating the “canned” reports available in the Tools repo and >> we’re not able to get those reports to appear either locally, on our >> production environment, or the core.collectionspace.org deployment. In >> each case the "./scripts/install_report_records.sh” appears to execute >> without problems but no reports are available afterwards. This is still >> the case for the core.collectionspace.com instance- they have been run >> there and when an attempt to rerun the script is made a series of outputs >> result like this: >> WARNING: Found an existing 'Loan Out Report' report record in the 'core' >> tenant. No new record created. >> Checking for an Object Exit Report report record in the 'core' tenant ... >> >> However when I log into the application no reports are available. >> >> If anyone has been able to get the “canned” reports to work I’d really >> appreciate the steps that they took to get a good result. >> >> Thank you, >> -Dave Ross >> >> >> _______________________________________________ >> Talk mailing list >> Talk@lists.collectionspace.org >> >> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >> >> > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org > >
JB
John B Lowe
Tue, Jul 12, 2016 9:13 PM

Dave,

You can try a different set of scripts to maintain reports:

https://github.com/cspace-deployment/Tools/tree/master/reports/helpers

I just made a pass at this suite to update documentation and code
details... the scripts may actually work as documented!

NB: this suite ONLY maintains the "report records" in CSpace -- you have to
copy the report files (".jrxml files") to the correct server directory
yourself.

Good hunting, let me know if you have any success (or failure) with these
tools.

John

On Mon, Jul 11, 2016 at 3:37 PM, Aron Roberts aron@socrates.berkeley.edu
wrote:

Hi Dave,

Riffing on John's response, it appears this script defaults to installing
reports on a CollectionSpace server on localhost:

https://github.com/collectionspace/Tools/blob/d9fd6bc8bc26ed6cb4e8e6d222ecca7e54d5d5cd/scripts/create-report-records.sh#L88

If you're running the script over the network, against a non-local,
production CollectionSpace server, you'd replace 'localhost' with the
hostname or IP address of that server.

If this is not the issue, two other things you might try, right off:

  • Verifying that the report records are present via a Services REST API
    call. You can do this most simply in your browser, by first logging in as
    an admin user in the appropriate tenant in your production instance, and
    then visiting this URL (substituting your hostname and port as appropriate):

http://yourhost:yourport/cspace-services/reports

  • Ensuring that you're visiting the appropriate record type(s), in the
    relevant tenant, in the CollectionSpace UI, to be able to view available
    reports in the Run Report dropdown menu. (Visiting the Acquisition record
    in the 'core' tenant might be a good place to start, as that record has
    three different types of reports associated with it.)

Aron

On Mon, Jul 11, 2016 at 2:10 PM, John B Lowe jblowe@berkeley.edu wrote:

Dave,

I had just a quick look at the scripts you mentioned. If I read them
correctly, they will only install report on servers with hostnames like
"<xxx>.collectionspace.org", which I doubt is the case for your servers
(even, I suspect, for what you call the "core.collectionspace.org
deployment", since that hostname is not really available to you.)

If I'm right, you'll need to edit the scripts to get them to work...

I also have a feeling that when you are running the scripts on the "the
core.collectionspace.com [sic] instance" -- probably the scripts are
referencing the actually server, which you may not be able to modify...

Good hunting,

John

On Sun, Jul 10, 2016 at 7:56 PM, Dave Ross dross@rossmail.us wrote:

Hi All,

I’ve tried creating the “canned” reports available in the Tools repo and
we’re not able to get those reports to appear either locally, on our
production environment, or the core.collectionspace.org deployment.  In
each case the "./scripts/install_report_records.sh” appears to execute
without problems but no reports are available afterwards.  This is still
the case for the core.collectionspace.com instance- they have been run
there and when an attempt to rerun the script is made a series of outputs
result like this:
WARNING: Found an existing 'Loan Out Report' report record in the 'core'
tenant. No new record created.
Checking for an Object Exit Report report record in the 'core' tenant ...

However when I log into the application no reports are available.

If anyone has been able to get the “canned” reports to work I’d really
appreciate the steps that they took to get a good result.

Thank you,
-Dave Ross


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Dave, You can try a *different* set of scripts to maintain reports: https://github.com/cspace-deployment/Tools/tree/master/reports/helpers I just made a pass at this suite to update documentation and code details... the scripts *may* actually work as documented! NB: this suite ONLY maintains the "report records" in CSpace -- you have to copy the report files (".jrxml files") to the correct server directory yourself. Good hunting, let me know if you have any success (or failure) with these tools. John On Mon, Jul 11, 2016 at 3:37 PM, Aron Roberts <aron@socrates.berkeley.edu> wrote: > Hi Dave, > > Riffing on John's response, it appears this script defaults to installing > reports on a CollectionSpace server on localhost: > > > https://github.com/collectionspace/Tools/blob/d9fd6bc8bc26ed6cb4e8e6d222ecca7e54d5d5cd/scripts/create-report-records.sh#L88 > > If you're running the script over the network, against a non-local, > production CollectionSpace server, you'd replace 'localhost' with the > hostname or IP address of that server. > > If this is not the issue, two other things you might try, right off: > > - Verifying that the report records are present via a Services REST API > call. You can do this most simply in your browser, by first logging in as > an admin user in the appropriate tenant in your production instance, and > then visiting this URL (substituting your hostname and port as appropriate): > > http://yourhost:yourport/cspace-services/reports > > - Ensuring that you're visiting the appropriate record type(s), in the > relevant tenant, in the CollectionSpace UI, to be able to view available > reports in the Run Report dropdown menu. (Visiting the Acquisition record > in the 'core' tenant might be a good place to start, as that record has > three different types of reports associated with it.) > > Aron > > On Mon, Jul 11, 2016 at 2:10 PM, John B Lowe <jblowe@berkeley.edu> wrote: > >> Dave, >> >> I had just a quick look at the scripts you mentioned. If I read them >> correctly, they will only install report on servers with hostnames like >> "<xxx>.collectionspace.org", which I doubt is the case for your servers >> (even, I suspect, for what you call the "core.collectionspace.org >> deployment", since that hostname is not really available to you.) >> >> If I'm right, you'll need to edit the scripts to get them to work... >> >> I also have a feeling that when you are running the scripts on the "the >> core.collectionspace.com [sic] instance" -- probably the scripts are >> referencing the actually server, which you may not be able to modify... >> >> Good hunting, >> >> John >> >> On Sun, Jul 10, 2016 at 7:56 PM, Dave Ross <dross@rossmail.us> wrote: >> >>> Hi All, >>> >>> I’ve tried creating the “canned” reports available in the Tools repo and >>> we’re not able to get those reports to appear either locally, on our >>> production environment, or the core.collectionspace.org deployment. In >>> each case the "./scripts/install_report_records.sh” appears to execute >>> without problems but no reports are available afterwards. This is still >>> the case for the core.collectionspace.com instance- they have been run >>> there and when an attempt to rerun the script is made a series of outputs >>> result like this: >>> WARNING: Found an existing 'Loan Out Report' report record in the 'core' >>> tenant. No new record created. >>> Checking for an Object Exit Report report record in the 'core' tenant ... >>> >>> However when I log into the application no reports are available. >>> >>> If anyone has been able to get the “canned” reports to work I’d really >>> appreciate the steps that they took to get a good result. >>> >>> Thank you, >>> -Dave Ross >>> >>> >>> _______________________________________________ >>> Talk mailing list >>> Talk@lists.collectionspace.org >>> >>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >>> >>> >> >> _______________________________________________ >> Talk mailing list >> Talk@lists.collectionspace.org >> >> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >> >> >