Mailbird on ownCloud

Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/

Steps to reproduce
1. Mailbird installed on desktop and Dell tablet.
2. Set Symbolic Links to mirror ownClouid folder with Mailbird data on desktop and on tablet. This way I have email access on the road..
3. Use Mailbird.

Expected behaviour
Desktop and tablet access the same Mailbird data folder using ownCloud. Folder size should reflect email use.

Actual behaviour
ownCloud data explodes from 1 gb to 6 gb in 30 days, and still growing. My email accounts are not nearly that large.

Server configuration
Operating system: Windows 10 on both machines
Web server: CLOUDLINUX 6.8 x86_64 kvm – raleigh02 WHM 60.0 (build 25)
Web server
cpsrvd 11.60.0.25
Database client version: libmysql - 5.1.73
PHP extension: mysqli Documentation
phpMyAdmin
Version information: 4.0.10.14
ownCloud version (see ownCloud admin page): ownCloud 9.1.2 (stable)
Updated from an older ownCloud or fresh install: Not sure.
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):

ownCloud log (data/owncloud.log)

Please paste possible errors in the following code block, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808 for more info

data/owncloud.log file is 4.9 GB, which may itself be the problem. It's too large to upload here, I tried.

Integrity status for oC9+

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
No errors have been found.

I'm out of my depth regarding programming, coding, etc. I did ask my web provider (Veerotech) about this from my ownCloud admin page:

Security & setup warnings

php does not seem to be setup properly to query system environment variables. The test with getenv("PATH") only returns an empty response.
Please check the installation documentation :arrow_upper_right: for php configuration notes and the php configuration of your server, especially when using php-fpm.
You are accessing this site via HTTP. We strongly suggest you configure your server to require using HTTPS instead as described in our security tips.
No memory cache has been configured. To enhance your performance please configure a memcache if available. Further information can be found in our documentation.

He said it was a known bug in ownCloud.

The folder size could be related to the version app. Especially if you have set unlimited storage for each user, all the remaining storage will be used for older versions and deleted files. If you use such a client, single files or folder can be easily moved or renamed and content would be saved several times.

However, I'm wondering about your solution. I would rather use IMAP accounts and client that have a work-offline mode.

Your warnings are not related to this initial topics. As long they are warnings (and no errors) these are recommendations. I would really worry about not using HTTPS, that means all your data is transferred unencrypted and every hop in between can read all your data (even user & password). Especially "on the road" when using public wifis, this is not acceptable. For more details, please read the linked documentation.

1 Like

From this page: http://me.com/owncloud/index.php/settings/admin

"Cron Last cron job execution: 8 hours ago. Something seems wrong.
AJAX
Execute one task with each page loaded
Webcron
cron.php is registered at a webcron service to call cron.php every 15 minutes over http.
Cron
Use system's cron service to call the cron.php file every 15 minutes."

CPanel reports "The account β€œ****” with primary domain β€œ*****.com” has reached its bandwidth limit (15.34 GB/14.65 GB)." A month ago it was not 1GB. The problem is related to my ownCloud and Mailbird installations.

My Mailbird folder viewed in on my desktop Windows Explorer (Symbolic Links to ownCloud) is 191 MB (800 files, 71 folders). But when viewed through Chrome in my ownCloud Mailbird folder, is 137 MB. In FileZilla the ownCloud Mailbird folder is not there. And CPanel File Manager does not show a Mailbird folder. (I'm confused, but it probably has something to do with my Symbolic Links setup to the ownCloiud Mailbird folder.)

ownCloud (Chrome access) shows Misc folder at 119.1 MB and Store folder at 16.9 MB and Cefcash, which is inside Misc at 119.4 MB.

Check the client logfiles for errors (F12 to open log window) and scan your owncloud.log for errors as well. Start with recent ones. Perhaps some process runs into timeouts and the datasets are not properly synced. Make sure there are no symlinks within the sync folder as the owncloud client doesn't follow them. And avoid direct changes to the data-folder on the server, this is not supported and known to cause such issues.

Thanks. But your recommendations are outside of my wheelhouse.

I'm hesitant to post the log file here because there may be info in it that could be exploitable. Who can I send the log file to?

You can redact critical parts as hostnames, usernames etc.

A thousand or so of these:

=#=#=# Syncrun started until (0 msec)

|0|Mailbird|INST_SYNC|Up|1479771903||0||4||0|0|1480604011|5840396b5702e|00000013ocwwtcibli30|INST_NONE|
|0|Mailbird/Misc/CefCache|INST_SYNC|Up|1480117015||0||4||0|0|1480120973|5838da8de7cd2|00000047ocwwtcibli30|INST_NONE|
|0|Mailbird/Misc/CefCache/data_1|INST_SYNC|Up|1480121864||11542528||3|Error downloading http: //site.com/owncloud/remote.php/webdav/Mailbird/Misc/CefCache/data_1-chunking-2023758615-2-0 - server replied: Locked ("Mailbird/Misc/CefCache/data_1" is locked)|423|11542528|1480117267|e6f8be247af6ffc1026fe2975b51a29e|00000093ocwwtcibli30|INST_NONE|
|0|Mailbird/Misc/CefCache/data_3|INST_SYNC|Up|1480121864||16785408||3|Error downloading http: //site.com/owncloud/remote.php/webdav/Mailbird/Misc/CefCache/data_3-chunking-2023763127-2-1 - server replied: Locked ("Mailbird/Misc/CefCache/data_3" is locked)|423|16785408|1479955985|c2036af30fa3aaff7273c927b5801b62|00000107ocwwtcibli30|INST_NONE|
14:57:41|2719|Mailbird/Misc/UsageData.xml|INST_REMOVE|Up|1480602609|3b61577a66f76e6fa3aa9b07cdf116ad|156|00007718ocwwtcibli30|4||204|0|0|||INST_NONE|
|0|Mailbird/Store|INST_SYNC|Up|1480603987||0||4||0|0|1480559820|583f8ccd068d6|00000041ocwwtcibli30|INST_NONE|
|0|Mailbird/Store/MessageIndex/_6t.fdt|INST_REMOVE|Up|1479437620|2d44003e71c870bc268eb4e3599e75b0|0|00000994ocwwtcibli30|3|Error downloading http: //site.com/owncloud/remote.php/webdav/Mailbird/Store/MessageIndex/_6t.fdt - server replied: Locked|423|0|0|||INST_NONE|
|0|Mailbird/Store/Store.db|INST_SYNC|Up|1480602905||7929856||3|Error downloading http: //site.com/owncloud/remote.php/webdav/Mailbird/Store/Store.db - server replied: Locked ("Mailbird/Store/Store.db" is locked)|423|7864320|1480559705|98b4864e087a24946ac9440519823da4|00000056ocwwtcibli30|INST_NONE|

And a thousand or so of these:

{"reqId":"819VZSxBKEPf0JDm3sKn","remoteAddr":"1X3.8X.79.19X","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\/1.1 423 \\"Mailbird\\/Misc\\/CefCache\\/data_1\\" is locked\",\"Exception\":\"OCA\\DAV\\Connector\\Sabre\\Exception\\FileLocked\",\"Code\":0,\"Trace\":\"#0 \\/home\\/username\\/public_html\\/owncloud\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/File.php(490): OCA\\DAV\\Connector\\Sabre\\File->convertToSabreException(Object(OCP\\Lock\\LockedException))\n#1 \\/home\\/username\\/public_html\\/owncloud\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/File.php(103): OCA\\DAV\\Connector\\Sabre\\File->createFileChunked(Resource id #372)\n#2 \\/home\\/username\\/public_html\\/owncloud\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/Directory.php(136): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #372)\n#3 \\/home\\/username\\/public_html\\/owncloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(1036): OCA\\DAV\\Connector\\Sabre\\Directory->createFile('data_1-chunking...', Resource id #372)\n#4 \\/home\\/username\\/public_html\\/owncloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(523): Sabre\\DAV\\Server->createFile('Mailbird\\/Misc\\/C...', Resource id #372, NULL)\n#5 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#6 \\/home\\/username\\/public_html\\/owncloud\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#7 \\/home\\/username\\/public_html\\/owncloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(459): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#8 \\/home\\/username\\/public_html\\/owncloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(248): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#9 \\/home\\/username\\/public_html\\/owncloud\\/apps\\/dav\\/appinfo\\/v1\\/webdav.php(56): Sabre\\DAV\\Server->exec()\n#10 \\/home\\/username\\/public_html\\/owncloud\\/remote.php(164): require_once('\\/home\\/username\\/publ...')\n#11 {main}\",\"File\":\"\\/home\\/username\\/public_html\\/owncloud\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/File.php\",\"Line\":546,\"User\":\"Name\"}","level":4,"time":"2016-11-29T23:01:57+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/Mailbird\/Misc\/CefCache\/data_1-chunking-2023758615-2-0","user":"Name"}
{"reqId":"Y5hrBERLCg3aY1LggjUk","remoteAddr":"173.81.79.199","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\/1.1 423 \\"Mailbird\\/Misc\\/CefCache\\/data_3\\" is locked\",\"Exception\":\"OCA\\DAV\\Connector\\Sabre\\Exception\\FileLocked\",\"Code\":0,\"Trace\":\"#0 \\/home\\/username\\/public_html\\/owncloud\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/File.php(490): OCA\\DAV\\Connector\\Sabre\\File->convertToSabreException(Object(OCP\\Lock\\LockedException))\n#1 \\/home\\/username\\/public_html\\/owncloud\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/File.php(103): OCA\\DAV\\Connector\\Sabre\\File->createFileChunked(Resource id #372)\n#2 \\/home\\/username\\/public_html\\/owncloud\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/Directory.php(136): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #372)\n#3 \\/home\\/username\\/public_html\\/owncloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(1036): OCA\\DAV\\Connector\\Sabre\\Directory->createFile('data_3-chunking...', Resource id #372)\n#4 \\/home\\/username\\/public_html\\/owncloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(523): Sabre\\DAV\\Server->createFile('Mailbird\\/Misc\\/C...', Resource id #372, NULL)\n#5 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#6 \\/home\\/username\\/public_html\\/owncloud\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#7 \\/home\\/username\\/public_html\\/owncloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(459): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#8 \\/home\\/username\\/public_html\\/owncloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(248): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#9 \\/home\\/username\\/public_html\\/owncloud\\/apps\\/dav\\/appinfo\\/v1\\/webdav.php(56): Sabre\\DAV\\Server->exec()\n#10 \\/home\\/username\\/public_html\\/owncloud\\/remote.php(164): require_once('\\/home\\/username\\/publ...')\n#11 {main}\",\"File\":\"\\/home\\/username\\/public_html\\/owncloud\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/File.php\",\"Line\":546,\"User\":\"Name\"}","level":4,"time":"2016-11-29T23:01:57+00:00","method":"PUT","url":"\/owncloud\/remote.php\/webdav\/Mailbird\/Misc\/CefCache\/data_3-chunking-2023763127-2-1","user":"Name"}
{"reqId":"SDxTCzPEC+BOw3NOIGGQ","remoteAddr":"173.81.79.199","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\/1.1 423 \\"Mailbird\\/Store\\/MessageIndex\\/_6t.fdt\\" is locked\",\"Exception\":\"OCA\\DAV\\Connector\\Sabre\\Exception\\FileLocked\",\"Code\":0,\"Trace\":\"#0 \\/home\\/username\\/public_html\\/owncloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Tree.php(179): OCA\\DAV\\Connector\\Sabre\\File->delete()\n#1 \\/home\\/username\\/public_html\\/owncloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(285): Sabre\\DAV\\Tree->delete('Mailbird\\/Store\\/...')\n#2 [internal function]: Sabre\\DAV\\CorePlugin->httpDelete(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \\/home\\/username\\/public_html\\/owncloud\\/3rdparty\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#4 \\/home\\/username\\/public_html\\/owncloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(459): Sabre\\Event\\EventEmitter->emit('method:DELETE', Array)\n#5 \\/home\\/username\\/public_html\\/owncloud\\/3rdparty\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(248): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#6 \\/home\\/username\\/public_html\\/owncloud\\/apps\\/dav\\/appinfo\\/v1\\/webdav.php(56): Sabre\\DAV\\Server->exec()\n#7 \\/home\\/username\\/public_html\\/owncloud\\/remote.php(164): require_once('\\/home\\/username\\/publ...')\n#8 {main}\",\"File\":\"\\/home\\/username\\/public_html\\/owncloud\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/File.php\",\"Line\":342,\"User\":\"Name\"}","level":4,"time":"2016-11-30T02:50:55+00:00","method":"DELETE","url":"\/owncloud\/remote.php\/webdav\/Mailbird\/Store\/MessageIndex\/_6t.fdt","user":"Name"}

(Some specific info has been changed.)

This FAQ has all needed / known infos about this "file locked" message: