Nextcloud version 18.0.3
NextcloudPi
Operating system and version Debian 10
Apache/2.4.38
PHP version 7.3.14
The issue you are facing:
Hello,
I tried uploading some large files (2-4 GB) via the web interface and after it reached the “Processing files” state, it just didn’t do anything anymore.
I waited several minutes for it to finish, but at some point I just gave up and restarted the whole server (via ssh).
After the server was back, I tried re-uploading the files. The upload process started, seemed to be going well, but at the end I got an error saying “blabla.file.upload.part” is locked.
I found some other topics about this problem on the forums and the only useful piece of advice I could find was to just delete the parts manually.
I put the server in maintenance mode, deleted the .upload.part files manually and retried re-uploading. (after reboot and maintenance mode off).
Now I get “blabla.file” is locked (without .upload.part).
Is there some way I could solve this?
Could there be any corrupt database entries as well? If so, is there any way I can run a server “cleanup” or something?
Is this the first time you’ve seen this error? Y
Steps to replicate it:
- Upload one or more files via the web interface
- Wait for upload to reach “Processing files” state
- Wait a reasonable amount of time to pass
- Restart the server using ssh
- Try to upload the same files again
- Get an error saying the files are locked
The output of your Nextcloud log in Admin > Logging:
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT * FROM `oc_jobs` WHERE (`reserved_at` <= ?) AND (`last_checked` <= ?) ORDER BY `last_checked` ASC LIMIT 1' with params [1590362260, 1590405460]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
RedisException: read error on connection
Not sure if these two logs are related to the problem. They’re the only events that happened around the time I got the error.