Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 20.0.5): 25.0.5
Operating system and version (eg, Ubuntu 22.04): DEBIAN 11 bullseye
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.56
PHP version (eg, 7.4): PHP 8.0.30 (cli)
The issue you are facing:
Steps to replicate it:
- write something in the document, changes are safed
- open the document at the windows client
- no changes from the web at the client, new synchronization dont help
The output of your Nextcloud log in Admin > Logging:
An unhandled exception has been thrown:
TypeError: stream_get_contents(): Argument #1 ($stream) must be of type resource, bool given in /var/www/owncloud/apps/documentserver_community/lib/Document/DocumentStore.php:173
Stack trace:
#0 /var/www/owncloud/apps/documentserver_community/lib/Document/DocumentStore.php(173): stream_get_contents()
#1 /var/www/owncloud/apps/documentserver_community/lib/LocalAppData.php(102): OCA\DocumentServer\Document\DocumentStore->OCA\DocumentServer\Document\{closure}()
#2 /var/www/owncloud/apps/documentserver_community/lib/Document/DocumentStore.php(176): OCA\DocumentServer\LocalAppData->getReadWriteLocalPath()
#3 /var/www/owncloud/apps/documentserver_community/lib/Document/SaveHandler.php(58): OCA\DocumentServer\Document\DocumentStore->saveChanges()
#4 /var/www/owncloud/apps/documentserver_community/lib/Command/FlushChanges.php(74): OCA\DocumentServer\Document\SaveHandler->flushChanges()
#5 /var/www/owncloud/3rdparty/symfony/console/Command/Command.php(255): OCA\DocumentServer\Command\FlushChanges->execute()
#6 /var/www/owncloud/core/Command/Base.php(177): Symfony\Component\Console\Command\Command->run()
#7 /var/www/owncloud/3rdparty/symfony/console/Application.php(1009): OC\Core\Command\Base->run()
#8 /var/www/owncloud/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand()
#9 /var/www/owncloud/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun()
#10 /var/www/owncloud/lib/private/Console/Application.php(214): Symfony\Component\Console\Application->run()
#11 /var/www/owncloud/console.php(100): OC\Console\Application->run()
#12 /var/www/owncloud/occ(11): require_once('...')
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'updatechecker' => false,
'instanceid' => 'CENSORED',
'passwordsalt' => 'CENSORED',
'secret' => 'CENSORED',
'trusted_domains' =>
array (
0 => 'CENSORED',
1 => '172.16.0.20',
),
'datadirectory' => '/var/www/owncloud/data',
'dbtype' => 'mysql',
'version' => '25.0.5.1',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'owncloud',
'dbpassword' => 'CENSORED',
'logtimezone' => 'UTC',
'installed' => true,
'tempdirectory' => '/tmp/nextcloudtemp',
'loglevel' => 4,
'log.condition' =>
array (
'apps' =>
array (
0 => 'admin_audit',
),
),
'log_type_audit' => 'syslog',
'syslog_tag_audit' => 'Nextcloud',
'logfile_audit' => '/var/www/owncloud/data/Nextcloud.log',
'theme' => '',
'maintenance' => false,
'allow_local_remote_servers' => true,
'default_language' => 'de',
'default_phone_region' => 'DE',
'trusted_proxies' =>
array (
0 => '172.16.0.1',
),
'mysql.utf8mb4' => true,
'overwrite.cli.url' => 'CENSORED',
'overwriteprotocol' => 'https',
'updater.release.channel' => 'stable',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_smtphost' => 'CENSORED',
'mail_smtpport' => '25',
'mail_from_address' => 'noreply',
'mail_domain' => 'CENSORED',
'simpleSignUpLink.shown' => false,
'trashbin_retention_obligation' => 'auto, 14',
);
When i force: occ documentserver:flush i get the Error message from above but the changes on the web getting saved and synchronized with Windows local client.
Does someone have the same issues?