Log entry "File source not found for"
Expected behaviour
There shouldn't be any error entry on the log file
Actual behaviour
Log file is increasing with size due to constant errors entries. The log file in the data folder has 1.2GB of text only.
Steps to reproduce
no idea what was the reason for this so I don't know how to reproduce
Server configuration
Operating system:
Web server: Ubuntu 12.01
Database: MySQL
PHP version: 5.4.6
ownCloud version: 4.5.6
ownCloud log (data/owncloud.log)
"{"app":"files_sharing","message":"File source not found for: \/KMS","level":3,"time":1359112411}"
What can I do to fix this issue? because it's always happening
Please use our issue template. Thanks!
https://raw.github.com/owncloud/core/master/issue_template.md https://github.com/owncloud/core/blob/master/CONTRIBUTING.md
what is /KMS? A shared folder I assume?
Please have a look at the log file of the web server - THX
Yes I'ts a shared folder which doesn't exist anymore
Obviously this problem still exists: If one deletes a bunch of subdirectories within a shared folder on client side (not in the web ui), these error messages occur and the deleted subdirectories are restored.
What's the status of this?
Same here: Error files_sharing File source not found for: /.
I receive logs like this every 10 seconds....
Unfortunately this behavior is still there in version 5.0.7.
This bug is indeed still in 5.0.7. Here's a little more info.
- User Bob creates and shares a folder and gives User John write permissions (via group membership if that's important).
- Both users sync the shared folder via the desktop sync client.
- User John adds a file to the shared folder via dragging the file into his locally synced folder
- The above message fires multiple times referencing every file already existing in the folder.
- User Bob does the same
- There are no error messages
- User John uploads a file to the shared folder via the Web UI
- There are no error messages
- User Bob does the same
- There are no error messages
Infos from my scenario:
- User Bob creates and shares a folder and gives User John write permissions
- User John syncs the shared folder via the desktop sync client.
- User John adds a file to the shared folder via dragging the file into his locally synced folder
- User Bob deletes the folder.
- There are many error messages
Now this sounds like a sync client problem, because it doesn't realize the file is unshared. @danimo @dragotin
@MTGap Does unsharing change the E-Tags of the containing directories recursively (e.g. '/shared')?
I don't think it does.
@MTGap But it should, which makes this a server bug...
Still, shouldn't you be getting an error that the file doesn't exist anymore.
Thinking about it again, it cannot be about E-Tags, since the E-Tag problem is only about mirall not updating the folder at all. I would need to see a log file of this happening.
The only error that I am aware of and that gets logged away silently, but never shown (how do you see the errors btw), is when Finder/Explorer create meta-data files. The client will not delete those.
I am experiencing the same as @tfrauenrath.
Ubuntu server 12.10 x64 OC 5.0.12 PHP 5.4.6
Sync client on Windows 1.2.5
I have the same problem and make Owncloud not reliable. Suddenly my log Log file has increased with thousands of messages like this:
- File source nor found for: /files/Comunes/Pedro Miguel Reyes/2010/Tarifas 2010/Navarra/589.- Bodegas Leyre.doc
- File source nor found for: /files/Sein_Preventa/Registro Oportunidades.xlsx And this files exists in we but they have been erased in the user locally synced folder.
The case is the similar than PhazeonPhoenix and tfrauenrath. I don’t know the reason and how to solved, and it’s urgent for me, the users doesn’t trust in OnwCloud.
Meanwhile my logfile is 1.5GB, but I copy a short section for you:
{"app":"files_sharing","message":"File source not found for: /Entwicklungsteam","level":3,"time":1366613980} {"app":"files_sharing","message":"File source not found for: /Entwicklungsteam","level":3,"time":1366613980} {"app":"files_sharing","message":"File source not found for: /Entwicklungsteam","level":3,"time":1366613980} {"app":"files_sharing","message":"File source not found for: /Entwicklungsteam","level":3,"time":1366613980} {"app":"files_sharing","message":"File source not found for: /Entwicklungsteam","level":3,"time":1366613980} {"app":"files_sharing","message":"File source not found for: /.","level":3,"time":1366613980} {"app":"files_sharing","message":"File source not found for: /Entwicklungsteam","level":3,"time":1366613980}
the users doesn’t trust in OnwCloud.
Seriously? Users don't trust ownCloud because of log messages?
@MTGap @icewind1991 we need some cleanup procedure which can be executed by the admin #3792 #3784 #3764 have been a good start but we need to go some steps further
In addition to rescan the file system we need to detect and cleanup broken shares. (We need to distinguish between file/folder no existing and file system not available)
Further on we need to give the admin a page to manage such broken data entries.
@tfrauenrath workaround: delete the entry 'Entwicklungsteam' from the database. table: oc_share