Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DAViCal: General

Database version missmatch: Git checkout - debian package

 

 

DAViCal general RSS feed   Index | Next | Previous | View Threaded


felix.rupp at gmail

Sep 23, 2011, 12:00 PM

Post #1 of 4 (203 views)
Permalink
Database version missmatch: Git checkout - debian package

Hello all,

I ran into a dumb problem while moving my davical installation from old server to new one. The old server had the git master-branch checked out, so the database has patch 1.2.11 applied. The new server runs with debian, so I installed davical via apt-get.

I have no problems on running the server itself but it comes to problems, when I try to configure my Client (iCal 4.0.4). The application says it can't find the calendar files on "/caldav.php/myusername/". The database is consistent and 100% okay. I tested this with my "old" accounts and with a newly created test-user.

Problem now seems, that the debian package has a slightly different database version than the git-checkout (<- logical to me) and this causes the problems. That means: My database is on patch 1.2.11, but davical (from debian) awaits 1.2.10.

Any ideas how I can fix this without giving up the installed debian package (much more comfortable than git checkout ;) ).


Thanks in advance!


Regards

Felix
Attachments: PGP.sig (0.22 KB)


mir at datanom

Sep 23, 2011, 1:02 PM

Post #2 of 4 (225 views)
Permalink
Re: Database version missmatch: Git checkout - debian package [In reply to]

On Fri, 23 Sep 2011 21:00:22 +0200
Felix Rupp <felix.rupp [at] gmail> wrote:

>
> Any ideas how I can fix this without giving up the installed debian package (much more comfortable than git checkout ;) ).
Run the database update script from /usr/share/davical/dba
eg.
1) cd /usr/share/davical/dba
2) ./update-davical-database

--
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
Attachments: signature.asc (0.19 KB)


andrew at morphoss

Sep 23, 2011, 4:30 PM

Post #3 of 4 (218 views)
Permalink
Re: Database version missmatch: Git checkout - debian package [In reply to]

On Fri, 2011-09-23 at 21:00 +0200, Felix Rupp wrote:
> Hello all,
>
> I ran into a dumb problem while moving my davical installation from
> old server to new one. The old server had the git master-branch
> checked out, so the database has patch 1.2.11 applied. The new server
> runs with debian, so I installed davical via apt-get.
>
> I have no problems on running the server itself but it comes to
> problems, when I try to configure my Client (iCal 4.0.4). The
> application says it can't find the calendar files on
> "/caldav.php/myusername/". The database is consistent and 100% okay. I
> tested this with my "old" accounts and with a newly created test-user.
>
> Problem now seems, that the debian package has a slightly different
> database version than the git-checkout (<- logical to me) and this
> causes the problems. That means: My database is on patch 1.2.11, but
> davical (from debian) awaits 1.2.10.
>
> Any ideas how I can fix this without giving up the installed debian
> package (much more comfortable than git checkout ;) ).

Hi Felix,

You can wait about three days until the current Git HEAD becomes the
released package :-)

The problem occurs because the upcoming patch restructures the database
handling of timezones and the 1.2.11 patch does something which I don't
normally do: it drops the time_zone table after converting all the
records to the new timezones table for the new Timezone Server
functionality which will land in 0.9.9.6...

Another thing you could do would be to re-create the time_zone table
according to the details in davical.sql but I really think you'd be
better to just wait until monday and update to the latest packages.

Actually there are two things I've done in this recent development
sprint which are unusual: I don't normally even commit the SQL patch to
Git until it is finalised...

Cheers,
Andrew.

--
------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com +64(272)DEBIAN
Your heart is pure, and your mind clear, and your soul devout.
------------------------------------------------------------------------
Attachments: signature.asc (0.82 KB)


felix.rupp at gmail

Sep 24, 2011, 1:44 AM

Post #4 of 4 (196 views)
Permalink
Re: Database version missmatch: Git checkout - debian package [In reply to]

Hi Andrew,

thank you for your fast reply.

It's not a big problem for me to wait a couple of days, the old server still does his job :) .


Thank you for the great work!


Regards

Felix



Am 24.09.2011 um 01:30 schrieb Andrew McMillan:

> On Fri, 2011-09-23 at 21:00 +0200, Felix Rupp wrote:
>> Hello all,
>>
>> I ran into a dumb problem while moving my davical installation from
>> old server to new one. The old server had the git master-branch
>> checked out, so the database has patch 1.2.11 applied. The new server
>> runs with debian, so I installed davical via apt-get.
>>
>> I have no problems on running the server itself but it comes to
>> problems, when I try to configure my Client (iCal 4.0.4). The
>> application says it can't find the calendar files on
>> "/caldav.php/myusername/". The database is consistent and 100% okay. I
>> tested this with my "old" accounts and with a newly created test-user.
>>
>> Problem now seems, that the debian package has a slightly different
>> database version than the git-checkout (<- logical to me) and this
>> causes the problems. That means: My database is on patch 1.2.11, but
>> davical (from debian) awaits 1.2.10.
>>
>> Any ideas how I can fix this without giving up the installed debian
>> package (much more comfortable than git checkout ;) ).
>
> Hi Felix,
>
> You can wait about three days until the current Git HEAD becomes the
> released package :-)
>
> The problem occurs because the upcoming patch restructures the database
> handling of timezones and the 1.2.11 patch does something which I don't
> normally do: it drops the time_zone table after converting all the
> records to the new timezones table for the new Timezone Server
> functionality which will land in 0.9.9.6...
>
> Another thing you could do would be to re-create the time_zone table
> according to the details in davical.sql but I really think you'd be
> better to just wait until monday and update to the latest packages.
>
> Actually there are two things I've done in this recent development
> sprint which are unusual: I don't normally even commit the SQL patch to
> Git until it is finalised...
>
> Cheers,
> Andrew.
>
> --
> ------------------------------------------------------------------------
> andrew (AT) morphoss (DOT) com +64(272)DEBIAN
> Your heart is pure, and your mind clear, and your soul devout.
> ------------------------------------------------------------------------
>
Attachments: PGP.sig (0.22 KB)

DAViCal general RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.