-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Description
Steps to reproduce
- Having NC 13 with or without Redis-Caching/Locking
- On a computer add a new folder with some files inside to the Nextcloud Sync Folder
- Wait for Nextcloud to sync the folder on the NC Server
Expected behaviour
Normally you should get a sync without error.
Actual behaviour
Some randomly files get reds with Errors... Waiting that your sync is over to get clues, but the next sync will bring those crashed files into a welly synced files... It's anoying because the user get lost about this state and don't know if the client works well.
Server configuration detail
Operating system: Linux 4.4.0-121-generic #145-Ubuntu SMP Fri Apr 13 13:47:23 UTC 2018 x86_64
4Cores - 16Go of RAM
Webserver: Apache/2.4.18 (Ubuntu) (apache2handler)
Database: mysql 10.2.14 - MariaDB
PHP version: 7.0.28-0ubuntu0.16.04.1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, json, exif, mcrypt, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Zend OPcache
Nextcloud version: 13.0.2 - 13.0.2.1
Updated from an older Nextcloud/ownCloud or fresh install:
Updated form 13.0.1 - just a fresh install the bug was present on this version too
Where did you install Nextcloud from: .zip file from the website
List of activated apps
Enabled:
- activity: 2.6.1
- bruteforcesettings: 1.0.3
- calendar: 1.6.1
- camerarawpreviews: 0.5.2
- caniupdate: 0.1.2
- comments: 1.3.0
- contacts: 2.1.3
- dashboard: 4.0.6
- dav: 1.4.6
- federatedfilesharing: 1.3.1
- federation: 1.3.0
- files: 1.8.0
- files_downloadactivity: 1.2.0
- files_pdfviewer: 1.2.1
- files_rightclick: 0.6.0
- files_sharing: 1.5.0
- files_texteditor: 2.5.1
- files_trashbin: 1.3.0
- files_versions: 1.6.0
- files_videoplayer: 1.2.0
- firstrunwizard: 2.2.1
- gallery: 18.0.0
- impersonate: 1.0.4
- issuetemplate: 0.3.0
- logreader: 2.0.0
- lookup_server_connector: 1.1.0
- nextcloud_announcements: 1.2.0
- notifications: 2.1.2
- oauth2: 1.1.0
- password_policy: 1.3.0
- polls: 0.8.1
- previewgenerator: 1.0.9
- provisioning_api: 1.3.0
- quota_warning: 1.2.0
- richdocuments: 2.0.8
- serverinfo: 1.3.0
- sharebymail: 1.3.0
- spreed: 3.1.0
- survey_client: 1.1.0
- systemtags: 1.3.0
- theming: 1.4.1
- twofactor_backupcodes: 1.2.3
- twofactor_totp: 1.4.1
- updatenotification: 1.3.0
- workflowengine: 1.3.0
Disabled:
- admin_audit
- encryption
- files_external
- groupfolders
- ojsxc
- user_external
- user_ldap
Configuration (config/config.php)
{
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"SECRET",
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "SECRET",
"dbtype": "mysql",
"version": "13.0.2.1",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance": false,
"htaccess.RewriteBase": "\/",
"mail_smtpmode": "smtp",
"mail_smtpauthtype": "LOGIN",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"theme": "",
"loglevel": 2,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"filelocking.enabled": "true",
"redis": {
"host": "localhost",
"port": 6379,
"timeout": 0
}
}
Are you using external storage, if yes which one: NO
Are you using encryption: no
Are you using an external user-backend, if yes which one: No
Logs :
{"reqId":"WJSH3j9VOki8a3KF5BRM","level":3,"time":"2018-04-27T16:38:44+00:00","remoteAddr":"10.114.45.5","user":"USER","app":"no app in context","method":"PUT","url":"/remote.php/dav/files/USER/images/Nouveau%20dossier/IMGP3441.JPG","message":"Exception: {"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve filesService! Class filesService does not exist","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(118): OC\\AppFramework\\Utility\\SimpleContainer->resolve('filesService')
#1 \/var\/www\/nextcloud\/lib\/private\/ServerContainer.php(132): OC\\AppFramework\\Utility\\SimpleContainer->query('filesService')
#2 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/DependencyInjection\/DIContainer.php(441): OC\\ServerContainer->query('filesService')
#3 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(74): OC\\AppFramework\\DependencyInjection\\DIContainer->query('filesService')
#4 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(97): OC\\AppFramework\\Utility\\SimpleContainer->buildClass(Object(ReflectionClass))
#5 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(118): OC\\AppFramework\\Utility\\SimpleContainer->resolve('OCA\\\\Files_FullT...')
#6 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/DependencyInjection\/DIContainer.php(467): OC\\AppFramework\\Utility\\SimpleContainer->query('OCA\\\\Files_FullT...')
#7 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/DependencyInjection\/DIContainer.php(438): OC\\AppFramework\\DependencyInjection\\DIContainer->queryNoFallback('OCA\\\\Files_FullT...')
#8 \/var\/www\/nextcloud\/apps\/files_fulltextsearch\/lib\/Hooks\/FilesHooks.php(52): OC\\AppFramework\\DependencyInjection\\DIContainer->query('OCA\\\\Files_FullT...')
#9 \/var\/www\/nextcloud\/apps\/files_fulltextsearch\/lib\/Hooks\/FilesHooks.php(66): OCA\\Files_FullTextSearch\\Hooks\\FilesHooks::getController()
#10 \/var\/www\/nextcloud\/lib\/private\/legacy\/hook.php(106): OCA\\Files_FullTextSearch\\Hooks\\FilesHooks::onNewFile(Array)
#11 \/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(309): OC_Hook::emit('OC_Filesystem', 'post_create', Array)
#12 \/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(241): OCA\\DAV\\Connector\\Sabre\\File->emitPostHooks(false)
#13 \/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php(151): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #22)
#14 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(1096): OCA\\DAV\\Connector\\Sabre\\Directory->createFile('IMGP3441.JPG', Resource id #22)
#15 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(525): Sabre\\DAV\\Server->createFile('files\/USER..', Resource id #22, NULL)
#16 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))
#17 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
#18 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)
#19 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))
#20 \/var\/www\/nextcloud\/apps\/dav\/lib\/Server.php(283): Sabre\\DAV\\Server->exec()
#21 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php(35): OCA\\DAV\\Server->exec()
#22 \/var\/www\/nextcloud\/remote.php(164): require_once('\/var\/www\/nextcl...')
#23 {main}","File":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","Line":103}","userAgent":"Mozilla/5.0 (Macintosh) mirall/2.3.3 (build 84) (Nextcloud)","version":"13.0.2.1"}