I get 301 if I uste http and 404 if I use https
Now, no matter if I enter the address with https or http in my webbrowser: it
will ask me for username and password.
If I enter those I than arrive on a page "Cloud nicht gefunden"
Best regards
**********************************************************************************************
I get 404 if I use https
**********************************************************************************************
Nokia-N900:/home/user# ./owncloud_new.sh
[DEBUG 00:00:00] Tue 2013-07-23 18:51:04 UTC = 20:51 +0200 CEST
[DEBUG 00:00:00] using libneon neon 0.29.3: Library build, IPv6, libxml
2.6.32, zlib 1.2.3, OpenSSL 0.9.8g 19 Oct 2007. with SSL, ZLIB, IPV6, LFS,
TS_SSL, I18N
HTTP session to
https://my.owndrive.com:443 begins.
[DEBUG 00:00:00] client cert is missing
[DEBUG 00:00:00] calendar: slow sync or testing, do full item scan to detect
changes
[DEBUG 00:00:00] starting REPORT 'meta data', credentials unverified, deadline
in 300.0s
ah_create, for WWW-Authenticate
Running pre_send hooks
[DEBUG 00:00:00] forced sending credentials
Sending request headers:
REPORT /remote.php/caldav/calendars/renn0xtek9/calendar/ HTTP/1.1
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers
Host:
my.owndrive.com
Content-Length: 305
Depth: 1
Content-Type: application/xml; charset="utf-8"
Authorization: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sending request-line and headers:
Doing DNS lookup on
my.owndrive.com...
Connecting to 109.201.135.59
[DEBUG 00:00:00]
https://my.owndrive.com:443/remote.php/caldav/calendars/renn0xtek9/calendar/:
SSL verification problem: untrusted certificate
[DEBUG 00:00:00] ignoring bad certificate
Sending request body:
Body block (305 bytes):
[<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:D="DAV:"
xmlns:C="urn:ietf:params:xml:ns:caldav">
<D:prop>
<D:getetag/>
<C:calendar-data/>
</D:prop>
<C:filter>
<C:comp-filter name="VCALENDAR">
<C:comp-filter name="VEVENT">
</C:comp-filter>
</C:comp-filter>
</C:filter>
</C:calendar-query>
]
Request sent; retry is 0.
[status-line] < HTTP/1.1 404 Not Found
[hdr] Date: Tue, 23 Jul 2013 18:50:32 GMT
Header Name: [date], Value: [Tue, 23 Jul 2013 18:50:32 GMT]
[hdr] Content-Type: text/html
Header Name: [content-type], Value: [text/html]
[hdr] Transfer-Encoding: chunked
Header Name: [transfer-encoding], Value: [chunked]
[hdr] Connection: keep-alive
Header Name: [connection], Value: [keep-alive]
[hdr] Vary: Accept-Encoding
Header Name: [vary], Value: [Accept-Encoding]
[hdr] Strict-Transport-Security: max-age=0
Header Name: [strict-transport-security], Value: [max-age=0]
[hdr] Set-Cookie: PHPSESSIDI=27aksi6dvecmg02u9gbors5j60; path=/; HttpOnly
Header Name: [set-cookie], Value: [PHPSESSIDI=27aksi6dvecmg02u9gbors5j60;
path=/; HttpOnly]
[hdr] Expires: Thu, 19 Nov 1981 08:52:00 GMT
Header Name: [expires], Value: [Thu, 19 Nov 1981 08:52:00 GMT]
[hdr] Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-
check=0
Header Name: [cache-control], Value: [no-store, no-cache, must-revalidate,
post-check=0, pre-check=0]
[hdr] Pragma: no-cache
Header Name: [pragma], Value: [no-cache]
[hdr] X-XSS-Protection: 1; mode=block
Header Name: [x-xss-protection], Value: [1; mode=block]
[hdr] X-Content-Type-Options: nosniff
Header Name: [x-content-type-options], Value: [nosniff]
[hdr] X-Frame-Options: Sameorigin
Header Name: [x-frame-options], Value: [Sameorigin]
[hdr] Content-Security-Policy: default-src 'self'; script-src 'self'
'unsafe-
eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *;
font-src
'self' data:; media-src *
Header Name: [content-security-policy], Value: [default-src 'self'; script-src
'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline';
frame-src *; img-src
*; font-src 'self' data:; media-src *]
[hdr] Server: Apache
Header Name: [server], Value: [Apache]
[hdr]
End of headers.
Running post_headers hooks
[chunk] < 1478
Got chunk size: 5240
Reading 5240 bytes of response body.
Got 3400 bytes.
Read block (3400 bytes):
[
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml">
<head data-requesttoken="2489d99251b9f5e2431e">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"
/>
<meta name="keywords" content="free online storage, free storage, online
storage, free cloud storage, cloud storage, universal file access, web
interface, webdav, caldav, carddav, calendar, contacts, bookmarks\
, music player, media player, gallery, image viewer, web editing, free file
sharing, file sharing, owndrive, own drive, own cloud drive, owncloud, owncloud
hosting, owncloud service provider, owncloud provider\
, multi-platform, hard drive crash, undelete, file version, historical
versioning, online sync, online backup, online storage, online access, file
recover, mobile access, windows, mac, osx, android, iOS, linux\
, fedora, centos, rhel, ubuntu, debian, opensuse, data, open source, oss, foss
">
<meta name="description" content="ownDrive is easy to use free online
storage
service for businesses, professionals, and individuals to store, backup,
collaborate and share files with others.">
<title>Free Online Storage, Sync, Access, Backup and Share With Anyone -
ownDrive</title>
<link href="/owndrive/css/style.css" rel="stylesheet" />
<link rel="shortcut icon"
href="/themes/owndrive/core/img/favicon.ico">
<body>
<div id="header-main">
<div id="wrapper">
<div id="header">
<a href="https://owndrive.com"> <img
src="/owndrive/images/logo.png"
align="left" width="185" height="35"
style="padding-top:12px"/> </a>
<p>Trusted Cloud Storage</p>
<div id="header_menu">
<div id="top_menu">
<span class="span1"></span><span
class="span2"></span><a class="a"
href="#"></a>
</div>
<div id="bot_menu">
<ul>
<li><a href="/">Home</a></li>
<li><a
href="https://owndrive.com/clients/">Sync
Clients</a></li>
<li><a
href="https://owndrive.com/support/">Support</a></l...
<li><a
href="https://owndrive.com/about/">About
Us</a></li>
</ul>
</div>
</div>
</div>
</div>
</div><!--End div header main-->
<title>OwnDrive</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<meta name="apple-itunes-app"
content="app-id=543672169">
<link rel="shortcut icon"
href="/themes/owndrive/core/img/favicon.ico" />
<link rel="apple-touch-icon-precomposed"
href="/themes/owndrive/core/img/favicon-touch.png" />
<script type="text/javascript"
src="/index.php/core/js/config.js?v=f0873a91b499e265ff6d78ff6e8985a0"></script>
<script type="text/javascript"
src="/remote.php/core.js?v=f0873a91b499e265ff6d78ff6e8985a0"></script>
</head>
<div id="header-main-bottom">
<div id="wrapper">
<div id="header">
<div class="tour"><span
class="about">Login</span></div>
</div>
</div>
</div>
<div id="main">
<div class="clear"></div>
<div id="body"><br />
<div id="content" class="sign-upcontent">
<div id="cont1">
<h2>OwnDrive Freemium Account Login</h2>
<!-- <h3> You are just a step away from your <strong>FREE</strong>
OwnDrive</h3> -->
<div class="clear"></div>
<div id="manner">
<div id="img_mttr">
<ul>
<li class='error]
Reading 1840 bytes of response body.
Got 1840 bytes.
Read block (1840 bytes):
['>
Cloud not found<br/>
<p class='hint'></p>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="footer">
<div id="footer-container" >
<div id="footer-links" >
<ul class="footer-list">
<h3>Product </h3>
<li> <a href="#" >Free</a> </li>
<li> <a href="#" >Pro</a> </li>
<li> <a href="#" >Team/Admin</a> </li>
</ul>
<ul class="footer-list">
<h3>Get The App</h3>
<li> <a
href="https://owndrive.com/clients/" > iPhone
</a> </li>
<li> <a
href="https://owndrive.com/clients/" > Android
</a> </li>
<li> <a
href="https://owndrive.com/clients/" > Windows
</a> </li>
<li> <a
href="https://owndrive.com/clients/" > Linux
</a> </li>
</ul>
<ul class="footer-list">
<h3>Learn More </h3>
<li> <a
href="https://owndrive.com/about/" > About Us </a>
</li>
<li> <a
href="https://owndrive.com/#" > Blog </a> </li>
<li> <a
href="https://owndrive.com/#" > News </a> </li>
<li> <a
href="https://owndrive.com/contact/" > Contact Us </a>
</li>
</ul>
<ul class="social">
<h3> Connect with us </h3>
<li class="facebook"> <a
href="http://facebook.com/owndrive/" rel="ext"
target="_blank">Facebook</a></li>
<li class="twitter"> <a
href="http://twitter.com/owndrive/"
rel="ext"
target="_blank">Twitter</a></li>
<li class="google"> <a
href="https://plus.google.com/109185684609675701026"
rel="ext" target="_blank">Google+</a></li>
</ul>
</div>
<div id="copyright">
<div id="subfooter">
<ul>
<li> <a
href="https://owndrive.com/privacy/">Terms of use</a>
·</li>
<li> <a
href="https://owndrive.com/privacy/">Privacy
Policy</a></li>
</ul>
</div>
<p>© 2013
Owndrive.com. All Rights Reserved. </p>
</div>
</div> <!-- end #footer-container -->
</div> <!-- end #footer -->
</body>
</html>
]
[chunk] < 0
Got chunk size: 0
[hdr]
End of headers.
Running post_send hooks
ah_post_send (#0), code is 404 (want 401), WWW-Authenticate is (none)
[DEBUG 00:00:00] REPORT 'meta data': bad HTTP status: <status 1.1, code 404,
class 4, Not Found>, must not retry
Running destroy hooks.
Request ends.
[DEBUG 00:00:00] exception thrown at src/backends/webdav/NeonCXX.cpp:719
[ERROR 00:00:00] error code from SyncEvolution object not found (remote,
status 404): REPORT 'meta data': bad HTTP status: <status 1.1, code 404, class
4, Not Found>
[ERROR 00:00:00] calendar: reading items
sess: Destroying session.
**********************************************************************************************
I get 301 if I use http
**********************************************************************************************
Nokia-N900:/home/user# ./owncloud_new.sh
[DEBUG 00:00:00] Tue 2013-07-23 18:58:48 UTC = 20:58 +0200 CEST
[DEBUG 00:00:00] using libneon neon 0.29.3: Library build, IPv6, libxml
2.6.32, zlib 1.2.3, OpenSSL 0.9.8g 19 Oct 2007. with SSL, ZLIB, IPV6, LFS,
TS_SSL, I18N
HTTP session to
http://my.owndrive.com:80 begins.
[DEBUG 00:00:00] calendar: slow sync or testing, do full item scan to detect
changes
[DEBUG 00:00:00] starting REPORT 'meta data', credentials unverified, deadline
in 300.0s
ah_create, for WWW-Authenticate
Running pre_send hooks
[DEBUG 00:00:00] forced sending credentials
Sending request headers:
REPORT /remote.php/caldav/calendars/renn0xtek9/calendar/ HTTP/1.1
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers
Host:
my.owndrive.com
Content-Length: 305
Depth: 1
Content-Type: application/xml; charset="utf-8"
Authorization: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sending request-line and headers:
Doing DNS lookup on
my.owndrive.com...
Connecting to 109.201.135.59
Sending request body:
Body block (305 bytes):
[<?xml version="1.0" encoding="utf-8" ?>
<C:calendar-query xmlns:D="DAV:"
xmlns:C="urn:ietf:params:xml:ns:caldav">
<D:prop>
<D:getetag/>
<C:calendar-data/>
</D:prop>
<C:filter>
<C:comp-filter name="VCALENDAR">
<C:comp-filter name="VEVENT">
</C:comp-filter>
</C:comp-filter>
</C:filter>
</C:calendar-query>
]
Request sent; retry is 0.
[status-line] < HTTP/1.1 301 Moved Permanently
[hdr] Date: Tue, 23 Jul 2013 18:58:16 GMT
Header Name: [date], Value: [Tue, 23 Jul 2013 18:58:16 GMT]
[hdr] Content-Type: text/html
Header Name: [content-type], Value: [text/html]
[hdr] Content-Length: 178
Header Name: [content-length], Value: [178]
[hdr] Connection: keep-alive
Header Name: [connection], Value: [keep-alive]
[hdr] Location:
https://my.owndrive.com/remote.php/caldav/calendars/renn0xtek9/calendar/
Header Name: [location], Value:
[
https://my.owndrive.com/remote.php/caldav/calendars/renn0xtek9/calendar/]
[hdr] Server: Apache
Header Name: [server], Value: [Apache]
[hdr]
End of headers.
Running post_headers hooks
Reading 178 bytes of response body.
Got 178 bytes.
Read block (178 bytes):
[<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
]
Running post_send hooks
ah_post_send (#0), code is 301 (want 401), WWW-Authenticate is (none)
Running destroy hooks.
Request ends.
[DEBUG 00:00:00] TransportException thrown at
src/backends/webdav/NeonCXX.cpp:560
[ERROR 00:00:00] transport problem: REPORT 'meta data': 301 status: redirected
to
https://my.owndrive.com/remote.php/caldav/calendars/renn0xtek9/calendar/
[ERROR 00:00:00] calendar: reading items
sess: Destroying session.
On Mon, 2013-07-22 at 20:01 +0200, Maxime Haselbauer wrote:
Okay, so now I have this script (Note: I have replaced the right
password
and
username in this mail by my_password and my_username in reality these
are
directly my user names and password)
Nokia-N900:/home/user# more owncloud_new.sh
#!/bin/bash
syncevolution --configure \
^^^^^^
Extra spaces.
--template webdav \
username=my_username \
password=my_password \
target-config@owncloud
[...]
syncevolution --print-items loglevel=4 target-config@owncloud
calendar
**********************************************************************************
And it says that:
**********************************************************************************
Nokia-N900:/home/user# ./owncloud_new.sh
./owncloud_new.sh: line 3: --template: command not found
./owncloud_new.sh: line 25: owncloud: command not found
Fix the script, please. Because of the extra spaces after the backslash,
line continuation does not work and the first command fails.
If you keep getting the 404 error, double-check the URLs that you are
using as starting point.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.