Skip to content

Instantly share code, notes, and snippets.

@gjedeer
Created December 22, 2016 13:25
Show Gist options
  • Save gjedeer/603f9f882e272ac7ae9eb0d614a33fcb to your computer and use it in GitHub Desktop.
Save gjedeer/603f9f882e272ac7ae9eb0d614a33fcb to your computer and use it in GitHub Desktop.
crash on migration to pgsql
Exception trace:
() at /path/to/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractPostgreSQLDriver.php:91
Doctrine\DBAL\Driver\AbstractPostgreSQLDriver->convertException() at /path/to/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:128
Doctrine\DBAL\DBALException::driverExceptionDuringQuery() at /path/to/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:996
Doctrine\DBAL\Connection->executeUpdate() at /path/to/nextcloud/lib/private/DB/Connection.php:215
OC\DB\Connection->executeUpdate() at /path/to/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php:208
Doctrine\DBAL\Query\QueryBuilder->execute() at /path/to/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php:177
OC\DB\QueryBuilder\QueryBuilder->execute() at /path/to/nextcloud/core/Command/Db/ConvertType.php:309
OC\Core\Command\Db\ConvertType->copyTable() at /path/to/nextcloud/core/Command/Db/ConvertType.php:322
OC\Core\Command\Db\ConvertType->convertDB() at /path/to/nextcloud/core/Command/Db/ConvertType.php:213
OC\Core\Command\Db\ConvertType->execute() at /path/to/nextcloud/3rdparty/symfony/console/Command/Command.php:256
Symfony\Component\Console\Command\Command->run() at /path/to/nextcloud/3rdparty/symfony/console/Application.php:818
Symfony\Component\Console\Application->doRunCommand() at /path/to/nextcloud/3rdparty/symfony/console/Application.php:186
Symfony\Component\Console\Application->doRun() at /path/to/nextcloud/3rdparty/symfony/console/Application.php:117
Symfony\Component\Console\Application->run() at /path/to/nextcloud/lib/private/Console/Application.php:169
OC\Console\Application->run() at /path/to/nextcloud/console.php:90
require_once() at /path/to/nextcloud/occ:11
[Doctrine\DBAL\Driver\PDOException (22P02)]
SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type bytea
Exception trace:
() at /path/to/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:93
Doctrine\DBAL\Driver\PDOStatement->execute() at /path/to/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:987
Doctrine\DBAL\Connection->executeUpdate() at /path/to/nextcloud/lib/private/DB/Connection.php:215
OC\DB\Connection->executeUpdate() at /path/to/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php:208
Doctrine\DBAL\Query\QueryBuilder->execute() at /path/to/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php:177
OC\DB\QueryBuilder\QueryBuilder->execute() at /path/to/nextcloud/core/Command/Db/ConvertType.php:309
OC\Core\Command\Db\ConvertType->copyTable() at /path/to/nextcloud/core/Command/Db/ConvertType.php:322
OC\Core\Command\Db\ConvertType->convertDB() at /path/to/nextcloud/core/Command/Db/ConvertType.php:213
OC\Core\Command\Db\ConvertType->execute() at /path/to/nextcloud/3rdparty/symfony/console/Command/Command.php:256
Symfony\Component\Console\Command\Command->run() at /path/to/nextcloud/3rdparty/symfony/console/Application.php:818
Symfony\Component\Console\Application->doRunCommand() at /path/to/nextcloud/3rdparty/symfony/console/Application.php:186
Symfony\Component\Console\Application->doRun() at /path/to/nextcloud/3rdparty/symfony/console/Application.php:117
Symfony\Component\Console\Application->run() at /path/to/nextcloud/lib/private/Console/Application.php:169
OC\Console\Application->run() at /path/to/nextcloud/console.php:90
require_once() at /path/to/nextcloud/occ:11
[PDOException (22P02)]
SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type bytea
Exception trace:
() at /path/to/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91
PDOStatement->execute() at /path/to/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91
Doctrine\DBAL\Driver\PDOStatement->execute() at /path/to/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:987
Doctrine\DBAL\Connection->executeUpdate() at /path/to/nextcloud/lib/private/DB/Connection.php:215
OC\DB\Connection->executeUpdate() at /path/to/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php:208
Doctrine\DBAL\Query\QueryBuilder->execute() at /path/to/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php:177
OC\DB\QueryBuilder\QueryBuilder->execute() at /path/to/nextcloud/core/Command/Db/ConvertType.php:309
OC\Core\Command\Db\ConvertType->copyTable() at /path/to/nextcloud/core/Command/Db/ConvertType.php:322
OC\Core\Command\Db\ConvertType->convertDB() at /path/to/nextcloud/core/Command/Db/ConvertType.php:213
OC\Core\Command\Db\ConvertType->execute() at /path/to/nextcloud/3rdparty/symfony/console/Command/Command.php:256
Symfony\Component\Console\Command\Command->run() at /path/to/nextcloud/3rdparty/symfony/console/Application.php:818
Symfony\Component\Console\Application->doRunCommand() at /path/to/nextcloud/3rdparty/symfony/console/Application.php:186
Symfony\Component\Console\Application->doRun() at /path/to/nextcloud/3rdparty/symfony/console/Application.php:117
Symfony\Component\Console\Application->run() at /path/to/nextcloud/lib/private/Console/Application.php:169
OC\Console\Application->run() at /path/to/nextcloud/console.php:90
require_once() at /path/to/nextcloud/occ:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment