New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while running version expire background job #24914
Comments
Could be versions or sharing. Maybe it's trying to expire a file on a non-available federated share ? @owncloud/sharing @owncloud/filesystem |
The federated share is (at least seems to me) fully available. |
Update: the error message additionally pops up when I try to logon. |
I tried the following:
The cron silently discarded the versions expire job for the file "test.txt", no exception observed. |
Looking at the stack trace it looks more like it's "initMountPoints" that is causing the issue, not the expire job in itself. This explains why you saw it at login time too. So the FS setup triggers this error, for some reason it tries to change the target of a share to "/Solutions (2)" but after trying it, it doesn't find the original file for that share. So this is potentially an orphaned share for which the original file doesn't exist any more. I'll see if I can recreate this situation locally. |
Two unsuccessful cases I tried. Case A:
Case B:
In both cases, the error messages look like:
However, the orphaned shares get cleared up by subsequent cron runs so the error disappears. Needs further research to reproduce the original issue. |
Not related to #25186 since you said 9.0.2 is affected. |
I did more tests with different scenarios, this time on v9.0.2 but was unable to reproduce the issue so far. My interpretation of the stack trace of the error is that there is a situation in which there is a duplicate received share name, but when attempting to move/create the second share with the name "/Solutions (2)" the original source node from the share is not found, likely missing from oc_filecache but the oc_share entry still exists.
Unfortunately this doesn't trigger the "moveShare" logic at all. It seems an earlier code path detected already that the "test" folder from "user2" was gone and didn't bother. |
OH NO! Now I found another bug on v9.0.2 😦 |
I'm out of ideas now. @mmattel would be good to get more details about that user and their shares.
I expect that some of the oc_share entries have no linked entry. |
Same here. After having some trouble with external share syncs (GoogleDrive, #24253) now I see those messages every 15 minutes (cron run):
Seems to be a file versions issue... any Ideas (beside "flush all versions" (not an option at the moment))? Pretty annoying ... :( |
@bcutter mind using the issue template ? It looks like you're using external storage (Gdrive). |
Hmm, it seems to have stopped 11 hours ago. If I'll see this again in owncloud.log I'll provide all necessary information. |
@mmattel did you still see this happening with 9.1.1RC2 ? |
I have upgraded to 9.1.1 yesterday and have not identified that the error gets logged. Seems that the issue is solved. Closing. Will reopen if it raises again. |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
Expected behaviour
Syncing without errors
Actual behaviour
Syncing and errors are logged
Server configuration
Operating system: Ubuntu 14.04
Web server: nginx 1.9.14
Database: mysql
PHP version: 5.5.9
ownCloud version: (see ownCloud admin page)
ownCloud 9.1.0 beta 1 (daily) Build:2016-05-30T03:09:20+00:00 c870e77
But this is also with 9.0.2
Updated from an older ownCloud or fresh install:
This was a upgrade from 9.0.2, daily channel
Where did you install ownCloud from:
originally tar
List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
SMB
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No
Client configuration
Browser: Opera
Operating system: W7x64
Logs
owncloud.log
webserver.log
There is no corresponding webserver error log
The text was updated successfully, but these errors were encountered: