# File referenced but missing?

**URL:** <https://forum.rclone.org/t/file-referenced-but-missing/17504>\
**Category:** Help and Support\
**Created:** [June 28, 2020, 2:20am UTC](https://forum.rclone.org/t/file-referenced-but-missing/17504 "2020-06-28T02:20:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![green](https://forum.rclone.org/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@green](https://forum.rclone.org/u/green)\
**Post date:** [June 28, 2020, 2:20am UTC](https://forum.rclone.org/t/file-referenced-but-missing/17504/1 "2020-06-28T02:20:11Z")

</div>

#### What is the problem you are having with rclone?

Encrypted file appeared in Rclone Browser and Rclone mount, but when I try to copy it, it says "directory not found".

When I go and refresh the mount or Rclone Browser, it is gone. I have not moved it. My mount is read-only. I am a single user.

Is this intended behaviour when a file's reference cannot be found? I am worried that I might have other similar files that are somehow dereferenced...

#### What is your rclone version (output from `rclone version`)

1.52.2

#### Which OS you are using and how many bits (eg Windows 7, 64 bit)

Ubuntu 20.04 LTS

#### Which cloud storage system are you using? (eg Google Drive)

Google Drive

#### The command you were trying to run (eg `rclone copy /tmp remote:tmp`)

```auto
rclone copy gcrypt:directory/file.mkv ~/

```

#### The rclone config contents with secrets removed.

```auto
[g_api]
type = drive
client_id = redacted.apps.googleusercontent.com
client_secret = redacted
token = {"access_token":"redacted","expiry":"2020-06-28T10:51:41.191494337+08:00"}
root_folder_id = redacted

[g_api_crypt]
type = crypt
remote = g_api:bucket
filename_encryption = standard
password = redacted
password2 = redacted

```

#### A log from the command with the `-vv` flag

```auto

2020/06/28 10:12:07 DEBUG : rclone: Version "v1.52.2" starting with parameters ["rclone" "-vv" "copy" "gcrypt:directory/file.mkv" "/root/"]
2020/06/28 10:12:07 DEBUG : Using config file from "/root/.rclone.conf"
2020/06/28 10:12:11 ERROR : : error reading source directory: directory not found
2020/06/28 10:12:11 DEBUG : Local file system at /root/: Waiting for checks to finish
2020/06/28 10:12:11 DEBUG : Local file system at /root/: Waiting for transfers to finish
2020/06/28 10:12:11 INFO : There was nothing to transfer
2020/06/28 10:12:11 ERROR : Attempt 1/3 failed with 1 errors and: directory not found
2020/06/28 10:12:11 ERROR : : error reading source directory: directory not found
2020/06/28 10:12:11 DEBUG : Local file system at /root/: Waiting for checks to finish
2020/06/28 10:12:11 DEBUG : Local file system at /root/: Waiting for transfers to finish
2020/06/28 10:12:11 INFO : There was nothing to transfer
2020/06/28 10:12:11 ERROR : Attempt 2/3 failed with 1 errors and: directory not found
2020/06/28 10:12:11 ERROR : : error reading source directory: directory not found
2020/06/28 10:12:11 DEBUG : Local file system at /root/: Waiting for checks to finish
2020/06/28 10:12:11 DEBUG : Local file system at /root/: Waiting for transfers to finish
2020/06/28 10:12:11 INFO : There was nothing to transfer
2020/06/28 10:12:11 ERROR : Attempt 3/3 failed with 1 errors and: directory not found
2020/06/28 10:12:11 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.0s

2020/06/28 10:12:11 DEBUG : 6 go routines active
2020/06/28 10:12:11 Failed to copy: directory not found

```

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [June 28, 2020, 3:46am UTC](https://forum.rclone.org/t/file-referenced-but-missing/17504/2 "2020-06-28T03:46:46Z")

</div>

Your rclone.conf does not seem to match your command as the remote names are different.

What does rclone ls gcrypt:directory show?

---

<div class="post-metadata">

**Author:** ![green](https://forum.rclone.org/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@green](https://forum.rclone.org/u/green)\
**Post date:** [June 28, 2020, 8:58am UTC](https://forum.rclone.org/t/file-referenced-but-missing/17504/3 "2020-06-28T08:58:50Z")

</div>

my redaction was inconsistent, sorry.

`rclone ls gcrypt:directory` works normally. showing all the files and directories, but not that one file. no errors.

I just uploaded that one file to the same location again and it is fine. I uploaded it originally 4 months ago, but did not notice it was not working correctly until today when I looked for it specifically.

Really weird behaviour that makes me wonder what else could be missing.

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [June 28, 2020, 10:58am UTC](https://forum.rclone.org/t/file-referenced-but-missing/17504/4 "2020-06-28T10:58:06Z")

</div>

You'd have to share the output of commands if you want some help as we cannot see your screen.

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [August 28, 2020, 6:58am UTC](https://forum.rclone.org/t/file-referenced-but-missing/17504/5 "2020-08-28T06:58:08Z")

</div>

Closed on August 28, 2020, 6:58am UTC

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