You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to configure nextcloud to mariadb via unix socket without a password, nextcloud/docker#1284, however when I use db:convert-type, I get a 'Connection refused` error.
Steps to reproduce
have a nextcloud install
occ db:convert-type --all-apps --clear-schema mysql nextcloud localhost:/run/mysqld/mysqld.sock nextcloud
Expected behavior
it would work
Installation method
Other
Operating system
Other
PHP engine version
PHP 8.1
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 22.2.3 to 22.2.4)
Are you using the Nextcloud Server Encryption module?
PHP Error: Return type of OCA\LogReader\Log\LogIterator::rewind() should either be compatible with 2022-04-14T06:11:28+00:00
Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily
suppress the notice at /usr/share/webapps/nextcloud/apps/logreader/lib/Log/LogIterator.php#69 at
lib/private/Log/ErrorHandler.php line 92
0. apps/logreader/lib/Log/LogIterator.php line 24
OC\Log\ErrorHandler::onError(
)
1. lib/composer/composer/ClassLoader.php line 571
include("\/usr\/share\/webapps\/nextcloud\/apps\/logreader\/lib\/Log\/LogIterator.php")
2. lib/composer/composer/ClassLoader.php line 428
Composer\Autoload\includeFile(
)
3. .../logreader/lib/Log/LogIteratorFactory.php line 55
Composer\Autoload\ClassLoader->loadClass(
)
4. .../logreader/lib/Command/Tail.php line 65
OCA\LogReader\Log\LogIteratorFactory->getLogIterator(
)
5. 3rdparty/symfony/console/Command/Command.php line 255
OCA\LogReader\Command\Tail->execute(
)
6. core/Command/Base.php line 168
Symfony\Component\Console\Command\Command->run(
)
7. 3rdparty/symfony/console/Application.php line 1009
OC\Core\Command\Base->run(
)
8. .../console/Application.php line 273
Symfony\Component\Console\Application->doRunCommand(
)
9. .../symfony/console/Application.php line 149
Symfony\Component\Console\Application->doRun(
)
10. lib/private/Console/Application.php line 211
Symfony\Component\Console\Application->run(
)
11. console.php line 99
OC\Console\Application->run(
)
12. occ line 11
require_once("\/usr\/share\/webapps\/nextcloud\/console.php")
Additional info
In Connection.php line 87:
Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused
The text was updated successfully, but these errors were encountered:
Fixesnextcloud#31998
Adds support to `occ db:convert-type` to support UNIX socket connections via MySQL/MariaDB. Uses same `dbhost` / `hostname` parameter parsing logic (adapted) as used elsewhere (at least the relevant parts) for consistency.
Signed-off-by: Josh Richards <[email protected]>
Fixesnextcloud#31998
Adds support to `occ db:convert-type` to support UNIX socket connections via MySQL/MariaDB. Uses same `dbhost` / `hostname` parameter parsing logic (adapted) as used elsewhere (at least the relevant parts) for consistency.
Signed-off-by: Josh Richards <[email protected]>
Bug description
I am able to configure nextcloud to mariadb via unix socket without a password, nextcloud/docker#1284, however when I use
db:convert-type
, I get a 'Connection refused` error.Steps to reproduce
occ db:convert-type --all-apps --clear-schema mysql nextcloud localhost:/run/mysqld/mysqld.sock nextcloud
Expected behavior
it would work
Installation method
Other
Operating system
Other
PHP engine version
PHP 8.1
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 22.2.3 to 22.2.4)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
The text was updated successfully, but these errors were encountered: