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

Installation with the scripts ends with an error #2190

Closed
im-evko opened this issue Jan 20, 2022 · 3 comments
Closed

Installation with the scripts ends with an error #2190

im-evko opened this issue Jan 20, 2022 · 3 comments
Labels

Comments

@im-evko
Copy link

im-evko commented Jan 20, 2022

Steps To Reproduce

  1. Install ubuntu 20.04.
  2. upgrade to the latest version.
    3 Give the command wget https://raw.githubusercontent.com/nextcloud/vm/master/nextcloud_install_production.sh
  3. Give the command sudo bash nextcloud_install_production.sh

Expected Result

should be a clean install - but it is not

Actual Result

PostgreSQL username and/or password not valid
-> You need to enter details of an existing account.
Trace: #0 /var/www/nextcloud/lib/private/Setup.php(354): OC\Setup\PostgreSQL->setupDatabase()
#1 /var/www/nextcloud/core/Command/Maintenance/Install.php(108): OC\Setup->install()
#2 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Maintenance\Install->execute()
#3 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run()
#4 /var/www/nextcloud/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#5 /var/www/nextcloud/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#6 /var/www/nextcloud/lib/private/Console/Application.php(211): Symfony\Component\Console\Application->run()
#7 /var/www/nextcloud/console.php(99): OC\Console\Application->run()
#8 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#9 {main}

Previous: Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[08006] [7] FATAL: password authentication failed for user "ncadmin"
FATAL: password authentication failed for user "ncadmin"
Trace: #0 /var/www/nextcloud/lib/private/Setup/PostgreSQL.php(99): OC\DB\Connection->connect()
#1 /var/www/nextcloud/lib/private/Setup.php(354): OC\Setup\PostgreSQL->setupDatabase()
#2 /var/www/nextcloud/core/Command/Maintenance/Install.php(108): OC\Setup->install()
#3 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Maintenance\Install->execute()
#4 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run()
#5 /var/www/nextcloud/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#6 /var/www/nextcloud/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#7 /var/www/nextcloud/lib/private/Console/Application.php(211): Symfony\Component\Console\Application->run()
#8 /var/www/nextcloud/console.php(99): OC\Console\Application->run()
#9 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#10 {main}
Sorry but something went wrong. Please report this issue to https://github.com/nextcloud/vm/issues and include the output of the error message. Thank you!
sudo -u www-data php /var/www/nextcloud/occ maintenance:install --data-dir=/mnt/ncdata --database=pgsql --database-name=nextcloud_db --database-user=ncadmin --database-pass=*********************** --admin-user=ncadmin --admin-pass=nextcloud failed
Nextcloud is not installed - only a limited number of commands are available

Screenshots, Videos, or Pastebins

No response

Additional Context

No response

Build Version

cannot tell - downloaded it today

Environment

By using the scripts

Environment Details

Esxi 6.7.0 Update 3 (Build 17167734)

@im-evko im-evko added the bug label Jan 20, 2022
@enoch85
Copy link
Member

enoch85 commented Jan 20, 2022

Thanks!

I'll have a look at it.

@enoch85
Copy link
Member

enoch85 commented Jan 20, 2022

Just made a fresh install with the scripts and everything works as expected.

@enoch85 enoch85 closed this as completed Jan 20, 2022
@im-evko
Copy link
Author

im-evko commented Jan 20, 2022

Just made a fresh install with the scripts and everything works as expected.
Yes, indeed. I tried several times to install on the updated ubuntu 20.04.1. Then I reinstalled the virtual machine at once with 20.04.3 and everything installed immediately.
Sorry for the inconvenience.

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

No branches or pull requests

2 participants