-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Sync client errors when expired remote share is present and ext storage app is disabled #13383
Comments
CC @PVince81 |
Can you check |
this is most probably caused by some nasty code fragment writing to stdout and destroying the webdav response .... @enoch85 can you enable xdebug on that server to get more information on these errors - THX |
Seems like it. Should I just delete them? And why aren't these deleted automatically? @DeepDiver1975 Never used xdebug before. This isn't a test machine. Can I delete xdebug if I install it? And how do I install it? |
There is the complete line. Missed that in Putty. |
Why not deleted automatically: PR in progress #11544 (comment) |
Thank you! So in other words, I could just delete those two entries? |
Tried to delete them, same error. 😞 |
Yes, the error is probably not related to the duplicate entries. Either the Dropbox API doesn't return correct XML today (service unavailable ?) or something else is broken. Did you try enabling the XDebug module ? It should hopefully provide a stack trace that can help find out what part of the code threw that error. |
@PVince81 @DeepDiver1975 Xdebug is activated, how do I use it? |
No extra errors in log, though xdebug is activated. Please help me on this one. |
What changed since last time it worked ? That error seems to be thrown by SabreDAV client lib in parseMultiStatus(). |
Steps to reproduce I removed the Dropbox account and deactivated the External Storage in the apps section in ownCloud I also tried to re-activate external storage support and deleted the Dropbox share manually from the settings, but it didn't help. Maybe the errors would disappear if I removed the Dropbox API? |
The strange thing is that these error messages aren't even related to Dropbox.
Since we didn't see anything related in your |
@PVince81 Everything happened when I removed Dropbox in the following order:
I have deactivated Server-to-Server sharing for everyone, so that shouldn't be the issue. Found this in oc_share_external: |
@PVince81 Btw, didn't remove my Dropbox API (to connect to ownCloud) when I deleted my Dropbox account. Do you know if that's done automatically when the account is deleted? |
Could you backup and remove that entry in You said you disabled server to server sharing, so if that line is still triggering the issue then it means there's another bug that still tries to mount remote shares even though server to server sharing is disabled. |
The "Dropbox API" in question is probably just the token that is linked with the external storage entry. As soon as you delete the Dropbox external storage entry, the token is lost (ownCloud forgets it). |
Error seems to be gone on owncloud.log, but the server waiting time (or speed anyway) became really bad. From like 1 second, to about 3 seconds. Is that related? EDIT: Never mind, just because I restarted the server and it had to load a bunch of things. :) |
Leaving this open for a while anyway, to see if the error comes back. Thank you so much @PVince81 and @DeepDiver1975 for your paitance and support on this! We can always count on you. 👍 |
Bug is gone. @PVince81 this will be fixed in 8.1 right? |
I think we're not done yet and it is not clear what is supposed to be fixed. So you deleted the server to server share. There are possibly at least two bugs here:
For 1), can you check whether the target server was available ? You should be able to find the public link token in that entry you deleted (I asked you to back it up). Check if the public link can be opened. Maybe the remote server is gone or broken. ownCloud should be fixed to recover from that. And 2) needs to be checked and fixed, too. |
@PVince81 Can I email you the sql files and you can have a look? |
Okay, please email at [email protected] This also means I'll need to try and connect to the remote server from that server to server sharing entry, which will only be possible if:
|
@PVince81 But I don't have any server-to-server sharing with another server. I had a test config that I shared with myself, but that is gone now. Maybe that was the bug? |
Yes, that was the bug. |
Ok, so this could be closed then? Will there be a fix for this? |
Can you try opening the link share with token "73fc9e397ff8043e52b0b322eb80f286" on your instance ? https://yourhost/owncloud/public.php?service=files&t=73fc9e397ff8043e52b0b322eb80f286 Does it point to a correct share or is that share broken ? Still trying to figure out what the problem was. |
Okay, so the bug is "syncing breaks when an expired share was mounted locally through server to server sharing". Needs to be investigated. Normally when a remote share expired OC should notice it and automatically remove the local folder. CC @icewind1991 |
Hmmm, I didn't manage to reproduce that. I tried the following on 7.0.4 and master:
Now I wonder whether your setup is even allowing connecting to itself this way ? Did that test share ever work before ? |
It was such a long time ago I created the user miralltest that I don't remember if it worked or not. The problems started when I deactivated External Storage support to delete Dropbox, which I thought was made by itself. Logic - if External Storage support is deactivated then everything that has to do with that (shares and stuff) should be deleted aswell. Apparently not. |
Okay I see, so that might be the bug. I'll try this scenario out later: mount server to server share, expire it, then disable the external storage app. CC @icewind1991 |
Same here @PVince81 Milestone 8.2. |
Need to move to 9.0 at this point |
Could not reproduce in 9.0.4RC1. Please reopen if it happens again. |
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
I removed the Dropbox account and deactivated the External Storage in the apps section in ownCloud
I also tried to re-activate external storage support and deleted the Dropbox share manually from the settings, but it didn't help.
Expected behaviour
No error
Actual behaviour
Sync client won't sync and throws Internal 500 error - Number 1060 as mentioned here #9594
Server configuration
Ubuntu Server 12.04
Database:
Server version: 5.5.38-0ubuntu0.12.04.1 (Ubuntu)
PHP version:
PHP 5.3.10-1ubuntu3.15 with Suhosin-Patch (cli) (built: Oct 29 2014 12:19:04)
ownCloud version: (see ownCloud admin page)
7.0.4
Updated from an older ownCloud or fresh install:
Updated from stable 5 and then later stable 6
List of activated apps:
Activity
Calender
Contacts
Deleted files
Documents
External Storage Support (was activated but I deactivated it)
First Run Wizard
Full Text Search
Music
PDF Viewer
Pictures
Share Files
Tasks
Text Editor
Updater
Versions
Video Viewer
ownCloud SMS
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Client configuration
Browser:
Version 39.0.2171.71 m
Operating system:
Windows 8.1
Sync Client
1.7.1 stable
Logs
Web server error log
ownCloud log (data/owncloud.log)
Browser log
The text was updated successfully, but these errors were encountered: