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, 12.0.2): 15.0.7
Operating system and version (eg, Ubuntu 17.04): Raspbian GNU/Linux 9 (stretch)
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.25 (Raspbian)
PHP version (eg, 7.1): PHP 7.0.33-0+deb9u3
The issue you are facing:
I found my cat sleeping on my laptop this morning. Big mistake.
The bugger, among other things, managed to rename a file on my desktop to
p-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.png
The desktop from my macbookpro laptop is synched to a folder in my nextcloud instance (using the nextcloud app 2.5.1final (build 20181204)).
Of course the app reported a synchronising error.
First thing i did was to erase the file from the desktop. That went well, but the nextcloud didn’t follow.
ssh’d into my raspberry, as root, manually deleted the file, then ran an occ files:scan to the desktop folder…
Surprise, file is still in the nextcloud directory, but neither on the nextcloud data drive, nor on my laptop desktop…
The file only appears in the nextcloud web interface, and can’t be deleted from there…
I now have no idea how to delete this non existant file from nextcloud…
Is this the first time you’ve seen this error? (Y/N): y
Steps to replicate it:
- Let cat sleep on nextcloud synched laptop
- Have a too long file name renamed file
- Delete the file
The output of your Nextcloud log in Admin > Logging:
Error gallery Exception: Preview generation has failed
2019-05-04T12:22:12+0200
Error gallery OCP\Files\NotFoundException:
2019-05-04T12:22:12+0200
Error metadata Exception: Unsupported MIME type "".
2019-05-04T11:50:40+0200
Fatal webdav Sabre\DAV\Exception\BadRequest: expected filesize 100000000 got 88252416
2019-05-04T11:19:20+0200
Error no app in context Sabre\DAV\Exception\BadRequest: expected filesize 100000000 got 88252416
2019-05-04T11:19:20+0200
Error no app in context OCP\Files\InvalidPathException: File name is too long
2019-05-03T23:50:18+0200
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
PASTE HERE
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE