Mailing List Archive

need help for davical problem
hello,

I installed years ago davical on ubuntu,
it worked fine for years.

When I updated ubuntu from 20 to 22.04
something went wrong.

First there was no connection reported.

I tried to fix the PHP APACHE2 Problems. ( 7.4 --> 8.1 )

Now I get Http 500 Error.

I did not maintain the installation so it runs on postgres 10 - I was
unaware hat manual installation is not maintained by apt-get

I have no idea how I could check where the problem is or to fix it


I am looking for some help or manual
to repair und update the broken configuration 

or

to extract adresses and calendar data and move to up to date version of
davical how it is built in ubuntu 22

or

to extract addresses and calendar and move to another software.


Can anyone give me some help and recommendation?


regards

Jo






_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general
Re: need help for davical problem [ In reply to ]
Le 1/16/23 à 12:24, adg a écrit :
> hello,
>
> I installed years ago davical on ubuntu,
> it worked fine for years.
>
> When I updated ubuntu from 20 to 22.04
> something went wrong.
>
> First there was no connection reported.
>
> I tried to fix the PHP APACHE2 Problems. ( 7.4 --> 8.1 )
>
> Now I get Http 500 Error.
>
> I did not maintain the installation so it runs on postgres 10 - I was
> unaware hat manual installation is not maintained by apt-get
>
> I have no idea how I could check where the problem is or to fix it
>
>
> I am looking for some help or manual
> to repair und update the broken configuration
>
> or
>
> to extract adresses and calendar data and move to up to date version of
> davical how it is built in ubuntu 22
>
> or
>
> to extract addresses and calendar and move to another software.

I have not a simple answer....

So it will be a complex answer.

I got a similar problem when I did update Ubuntu some day : no more
telephony (asterisk) in the company.

Fortunately, albeit deliberately,   it was a Friday evening. I did
(adapted to your problem of davical):

1- switched to debian...

2-installed a basic deban with lxd. Keep the basic system as small as
possible and work in lxd VMs.

3- install  a VM with  web server (nginx in my case), test it !

4- install a VM with postgres, test it,

5- install davical, test it

6 - migrate you old davical database to new postgres

The benefits are for the future : if an update fails, you restore
instantly the previous VM, and you start to think without the pressure
of a server down...





_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general
Re: need help for davical problem [ In reply to ]
Hi Jo,

unfortunately, Ubuntu 22.04 seems to have picked a version of DAViCal
that is incompatible with the PHP version shipped. I think you will need
to upgrade to 1.1.11 / libawl-php 0.63 to get that fixed. See
https://bugs.launchpad.net/ubuntu/+source/davical/+bug/2000824

Florian

On Mon, Jan 16, 2023 at 12:24:46PM +0100, adg wrote:
>
> hello,
>
> I installed years ago davical on ubuntu,
> it worked fine for years.
>
> When I updated ubuntu from 20 to 22.04
> something went wrong.
>
> First there was no connection reported.
>
> I tried to fix the PHP APACHE2 Problems. ( 7.4 --> 8.1 )
>
> Now I get Http 500 Error.
>
> I did not maintain the installation so it runs on postgres 10 - I was
> unaware hat manual installation is not maintained by apt-get
>
> I have no idea how I could check where the problem is or to fix it
>
>
> I am looking for some help or manual
> to repair und update the broken configuration?
>
> or
>
> to extract adresses and calendar data and move to up to date version of
> davical how it is built in ubuntu 22
>
> or
>
> to extract addresses and calendar and move to another software.
>
>
> Can anyone give me some help and recommendation?
>
>
> regards
>
> Jo
>
>
>
>
>
>
> _______________________________________________
> Davical-general mailing list
> Davical-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/davical-general


_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general
Re: need help for davical problem [ In reply to ]
Hi Florian, hi Jo,

On 17-Jan-23 12:44, Florian Schlichting wrote:
> Hi Jo,
>
> unfortunately, Ubuntu 22.04 seems to have picked a version of DAViCal
> that is incompatible with the PHP version shipped. I think you will need
> to upgrade to 1.1.11 / libawl-php 0.63 to get that fixed. See
> https://bugs.launchpad.net/ubuntu/+source/davical/+bug/2000824

Davical runs fine on my installation of Ubuntu 22.04 with PHP 8.1.
I feel compelled to mention that I did not upgrade from 20.4, but
started on a fresh installation of 22.04.

> On Mon, Jan 16, 2023 at 12:24:46PM +0100, adg wrote:
>>
>> hello,
>>
>> I installed years ago davical on ubuntu,
>> it worked fine for years.
>>
>> When I updated ubuntu from 20 to 22.04
>> something went wrong.
>>
>> First there was no connection reported.
>>
>> I tried to fix the PHP APACHE2 Problems. ( 7.4 --> 8.1 )
>>
>> Now I get Http 500 Error.
>>
>> I did not maintain the installation so it runs on postgres 10 - I was
>> unaware hat manual installation is not maintained by apt-get


Postgres 10 will stay on your machine even though you may have installed
v14 under 22.04. If you start them both, then the newer one will usually
run on port 5433. After migrating to v14, make sure to disable v10 and
change v14 port to 5432 in /etc/postgresql/14/main/postgresql.conf
How to migrate from one Postgres to a new one is documented nicely on
postgresql.org
I suggest you create a database dump if you haven't done so (pg_dumpall).

I had some issues when trying to upgrade the DB.
The upgrade tool messed up things a bit by applying all *.sql files to
the Davical DB, although it should only have done so for 2 files. So be
sure to have a backup(can't emphasize that enough).


>> I have no idea how I could check where the problem is or to fix it

If you did not change too much in tqerms of log file location, then
/var/log/apache2/error.log
should give you an idea of what went wrong.
If the file does not exist the try to figure out which log file was
written to most recently.

`ls -latr /var/log/apache2/`
should show the files changed most recently at the bottom of the listing.
If you do not find anything, then it is probably best to fix your Apache
installation first.

`journalctl -u apache2`
may also give you a clue of what went wrong.

>> I am looking for some help or manual
>> to repair und update the broken configuration

If the davical package installed correctly, then all required packages
should already be on your system.

>> Can anyone give me some help and recommendation?

Lets assume the database is up and running on port 5432 on the same
machine as your Apache, then something similar to this should show in
/etc/postgresql/14/main/pg_hba.conf:

local davical general trust
local davical davical_app trust
local davical davical_dba trust

After running:
```
a2ensite davical
systemctl reload apache2
```
Davical should be up and running under http://<your.site>/davical/ ...

Some log excerpts would be great, in order to figure out what is wrong.

André


_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general