Installation Challenge (Note that I am using a Web Version Installation)

I am getting this problem: Drupal\Core\Database\DatabaseExceptionWrapper : SQLSTATE[42704]: Undefined object: 7 ERROR: unrecognized configuration parameter “bytea_output”: SHOW bytea_output; Array ( ) in install_database_errors() (line 1216 of core/includes/install.core.inc ).

I collapsed the Dropdown and got this log: install_database_errors() (Line: 182)
Drupal\Core\Installer\Form\SiteSettingsForm->getDatabaseErrors() (Line: 165)
Drupal\Core\Installer\Form\SiteSettingsForm->validateForm()
call_user_func_array() (Line: 82)
Drupal\Core\Form\FormValidator->executeValidateHandlers() (Line: 275)
Drupal\Core\Form\FormValidator->doValidateForm() (Line: 118)
Drupal\Core\Form\FormValidator->validateForm() (Line: 593)
Drupal\Core\Form\FormBuilder->processForm() (Line: 325)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 959)
install_get_form() (Line: 625)
install_run_task() (Line: 578)
install_run_tasks() (Line: 121)
install_drupal() (Line: 48)

2 Likes

Hi @makeri001 welcome to the farmOS forum! :smile:

I haven’t encountered this error myself, but I found these relevant issues on drupal.org:

It sounds like PostgreSQL’s default value for bytea_output is hex, but Drupal tries to change it to escape. However, if the database user that Drupal connects with is not the owner of the database, it cannot make that change, and this error occurs (if I’m reading those issues correctly).

Are you able to make your database user the owner of the database? This might solve the problem for you.

Good luck! Please report back if this fixes it.

3 Likes

It worked! Big thanks to you!

2 Likes