Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentserver:flush #284

Closed
Ludovicis opened this issue Dec 8, 2022 · 2 comments
Closed

documentserver:flush #284

Ludovicis opened this issue Dec 8, 2022 · 2 comments
Labels

Comments

@Ludovicis
Copy link

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,

Copy link

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 60 days. Thank you for your contribution!

Retaking repo management include inheritance of old, not treated, and probablty obsolete issues, this is why it was decided to mark issues as stale.

@github-actions github-actions bot added the stale label Oct 28, 2024
Copy link

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant