Make sure nextcloud is running on your pc and couldn't update placeholder info

Nextcloud version: 25.0.3 based on NextCloudPi Image v1.51.3
Operating system and version: Debian GNU/Linux 11
Apache version Apache/2.4.56
PHP version : 8.1.18

The issue you are facing:
On my Windows 10 laptop running nextcloud client 3.8.1 if I try to click on a file using the right menu option “Always keep on this device” or if I try to open a file I receive a pop up with this error for every file :
Make sure nextcloud is running on your pc

Clicking on the nextcloud icons I see a lot of errors:
couldn’t update placeholder info

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Right click on a file
  2. Always keep on this device

The output of your Nextcloud log in Admin > Logging:

[no app in context] Fatal: RedisException: read error on connection to /var/run/redis/redis.sock:0 at <<closure>>

 0. /var/www/nextcloud/lib/private/RedisFactory.php line 143
    Redis->auth("*** sensitive parameters replaced ***")
 1. /var/www/nextcloud/lib/private/RedisFactory.php line 178
    OC\RedisFactory->create()
 2. /var/www/nextcloud/apps/notify_push/lib/AppInfo/Application.php line 62
    OC\RedisFactory->getInstance()
 3. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 162
    OCA\NotifyPush\AppInfo\Application->OCA\NotifyPush\AppInfo\{closure}("*** sensitive parameters replaced ***")
 4. /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php line 122
    OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensitive parameters replaced ***")
 5. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 129
    Pimple\Container->offsetGet()
 6. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 459
    OC\AppFramework\Utility\SimpleContainer->query()
 7. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 437
    OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
 8. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 89
    OC\AppFramework\DependencyInjection\DIContainer->query()
 9. <<closure>>
    OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensitive parameters replaced ***")
10. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 108
    array_map()
11. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 116
    OC\AppFramework\Utility\SimpleContainer->buildClass()
12. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 133
    OC\AppFramework\Utility\SimpleContainer->resolve()
13. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 465
    OC\AppFramework\Utility\SimpleContainer->query()
14. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 437
    OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
15. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 57
    OC\AppFramework\DependencyInjection\DIContainer->query()
16. /var/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php line 50
    OC\AppFramework\Utility\SimpleContainer->get()
17. <<closure>>
    OC\AppFramework\Bootstrap\FunctionInjector->OC\AppFramework\Bootstrap\{closure}("*** sensitive parameters replaced ***")
18. /var/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php line 67
    array_map()
19. /var/www/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php line 51
    OC\AppFramework\Bootstrap\FunctionInjector->injectFn()
20. /var/www/nextcloud/apps/notify_push/lib/AppInfo/Application.php line 70
    OC\AppFramework\Bootstrap\BootContext->injectFn()
21. /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php line 190
    OCA\NotifyPush\AppInfo\Application->boot()
22. /var/www/nextcloud/lib/private/legacy/OC_App.php line 208
    OC\AppFramework\Bootstrap\Coordinator->bootApp()
23. /var/www/nextcloud/lib/private/legacy/OC_App.php line 141
    OC_App::loadApp()
24. /var/www/nextcloud/lib/private/Console/Application.php line 120
    OC_App::loadApps()
25. /var/www/nextcloud/console.php line 99
    OC\Console\Application->loadCommands()
26. /var/www/nextcloud/occ line 11
    require_once("/var/www/nextcloud/console.php")

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'passwordsalt' => 'XXXXXXXXXXX',
  'secret' => 'XXXXXXXXXXXXXXXXXXXX',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    7 => 'nextcloudpi',
    5 => 'nextcloudpi.local',
    8 => 'nextcloudpi.lan',
    3 => 'nextcloudpi',
    1 => '192.168.X.XX',
    2 => 'roycloud',
    14 => 'nextcloudpi',
  ),
  'default_phone_region' => 'IT',
  'datadirectory' => '/media/myCloudDrive/ncdata/data',
  'dbtype' => 'mysql',
  'version' => '25.0.3.2',
  'overwrite.cli.url' => 'https://nextcloudpi/',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'ncadmin',
  'dbpassword' => 'XXXXXXXXXXXXXXX=',
  'installed' => true,
  'instanceid' => 'occqjdyc2czx',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
    'password' => 'XXXXXXXXXXXXXXXX=',
  ),
  'tempdirectory' => '/media/myCloudDrive/ncdata/data/tmp',
  'mail_smtpmode' => 'sendmail',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_from_address' => 'admin',
  'mail_domain' => 'ownyourbits.com',
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'overwriteprotocol' => 'https',
  'maintenance' => false,
  'logfile' => '/media/myCloudDrive/ncdata/data/nextcloud.log',
  'trusted_proxies' =>
  array (
    11 => '127.0.0.1',
    12 => '::1',
    13 => 'nextcloudpi',
    14 => '192.168.X.XX',
  ),
);

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

File is missing

An update on this issue, enabling the log file I found this
Dehydration of the cloud file is disallowed by the cloud sync provider
But I didn’t understand what type of error is

sounds like there is an issue with the cloud storage API… I saw similar issues this long time ago when VFS was new… didn’t saw this with newer versions. I think this can happen when NC desktop client crashes/is killed by the user… as far I remember reboot of the client helped… the problem must be more or less completely located on the client because de/hydration of placeholders has more or less nothing to do with the server (as long the server is available and file download is successful).

On the server following is strange:

as you can’t bind valid public cert to a local hostname either this is wrong or you are running self-signed cert which could result in issues as well. I would recommend you review Reverse proxy — Nextcloud latest Administration Manual latest documentation for required settings and values (add overwritehost at least)

Hi @wwe
thanks for your help, I uninstalled Nextcloud and removed all folders under AppData then I reinstalled it and now it works.

Bye
Roberto

1 Like

Hi,
after I reinstalled the app on windows 3 weeks ago more or less . This morning I have had the same issue again… I’m not sure what I should do to solve it.

Regards,
Roberto

1 Like

I think best is to open Github issue and work with the devs to analyze the issue. might be you hit some rare issue