NC15 restoring file version gives incorrect filename and no extension

Nextcloud version : 15.0.0
Operating system and version : Ubuntu 16.04
Apache or nginx version: Apache/2.4.18 (Ubuntu)
PHP version : 7.0.32

Since upgrading to NC15, when we try to restore an old version of a file, it downloads but without the correct filename, and with no file extension.

We have 3x NC15 instances, and we have the same issue on all of them. It was working fine with NC14.

Below is an example of the link location when downloading a previous version file in NC15:

This saves a files with the name “1545246669” and no extension. If you rename the file, it is the correct one, so it purely an issue with the name and extension, not corruption of the file.

To compare with NC14:

And this works as expected.

Looks like a bug for me. I was able to reproduce it and submitted a bug report:

Thanks for creating the bug report.

Anyone still having this issue on 15.0.5?

Nextcloud version : 15.0.7 snap package
Operating system and version : Ubuntu 18.04 (VM on Hiper-V)

I can not say for sure, this bug was immediately after installation or appeared later. But when I try to download the version I need, everything happens exactly as in srhogg. Perhaps this is somehow related to the fact that I mounted the 1TB drive as /var/snap/nextcloud.

1 Like

It is definitely unrelated i think to mounted drives. I had had the issue prior to a mount. Even on the newest version 16 this is still a problem and is keeping us from even releasing Nextcloud internally to people. I think this issue was introduced at NC 15.