[Evergreen-general] [EXTERNAL] srfsh login not working

Martin House martin.house at cpcc.edu
Wed Oct 20 15:23:11 EDT 2021


Excellent. I’ll try that.

Thank you!

Martin

On Wed, Oct 20, 2021 at 14:16 Garry Collum <gcollum at hotmail.com> wrote:

> Hi Martin,
>
>
>
> I installed Evergreen last week on a fresh VM using the ansible clone for
> ubuntu-18.04.  It failed when installing angular, but I commented out the
> Angular Test portion in the eg_web.yml file and it worked fine.
>
>
>
> The lines I commented out were:
>
>
>
> #- name: Angular test
>
> #become: true
>
> #become_user: opensrf
>
> #environment:
>
> #  CHROME_BIN:  /usr/bin/chromium-browser
>
> # shell: >
>
> #  cd {{repo_base}}/Evergreen/Open-ILS/src/eg2
>
> #  && npm run test
>
>
>
> To the end of that same file I believe I added lines for the Opac skin
> dependencies
>
>
>
>    - name: Opac skin dependencies
>
> npm: path={{repo_base}}/Evergreen/Open-ILS/web/opac/deps
>
> become: true
>
> become_user: opensrf
>
>
>
>
>
>
>
> *From: *Martin House via Evergreen-general
> <evergreen-general at list.evergreen-ils.org>
> *Sent: *Wednesday, October 20, 2021 1:55 PM
> *To: *Blake Henderson <blake at mobiusconsortium.org>; Evergreen Discussion
> Group <evergreen-general at list.evergreen-ils.org>
> *Subject: *Re: [Evergreen-general] [EXTERNAL] srfsh login not working
>
>
>
> Hi Blake,
>
> I was able to get the file downloaded and untared using the Ubuntu 20.04
> desktop because the git clone command throws the error that "https" is not
> supported. Eventually the install failed when installing the angular files.
> I'm now trying to install it on ubuntu server 20.04 w/o a GUI, but am stuck
> where I can't clone from git because of the same git clone error "fatal:
> protocol ' https' is not supported. I did not copy and paste the clone
> command but typed it in manually.
>
>
>
> Thanks, I'll keep working at it on my end.
>
>
>
> Martin
>
>
>
> On Wed, Oct 20, 2021 at 11:51 AM Blake Henderson via Evergreen-general <
> evergreen-general at list.evergreen-ils.org> wrote:
>
> Martin,
>
> Making a test server can be fairly automated these days. All of the
> install steps have been implemented using Ansible scripts. FWIW:
>
> # Use the latest ansible version for Ubuntu
> sudo apt-get install software-properties-common # sometimes necessary
> sudo apt-add-repository ppa:ansible/ansible
> sudo apt-get update
> sudo apt-get install git ansible
> git clone --branch ubuntu-18.04 \
>     https://github.com/berick/evergreen-ansible-installer.git
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_berick_evergreen-2Dansible-2Dinstaller.git&d=DwMDaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=Mi3gh4F_tLRtwRnKJpCAMteavCNTUf4PJKggFSO84GK33yePHj4UPWpRsCyeaUwY&s=_3hjJ0PUc-SN1Co1NESd51wipTgyC0Y0PX1hjGEI4YM&e=>
> cd evergreen-ansible-installer
> sudo ansible-playbook playbook.yml
>
>
> Or you can install the containerized test server (thereby not altering
> your system, but instead installing an image). Documentation here:
> https://hub.docker.com/r/mobiusoffice/evergreen-ils
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__hub.docker.com_r_mobiusoffice_evergreen-2Dils&d=DwMDaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=Mi3gh4F_tLRtwRnKJpCAMteavCNTUf4PJKggFSO84GK33yePHj4UPWpRsCyeaUwY&s=chtZnbUdsXNhm4pTxhgtF5b7Znd1s_ZF7ZFjsLtYmEw&e=>
>
> But the command is:
>
> docker run -it -p 80:80 -p 443:443 -p 210:210 -p 6001:6001 -p 32:22 -p
> 5433:5432 -h app.evergreen.com
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__app.evergreen.com&d=DwMF-g&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=hTXCFz8eM6HwKu0H2GWVCUOjW_pW9iUQ4KR6JIwQuS4a2e2EPqsULC-qn_L_uvCb&s=Q949_I50VA4asDelGrM6SIxNIQpQadqH6a7RCM_gAwM&e=>
> mobiusoffice/evergreen-ils
>
> This assumes you have docker installed on your system.
>
>
> -Blake-
>
> Conducting Magic
>
> Can consume data in any format
>
> MOBIUS
>
>
>
> On 10/20/2021 10:02 AM, Martin House via Evergreen-general wrote:
>
> Thank you so much. I will try your suggestions. Thank you very much for
> your response. I'd love to get a test version of this up and running.
>
>
>
> Martin
>
>
>
> On Wed, Oct 20, 2021 at 10:17 AM Jason Boyer <JBoyer at equinoxoli.org>
> wrote:
>
> That error implies that something is wrong with either the ejabberd config
> or the username / passwords for the ejabberd users in opensrf_core.xml, or
> potentially the database configuration for the service(s) logging that
> error.
>
>
>
> Some things to check:
>
> Is auth_password_format set to plain in the ejabberd config and was
> ejabberd restarted after that change?
>
> Were the 4 ejabberd users registered after the password format change or
> before?
>
> Do the ejabberd user names and passwords in opensrf_core.xml match the
> values you used when registering the users?
>
> Do *all* of the database configuration sections in opensrf.xml match the
> values for the Postgres user that you created? (If you used the
> --update-config option to eg_db_config then that should already be the case)
>
> Did you restart PostgreSQL after changing any values in postgresql.conf or
> pg_hba.conf?
>
> Can you connect to the database with psql using the username and password
> you used for Evergreen?
>
>
>
>
> --
> Jason Boyer
> Senior System Administrator
> Equinox Open Library Initiative
> JBoyer at equinoxOLI.org
> +1 (877) Open-ILS (673-6457)
> https://equinoxOLI.org/
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__equinoxOLI.org_&d=DwQFaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=asPu8BnzxbdZtaAWrtV9i_MG0ptUS6iJkGlpfGB3wOPVG5BJhaz3dowi3p4pgrxX&s=mG8djDSFT7hJm8Fq173IC3RA0wBx_VvpduqM3gETBAQ&e=>
>
>
>
> On Oct 20, 2021, at 9:17 AM, Martin House <martin.house at cpcc.edu> wrote:
>
>
>
> Morning,
>
> Thanks for your response Jason. I do have Evergreen installed, but noticed
> last night that when I try to run it is says that my server is not
> connected to a network. I wonder if that is the problem? I have gone
> through all the steps in the ReadMe for both opensrf and the Evergreen
> server install, so I feel a bit stuck right now.
>
>
>
> Thanks,
>
>
>
> Martin
>
>
>
> On Wed, Oct 20, 2021 at 8:55 AM Jason Boyer <JBoyer at equinoxoli.org> wrote:
>
> Hi Martin, have you also installed Evergreen at this point and followed
> all of the configuration steps as part of those instructions? The
> opensrf.xml and opensrf_core.xml files for Evergreen are significantly
> expanded on the versions included in opensrf itself. If Evergreen isn’t yet
> installed and its services running there’s nothing included in the base
> opensrf install that can be logged in to.
>
>
>
> Jason
>
>
> --
> Jason Boyer
> Senior System Administrator
> Equinox Open Library Initiative
> JBoyer at equinoxOLI.org
> +1 (877) Open-ILS (673-6457)
> https://equinoxOLI.org/
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__equinoxOLI.org_&d=DwQFaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=6nfXHcORzrD-CJ4ngSV7Jms-VhM-nXCT_dws1anlfCusv7L9Ws5qHUEi6pp0Krp1&s=6_waXRJ77HkuHcUVBDMwSs9US2_YONE05ss49i43gUM&e=>
>
>
>
> On Oct 19, 2021, at 7:54 PM, Martin House via Evergreen-general <
> evergreen-general at list.evergreen-ils.org> wrote:
>
>
>
> Hi Everyone,
>
> I could use some troubleshooting help. After much tinkering with the
> install on my VirtualBox running Ubuntu 18.4, I was able to get opensrf to
> work and have been successful with the installation instructions up to
> where I need to login to srfsh using the egadmin and password.
>
>
>
> When I ran the perl script it was my understanding that the <admin-user>
> and <admin-password> I entered for egadmin would generate that user, but
> now I'm not certain it did.
>
>
>
> I would appreciate some troubleshooting tips. While I found some, they
> were from 1.6, and I don't think that these will work.
>
>
>
> The error message I receive is that I cannot login using egadmin.
>
>
>
> I'd appreciate any suggestions on how to fix this.
>
>
>
> Sincerely,
>
>
>
> Martin
>
>
>
> --
>
> *Martin House, Ed.D*
> Assistant Director, Public Services
>
> Library
> Central Piedmont Community College
> Library, Central Campus
> P.O. Box 35009 Charlotte, NC 28235
> *t *704.330.6752 |
> cpcc.edu <http://www.cpcc.edu/>
>
> _______________________________________________
> Evergreen-general mailing list
> Evergreen-general at list.evergreen-ils.org
> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__list.evergreen-2Dils.org_cgi-2Dbin_mailman_listinfo_evergreen-2Dgeneral&d=DwQFaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=6nfXHcORzrD-CJ4ngSV7Jms-VhM-nXCT_dws1anlfCusv7L9Ws5qHUEi6pp0Krp1&s=g2xAu5ysaYiAwfzHDpR1AP1oxEv9gViSp6-JK7Yf79s&e=>
>
>
>
>
>
>
> --
>
> *Martin House, Ed.D*
> Assistant Director, Public Services
>
> Library
> Central Piedmont Community College
> Library, Central Campus
> P.O. Box 35009 Charlotte, NC 28235
> *t *704.330.6752 |
> cpcc.edu <http://www.cpcc.edu/>
>
>
>
>
>
>
> --
>
> *Martin House, Ed.D*
> Assistant Director, Public Services
>
> Library
> Central Piedmont Community College
> Library, Central Campus
> P.O. Box 35009 Charlotte, NC 28235
> *t *704.330.6752 |
> cpcc.edu <http://www.cpcc.edu/>
>
>
>
> _______________________________________________
>
> Evergreen-general mailing list
>
> Evergreen-general at list.evergreen-ils.org
>
> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general <https://urldefense.proofpoint.com/v2/url?u=http-3A__list.evergreen-2Dils.org_cgi-2Dbin_mailman_listinfo_evergreen-2Dgeneral&d=DwMDaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=Mi3gh4F_tLRtwRnKJpCAMteavCNTUf4PJKggFSO84GK33yePHj4UPWpRsCyeaUwY&s=7ghnmIfJIRe0-Tb44o6MkKIGUBDytDH71-mZ1xyPcV0&e=>
>
>
>
> _______________________________________________
> Evergreen-general mailing list
> Evergreen-general at list.evergreen-ils.org
>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__list.evergreen-2Dils.org_cgi-2Dbin_mailman_listinfo_evergreen-2Dgeneral&d=DwIGaQ&c=eyK8KBY19DualCOSet0JGw&r=otODVZ2rwF8eU8MhsxpDqHSkw7GQfXEkPFPzWvUV6mE&m=Mi3gh4F_tLRtwRnKJpCAMteavCNTUf4PJKggFSO84GK33yePHj4UPWpRsCyeaUwY&s=7ghnmIfJIRe0-Tb44o6MkKIGUBDytDH71-mZ1xyPcV0&e=
>
>
>
>
> --
>
> *Martin House, Ed.D*
> Assistant Director, Public Services
>
> Library
> Central Piedmont Community College
> Library, Central Campus
> P.O. Box 35009 Charlotte, NC 28235
> *t *704.330.6752 |
> cpcc.edu <http://www.cpcc.edu/>
>
>
>
-- 
Martin House
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.evergreen-ils.org/pipermail/evergreen-general/attachments/20211020/ec99e59a/attachment-0001.html>


More information about the Evergreen-general mailing list