Skip to content
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

Hands on #2122

Closed
Frazer-Nyambe opened this issue Jun 9, 2022 · 7 comments
Closed

Hands on #2122

Frazer-Nyambe opened this issue Jun 9, 2022 · 7 comments

Comments

@Frazer-Nyambe
Copy link

i am a beginner, kindly assist me with the challenges i'm facing during the Islandora Manual Installation on Ubuntu 20.04.

Run the Drupal installer with Drush:

when i run the code below:
drush -y site-install standard --db-url="pgsql://drupal:[email protected]:5432/drupal9" --site-name="Islandora 2.0" --account-name=islandora --account-pass=islandora

i get the results below:
You are about to:

  • DROP all tables in your 'drupal9' database.

// Do you want to continue?: yes.

[notice] Starting Drupal installation. This takes a while.
[notice] Performed install task: install_select_language
[notice] Performed install task: install_select_profile
[notice] Performed install task: install_load_profile
[notice] Performed install task: install_verify_requirements

In install.core.inc line 971:

Resolve all issues below to continue the installation. For help confi
guring your database server, see the installation handbook, or contact your hosting pr
ovider.

  • The byt
    ea_output
    setting is currently set to 'h
    ex
    ', but needs to be 'escape'. Chan
    ge this by running the following query: ALTER DATABASE "dr
    upal9" SET bytea_output = 'escape';
</
div>

@flummingbird
Copy link

flummingbird commented Jun 9, 2022 via email

@flummingbird
Copy link

flummingbird commented Jun 9, 2022 via email

@Frazer-Nyambe
Copy link
Author

Frazer-Nyambe commented Jun 10, 2022 via email

@jordandukart
Copy link
Member

jordandukart commented Jun 15, 2022

Hey @Frazer-Nyambe, the error message explains what the issue is. You would need to run the following:

The bytea_output setting is currently set to 'hex', but needs to be 'escape'. Change this by running the following query: ALTER DATABASE "drupal9" SET bytea_output = 'escape';

That is when logged into your database you would need to run ALTER DATABASE "drupal9" SET bytea_output = 'escape'; assumingdrupal9 is your database. If you want more context you could read into https://groups.drupal.org/node/199783.

@Frazer-Nyambe
Copy link
Author

Frazer-Nyambe commented Jun 21, 2022 via email

@Frazer-Nyambe
Copy link
Author

i'm now stuck on this step....

Creating a New Solr Core:

Initially, our new Solr core will contain a configuration copied from the example included with the installation, so that we have something to work with when we configure this on the Drupal side. We’ll later update this with generated configurations we create in Drupal.

cd /opt/solr
sudo mkdir -p /var/solr/data/SOLR_CORE/conf
sudo cp -r example/files/conf/* /var/solr/data/SOLR_CORE/conf
sudo chown -R solr:solr /var/solr
sudo -u solr bin/solr create -c SOLR_CORE -p 8983

Solr is running on localhost:8983, but i get the error below...
cp: cannot stat 'example/files/conf/*': No such file or directory

when i run the code below....
frazer@frazer-Islandora:/opt/solr$ sudo cp -r example/files/conf/* /var/solr/data/islandora8/conf

@flummingbird
Copy link

Frazer-Nyambe: Did we resolve this one? If so let's close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants