-
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
4.5.7 messing up error.log / WebDav problem / sync to external storage deleting local files #1901
Comments
You've got an error in your apache configuration see Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/xxx.from-de.com/httpdocs/owncloud/index.pl, referer: and Warning: curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /var/www/vhosts/xxx.from-de.com/httpdocs/owncloud/3rdparty/Sabre/DAV/Client.php on line 409, Please check the internets to see how to fix this and delete the log afterwards to see which errors are still there. Also please tell us how you've fixed them so people can check this issue in the future. |
Dear Raydiation, Thank you very much for your reply. I know that this basically is an apache problem. First: owncloud is working. I'can't see any disadvantage while errors occur. If I disable RewriteEngine in .htaccess the sync client is not working, so I assume that redirection is working basically. Second: apache and plesk is very tricky, cause all config files are controled by plesk. If you want to modify apache config you have to supply some extra files. I put inside this extra file(s): "+FollowSymLinks +SymLinksIfOwnerMatch" (which was not in plesk original config) SetHandler fcgid-script FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php Options +FollowSymLinks +ExecCGI +SymLinksIfOwnerMatch allow from allDoing that has no (positive) effect on the error log. To be sure I modified the original files directly and restarted only apache (this change will be lost after next modification with plesk), but same game. But back to the error log: .... which implies that RewriteRule directive is forbidden: /var/www/vhosts/esm.from-de.com/httpdocs/owncloud/index.pl ...... Did you see that it tries to redirect to index.pl ???? If I can fix it I'll give feedback immediately, I do my best......... Thanks Klaus |
Something is terribly broken with your apache config and the root cause is most likely Plesk/your hosting environment. You could try to ask on the forum or on the mailinglist to see if other people have the same problem with Plesk, but i think unfortunately we wont be able fix or debug this problem properly. The only advice i can give atm is to quit your hoster and get something proper like a vserver where you dont have to rely on some borked administration front end. Therefore im closing the issue. |
Hello Bernard, Thanks, but uups, you closed it because of the .pl redirection ? a) Plesk is a very common software used by thousands of hosters b) It is an absolut fresh installation. To avoid problems I decided to setup c) I did not modify any config before this morning when you answered my Klaus |
I know that Plesk is very common (gradually declining in usage thankfully) but I've also talked with others about it and we dont know how to fix/support this if the apache settings we need are not provided/do not work. Dont misunderstand me: I'd be very happy to help you, maybe you can also join us on IRC irc.freenode.net channel #owncloud just write my name and I'll try to help you. Maybe other people who use Plesk can also help. If we really find a bug, we can open a new issue but this bug report doesnt help other people to fix the issue. |
Hello Bernard, Thank you very much. Today I'am superbusy, I'll try it the next days. Klaus |
We experienced the same problem. The issue is solved by switching index.pl and index.php in /etc/apache2/mods-enabled/dir.conf. |
Thank you very much. What chrs wrote will fixe problem a). Klaus |
Actual behaviour
a) tons of errors in apache log when accessing with browser. See log below.
b) external storage: WebDav to hidrive (strato) does not work. FTP/Ftps to same resource does work.
c) owncloud client (windows) cannot sync to external storage, neither directly to ftps attached storage, nor to local mount point (which was WebDav to hidrive). Upgrade to client 1.21RC1 deletes the local files when trying to sync (!!)
d) Because not sure if bug or config problem: tried to register to forum.owncloud.org. No way - always problem with confirmation code (which is always the same...)
Steps to reproduce
Fresh installation of Ubuntu on Strato VServer. After install apt-get update, apt-upgrade. Added one domain with plesk.
Added Repo:
deb http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.04/ /
Installation as described here: http://software.opensuse.org/download/package?project=isv:ownCloud:community&package=owncloud (apt-get install owncloud and so forth)
Later alternatively installed via WebInstaller, same result.
Server configuration
Operating system: Ubuntu (uname -a: Linux hxxxxxxx.stratoserver.net 2.6.32-042stab055.12 #1 SMP Wed May 23 16:07:36 MSD 2012 i686 athlon i386 GNU/Linux)
Web server: apache 2.2.22-1ubuntu1.2
Database: SQLite
PHP version: 5.3.10-1ubuntu3.5
ownCloud version: ownCloud 4.5.7
Client configuration
Browser: ANY
Logs
a) Web server error log (while accessing clientsync)
[Mon Feb 25 22:00:36 2013] [error] [client 93.228.150.251] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/xxx.from-de.com/httpdocs/owncloud/index.pl, referer: https://www.xxx.from-de.com/owncloud/?app=files
[Mon Feb 25 22:00:37 2013] [error] [client 93.228.150.251] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/xxx.from-de.com/httpdocs/owncloud/index.pl, referer: https://www.xxx.from-de.com/owncloud/?app=files&dir=//clientsync
[Mon Feb 25 22:00:37 2013] [error] [client 93.228.150.251] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/xxx.from-de.com/httpdocs/owncloud/index.pl, referer: https://www.xxx.from-de.com/owncloud/?app=files&dir=//clientsyncInsert your webserver log here
b) Web server error log (while accessing WebDav)
Warning: curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /var/www/vhosts/xxx.from-de.com/httpdocs/owncloud/3rdparty/Sabre/DAV/Client.php on line 409, referer: https://www.xxx.from-de.com/owncloud/index.php
a) Web server log (while accessing clientsync)
xxx.yyy.zzz.ttt- - [25/Feb/2013:21:58:31 +0100] "GET /owncloud/?app=files&dir=//clientsync HTTP/1.1" 200 3412 "https://www.xxx.from-de.com/owncloud/?app=files" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:21:58:32 +0100] "GET /owncloud/?app=files&getfile=css%2Ffiles.css HTTP/1.1" 304 229 "https://www.xxx.from-de.com/owncloud/?app=files&dir=//clientsync" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:21:58:32 +0100] "GET /owncloud/remote.php/core.css HTTP/1.1" 304 229 "https://www.xxx.from-de.com/owncloud/?app=files&dir=//clientsync" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:21:58:32 +0100] "GET /owncloud/remote.php/core.js HTTP/1.1" 304 229 "https://www.xxx.from-de.com/owncloud/?app=files&dir=//clientsync" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:21:58:33 +0100] "GET /owncloud/core/img/actions/search.svg?2013-02-25T19:28:20Z HTTP/1.1" 304 213 "https://www.xxx.from-de.com/owncloud/remote.php/core.css" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:21:58:33 +0100] "POST /owncloud/core/ajax/translations.php HTTP/1.1" 200 921 "https://www.xxx.from-de.com/owncloud/?app=files&dir=//clientsync" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:21:58:33 +0100] "GET /owncloud/core/ajax/share.php?fetch=getItemsSharedStatuses&itemType=file HTTP/1.1" 200 778 "https://www.xxx.from-de.com/owncloud/?app=files&dir=//clientsync" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:21:58:33 +0100] "GET /owncloud/?app=files&getfile=ajax/scan.php&checkonly=true HTTP/1.1" 200 633 "https://www.xxx.from-de.com/owncloud/?app=files&dir=//clientsync" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:21:58:33 +0100] "GET /owncloud/cron.php HTTP/1.1" 200 617 "https://www.xxx.from-de.com/owncloud/?app=files&dir=//clientsync" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
b) Web server log (while accessing WebDav)
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:24 +0100] "GET /owncloud/?app=files&dir=//WebDAV HTTP/1.1" 302 2461 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:24 +0100] "GET /owncloud/index.php HTTP/1.1" 200 3428 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:25 +0100] "GET /owncloud/remote.php/core.css HTTP/1.1" 304 229 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:25 +0100] "GET /owncloud/core/img/favicon.png HTTP/1.1" 304 358 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:25 +0100] "GET /owncloud/remote.php/core.js HTTP/1.1" 304 374 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:25 +0100] "GET /owncloud/?app=files&getfile=css%2Ffiles.css HTTP/1.1" 304 374 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:26 +0100] "GET /owncloud/core/img/logo-wide.svg HTTP/1.1" 304 213 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:26 +0100] "GET /owncloud/core/img/actions/logout.svg HTTP/1.1" 304 358 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:26 +0100] "GET /owncloud/core/img/actions/settings.svg HTTP/1.1" 304 213 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:26 +0100] "GET /owncloud/core/img/actions/search.svg?2013-02-25T19:28:20Z HTTP/1.1" 304 213 "https://www.xxx.from-de.com/owncloud/remote.php/core.css" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:26 +0100] "GET /owncloud/core/img/breadcrumb.svg HTTP/1.1" 304 213 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:26 +0100] "GET /owncloud/core/img/places/music.svg HTTP/1.1" 304 213 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:26 +0100] "POST /owncloud/core/ajax/translations.php HTTP/1.1" 200 921 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:26 +0100] "GET /owncloud/settings/img/users.svg HTTP/1.1" 304 213 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:26 +0100] "GET /owncloud/apps/calendar/img/icon.svg HTTP/1.1" 304 213 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:26 +0100] "GET /owncloud/core/img/places/picture.svg HTTP/1.1" 304 213 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:26 +0100] "GET /owncloud/core/img/places/home.svg HTTP/1.1" 304 358 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:26 +0100] "GET /owncloud/?app=files&getfile=ajax/scan.php&checkonly=true HTTP/1.1" 200 633 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:26 +0100] "POST /owncloud/core/ajax/translations.php HTTP/1.1" 200 3945 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:26 +0100] "GET /owncloud/cron.php HTTP/1.1" 200 617 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
xxx.yyy.zzz.ttt- - [25/Feb/2013:22:18:26 +0100] "GET /owncloud/core/ajax/share.php?fetch=getItemsSharedStatuses&itemType=file HTTP/1.1" 200 633 "https://www.xxx.from-de.com/owncloud/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
ownCloud log (data/owncloud.log)
a) nothing
b) {"app":"webdav client","message":"HTTP error response. (errorcode 401)","level":3,"time":1361826684}
The text was updated successfully, but these errors were encountered: