Calender not modified .... Found unexpected status on some properties: HTTP/1.1 200 OK

79 views
Skip to first unread message

nasseeder

unread,
Feb 11, 2015, 4:16:57 PM2/11/15
to agend...@googlegroups.com
Hi all,

I'm running Agendav 1.2.6.2 with the CalDAV Server built in Synology NAS.
Most things are running fine. I can create calendars, create/delete appointments and s.o. ... no problems.
But once I have created a calender and try to change some properties like the name or colour og it, then an error occurs (in logfile):

INTERNALS - 2015-02-11 21:56:31 --> <username>@<Serveraddress> Calendar 1B185D42-2A0E-431F-B29D-8561BE2F151D not modified. Found unexpected status on some properties: HTTP/1.1 200 OK

Another thing is that the calender created with the Synology built in CalDAV Server has been loaded and I can create some data in it ... all that things are working good. But the name of this calender is blank
and if I try to change some properties the same error appears as described before.

Hope anybody is having a clue and could give me some hints.

Thanks a lot !

nasseeder

nasseeder

unread,
Feb 18, 2015, 2:18:23 PM2/18/15
to agend...@googlegroups.com


 Does nobody have any idea ?  ......


Jorge López Pérez

unread,
Mar 3, 2015, 6:31:55 AM3/3/15
to agend...@googlegroups.com
Hi nasseeder,

On Wed, Feb 18, 2015, at 20:18, nasseeder wrote:
> Does nobody have any idea ? ......

Do the calendar name/color actually change despite the error message?

The CalDAV client has changed a lot since 1.2.6.2. Would you mind to
test the development branch against your Synology NAS? This URL explains
how to set up a development environment:
https://agendav.readthedocs.org/en/develop/development/ .

Regards.

--
Jorge López Pérez
http://adobo.org

nasseeder

unread,
Mar 3, 2015, 5:36:18 PM3/3/15
to agend...@googlegroups.com
Hi Jorge,

thanks a lot for answering.
No, the name or color will not be changed when I try it.

At the time I have only a little bit time because of my job :-)
But I will try to test your development branch asap ... I hope I'm able to understand the setup of the development branch as described on the webside.
Please be patient .... in case of any questions I will come back again.

If you have further ideas to solve the problem please don't hesitate to contact me again.

Thank you Jorge !

regards,
Frank

nasseeder

unread,
Mar 14, 2015, 4:05:04 AM3/14/15
to agend...@googlegroups.com
Hi Jorge,

now I looked at it. Indeed I was wondering why I need a virtual machine with all components like web server, PHP, PHP libraries, Composer, a CalDAV server... to test the new version of AgenDAV because I use that components installed on my NAS.
Particularly the CalDAV Server installed on my NAS is needed to test against.
Wouldn't it be better to download the latest version of 2.x AgenDAV, install it in a new Webserver Home on my NAS and test it aginst the CalDAV Server running on that NAS ?
If you agree please let me know where I could download the latest development version of AgenDAV and will going to try it.

with best regards

Frank

Am Dienstag, 3. März 2015 12:31:55 UTC+1 schrieb Jorge Lopez:

Jorge López Pérez

unread,
Mar 16, 2015, 4:09:57 AM3/16/15
to agend...@googlegroups.com
Hi Frank,

On Sat, Mar 14, 2015, at 09:05, nasseeder wrote:

> now I looked at it. Indeed I was wondering why I need a virtual machine
> with all components like web server, PHP, PHP libraries, Composer, a
> CalDAV
> server... to test the new version of AgenDAV because I use that
> components
> installed on my NAS.
> Particularly the CalDAV Server installed on my NAS is needed to test
> against.

Well, it's easier to boot the provided VM and have it working right out
of the box than doing it all by hand.

This is just a testing/development environment. Installing AgenDAV on a
production server will always require some work on your part.

> Wouldn't it be better to download the latest version of 2.x AgenDAV,
> install it in a new Webserver Home on my NAS and test it aginst the
> CalDAV
> Server running on that NAS ?
> If you agree please let me know where I could download the latest
> development version of AgenDAV and will going to try it.

I'd suggest going the VM way and configuring AgenDAV inside it to use
the CalDAV server on your NAS. That way you will have a working
environment without the hassle of having to do anything on your NAS.

In case you still want to install it on your NAS, you can download the
code from GitHub using either git (https://github.com/adobo/agendav) or
a zip file (https://github.com/adobo/agendav/archive/develop.zip).
Installation instructions can be found at
https://agendav.readthedocs.org/en/develop/ .

nasseeder

unread,
Mar 21, 2015, 6:32:58 AM3/21/15
to agend...@googlegroups.com
HI Jorge,

I decided to install the development environment now.
I downloaded vagrant (the virtual box was already installed and used before) and installed it.
But when I try to use it an error is appeared and I wasn't able to use it:

C:\>vagrant init
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.

C:\>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'base' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Adding box 'base' (v0) for provider: virtualbox
    default: Downloading: base
    default:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

Couldn't open file /base

C:\>

best regards,
Frank

Jorge López Pérez

unread,
Mar 23, 2015, 4:13:51 AM3/23/15
to agend...@googlegroups.com
Hi Frank,

On Sat, Mar 21, 2015, at 11:32, nasseeder wrote:

> C:\>vagrant init
> A `Vagrantfile` has been placed in this directory. You are now
> ready to `vagrant up` your first virtual environment! Please read
> the comments in the Vagrantfile as well as documentation on
> `vagrantup.com` for more information on using Vagrant.

Seems that you are trying to initialize a clean Vagrant environment on
your C: disk. AgenDAV ships with a prepared Vagrantfile, and it is what
you have to use.

Please, download the code from AgenDAV git repository (or from
https://github.com/adobo/agendav/archive/develop.zip) and once inside
the directory follow the instructions at
https://agendav.readthedocs.org/en/develop/development/ .

nasseeder

unread,
Mar 30, 2015, 3:11:35 PM3/30/15
to agend...@googlegroups.com
Hi Jorge,

the agendavdev-VM is installed now and it is running .... I was able to connect with ssh client wirh the ... agendavdev\.vagrant\machines\default\virtualbox\private_key.
But the URLs:
http://127.0.0.1/8080
http://127.0.0.1/8081
don't work.

Here is a screen print-out  from starting the VM:

C:\Downloads\agendavdev>vagrant up

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/trusty64' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 80 => 8080 (adapter 1)
    default: 81 => 8081 (adapter 1)
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Mounting shared folders...
    default: /vagrant => C:/Downloads/agendavdev
    default: /vagrant/web/var => C:/Downloads/agendavdev/web/var
==> default: Machine already provisioned. Run `vagrant provision` or use the `--
provision`
==> default: to force provisioning. Provisioners marked to run always will still
 run.

C:\Downloads\agendavdev>

May be it's a problem with the ansible-playbook ... I wasn't able to install ansible  because the software doesn't support Windows or I didn't found the right version to install it on my client.
Do you have a hint how I have to install/use ansible on my windows client where I'm already have running vagrant and virtualbox.                                              
Sorry for the lot of questions and your inconveniences with that, but I'm not an developer.

regards,
Frank

Jorge López Pérez

unread,
Mar 31, 2015, 12:19:05 PM3/31/15
to agend...@googlegroups.com
Hi Frank,

On Mon, Mar 30, 2015, at 21:11, nasseeder wrote:

> May be it's a problem with the ansible-playbook ... I wasn't able to
> install ansible because the software doesn't support Windows or I didn't
> found the right version to install it on my client.
> Do you have a hint how I have to install/use ansible on my windows client
> where I'm already have running vagrant and virtualbox.

Unfortunately seems that Ansible can't be run on windows:

--8<--
Reminder: You Must Have a Linux Control Machine
Note running Ansible from a Windows control machine is NOT a goal of the
project. Refrain from asking for this feature, as it limits what
technologies, features, and code we can use in the main project in the
future. A Linux control machine will be required to manage Windows
hosts.

Cygwin is not supported, so please do not ask questions about Ansible
running from Cygwin.
-->8--

Source: http://docs.ansible.com/intro_windows.html

> Sorry for the lot of questions and your inconveniences with that, but I'm
> not an developer.

Hey, no worries.

You can still use a Vagrant machine to set up AgenDAV inside. Just
follow the documentation at
http://agendav.readthedocs.org/en/develop/admin/installation/ . You can
also read the ansible playbook and follow the steps in the same order.
Ansible playbooks are pretty human readable, so it should be easy!

nasseeder

unread,
Mar 31, 2015, 5:01:28 PM3/31/15
to agend...@googlegroups.com
HI Jorge,

a new problem has appeared.
There should be a directory "../web/vendor" with content, e.g. autoload.php. But there isn't it and neither I have seen it on Github (https://github.com/adobo/agendav/tree/develop/web).

regards,
Frank

Jorge López Pérez

unread,
Apr 8, 2015, 2:03:40 AM4/8/15
to agend...@googlegroups.com
Hi Frank,

On Tue, Mar 31, 2015, at 23:01, nasseeder wrote:

> There should be a directory "../web/vendor" with content, e.g.
> autoload.php. But there isn't it and neither I have seen it on Github
> (https://github.com/adobo/agendav/tree/develop/web).

I think you missed this step from the installation guide:
https://agendav.readthedocs.org/en/develop/admin/installation/#download-dependencies-only-for-git

nasseeder

unread,
Apr 12, 2015, 3:18:36 AM4/12/15
to agend...@googlegroups.com
Hi Jorge,

ok, you are right .... I've forgotten it ... ;-)

regards
Frank

nasseeder

unread,
Apr 12, 2015, 4:43:05 AM4/12/15
to agend...@googlegroups.com
Hi Jorge,

after I've installed the dependencies right now the application seems to be running now in principal.
I've passed the configtest.php with one error ... the file config.php doesn't exist but this should be ok I think because the application is using settings.php instead now.

But when I try to login with http://agvtest.myds.me  (the virtual host agvtest.myds.me is pointing to .../web/public) the browser is going to http://agvtest.myds.me/login and  the errormessage is appearing:

" The site couldn't be found" .

I haven't an idea what could be wrong.
Thank you for your support Jorge !

best regards

Frank

Am Mittwoch, 8. April 2015 08:03:40 UTC+2 schrieb Jorge Lopez:

Jorge López Pérez

unread,
Apr 14, 2015, 3:24:02 AM4/14/15
to agend...@googlegroups.com
Hi Frank,

On Sun, Apr 12, 2015, at 10:43, nasseeder wrote:

> But when I try to login with http://agvtest.myds.me (the virtual host
> agvtest.myds.me is pointing to .../web/public) the browser is going to
> http://agvtest.myds.me/login and the errormessage is appearing:
>
> " The site couldn't be found" .

Did you configure your web server to do URL rewriting? Apache can be
configured as shown here:
https://agendav.readthedocs.org/en/develop/admin/installation/#configuring-apache-to-serve-agendav
.

nasseeder

unread,
Apr 19, 2015, 2:28:19 AM4/19/15
to agend...@googlegroups.com
Hi Jorge,
Yes I did. But unfortunately I wasn't able to use "copy and paste" right. ;-)
There was an error in my vhost-definition. I corrected it and now I am at the next failure.
I'm getting a HTTP 500 Server failure now and in the agendav_error_log I find:


Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

For testing I increased it to 100 but it didn't help.

So I have to check the installation again.
If you have any hints please come back again.

best regards,
Frank

Jorge López Pérez

unread,
Apr 28, 2015, 2:48:16 AM4/28/15
to agend...@googlegroups.com
Hi Frank,

On Sun, Apr 19, 2015, at 08:28, nasseeder wrote:

> Request exceeded the limit of 10 internal redirects due to probable
> configuration error. Use 'LimitInternalRecursion' to increase the limit
> if
> necessary. Use 'LogLevel debug' to get a backtrace.

This is usually related to problems with URL rewriting. Can you show us
your vhost configuration and your 'base_url' AgenDAV parameter?

nasseeder

unread,
May 1, 2015, 2:54:04 AM5/1/15
to agend...@googlegroups.com
Hi Jorge,

that's my vhost part:

<VirtualHost *:80>
ServerName agvtest.myds.me
DocumentRoot "/var/services/web/agendavdev/web/public"
ErrorLog logs/agendav_error_log
CustomLog logs/agendav_access_log common
ErrorDocument 403 "/webdefault/error.html"
ErrorDocument 404 "/webdefault/error.html"
ErrorDocument 500 "/webdefault/error.html"
 <Location />
   RewriteEngine On
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteRule ^ index.php [QSA,L]
 </Location>
</VirtualHost>

and there is the basurl string defined in settings.php:

// Base URL
$app['caldav.baseurl'] = 'http://sds1.myds.me:5005/calendars/%s/';

It's the same Calendar-Server as I use with version 1.x.

best regards
Frank 
Reply all
Reply to author
Forward
0 new messages