# Cannot download file versions

**URL:** <https://help.nextcloud.com/t/cannot-download-file-versions/188012>\
**Category:** ℹ️ Support\
**Tags:** external\_storage, nc28, github\_issue\_required, files, files-versions-app\
**Created:** [April 12, 2024, 1:19pm UTC](https://help.nextcloud.com/t/cannot-download-file-versions/188012 "2024-04-12T13:19:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndyPi](https://help.nextcloud.com/user_avatar/help.nextcloud.com/andypi/32/32980_2.png) [@AndyPi](https://help.nextcloud.com/u/AndyPi)\
**Post date:** [April 12, 2024, 1:19pm UTC](https://help.nextcloud.com/t/cannot-download-file-versions/188012/1 "2024-04-12T13:19:34Z")

</div>

Hi,

Instead of a file i get a “\_remote” when trying to download a older file version of a external file.  
Actual files download is working.  
It is also working for files stored in nextcloud.

Nextcloud version _(eg, 20.0.5)_: 28.0.4  
Operating system and version _(eg, Ubuntu 20.04)_: 22.04.4 LTS  
Apache or nginx version _(eg, Apache 2.4.25)_: Apache/2.4.52  
PHP version _(eg, 7.4)_: php 8.1.2

Steps to replicate it:

1. Share a external folder (SMB-share) from user A to user B
2. Modify a file
3. Click details on a external file
4. Try to download a version
5. Get a file named “\_remote”

The output of your Nextcloud log in **Admin \> Logging** :

```auto
no error is shown

```

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

```auto
<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'mail_smtphost' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  'mail_domain' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  'mail_smtpport' => '25',
  'mail_from_address' => 'nextcloud',
  'instanceid' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  'passwordsalt' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  'secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  'trusted_domains' =>
  array (
    0 => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
    1 => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  ),
  'maintenance_window_start' => 1,
  'allow_local_remote_servers' => true,
  'datadirectory' => '/var/www/owncloud/data',
  'overwrite.cli.url' => 'https://XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/',
  'dbtype' => 'mysql',
  'version' => '28.0.2.5',
  'dbname' => 'oc',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_admin',
  'dbpassword' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  'logtimezone' => 'Europe/Berlin',
  'loglevel' => 2,
  'logfile' => '/var/www/owncloud/data/owncloud.log',
  'installed' => true,
  'theme' => '',
  'maintenance' => false,
  'trashbin_retention_obligation' => 'auto',
  'preview_libreoffice_path' => '/usr/bin/libreoffice',
  'updatechecker' => false,
  'htaccess.RewriteBase' => '/',
  'singleuser' => true,
  'filelocking.enabled' => true,
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0,
    'dbindex' => 0,
    'password' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  ),
  'data-fingerprint' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  'mail_sendmailmode' => 'smtp',
  'mysql.utf8mb4' => true,
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'default_phone_region' => 'IT',
  'defaultapp' => 'files',
);

```

no related logs found

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [April 12, 2024, 5:09pm UTC](https://help.nextcloud.com/t/cannot-download-file-versions/188012/2 "2024-04-12T17:09:11Z")

</div>

> [@AndyPi](#):
>
> Share a external folder (SMB-share) from user A to user B

this a very strange usage pattern. Do you see the problem using regular internal storage?

---

<div class="post-metadata">

**Author:** ![AndyPi](https://help.nextcloud.com/user_avatar/help.nextcloud.com/andypi/32/32980_2.png) [@AndyPi](https://help.nextcloud.com/u/AndyPi)\
**Post date:** [April 12, 2024, 6:24pm UTC](https://help.nextcloud.com/t/cannot-download-file-versions/188012/3 "2024-04-12T18:24:41Z")

</div>

No, for files stored within nextcloud it is working ok.  
I’ve tried to download a version from user A, it’s not working.  
But the version files are stored in files/A/file\_versions

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [April 13, 2024, 10:23am UTC](https://help.nextcloud.com/t/cannot-download-file-versions/188012/4 "2024-04-13T10:23:29Z")

</div>

> [@AndyPi](#):
>
> files/A/file\_versions

do I get it right? when you edit files located on external storage versions or this files will be generated in primary storage of the user? Sounds like a bug… I think you better look for existing bug reports or maybe file new one…

> <https://github.com/nextcloud/server/issues/38431>
>
> List of issue related to the latest update of files versions:
> 
> \- \[\] https://g…ithub.com/nextcloud/server/issues/41174
> \- \[\] https://github.com/nextcloud/server/issues/38473
> \- \[x\] https://github.com/nextcloud/server/issues/37067
> \- \[x\] https://github.com/nextcloud/server/issues/37527
> \- \[\] https://github.com/nextcloud/server/issues/38414
> \- \[\] https://github.com/nextcloud/server/issues/37461
> \- \[\] https://github.com/nextcloud/server/issues/39251
> \- \[x\] https://github.com/nextcloud/server/issues/39046
> \- \[x\] https://github.com/nextcloud/server/issues/39041
> \- \[\] https://github.com/nextcloud/server/issues/41293
> \- \[x\] https://github.com/nextcloud/server/issues/43262

---

<div class="post-metadata">

**Author:** ![AndyPi](https://help.nextcloud.com/user_avatar/help.nextcloud.com/andypi/32/32980_2.png) [@AndyPi](https://help.nextcloud.com/u/AndyPi)\
**Post date:** [April 13, 2024, 10:37am UTC](https://help.nextcloud.com/t/cannot-download-file-versions/188012/5 "2024-04-13T10:37:33Z")

</div>

yes.  
but i think it makes sense to keep the versions in primary storage.  
are you saying it is not supposed to work like this?

Upgraded to 28.0.4 and installed latest updates for Ubuntu, now it is working.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [April 13, 2024, 10:48am UTC](https://help.nextcloud.com/t/cannot-download-file-versions/188012/6 "2024-04-13T10:48:22Z")

</div>

This setup is definitely not common and likely more issues remain uncovered…

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [April 21, 2024, 10:48am UTC](https://help.nextcloud.com/t/cannot-download-file-versions/188012/7 "2024-04-21T10:48:30Z")

</div>

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
