Hi there,
I just installed Collabora/code as detailed in the Nextcloud manual (and also detailed on linuxbabe.com). Everything seemed to be working perfectly from the first moment, but apparently it doesnât work if you use it as one of the âregular usersâ. Itâs working for the admin user.
Probably related: my users are LDAP users. Could this be the cause?
Nextcloud log:
Exception:
{âExceptionâ:âDoctrine\DBAL\Exception\DriverExceptionâ,âMessageâ:âAn
exception occurred while executing 'INSERT INTO
"oc_richdocuments_wopiâ (âowner_uidâ, âeditor_uidâ, âfileidâ,
âversionâ, âpathâ, âcanwriteâ, âserver_hostâ, âtokenâ,
âexpiryâ)\n\t\t\tVALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)â with params
[âadminâ, âvvanhoutteâ, â3300â, â0â,
"\/Club\/ComEvent\/20161001 -
Gouverneursbier\/bestelformulier_v3.odt", false,
âhttps:\/\/cloud..beâ,
âtlZxrOwfqlr1f0t8wkWHsxwed2QTIoHHâ, 1478772707]:\n\nSQLSTATE[22P02]:
Invalid text representation: 7 ERROR: invalid input syntax for type
boolean: ââ",âCodeâ:0,âTraceâ:"#0
/var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(116):
Doctrine\\DBAL\\Driver\\AbstractPostgreSQLDriver->convertException('An
exception oc...', Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1
\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Statement.php(175):
Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOPgSql\\Driver),
Object(Doctrine\\DBAL\\Driver\\PDOException), 'INSERT INTO \"oc...',
Array)\n#2 \/var\/www\/nextcloud\/apps\/richdocuments\/lib\/db.php(202):
Doctrine\\DBAL\\Statement->execute(Array)\n#3
\/var\/www\/nextcloud\/apps\/richdocuments\/lib\/db.php(37):
OCA\\Richdocuments\\Db->execute('INSERT INTO `*P...')\n#4
\/var\/www\/nextcloud\/apps\/richdocuments\/lib\/db\/wopi.php(88):
OCA\\Richdocuments\\Db->insert()\n#5
\/var\/www\/nextcloud\/apps\/richdocuments\/controller\/documentcontroller.php(507):
OCA\\Richdocuments\\Db\\Wopi->generateFileToken('3300', '0', false,
'https:\/\/cloud.l...')\n#6 [internal function]:
OCA\\Richdocuments\\Controller\\DocumentController->wopiGetToken('3300')\n#7
\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(160):
call_user_func_array(Array, Array)\n#8
\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(90):
OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OCA\\Richdocuments\\Controller\\DocumentController),
'wopiGetToken')\n#9
\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php(111):
OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Richdocuments\\Controller\\DocumentController),
'wopiGetToken')\n#10
\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php(47):
OC\\AppFramework\\App::main('DocumentControl...', 'wopiGetToken',
Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#11
[internal function]:
OC\\AppFramework\\Routing\\RouteActionHandler->__invoke(Array)\n#12
\/var\/www\/nextcloud\/lib\/private\/Route\/Router.php(293):
call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler),
Array)\n#13 \/var\/www\/nextcloud\/lib\/base.php(983):
OC\\Route\\Router->match('\/apps\/richdocum...')\n#14
\/var\/www\/nextcloud\/index.php(48): OC::handleRequest()\n#15
{main}","File":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractPostgreSQLDriver.php","Line":91}