tchapi/davis

sabre framework response with error 500 with PHP 8.2

Closed this issue · 13 comments

hi,

Recently i found that i get several errors 500 from the sabre framework.

The problem seems to be linked (if it is not identic) to this:
sabre-io/Baikal#1154

coudl be possible to have a PHP downgrade until sabre fixs their codebase¿?

tchapi commented

I asked for a new release: sabre-io/dav#1493 because it seems that their latest commit on master fixes the issue

Thanks, then let's wait to Sabre maintainer answer

Hi again,

It seems sabre developers are not really reacting to anything. do you think it could be possible to downgrade the PHP version to 8.1?

I know this is not a good idea from the patching point of view, but the system is not really usable in the current state. and i wouldnt like to change the dockerfile myself, I tend to be as close as possible to the main source

regards

tchapi commented

Hi there,

4.5.0 is coming → sabre-io/dav#1497 🎉

Hopefully this will be available next week max so I can update the dependencies on Davis' side and make a release asap 🤞🏼

Thanks for your patience

thanks for your support

dont want to ruin the current joy. But could it be possible that the sabre version is not update in the docker image?

i can still see a 4.4.0 in the compose.json from ghcr.io/tchapi/davis:v4.2.0 :)

tchapi commented

Just tested right now, it seems ok:

❯ docker run -it ghcr.io/tchapi/davis:v4.2.0 sh
/var/www/davis # cat composer.json | grep sabre
    "description": "A simple, fully translatable admin interface and frontend for sabre/dav based on Symfony",
        "sabre/dav": "^4.5.0",

Are you sure your container is updated to use the latest image?

tchapi commented

Hi @thelittleblackbird 👋🏼

Did you finally make it work?

hi

not really, still faces some issues that i dont know how to tackle.

small and stupid question, is there any way to enable a verbose log from all the framworks?

tchapi commented

small and stupid question, is there any way to enable a verbose log from all the framworks?

You could set APP_ENV=dev in the environment to get more logs (in var/log/dev.log)

now i get an exception witht the "dev" parameter
imagen

tchapi commented

Ah, yes, that's expected as you have a production container (that does not include the dev profiler that your app is trying to display here). So APP_ENV=dev in a production container is not really a good solution.

What are the remaining issues you are facing and trying to debug?