-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install profile #160
Install profile #160
Conversation
I just tried this out on a clean checkout of isle-dc and it didn't complete successfully:
|
@seth-shaw-unlv try again- I just pushed a small patch for this issue. @dannylamb put install_profile in packagist, which means we can remove the package declaration islandora-deprecated/islandora-project#2 |
Status update - @dannylamb is going to get this back to the point where Composer installs cleanly, and then I'll jump back in and see if all the configs are landing correctly. |
This works with |
This works now with The issue was with trying to use https://github.com/islandora-devops/islandora-project. There's some additional things I added to the composer.json in https://github.com/Islandora-Devops/islandora-sandbox that would need to be added. Mostly just stuff around the config sync / config split directories. |
I can confirm that this works - thanks @dannylamb ! @seth-shaw-unlv this is ready for re-testing. Just |
Actually, if we can get confirmation that this is in a good working state, I'd love to move forward with merging PR... |
I started it up yesterday but it appeared to hang and I didn't get to take a closer look before I left for the day. Unfortunately I'm now stuck at home until we can confirm that the fever one of my kids developed isn't COVID. I can test as soon as I can get back to the office, but if someone else beats me to it, that would be great. |
Hello Seth
Hope ur kid is feeling better.
Have you tested this?
I did but it gave me error on installing modules?
Thanks
On Wed, 4 Aug 2021 at 10:21 PM Seth Shaw ***@***.***> wrote:
I started it up yesterday but it appeared to hang and I didn't get to take
a closer look before I left for the day. Unfortunately I'm now stuck at
home until we can confirm that the fever one of my kids developed isn't
COVID. I can test as soon as I can get back to the office, but if someone
else beats me to it, that would be great.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#160 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD2TQTNLZ254FQGLTMG7FF3T3GHK3ANCNFSM44C3PLMQ>
.
--
*Yamen Saleh*
|
Actually the error is on run Islandora Migrations, (output below)
In bootstrap.inc line 230:
The configuration directory type 'sync' does not exist
site:install [--db-url DB-URL] [--db-prefix DB-PREFIX] [--db-su DB-SU]
[--db-su-pw DB-SU-PW] [--account-name [ACCOUNT-NAME]] [--account-mail
[ACCOUNT-MAIL]] [--site-mail [SITE-MAIL]] [--account-pass ACCOUNT-PASS]
[--locale [LOCALE]] [--site-name [SITE-NAME]] [--site-pass SITE-PASS]
[--sites-subdir SITES-SUBDIR] [--config-dir CONFIG-DIR] [--existing-config]
[-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi]
[--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no]
[--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root ROOT]
[-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--xh-link
XH-LINK] [--druplicon] [--notify [NOTIFY]] [--] <command> [<profile>]...
[sudo] password for yamen:
Command pm:enable was not found. Drush was unable to query the database.
As
a result, many commands are unavailable. Re-run your command with
--debug
to see relevant log messages.
Command config:set was not found. Drush was unable to query the database.
A
s a result, many commands are unavailable. Re-run your command with
--debug
to see relevant log messages.
Command config:set was not found. Drush was unable to query the database.
A
s a result, many commands are unavailable. Re-run your command with
--debug
to see relevant log messages.
Command role:list was not found. Drush was unable to query the database.
As
a result, many commands are unavailable. Re-run your command with
--debug
to see relevant log messages.
Command role:create was not found. Drush was unable to query the
database.
As a result, many commands are unavailable. Re-run your command with
--debu
g to see relevant log messages.
Command user:role:add was not found. Drush was unable to query the
database
. As a result, many commands are unavailable. Re-run your command with
--de
bug to see relevant log messages.
make[1]: [Makefile:137: update-config-from-environment] Error 1 (ignored)
Command pm:enable was not found. Drush was unable to query the database.
As
a result, many commands are unavailable. Re-run your command with
--debug
to see relevant log messages.
Command config:import was not found. Drush was unable to query the
database
. As a result, many commands are unavailable. Re-run your command with
--de
bug to see relevant log messages.
make[1]: [Makefile:138: update-config-from-environment] Error 1 (ignored)
Command pm-list was not found. Drush was unable to query the database. As
a
result, many commands are unavailable. Re-run your command with --debug
to
see relevant log messages.
Command pm:enable was not found. Drush was unable to query the database.
As
a result, many commands are unavailable. Re-run your command with
--debug
to see relevant log messages.
Command pm:uninstall was not found. Drush was unable to query the
database.
As a result, many commands are unavailable. Re-run your command with
--deb
ug to see relevant log messages.
make[1]: [Makefile:140: update-config-from-environment] Error 1 (ignored)
Command pm-list was not found. Drush was unable to query the database. As
a
result, many commands are unavailable. Re-run your command with --debug
to
see relevant log messages.
Command pm-list was not found. Drush was unable to query the database. As
a
result, many commands are unavailable. Re-run your command with --debug
to
see relevant log messages.
Command pm-list was not found. Drush was unable to query the database. As
a
result, many commands are unavailable. Re-run your command with --debug
to
see relevant log messages.
Command pm-list was not found. Drush was unable to query the database. As
a
result, many commands are unavailable. Re-run your command with --debug
to
see relevant log messages.
Waiting for 80 on blazegraph to open.
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 736 100 18 100 718 34 1359 --:--:-- --:--:-- --:--:--
1391
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 283 100 61 100 222 36 132 0:00:01 0:00:01 --:--:--
169
Command migrate:import was not found. Drush was unable to query the
databas
e. As a result, many commands are unavailable. Re-run your command with
--d
ebug to see relevant log messages.
make[1]: *** [Makefile:149: run-islandora-migrations] Error 1
make: *** [Makefile:354: local] Error 2
…On Sat, Aug 7, 2021 at 2:54 PM Yamen Saleh ***@***.***> wrote:
Hello Seth
Hope ur kid is feeling better.
Have you tested this?
I did but it gave me error on installing modules?
Thanks
On Wed, 4 Aug 2021 at 10:21 PM Seth Shaw ***@***.***> wrote:
> I started it up yesterday but it appeared to hang and I didn't get to
> take a closer look before I left for the day. Unfortunately I'm now stuck
> at home until we can confirm that the fever one of my kids developed isn't
> COVID. I can test as soon as I can get back to the office, but if someone
> else beats me to it, that would be great.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#160 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AD2TQTNLZ254FQGLTMG7FF3T3GHK3ANCNFSM44C3PLMQ>
> .
>
--
*Yamen Saleh*
--
*Yamen Saleh*
|
He is feeling better, thanks! Fortunately it wasn't COVID. That said, I haven't been back to my office yet where I was testing this. I can give it a go on Monday. |
I came back to the office this morning and realized that it hadn't completed running before I left the office and was still waiting for a password. So I had it finish running. This run did complete finally and I didn't have @yamensaleh's error. (See the attached terminal output: isle-born-digital.log.) It appears to be working although there are some oddities about it: Going to the front page just after it finished gave me a 404: And after I created my first object it became my homepage: Also, I had to use the OpenSeadragon display hint because without it we only see the original file download link, rather than the Jpeg service file: |
Yes, finally it worked, but i had to use the demo values with the
local environment in the .env file to get it working properly
ENVIRONMENT=local
# If you're just demoing or are starting from scratch, use this.
INSTALL_EXISTING_CONFIG=false
DRUPAL_INSTALL_PROFILE=islandora_install_profile_demo
and i have the same scenario Seth had
…On Mon, Aug 9, 2021 at 9:31 PM Seth Shaw ***@***.***> wrote:
I came back to the office this morning and realized that it hadn't
completed running before I left the office and was still waiting for a
password. So I had it finish running. This run did complete finally and I
didn't have @yamensaleh <https://github.com/yamensaleh>'s error. (See the
attached terminal output: isle-born-digital.log
<https://github.com/Islandora-Devops/isle-dc/files/6956503/isle-born-digital.log>
.)
It appears to be working although there are some oddities about it:
Going to the front page just after it finished gave me a 404:
[image: Screen Shot 2021-08-09 at 11 17 29 AM]
<https://user-images.githubusercontent.com/29869988/128754836-9fcdcda8-79a7-45d3-ad01-948aa4619d7d.png>
And after I created my first object it became my homepage:
[image: Screen Shot 2021-08-09 at 11 23 38 AM]
<https://user-images.githubusercontent.com/29869988/128755555-b0285268-e105-4eca-9db8-264643072f0f.png>
Also, I had to use the OpenSeadragon display hint because without it we
only see the original file download link, rather than the Jpeg service file:
[image: Screen Shot 2021-08-09 at 11 26 03 AM]
<https://user-images.githubusercontent.com/29869988/128755569-a0af971b-e2f3-4729-9b7f-2a33d6163665.png>
[image: Screen Shot 2021-08-09 at 11 26 50 AM]
<https://user-images.githubusercontent.com/29869988/128755582-c5668ef5-829f-41fd-be4c-527312df5e7b.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#160 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD2TQTPTNUQ2SJKBQUKUMFTT4ANGLANCNFSM44C3PLMQ>
.
--
*Yamen Saleh*
|
Brought in upstream changes to resolve conflicts. |
See today's discussion for more details: https://github.com/Islandora/documentation/wiki/October-20,-2021 |
Corresponding VPAT: https://docs.google.com/document/d/1a1_DP4O3jjzB452UDAVrjOnGh1KzEJRR/edit |
I noticed that this PR is using islandora-sandbox along with the install profile repository. This means I was able to tell Ansible to use the project and profile. It runs up until the step to install openseadragon. Then I noticed that the composer.json file in the install-profile branch of islandora-sandbox declares the requirement on the dev-main branch: https://github.com/Islandora-Devops/islandora-sandbox/blob/install-profile/composer.json#L69
I see that the docker script uses git to clone the folder which is why the mismatch isn't caught. I think the Sandbox project would make a good base for the aim we have been discussing for a common project. |
@dannylamb Is this ready to test? |
Yes, Just make sure you set |
fixed the merge conflict 😅 |
@dannylamb I was left more confused about where this is going. Are we trying to get this merged in or was there something else that we're doing? |
This depends on a lot of stuff. If you merge it now it works, and
I'm swamped now but can make those PRs for those branches, though presumable everybody here as permissions to do that if they'd like. I didn't get around to making them b/c I wanted to QA it all a bit first since folks usually immediately descend onto a PR that isn't quite ready yet 😅 |
Also, just to be clear, this doesn't change |
@dannylamb are you seeing during during the build this error? I ran
|
@dannylamb To test this, am I expected to run |
See: |
…do and initial homepage
Update homepage info
adding -T option to run it via cron
Well I guess 2 weeks is long enough. I'll start the rebase process. |
501d9d4
to
2163ced
Compare
@wgilling will be testing this today or early next week |
Ok - here are my results today. Success. I cloned the isle-dc project locally and changed to this I added some taxonomy values for Family entities to refer to with one of the fields that is indexed by the default Solr config and was able to search for the related item based on the family name value. I even made a collection item and related the items to the collection and search and all other functionality worked as expected. The only errors during the internal Makefile's
I am not sure that those errors are critical or would needed addressed. Please let me know if any clarification is needed. |
If the site functions, then that can be ignored. That function runs twice iirc, so one failure out of the two i think is normal. TL;DR if you can make a derivative or put something in Fedora, then JWTs are properly configured and there's no issue. |
Our testing found a duplicate function in the Makefile which I have now removed. |
We've tested this again. Don's rebase is good, and we (Born-Digital) recommend that this be merged. I assume that someone else needs to hit the button, though? |
I don't think I have any code in this, so I'll hit the button. Now if we can put some attention to Islandora-Devops/isle-buildkit#170 ... and we'll be done. |
YAY thanks Rosie! |
Thanks everyone! |
Pulls in all the work to use Born Digital's new install profile.