documentserver:flush
Hello,
I have this problem on my nextcloud 25.0.2 RC3 instance and documentserver_community 0.1.13:
xxx@xxx:/var/www/html/nextcloud# sudo -u www-data php occ documentserver:flush An unhandled exception has been thrown: TypeError: stream_get_contents(): Argument #1 ($stream) must be of type resource, bool given in /var/www/html/nextcloud/apps/documentserver_community/lib/Document/DocumentStore.php:173 Stack trace: #0 /var/www/html/nextcloud/apps/documentserver_community/lib/Document/DocumentStore.php(173): stream_get_contents() #1 /var/www/html/nextcloud/apps/documentserver_community/lib/LocalAppData.php(102): OCA\DocumentServer\Document\DocumentStore->OCA\DocumentServer\Document{closure}() #2 /var/www/html/nextcloud/apps/documentserver_community/lib/Document/DocumentStore.php(176): OCA\DocumentServer\LocalAppData->getReadWriteLocalPath() #3 /var/www/html/nextcloud/apps/documentserver_community/lib/Document/SaveHandler.php(58): OCA\DocumentServer\Document\DocumentStore->saveChanges() #4 /var/www/html/nextcloud/apps/documentserver_community/lib/Command/FlushChanges.php(74): OCA\DocumentServer\Document\SaveHandler->flushChanges() #5 /var/www/html/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OCA\DocumentServer\Command\FlushChanges->execute() #6 /var/www/html/nextcloud/core/Command/Base.php(177): Symfony\Component\Console\Command\Command->run() #7 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(1009): OC\Core\Command\Base->run() #8 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand() #9 /var/www/html/nextcloud/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun() #10 /var/www/html/nextcloud/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run() #11 /var/www/html/nextcloud/console.php(100): OC\Console\Application->run() #12 /var/www/html/nextcloud/occ(11): require_once('...')
Someeone can help me, please ? Thanks,