-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Description
I have used nextcloud-docker-dev to set up Nextcloud dev environment a few weeks ago. However now, when I try to set up a new environment, I get the following error during initial setup of Nextcloud.
nc-master-database-mysql-1 | 2022-09-18 15:43:56 0 [Note] mysqld: ready for connections.
nc-master-database-mysql-1 | Version: '10.5.17-MariaDB-1:10.5.17+maria~ubu2004' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
nc-master-database-mysql-1 | 2022-09-18 15:43:57 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '192.168.21.6' (This connection closed normally without authentication)
nc-master-nextcloud-1 | ✅ Database server ready
nc-master-nextcloud-1 | Nextcloud is not installed - only a limited number of commands are available
nc-master-nextcloud-1 | Add the host IP as host.docker.internal to /etc/hosts ...
nc-master-nextcloud-1 | database name will be nextcloud
nc-master-nextcloud-1 | 🔧 Starting auto installation
nc-master-database-mysql-1 | 2022-09-18 15:43:59 6 [Warning] Access denied for user 'root'@'192.168.21.6' (using password: YES)
nc-master-nextcloud-1 | MySQL username and/or password not valid
nc-master-nextcloud-1 | -> You need to enter details of an existing account.
nc-master-nextcloud-1 | Trace: #0 /var/www/html/lib/private/Setup.php(354): OC\Setup\MySQL->setupDatabase('admin')
nc-master-nextcloud-1 | #1 /var/www/html/core/Command/Maintenance/Install.php(105): OC\Setup->install(Array)
nc-master-nextcloud-1 | #2 /var/www/html/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Maintenance\Install->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
nc-master-nextcloud-1 | #3 /var/www/html/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
nc-master-nextcloud-1 | #4 /var/www/html/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Maintenance\Install), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
nc-master-nextcloud-1 | #5 /var/www/html/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
nc-master-nextcloud-1 | #6 /var/www/html/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
nc-master-nextcloud-1 | #7 /var/www/html/console.php(100): OC\Console\Application->run()
nc-master-nextcloud-1 | #8 /var/www/html/occ(11): require_once('/var/www/html/c...')
nc-master-nextcloud-1 | #9 {main}
This seems to be related to a recent change: nextcloud/server@33d7a96
After I had reverted changes from this commit, the setup completed successfully.
nc-master-database-mysql-1 | 2022-09-18 15:47:06 0 [Note] mysqld: ready for connections.
nc-master-database-mysql-1 | Version: '10.5.17-MariaDB-1:10.5.17+maria~ubu2004' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
nc-master-database-mysql-1 | 2022-09-18 15:47:07 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'unauthenticated' host: '192.168.21.6' (This connection closed normally without authentication)
nc-master-nextcloud-1 | ✅ Database server ready
nc-master-nextcloud-1 | Nextcloud is not installed - only a limited number of commands are available
nc-master-nextcloud-1 | Add the host IP as host.docker.internal to /etc/hosts ...
nc-master-nextcloud-1 | database name will be nextcloud
nc-master-nextcloud-1 | 🔧 Starting auto installation
nc-master-nextcloud-1 | Nextcloud was successfully installed
Metadata
Metadata
Assignees
Labels
No labels