talk@lists.collectionspace.org

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

View all threads

collectionspace installation Fails

AB
Andreas Baumann
Fri, Jun 7, 2019 11:31 AM

Hi

I'm trying to install collectionspace on a dedicated Ubuntu 18.04 server.
*I'm following the instructions on this site: *
https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/667353186/Automated+installer+for+CollectionSpace

After starting the installation there are a few warning messages:

Warning: Unknown variable: '::env_tmpdir'. (file:
/usr/share/puppet/modules/cspace_environment/manifests/tempdir.pp,

                                line: 26, column: 13)

Warning: Unknown variable: 'temp'. (file:
/usr/share/puppet/modules/cspace_environment/manifests/tempdir.pp, line: 38

                                       , column: 9)

After some time there are again several warning messages:

Warning: Unknown variable: '::env_tmpdir'. (file:
/usr/share/puppet/modules/cspace_environment/manifests/tempdir.pp,

                                line: 26, column: 13)

Warning: Unknown variable: 'temp'. (file:
/usr/share/puppet/modules/cspace_environment/manifests/tempdir.pp, line: 38

                                       , column: 9)

Warning: Unknown variable: '::env_ant_opts'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 72,

                              column: 9)

Warning: Unknown variable: '::env_catalina_home'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, line

                         : 79, column: 9)

Warning: Unknown variable: '::env_catalina_opts'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, line

                         : 86, column: 9)

Warning: Unknown variable: '::env_catalina_pid'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, line:

                          93, column: 9)

Warning: Unknown variable: '::env_cspace_instance_id'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp,

                    line: 100, column: 9)

Warning: Unknown variable: '::env_cspace_jeeserver_home'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.

                 pp, line: 107, column: 9)

Warning: Unknown variable: '::env_jee_port'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 114

                             , column: 9)

Warning: Unknown variable: '::env_db_admin_user'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, line

                         : 121, column: 9)

Warning: Unknown variable: '::env_db_admin_password'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp,

                    line: 127, column: 9)

Warning: Unknown variable: '::env_db_csadmin_user'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, li

                       ne: 133, column: 9)

Warning: Unknown variable: '::env_db_csadmin_password'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp

                   , line: 139, column: 9)

Warning: Unknown variable: '::env_db_cspace_password'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp,

                    line: 146, column: 9)

Warning: Unknown variable: '::env_db_host'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 153,

                                column: 9)

Warning: Unknown variable: '::env_db_nuxeo_password'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp,

                    line: 160, column: 9)

Warning: Unknown variable: '::env_db_port'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 167,

                                column: 9)

Warning: Unknown variable: '::env_cspace_core_create_disabled_opt'. (file:
/usr/share/puppet/modules/cspace_user/mani

       fests/env.pp, line: 174, column: 9)

Warning: Unknown variable: '::env_db_reader_password'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp,

                    line: 181, column: 9)

After this warning messages the installation stops with this error:

Error: Evaluation Error: Error while evaluating a Function Call, undefined
method `sub' for nil:NilClass (file: /usr/

       share/puppet/modules/cspace_user/manifests/env.pp, line: 189,

column: 16) on node kr-cspace1.lan.konservator-restaura

                   tor.ch

Installation of the CollectionSpace server failed: see output for details.

Could you please help me to fix this problem.

Best

Andreas Baumann
Pflanzschulstrasse 33
8004 Zürich
079 43 291 43

*Hi* *I'm trying to install collectionspace on a dedicated Ubuntu 18.04 server.* *I'm following the instructions on this site: * https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/667353186/Automated+installer+for+CollectionSpace *After starting the installation there are a few warning messages:* Warning: Unknown variable: '::env_tmpdir'. (file: /usr/share/puppet/modules/cspace_environment/manifests/tempdir.pp, line: 26, column: 13) Warning: Unknown variable: 'temp'. (file: /usr/share/puppet/modules/cspace_environment/manifests/tempdir.pp, line: 38 , column: 9) *After some time there are again several warning messages:* Warning: Unknown variable: '::env_tmpdir'. (file: /usr/share/puppet/modules/cspace_environment/manifests/tempdir.pp, line: 26, column: 13) Warning: Unknown variable: 'temp'. (file: /usr/share/puppet/modules/cspace_environment/manifests/tempdir.pp, line: 38 , column: 9) Warning: Unknown variable: '::env_ant_opts'. (file: /usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 72, column: 9) Warning: Unknown variable: '::env_catalina_home'. (file: /usr/share/puppet/modules/cspace_user/manifests/env.pp, line : 79, column: 9) Warning: Unknown variable: '::env_catalina_opts'. (file: /usr/share/puppet/modules/cspace_user/manifests/env.pp, line : 86, column: 9) Warning: Unknown variable: '::env_catalina_pid'. (file: /usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 93, column: 9) Warning: Unknown variable: '::env_cspace_instance_id'. (file: /usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 100, column: 9) Warning: Unknown variable: '::env_cspace_jeeserver_home'. (file: /usr/share/puppet/modules/cspace_user/manifests/env. pp, line: 107, column: 9) Warning: Unknown variable: '::env_jee_port'. (file: /usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 114 , column: 9) Warning: Unknown variable: '::env_db_admin_user'. (file: /usr/share/puppet/modules/cspace_user/manifests/env.pp, line : 121, column: 9) Warning: Unknown variable: '::env_db_admin_password'. (file: /usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 127, column: 9) Warning: Unknown variable: '::env_db_csadmin_user'. (file: /usr/share/puppet/modules/cspace_user/manifests/env.pp, li ne: 133, column: 9) Warning: Unknown variable: '::env_db_csadmin_password'. (file: /usr/share/puppet/modules/cspace_user/manifests/env.pp , line: 139, column: 9) Warning: Unknown variable: '::env_db_cspace_password'. (file: /usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 146, column: 9) Warning: Unknown variable: '::env_db_host'. (file: /usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 153, column: 9) Warning: Unknown variable: '::env_db_nuxeo_password'. (file: /usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 160, column: 9) Warning: Unknown variable: '::env_db_port'. (file: /usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 167, column: 9) Warning: Unknown variable: '::env_cspace_core_create_disabled_opt'. (file: /usr/share/puppet/modules/cspace_user/mani fests/env.pp, line: 174, column: 9) Warning: Unknown variable: '::env_db_reader_password'. (file: /usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 181, column: 9) *After this warning messages the installation stops with this error:* Error: Evaluation Error: Error while evaluating a Function Call, undefined method `sub' for nil:NilClass (file: /usr/ share/puppet/modules/cspace_user/manifests/env.pp, line: 189, column: 16) on node kr-cspace1.lan.konservator-restaura tor.ch Installation of the CollectionSpace server failed: see output for details. Could you please help me to fix this problem. Best Andreas Baumann Pflanzschulstrasse 33 8004 Zürich 079 43 291 43
AB
Andreas Baumann
Tue, Jun 11, 2019 8:37 AM

Hi

After changing the locale from de_ch to en_US.UTF-8 the installation was
successful.
But there are still errors and warnings:

Error: 'ant deploy' returned 1 instead of one of [0]
Error: /Stage[main]/Cspace_source/Exec[Deploy from Services layer
source]/returns: change from 'notrun' to ['0'] failed: 'ant deploy'
returned 1 instead of one of [0]
Notice: /Stage[main]/Cspace_source/Notify[Creating databases]: Dependency
Exec[Deploy from Services layer source] has failures: true
Warning: /Stage[main]/Cspace_source/Notify[Creating databases]: Skipping
because of failed dependencies
Notice: /Stage[main]/Cspace_source/Exec[Create databases from Services
layer source]: Dependency Exec[Deploy from Services layer source] has
failures: true
Warning: /Stage[main]/Cspace_source/Exec[Create databases from Services
layer source]: Skipping because of failed dependencies
Notice: /Stage[main]/Cspace_source/Notify[Initializing default user
accounts]: Dependency Exec[Deploy from Services layer source] has failures:
true
Warning: /Stage[main]/Cspace_source/Notify[Initializing default user
accounts]: Skipping because of failed dependencies
Notice: /Stage[main]/Cspace_source/Exec[Initialize default user accounts
from Services layer source]: Dependency Exec[Deploy from Services layer
source] has failures: true
Warning: /Stage[main]/Cspace_source/Exec[Initialize default user accounts
from Services layer source]: Skipping because of failed dependencies
Notice: Applied catalog in 1282.03 seconds
Installation of the CollectionSpace was successful.  See
http://bit.ly/2a9pfyP for instructions on launching/starting
CollectionSpace.

Logging in as the cspace User and starting the server is possible. It's
also possible to open the  URL http://<ip-address>:8180/cspace/core/, but
it's not possible to login with the default username/passwords.

Any hint to solve these problems?

Best
Andreas

Am Fr., 7. Juni 2019 um 13:31 Uhr schrieb Andreas Baumann <mail@abaumann.ch

:

Hi

I'm trying to install collectionspace on a dedicated Ubuntu 18.04 server.
*I'm following the instructions on this site: *
https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/667353186/Automated+installer+for+CollectionSpace

After starting the installation there are a few warning messages:

Warning: Unknown variable: '::env_tmpdir'. (file:
/usr/share/puppet/modules/cspace_environment/manifests/tempdir.pp,

                                 line: 26, column: 13)

Warning: Unknown variable: 'temp'. (file:
/usr/share/puppet/modules/cspace_environment/manifests/tempdir.pp, line: 38

                                        , column: 9)

After some time there are again several warning messages:

Warning: Unknown variable: '::env_tmpdir'. (file:
/usr/share/puppet/modules/cspace_environment/manifests/tempdir.pp,

                                 line: 26, column: 13)

Warning: Unknown variable: 'temp'. (file:
/usr/share/puppet/modules/cspace_environment/manifests/tempdir.pp, line: 38

                                        , column: 9)

Warning: Unknown variable: '::env_ant_opts'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 72,

                               column: 9)

Warning: Unknown variable: '::env_catalina_home'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, line

                          : 79, column: 9)

Warning: Unknown variable: '::env_catalina_opts'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, line

                          : 86, column: 9)

Warning: Unknown variable: '::env_catalina_pid'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, line:

                           93, column: 9)

Warning: Unknown variable: '::env_cspace_instance_id'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp,

                     line: 100, column: 9)

Warning: Unknown variable: '::env_cspace_jeeserver_home'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.

                  pp, line: 107, column: 9)

Warning: Unknown variable: '::env_jee_port'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 114

                              , column: 9)

Warning: Unknown variable: '::env_db_admin_user'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, line

                          : 121, column: 9)

Warning: Unknown variable: '::env_db_admin_password'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp,

                     line: 127, column: 9)

Warning: Unknown variable: '::env_db_csadmin_user'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, li

                        ne: 133, column: 9)

Warning: Unknown variable: '::env_db_csadmin_password'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp

                    , line: 139, column: 9)

Warning: Unknown variable: '::env_db_cspace_password'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp,

                     line: 146, column: 9)

Warning: Unknown variable: '::env_db_host'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 153,

                                 column: 9)

Warning: Unknown variable: '::env_db_nuxeo_password'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp,

                     line: 160, column: 9)

Warning: Unknown variable: '::env_db_port'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 167,

                                 column: 9)

Warning: Unknown variable: '::env_cspace_core_create_disabled_opt'. (file:
/usr/share/puppet/modules/cspace_user/mani

        fests/env.pp, line: 174, column: 9)

Warning: Unknown variable: '::env_db_reader_password'. (file:
/usr/share/puppet/modules/cspace_user/manifests/env.pp,

                     line: 181, column: 9)

After this warning messages the installation stops with this error:

Error: Evaluation Error: Error while evaluating a Function Call, undefined
method `sub' for nil:NilClass (file: /usr/

        share/puppet/modules/cspace_user/manifests/env.pp, line: 189,

column: 16) on node kr-cspace1.lan.konservator-restaura

                    tor.ch

Installation of the CollectionSpace server failed: see output for details.

Could you please help me to fix this problem.

Best

Andreas Baumann
Pflanzschulstrasse 33
8004 Zürich
079 43 291 43

Hi After changing the locale from de_ch to en_US.UTF-8 the installation was successful. But there are still errors and warnings: Error: 'ant deploy' returned 1 instead of one of [0] Error: /Stage[main]/Cspace_source/Exec[Deploy from Services layer source]/returns: change from 'notrun' to ['0'] failed: 'ant deploy' returned 1 instead of one of [0] Notice: /Stage[main]/Cspace_source/Notify[Creating databases]: Dependency Exec[Deploy from Services layer source] has failures: true Warning: /Stage[main]/Cspace_source/Notify[Creating databases]: Skipping because of failed dependencies Notice: /Stage[main]/Cspace_source/Exec[Create databases from Services layer source]: Dependency Exec[Deploy from Services layer source] has failures: true Warning: /Stage[main]/Cspace_source/Exec[Create databases from Services layer source]: Skipping because of failed dependencies Notice: /Stage[main]/Cspace_source/Notify[Initializing default user accounts]: Dependency Exec[Deploy from Services layer source] has failures: true Warning: /Stage[main]/Cspace_source/Notify[Initializing default user accounts]: Skipping because of failed dependencies Notice: /Stage[main]/Cspace_source/Exec[Initialize default user accounts from Services layer source]: Dependency Exec[Deploy from Services layer source] has failures: true Warning: /Stage[main]/Cspace_source/Exec[Initialize default user accounts from Services layer source]: Skipping because of failed dependencies Notice: Applied catalog in 1282.03 seconds Installation of the CollectionSpace was successful. See http://bit.ly/2a9pfyP for instructions on launching/starting CollectionSpace. Logging in as the cspace User and starting the server is possible. It's also possible to open the URL http://<ip-address>:8180/cspace/core/, but it's not possible to login with the default username/passwords. Any hint to solve these problems? Best Andreas Am Fr., 7. Juni 2019 um 13:31 Uhr schrieb Andreas Baumann <mail@abaumann.ch >: > *Hi* > > *I'm trying to install collectionspace on a dedicated Ubuntu 18.04 server.* > *I'm following the instructions on this site: * > https://collectionspace.atlassian.net/wiki/spaces/DOC/pages/667353186/Automated+installer+for+CollectionSpace > > *After starting the installation there are a few warning messages:* > > Warning: Unknown variable: '::env_tmpdir'. (file: > /usr/share/puppet/modules/cspace_environment/manifests/tempdir.pp, > > line: 26, column: 13) > Warning: Unknown variable: 'temp'. (file: > /usr/share/puppet/modules/cspace_environment/manifests/tempdir.pp, line: 38 > > , column: 9) > > > > *After some time there are again several warning messages:* > > Warning: Unknown variable: '::env_tmpdir'. (file: > /usr/share/puppet/modules/cspace_environment/manifests/tempdir.pp, > > line: 26, column: 13) > Warning: Unknown variable: 'temp'. (file: > /usr/share/puppet/modules/cspace_environment/manifests/tempdir.pp, line: 38 > > , column: 9) > Warning: Unknown variable: '::env_ant_opts'. (file: > /usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 72, > > column: 9) > Warning: Unknown variable: '::env_catalina_home'. (file: > /usr/share/puppet/modules/cspace_user/manifests/env.pp, line > > : 79, column: 9) > Warning: Unknown variable: '::env_catalina_opts'. (file: > /usr/share/puppet/modules/cspace_user/manifests/env.pp, line > > : 86, column: 9) > Warning: Unknown variable: '::env_catalina_pid'. (file: > /usr/share/puppet/modules/cspace_user/manifests/env.pp, line: > > 93, column: 9) > Warning: Unknown variable: '::env_cspace_instance_id'. (file: > /usr/share/puppet/modules/cspace_user/manifests/env.pp, > > line: 100, column: 9) > Warning: Unknown variable: '::env_cspace_jeeserver_home'. (file: > /usr/share/puppet/modules/cspace_user/manifests/env. > > pp, line: 107, column: 9) > Warning: Unknown variable: '::env_jee_port'. (file: > /usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 114 > > , column: 9) > Warning: Unknown variable: '::env_db_admin_user'. (file: > /usr/share/puppet/modules/cspace_user/manifests/env.pp, line > > : 121, column: 9) > Warning: Unknown variable: '::env_db_admin_password'. (file: > /usr/share/puppet/modules/cspace_user/manifests/env.pp, > > line: 127, column: 9) > Warning: Unknown variable: '::env_db_csadmin_user'. (file: > /usr/share/puppet/modules/cspace_user/manifests/env.pp, li > > ne: 133, column: 9) > Warning: Unknown variable: '::env_db_csadmin_password'. (file: > /usr/share/puppet/modules/cspace_user/manifests/env.pp > > , line: 139, column: 9) > Warning: Unknown variable: '::env_db_cspace_password'. (file: > /usr/share/puppet/modules/cspace_user/manifests/env.pp, > > line: 146, column: 9) > Warning: Unknown variable: '::env_db_host'. (file: > /usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 153, > > column: 9) > Warning: Unknown variable: '::env_db_nuxeo_password'. (file: > /usr/share/puppet/modules/cspace_user/manifests/env.pp, > > line: 160, column: 9) > Warning: Unknown variable: '::env_db_port'. (file: > /usr/share/puppet/modules/cspace_user/manifests/env.pp, line: 167, > > column: 9) > Warning: Unknown variable: '::env_cspace_core_create_disabled_opt'. (file: > /usr/share/puppet/modules/cspace_user/mani > > fests/env.pp, line: 174, column: 9) > Warning: Unknown variable: '::env_db_reader_password'. (file: > /usr/share/puppet/modules/cspace_user/manifests/env.pp, > > line: 181, column: 9) > > > *After this warning messages the installation stops with this error:* > > Error: Evaluation Error: Error while evaluating a Function Call, undefined > method `sub' for nil:NilClass (file: /usr/ > > share/puppet/modules/cspace_user/manifests/env.pp, line: 189, > column: 16) on node kr-cspace1.lan.konservator-restaura > > tor.ch > Installation of the CollectionSpace server failed: see output for details. > > Could you please help me to fix this problem. > > Best > > > Andreas Baumann > Pflanzschulstrasse 33 > 8004 Zürich > 079 43 291 43 >